CN102970384A - Proxy server and communication system - Google Patents

Proxy server and communication system Download PDF

Info

Publication number
CN102970384A
CN102970384A CN2012104546434A CN201210454643A CN102970384A CN 102970384 A CN102970384 A CN 102970384A CN 2012104546434 A CN2012104546434 A CN 2012104546434A CN 201210454643 A CN201210454643 A CN 201210454643A CN 102970384 A CN102970384 A CN 102970384A
Authority
CN
China
Prior art keywords
access
server
access object
agent
carrier 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.)
Granted
Application number
CN2012104546434A
Other languages
Chinese (zh)
Other versions
CN102970384B (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 CN201210454643.4A priority Critical patent/CN102970384B/en
Publication of CN102970384A publication Critical patent/CN102970384A/en
Priority to PCT/CN2013/083625 priority patent/WO2014075505A1/en
Application granted granted Critical
Publication of CN102970384B publication Critical patent/CN102970384B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

The invention discloses a proxy server and a communication system. The proxy server is arranged in a first operator network, a connection channel is established between the proxy server and a second proxy server which is arranged in a second operator network, the proxy server comprises a receiving unit, an operator network learning unit and an access object obtaining unit, the receiving unit is applicable to receiving of an access request of a user accessing the first operator network, the operator network learning unit is applicable to learning of the operator network in which an access object is located according to the access request, the access object obtaining unit is applicable to obtaining of the access object from the first operator network when the access object is located in the first operator network and returning the access object to the user, when the access object is located in the second operator network, the access request is sent to the second proxy server through the connection channel, the second proxy server obtains the access object from the second operator network, and the access object obtaining unit receives the access object returned by the second proxy server through the connection channel and returns the access object to the user.

Description

Acting server and communication system
Technical field
The present invention relates to Internet technical field, particularly a kind of acting server and communication system.
Background technology
There are a plurality of operators that the network insertion service is provided in the network at present, such as telecommunications, Netcom, Tie Tong etc., how realize that the interconnection and interflow between the carrier network is one of hot issue of current research always.
In the existing cross operator access to netwoks scheme, when the network of user by access server 1 access carrier 1 of operator 1, if the user needs the webpage in access operator 1 network, then utilize the webpage in access server 1 access operator 1 network; When the user need to access the network of other operators, the common network resource that utilizes access server 1 to share by each operator is connected to the network of other operators, access server 1 reads web data in the network of other operator, and this web data is forwarded to the user.
There is following defective at least in existing cross operator access to netwoks scheme:
Because the common network resource that each operator shares is very limited, spendable common bandwidth is less, and existing cross operator access to netwoks scheme causes the access speed of cross operator network very low, the communication packet loss between the cross operator network is serious, network delay is large.
Summary of the invention
In view of the above problems, the present invention has been proposed in order to a kind of overcome the problems referred to above or the acting server that addresses the above problem at least in part and communication system are provided.
According to one aspect of the present invention, the embodiment of the invention provides a kind of acting server.This acting server is arranged in the first carrier network, this acting server and be arranged on to set up between second agent's server in the second carrier network interface channel is arranged, and this acting server comprises:
Receiving element is suitable for receiving the user's of access the first carrier network access request; Carrier network is known the unit, is suitable for knowing the carrier network that access object is positioned at according to access request; The access object acquiring unit is suitable for when access object is arranged in the first carrier network, obtains access object and this access object is back to the user in the first carrier network; And, when access object is arranged in the second carrier network, by interface channel access request is sent to second agent's server, in the second carrier network, obtain access object by second agent's server, and the access object of returning by interface channel reception second agent server also is back to the user with this access object.
Wherein, carrier network is known the unit, is suitable for that specifically the domain name of the access of the needs in the access request is carried out domain name system and resolves, and obtains the 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;
The access object acquiring unit specifically is suitable for the corresponding relation according to acting server in the IP address lookup IP address of access object and the carrier network, knows second agent's server.
Wherein, the access object acquiring unit specifically is suitable for searching whether have active block data corresponding with the URL(uniform resource locator) of access request in the network data of buffer memory, if exist, with the network data that finds as the access object that gets access to; If do not exist, directly access the Web content corresponding with the IP address of access object, and with this Web content as the access object that gets access to, perhaps, access request is sent to secondary agent's server in the first carrier network, in the first carrier network, obtains access object by this secondary agent's server.
According to another aspect of the present invention, the embodiment of the invention provides another acting server.This acting server is arranged in the second carrier network, this acting server and be arranged on to set up between first agent's server in the first carrier network interface channel is arranged, and this acting server comprises:
Receiving element is suitable for receiving the access request that first agent's server sends by interface channel;
The access object acquiring unit, when being suitable in the network data of buffer memory, finding the active block data corresponding with the URL(uniform resource locator) of access request, with the network data that finds as the access object that gets access to; When in the network data of buffer memory, not finding the active block data corresponding with the URL(uniform resource locator) of access request, obtain the IP address of access object and directly access the Web content corresponding with the IP address of access object, with this Web content as the access object that gets access to, and the access object that gets access to is sent to the user, for example, this access object acquiring unit is sent to first agent's server with the access object that gets access to by interface channel, so that first agent's server is sent to the user with this access object; Perhaps, the access object that gets access to directly is sent to set up with this second agent's server the user who is connected is arranged.
Wherein, the access object acquiring unit is suitable for that specifically the domain name that needs in the access request to access is carried out domain name system and resolves, and obtains the IP address of access object; Perhaps, carry the IP address of access object in the access request that receives, the IP address of carrying in the extraction access request is as the IP address of the access object that gets access to.
According to another aspect of the present invention, the embodiment of the invention provides a kind of communication system.This communication system comprises the first carrier network and the second carrier network, and is arranged on the acting server in the second carrier network of being arranged in acting server in the first carrier network and above-described embodiment in above-described embodiment.
From the above mentioned, the embodiment of the invention is by arranging respectively acting server in each carrier network, and set up interface channel between each acting server, when needs carry out the cross operator access to netwoks, utilize each acting server to carry out the communication of network data via corresponding interface channel, can realize the access between the cross operator network, thereby having solved existing scheme relies on the common bandwidth of sharing to carry out the access speed that the cross operator access to netwoks causes excessively low, the problem that packet loss is serious and network delay is large, can significantly improve the speed of cross operator access to netwoks network, reduce network delay, and greatly reduce the cross operator packet loss in when access, improved the stability of overall network.
Above-mentioned explanation only is the general introduction of technical solution of the present invention, for can clearer understanding technological means of the present invention, and can be implemented according to the content of specification, and for above and other objects of the present invention, feature and advantage can be become apparent, below especially exemplified by the specific embodiment of the present invention.
Description of drawings
By reading hereinafter detailed description of the preferred embodiment, various other advantage and benefits will become cheer and bright for those of ordinary skills.Accompanying drawing only is used for the purpose of preferred implementation is shown, and does not think limitation of the present invention.And in whole accompanying drawing, represent identical parts with identical reference symbol.In the accompanying drawings:
Fig. 1 shows a kind of according to an embodiment of the invention method flow diagram of cross operator access to netwoks Web content;
The acting server with caching function that Fig. 2 shows another embodiment according to the present invention obtains the 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 acting server structural representation of another embodiment according to the present invention;
Fig. 5 shows a kind of acting server structural representation of another embodiment according to the present invention.
Embodiment
Exemplary embodiment of the present disclosure is described below with reference to accompanying drawings in more detail.Although shown exemplary embodiment of the present disclosure in the accompanying drawing, yet should be appreciated that and to realize the disclosure and the embodiment that should do not set forth limits here with various forms.On the contrary, it is in order to understand the disclosure more thoroughly that these embodiment are provided, and can with the scope of the present disclosure complete convey to those skilled in the art.
One embodiment of the invention provides a kind of method of cross operator access to netwoks Web content, at first, first agent's server need to be set in the first carrier network, second agent's server is set in the second carrier network, passage connects between first agent's server and second agent's server, when needs carried out access to netwoks, the method comprised:
S100: first agent's server receives the user's of access the first carrier network access request;
S102: first agent's server is known the carrier network that access object is positioned at according to access request;
S104: when access object is arranged in the first carrier network, first agent's server obtains access object and this access object is back to the user in the first carrier network, this access object comprises in audio, video data, document, web data and other networks available content etc.
S106: when access object is arranged in the second carrier network, first agent's server is sent to second agent's server by interface channel with access request, is obtained access object and access object is sent to the user in the second carrier network by second agent's server.
From the above mentioned, the embodiment of the invention is by arranging respectively acting server in each carrier network, and set up interface channel between each acting server, when needs carry out the cross operator access to netwoks, utilize each acting server to carry out the communication of network data via corresponding interface channel, can realize the access between the cross operator network, thereby having solved existing scheme relies on the common bandwidth of sharing to carry out the access speed that the cross operator access to netwoks causes excessively low, the problem that packet loss is serious and network delay is large, can significantly improve the speed of cross operator access to netwoks network, reduce network delay, and greatly reduce the cross operator packet loss in when access, improved the stability of overall network.
On basis embodiment illustrated in fig. 1, first agent's server knows that according to access request the carrier network that access object is arranged in comprises among the above-mentioned steps S102: first agent's server carries out DNS(Domain System to the domain name that access request needs to access, domain name system) resolves, obtain the 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.Before carrying out above-mentioned steps S106, this method comprises that also first agent's server knows the step of second agent's server according to access request, this step can specifically comprise: first agent's server is known second agent's server according to the corresponding relation of acting server in the IP address lookup IP address of access object and the carrier network.Pre-recorded each the carrier network IP address that can realize the across a network access in the present embodiment, for example, the corresponding relation of these carrier networks IP address and IP address and carrier network is recorded in the IP of the operator tabulation, utilizes the IP address search IP of the operator tabulation of access object to obtain the carrier network that to access of access object.
Be appreciated that, in some scenes, first agent's server might directly not notify second agent's server to carry out the access of Web content according to access request, for example, to only comprising the scene of two carrier networks, first agent's server is set up only and between second agent's server interface channel, and when needs were carried out the cross operator access to netwoks, first agent's server direct instruction second agent server carried out access to netwoks and gets final product.
Wherein, above-mentioned steps S104 first agent server obtains access object and comprises at least following three kinds of modes in the first carrier network:
First kind of way, first agent's server are searched the URL(Uniform/Universal Resource Locator that whether exists with access request in the network data of buffer memory, URL(uniform resource locator)) corresponding active block data, if exist, with the network data that finds as the access object that gets access to.
Acting server in the present embodiment has network (Web) content caching function, can carry out buffer memory to the Web content of having accessed.When the user repeatedly accesses same web content, if this web content by proxy server caches, then acting server can directly return to the user to the Web content of buffer memory, and does not need to go to access the originating website again, thereby has promoted access speed.
When the second way, first agent's server do not find the active block data corresponding with the URL of access request in the network data of buffer memory, first agent's server is directly accessed the Web content corresponding with the IP address of access object, and with this Web content as the access object that gets access to.Under this mode, because access object and first agent's server and user are arranged in same carrier network, first agent's server is back to the user directly get access to access object in the first carrier network after.
The third mode, first agent's server are sent to secondary agent's server in the first carrier network with access request, obtain access object by this secondary agent's server in the first carrier network.
Present embodiment, also be provided with the mechanism of secondary agent, the acting server (such as first agent's server) that is positioned at the first order mainly is responsible for user's access, comprises the access request that receives the user, access request is resolved, and the access object that gets access to is back to the user; Be positioned at the acting server of the second level, carry out the operation of obtaining of concrete access object according to access request.By the setting of secondary agent's mechanism, the data processing amount of each server load in the balanced whole system, the overall data process efficient of raising system.
Wherein, above-mentioned secondary agent server obtains access object and comprises in the first carrier network:
When secondary agent's server finds the active block data corresponding with the URL of access request in the network data of buffer memory, with the network data that finds as the access object that gets access to; When secondary agent's server does not find the active block data corresponding with the URL(uniform resource locator) of access request in the network data of buffer memory, secondary agent's server obtains the IP address of access object and the direct access Web content corresponding with the IP address of access object, with this Web content as the access object that gets access to.Each server that comprises secondary agent's device in the present embodiment can have the web content caching function, can carry out buffer memory to the Web content of having accessed.When the user repeatedly accesses same web content, if this web content is by secondary agent's server buffer, then secondary agent's server can directly return to the user to the Web content of buffer memory, and does not need to go to access the originating website again, thereby has promoted access speed.
Wherein, the above-mentioned secondary agent server IP address that obtains access object comprises:
Secondary agent's server carries out domain name system to the domain name of the access of the needs in the access request resolves, and obtains the IP address of access object; Perhaps, carry the IP address of access object in the access request that secondary agent's server receives, the IP address of carrying in secondary agent's server extraction access request is as the IP address of the access object that gets access to.
Wherein, second agent's server obtains access object and comprises among the above-mentioned steps S106 in the second carrier network: second agent's server is searched in the network data of buffer memory when whether having the active block data corresponding with the URL(uniform resource locator) of access request, if exist, with the network data that finds as the access object that gets access to, if do not exist, second agent's server obtains the IP address of access object, second agent's server is directly accessed the Web content corresponding with the IP address of access object, and with this Web content as the access object that gets access to.Secondary agent's mechanism in the present embodiment not only is embodied in the acting server that the secondary level is set in the same carrier network, such as above-mentioned first agent's server and the corresponding secondary agent server that all is arranged in same carrier network, also being embodied in the secondary level between the server in the different operators network, is secondary agent's server with respect to the first agent's server in the first carrier network such as the second agent's server in above-mentioned the second carrier network.
Among the above-mentioned steps S106, second agent's server can be sent to described first agent's server by interface channel with the access object that gets access to, and first agent's server is sent to the user with this access object; Perhaps, when foundation between the user who sends access request and the second agent's server has when connection, second agent's server directly is sent to this user with the access object that gets access to.For example, set up when wireless connections are arranged between second agent's server and the user, second agent's server can directly be sent to the user with Web content by wireless connections
The mode of among another embodiment of the present invention the acting server with caching function being obtained access object is described as follows:
S200: the access request that receives the user;
The acting server that is positioned at the first order directly receives the access request that the user sends;
The acting server that is positioned at the second level receives first order acting server and transmits the access request of coming.
S202: check whether the access object that the user asks is buffered.
Acting server checks whether self is cached with the Web content of user's request access, if not, and execution in step S206, if, execution in step S204;
S204: whether the Web content of judging buffer memory is effective; Because the renewal speed of Web content is very fast, then to the Web content of the buffer memory cache-time by judging this Web content whether above predetermined threshold (namely whether expired), confirm whether this Web content is the active block content.When Web content do not have expired, during for the active block content, execution in step S206, when network network content expired, during for the inefficacy Web content, execution in step S208.
S206: the active block content that directly will find from buffer memory is back to the user.
The acting server that is positioned at the first order directly is sent to coupled user with the active block content;
The acting server that is positioned at the second level is forwarded to the acting server that is positioned at the first order with the active block content, by this acting server that is positioned at the first order active block content is sent to the user.
S208: obtain IP address corresponding to access object.
The acting server that is positioned at the first order can obtain by dns resolution the IP address of access object, the acting server that is positioned at the second level can obtain by dns resolution the IP address of access object, perhaps, after the acting server that is positioned at the first order obtains the IP address of access object, this IP address is sent to the acting server that is positioned at the second level with access request, thereby makes the acting server that is positioned at the second level know this IP address.
S210: access Web content corresponding to this IP address.
Acting server is Web content corresponding to this IP address of access in self present carrier network; Perhaps, acting server is connected to acting server in other carrier networks by interface channel, by the acting server accesses network content that connects.
S212: acting server is sent to user and buffer memory with the Web content that gets access to.
The Web content that acting server has access to self is sent to the user, perhaps, acting server receives and to belong to the Web content that the secondary agent's server in the same carrier network returns and this Web content is sent to the user, perhaps, acting server receives the Web content that the acting server in other carrier networks returns and this Web content is sent to the user.
From the above, present embodiment also can not adopt secondary agent's mechanism, is used for being responsible for the acting server of user's access, also can directly carry out the concrete operations of obtaining Web content.
Provide a kind of communication system among another embodiment of the present invention.Referring to Fig. 3, this communication system comprises the first carrier network 300 and the second carrier network 400.First agent's server 312 is arranged in the first carrier network 300, and a plurality of users are by also being provided with secondary agent's server 314 and dns server 316 in first agent's server 312 accesses the first carrier network 300, the first carrier networks 300.
Second agent's server 412 is arranged in the second carrier network 400, set up between first agent's server 312 and the second agent's server 412 interface channel is arranged, this interface channel is for carrying out the proprietary passage of transfer of data between first agent's server 312 and the second agent's server 412, this interface channel is including, but not limited to being realized by high speed interface channels such as optical fiber.
Be appreciated that, can comprise a plurality of carrier networks in the communication system of present embodiment, as shown in Figure 3, can also comprise the 3rd carrier network 500 in the system, wherein be provided with third generation reason server 512, be provided with interface channel between third generation reason server 512 and the first agent's server 312.Under secondary agent's mechanism, third generation reason server 512 and second agent's server 412 all are the secondary agent's server corresponding to first agent's server 312.Third generation reason server 512 is identical with the operation that second agent's server 412 is carried out, present embodiment mainly describes for example take first agent's server 312 and second agent's server 412, and the third generation is managed the concrete operations of server 512 can be referring to the related content of second agent's server 412.
In addition, the second carrier network also can have the structure identical with the first carrier network with the 3rd carrier network, for example, can be provided with acting server A in the second carrier network, acting server A is responsible for a plurality of users and accesses the second carrier network, second agent's server 412 is connected with acting server A at the second carrier network, first agent's server 312 and third generation reason server 512 are provided with interface channel respectively and between the acting server A, first agent's server 312, second agent's server 412 and third generation reason server 512 are respectively the secondary agent's server corresponding to acting server A.
Acting server in the present embodiment is including, but not limited to being realized by the Squid server.The Squid server has been widely used, as improve the speed of Web server as the preposition cache server buffer association requests of web page server, perhaps be lineup's shared network resource buffer memory World Wide Web (WWW), domain name system and other web searchs, perhaps help network security by filtering traffic, and surf the Net etc. by this server agent at local area network (LAN).
In native system, the processing of accessing the Web content the second carrier network from the first carrier network mainly comprises as follows:
1) first agent's server 312 receives the access request of the user in access the first carrier network, and this first agent's server 312 is for being positioned at the acting server of the first order in the secondary agency mechanism;
2) domain name in 312 pairs of user access request of first agent's server is carried out dns resolution, parse the IP address of the originating website of access object, tabulate according to the IP of operator, find this IP and belong to the second carrier network, then first agent's server 312 is inquired about the corresponding relation of the second carrier networks and acting server, obtain second agent's server 412, and access request is transmitted to second agent's server 412 in the second carrier network.This second agent's server 412 is the secondary agent's server corresponding to first agent's server 312.Owing to adopt the high speed interconnecting interface between the two-stage acting server, so the impact of packet loss and delay is all very little, can fast, successfully have access to Web content.
Recorded the corresponding relation of IP address and carrier network in the above-mentioned IP of the operator tabulation.In the present embodiment, IP address corresponding to carrier network can be set at first, as by as give an order and the first operator (carrier1) is set in the Squid acting server supports IP address in the network segment 1 and the network segment 2:
Acl carrier1 dst network segment 1# arranges the first carrier1 of operator and supports the network segment 1
Acl carrier1 dst network segment 2# arranges the first carrier1 of operator and supports the network segment 2
Secondly, present embodiment also can set in advance acting server corresponding to each carrier network, as by as the address that acting server corresponding to the second operator (carrier2) is set in the Squid acting server that gives an order be IP2:
Cache_peer IP2parent 80 0no-query originserver round-robin weight=1 name=carrier2_access# arrange Squid acting server corresponding to the second operator, and wherein IP2 is expressed as the IP address of acting server among the second carrier2 of operator;
Cache_peer_access carrier2_access allow carrier2# represents to allow the second carrier2 of operator network insertion;
Cache_peer_access carrier2_access deny all# represents to forbid the network insertion except the second carrier2 of operator network.
The information of the acting server that the above-mentioned IP of operator tabulation and carrier network are corresponding all is kept in the acting server of the first order, so that the acting server of the first order is according to the acting server of these information searchings to the second level.Accordingly, the access rights of the acting server of the second level need to be set, the first order acting server of indicating this second level acting server to access, for example, be provided as the port information of the Squid server of secondary agent's server, the port of this Squid server pointed to the acting server of the corresponding first order.
When 3) first agent's server 312 receives the network data that second agent's server 412 returns, this network data as getting access to access object, and is sent to the user.
Second agent's server 412 can be by on the dns server 316 of interface channel in the first carrier network, the access request that receives is carried out dns resolution, obtain the IP address of access object, then Web content corresponding to this IP of access in the second carrier network 400.
In above-mentioned processing 1) to 3) in, first agent's server 312 and second agent's server 412 can have the Web content caching function, can carry out buffer memory to the Web content of having accessed, concrete mode can be referring to the related content among the embodiment shown in Fig. 2.Then when the user repeatedly accesses same web content, if this web content by proxy server caches, then acting server can directly return to the user to the Web content of buffer memory, and does not need to go to access the originating website again, thereby has promoted access speed.
And the first order acting server in the present embodiment carries out dns resolution with the identical dns server of second level proxy server access, obtains the IP address, adopts same dns server, can be lifted at the hit rate of searching the IP address among the DNScache, reduces query time.
From the above mentioned, utilize the framework of secondary agent in the present embodiment, it is inner that first order acting server and user are in same carrier network, it is inner that the originating website of second level acting server and access object is in same carrier network, simultaneously, adopt the interconnected interface channel of high speed between the two-stage acting server, data access speed between the two-stage acting server is compared in public Internet resources execution cross operator access to netwoks faster with stability, stable is many, thereby the access to netwoks of cross operator is greatly improved in speed and stability.
The present invention another embodiment provide a kind of acting server, referring to Fig. 4, comprising:
Receiving element 400 is suitable for receiving the user's of access the first carrier network access request; Carrier network is known unit 402, is suitable for knowing the carrier network that access object is positioned at according to access request; Access object acquiring unit 404 is suitable for when access object is arranged in the first carrier network, obtains access object and this access object is back to the user in the first carrier network; And, when access object is arranged in the second carrier network, by interface channel access request is sent to second agent's server, in the second carrier network, obtain access object by second agent's server, and the access object of returning by interface channel reception second agent server also is back to the user with this access object.
Above-mentioned acting server in the present embodiment is the first order acting server in secondary agent's mechanism.
Wherein, carrier network is known unit 402, is suitable for that specifically the domain name of the access of the needs in the access request is carried out domain name system and resolves, and obtains the 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, access object acquiring unit 404 also is suitable for knowing second agent's server according to access request before by interface channel access request being sent to second agent's server.Particularly, access object acquiring unit 404 carries out domain name system to the domain name that needs in the access request to access and resolves, and obtains the IP address of access object; According to the corresponding relation of acting server in the IP address lookup IP address of access object and the carrier network, know second agent's server.
Wherein, access object acquiring unit 402 specifically is suitable for searching whether have active block data corresponding with the URL(uniform resource locator) of access request in the network data of buffer memory, if exist, with the network data that finds as the access object that gets access to; If do not exist, directly access the corresponding Web content in IP address with the access object of knowing according to access request, and with this Web content as the access object that gets access to, perhaps, access request is sent to secondary agent's server in the first carrier network, in the first carrier network, obtains access object by this secondary agent's server.
In the structure as shown in Figure 4, to the primary network access process, the acting server in the first carrier network only with the first carrier network in secondary agent's server or the second agent's server in the second carrier network in one connect and get final product.
The present invention another embodiment also provide a kind of acting server, referring to Fig. 5, comprising:
Receiving element 500 is suitable for receiving the access request that first agent's server sends by interface channel;
Access object acquiring unit 502, when being suitable in the network data of buffer memory, finding the active block data corresponding with the URL(uniform resource locator) of access request, with the network data that finds as the access object that gets access to; And, when in the network data of buffer memory, not finding the active block data corresponding with the URL(uniform resource locator) of access request, obtain the IP address of access object and directly access the Web content corresponding with the IP address of access object, this Web content as the access object that gets access to, and is sent to the user with the access object that gets access to.For example, access object acquiring unit 502 is sent to first agent's server with the access object that gets access to by interface channel, so that first agent's server is sent to the user with this access object; Perhaps, access object acquiring unit 502 directly is sent to the access object that gets access to this second agent's server foundation the described user who is connected.
Wherein, access object acquiring unit 502 is suitable for that specifically the domain name that needs in the access request to access is carried out domain name system and resolves, and obtains the IP address of access object; Perhaps, carry the IP address of access object in the access request that receives, the IP address of carrying in the extraction access request is as the IP address of the access object that gets access to.
Above-mentioned acting server shown in Figure 5 is the acting server of the second level in secondary agent's mechanism.This acting server is arranged in different carrier networks from the acting server of the first order, and and the acting server of the first order between set up interface channel arranged.
The specific works mode of Fig. 4 of the present invention and middle acting server embodiment illustrated in fig. 5 can be referring to the related content in the inventive method and the system embodiment.
From the above mentioned, the embodiment of the invention is by arranging respectively acting server in each carrier network, and set up interface channel between each acting server, when needs carry out the cross operator access to netwoks, utilize each acting server to carry out the communication of network data via corresponding interface channel, can realize the access between the cross operator network, thereby having solved existing scheme relies on the common bandwidth of sharing to carry out the access speed that the cross operator access to netwoks causes excessively low, the problem that packet loss is serious and network delay is large, can significantly improve the speed of cross operator access to netwoks network, reduce network delay, and greatly reduce the cross operator packet loss in when access, improved the stability of overall network.
Intrinsic not relevant with any certain computer, virtual system or miscellaneous equipment with demonstration at this algorithm that provides.Various general-purpose systems also can be with using based on the teaching at this.According to top description, it is apparent constructing the desired structure of this type systematic.In addition, the present invention is not also for any certain programmed language.Should be understood that and to utilize various programming languages to realize content of the present invention described here, and the top description that language-specific is done is in order to disclose preferred forms of the present invention.
In the specification that provides herein, a large amount of details have been described.Yet, can understand, embodiments of the invention can be put into practice in the situation of these details not having.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand one or more in each inventive aspect, in the description to exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or the description to it sometimes in the above.Yet the method for the disclosure should be construed to the following intention of reflection: namely the present invention for required protection requires the more feature of feature clearly put down in writing than institute in each claim.Or rather, as following claims reflected, inventive aspect was to be less than all features of the disclosed single embodiment in front.Therefore, follow claims of embodiment and incorporate clearly thus this embodiment into, wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and can adaptively change and they are arranged in one or more equipment different from this embodiment the module in the equipment among the embodiment.Can be combined into a module or unit or assembly to the module among the embodiment or unit or assembly, and can be divided into a plurality of submodules or subelement or sub-component to them in addition.In such feature and/or process or unit at least some are mutually repelling, and can adopt any combination to disclosed all features in this specification (comprising claim, summary and the accompanying drawing followed) and so all processes or the unit of disclosed any method or equipment make up.Unless in addition clearly statement, disclosed each feature can be by providing identical, being equal to or the alternative features of similar purpose replaces in this specification (comprising claim, summary and the accompanying drawing followed).
In addition, those skilled in the art can understand, although embodiment more described herein comprise some feature rather than further feature included among other embodiment, the combination of the feature of different embodiment means and is within the scope of the present invention and forms different embodiment.For example, in the following claims, the one of any of embodiment required for protection can be used with compound mode arbitrarily.
All parts embodiment of the present invention can realize with hardware, perhaps realizes with the software module of moving at one or more processor, and perhaps the combination with them realizes.It will be understood by those of skill in the art that and to use in practice microprocessor or digital signal processor (DSP) to realize according to some or all some or repertoire of parts in the acting server of the embodiment of the invention.The present invention can also be embodied as be used to part or all equipment or the device program (for example, computer program and computer program) of carrying out method as described herein.Such realization program of the present invention can be stored on the computer-readable medium, perhaps can have the form of one or more signal.Such signal can be downloaded from internet website and obtain, and perhaps provides at carrier signal, perhaps provides with any other form.
It should be noted above-described embodiment the present invention will be described rather than limit the invention, and those skilled in the art can design alternative embodiment in the situation of the scope that does not break away from claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and is not listed in element or step in the claim.Being positioned at word " " before the element or " one " does not get rid of and has a plurality of such elements.The present invention can realize by means of the hardware that includes some different elements and by means of the computer of suitably programming.In having enumerated the unit claim of some devices, several in these devices can be to come imbody by same hardware branch.The use of word first, second and C grade does not represent any order.Can be title with these word explanations.

Claims (9)

1. acting server, described acting server is arranged in the first carrier network, described acting server and be arranged on to set up between second agent's server in the second carrier network interface channel is arranged, described acting server comprises:
Receiving element is suitable for receiving the user's of access the first carrier network access request;
Carrier network is known the unit, is suitable for knowing the carrier network that access object is positioned at according to described access request;
The access object acquiring unit is suitable for when access object is arranged in the first carrier network, obtains described access object and this access object is back to the user in the first carrier network; And, when access object is arranged in the second carrier network, by described interface channel access request is sent to second agent's server, in the second carrier network, obtain described access object by second agent's server, and the access object of returning by described interface channel reception second agent server also is back to the user with this access object.
2. acting server according to claim 1, wherein, described access object acquiring unit also is suitable for knowing second agent's server according to described access request before by described interface channel access request being sent to second agent's server.
3. acting server according to claim 2, wherein, described access object acquiring unit is suitable for that specifically the domain name that needs in the access request to access is carried out domain name system and resolves, and obtains the IP address of access object; According to the corresponding relation of acting server in the IP address lookup IP address of described access object and the carrier network, know described second agent's server.
4. acting server according to claim 1, wherein,
Described carrier network is known the unit, being suitable for that specifically the domain name of the access of the needs in the access request is carried out domain name system resolves, obtain the 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. acting server according to claim 1, wherein, described access object acquiring unit, specifically be suitable in the network data of buffer memory, searching and whether have active block data corresponding with the URL(uniform resource locator) of described access request, if exist, with the network data that finds as the access object that gets access to; If do not exist, directly access the corresponding Web content in IP address with the access object of knowing according to described access request, and with this Web content as the access object that gets access to, perhaps, access request is sent to secondary agent's server in the first carrier network, in the first carrier network, obtains described access object by this secondary agent's server.
6. acting server, described acting server is arranged in the second carrier network, described acting server and be arranged on to set up between first agent's server in the first carrier network interface channel is arranged, described acting server comprises:
Receiving element is suitable for receiving the access request that first agent's server sends by described interface channel;
The access object acquiring unit, when being suitable in the network data of buffer memory, finding the active block data corresponding with the URL(uniform resource locator) of described access request, with the network data that finds as the access object that gets access to; When in the network data of buffer memory, not finding the active block data corresponding with the URL(uniform resource locator) of described access request, obtain the IP address of access object and directly access the Web content corresponding with the IP address of described access object, this Web content as the access object that gets access to, and is sent to the user with the access object that gets access to.
7. acting server according to claim 6, wherein, described access object acquiring unit is suitable for that specifically the domain name that needs in the access request to access is carried out domain name system and resolves, and obtains the IP address of access object; Perhaps, carry the IP address of access object in the access request that receives, the IP address of carrying in the extraction access request is as the IP address of the access object that gets access to.
8. acting server according to claim 6, wherein, described access object acquiring unit, the access object that specifically is suitable for getting access to is sent to described first agent's server by described interface channel, so that first agent's server is sent to the user with this access object; Perhaps, the access object that gets access to directly is sent to set up with this second agent's server the described user who is connected is arranged.
9. communication system, described communication system comprises the first carrier network and the second carrier network,
Be provided with in described the first carrier network such as each described acting server of above-mentioned claim 1 to 5,
Be provided with in described the second carrier network such as each described acting server of above-mentioned claim 6 to 8.
CN201210454643.4A 2012-11-13 2012-11-13 Proxy server and communication system Active CN102970384B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201210454643.4A CN102970384B (en) 2012-11-13 2012-11-13 Proxy server and communication system
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
CN201210454643.4A CN102970384B (en) 2012-11-13 2012-11-13 Proxy server and communication system

Publications (2)

Publication Number Publication Date
CN102970384A true CN102970384A (en) 2013-03-13
CN102970384B CN102970384B (en) 2016-06-01

Family

ID=47800263

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210454643.4A Active CN102970384B (en) 2012-11-13 2012-11-13 Proxy server and communication system

Country Status (1)

Country Link
CN (1) CN102970384B (en)

Cited By (9)

* 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
CN104065665A (en) * 2014-07-02 2014-09-24 深圳深讯和科技有限公司 Streaming media data processing method and streaming media data processing system
CN107733950A (en) * 2016-08-11 2018-02-23 百度在线网络技术(北京)有限公司 Method and apparatus for accessing website
CN108418852A (en) * 2018-01-15 2018-08-17 五八同城信息技术有限公司 Access control method, proxy server and storage medium
CN108777709A (en) * 2018-05-31 2018-11-09 康键信息技术(深圳)有限公司 Website access method, device, computer equipment and storage medium
CN108810154A (en) * 2018-05-22 2018-11-13 四川斐讯信息技术有限公司 A kind of communication connecting system of intelligent terminal
CN110880980A (en) * 2018-09-06 2020-03-13 阿里巴巴集团控股有限公司 Content distribution network service providing method and processing system
CN114531472A (en) * 2020-10-30 2022-05-24 华为技术有限公司 Communication method and electronic device
CN114979099A (en) * 2022-04-14 2022-08-30 天津车之家软件有限公司 Target service access method, module and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005018189A1 (en) * 2003-08-14 2005-02-24 Huawei Technologies Co., Ltd. Analysis method for user request
CN101232612A (en) * 2007-12-06 2008-07-30 北京广视通达网络技术有限公司 Assistant medium playing method triggered based on video contents
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
WO2005018189A1 (en) * 2003-08-14 2005-02-24 Huawei Technologies Co., Ltd. Analysis method for user request
CN101232612A (en) * 2007-12-06 2008-07-30 北京广视通达网络技术有限公司 Assistant medium playing method triggered based on video contents
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

Cited By (13)

* 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
CN104065665A (en) * 2014-07-02 2014-09-24 深圳深讯和科技有限公司 Streaming media data processing method and streaming media data processing system
CN104065665B (en) * 2014-07-02 2018-04-03 深圳深讯和科技有限公司 The processing method and system of stream medium data
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
CN108418852A (en) * 2018-01-15 2018-08-17 五八同城信息技术有限公司 Access control method, proxy server and storage medium
CN108810154A (en) * 2018-05-22 2018-11-13 四川斐讯信息技术有限公司 A kind of communication connecting system of intelligent terminal
CN108777709A (en) * 2018-05-31 2018-11-09 康键信息技术(深圳)有限公司 Website access method, device, computer equipment and storage medium
CN110880980A (en) * 2018-09-06 2020-03-13 阿里巴巴集团控股有限公司 Content distribution network service providing method and processing system
CN114531472A (en) * 2020-10-30 2022-05-24 华为技术有限公司 Communication method and electronic device
CN114531472B (en) * 2020-10-30 2024-01-09 华为技术有限公司 Communication method and electronic equipment
CN114979099A (en) * 2022-04-14 2022-08-30 天津车之家软件有限公司 Target service access method, module and system
CN114979099B (en) * 2022-04-14 2024-02-23 天津车之家软件有限公司 Target service access method, module and system

Also Published As

Publication number Publication date
CN102970384B (en) 2016-06-01

Similar Documents

Publication Publication Date Title
CN102970384A (en) Proxy server and communication system
CN102932473B (en) The method of cross operator access to netwoks Web content
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
CN101132420B (en) Link overwriting method and device based on SSL VPN
CN102929984B (en) Inefficacy address searching method and apparatus
EP3175364B1 (en) Web redirection for caching
CN102143243B (en) Dynamic routing processing method and dynamic routing processing device and home gateway thereof
CN102929985A (en) Method and system for displaying collected webpage
CN102025793A (en) Domain name resolution method and system and DNS in IP network
CN112600868B (en) Domain name resolution method, domain name resolution device and electronic equipment
CN102945259B (en) A kind of searching method based on collection and searcher
CN105530127A (en) Method for processing network access request by proxy server and proxy server
CN103220371A (en) Method and system for conducting content adaptation
EP3567813A1 (en) Method, apparatus and system for determining content acquisition path and processing request
CN104243506A (en) Browser redirection method and device
CN102937981A (en) Webpage representing system and method
CN101136834B (en) SSL VPN based link rewriting method and apparatus
CN102045403A (en) Method, device and system for processing data of distributed network
CN105635073A (en) Access control method and device and network access equipment
CN105357212A (en) DNS end-to-end analysis method capable of ensuring safety and privacy
CN105393247A (en) Webpage optimization device and method
CN101378407B (en) Method, system and equipment for pushing information
CN103248407A (en) Mobile terminal, as well as method and system thereof for accessing and sharing network resources

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

Effective date of registration: 20220729

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.