The present invention relates in general to Internet information retrieval processing and more particularly to a system and method for qualifying requests in a network.
Routing technology has evolved from simple L3 routing based on destination Internet Protocol (IP) address to L4/L5 routing based on source/destination IP addresses, port numbers, and protocol type. Recently, routing has been based on the information request itself. To date, content routing functions are typically located in the proximity of the servers or data centers with routing approaches that consider only the domain name of the information request. With distributed data centers and object replication, it is often possible to retrieve an object to satisfy an information request from multiple servers that are geographically dispersed. Moreover, the desired content may not be located at the closest server. Thus, inefficiencies result when an object is downloaded from a server that is far away from the request originator or is overloaded. This difficulty is further exacerbated when a request is sent to one server only to have it redirected to another server.
Certain content providers want to have their content readily available upon request. These content providers are willing to pay for enhanced services to ensure ready access to their information. Other content providers are not concerned with providing their information in a fast and efficient manner. Therefore, it is desirable to provide enhanced services to those content providers that desire improved efficiencies and response time while still servicing those content providers that do not wish to pay for the enhanced service implementation.
From the foregoing, it may be appreciated by those skilled in the art that a need has arisen for a system and technique that can provide enhanced services to those content providers that subscribe to more efficient request handling techniques while still allowing access to content providers without such a subscription. In accordance with the present invention, a system and method for qualifying requests in a network are provided that substantially eliminate or greatly reduce disadvantages and problems associated with conventional content routing techniques.
According to an embodiment of the present invention, there is provided a system for qualifying requests in a network that includes a router to receive a domain name server query associated with a request for information. The router includes a database defining a relationship between domain names that have a subscription for accelerated services and addresses for enhanced processing. The router determines whether the domain name of the domain name server query is indexed in the database. The domain name is qualified if it is indexed in the database. The router provides the address indexed by the domain name to the originator of the domain name server query. The address is associated with a processor that provides an accelerated service capability for the request.
The present invention provides various technical advantages over conventional content routing techniques which may or may not be required to practice the claimed invention. For example, one technical advantage is to determine whether a domain name is qualified for accelerated services. Another technical advantage is to provide a subscription service to content providers so that associated requests may have accelerated processing. Yet another technical advantage is to locate an efficient server capable of satisfying the request and provide a connection thereto for retrieval of requested information. Still another technical advantage is to avoid penalizing traffic that does not have a subscription for accelerated processing. Other technical advantages may be readily ascertainable by those skilled in the art from the following figures, description, and claims.
For a more complete understanding of the present invention and the advantages thereof, reference is now made to the following description taken in conjunction with the accompanying drawings, wherein like reference numerals represent like parts, in which:
Content Gateway
Content gateway 18 provides a routing and processing function at an edge of request content processing network 10. Content gateway 18 represents a point of presence so that client terminals 16 can obtain information from content provider 14. At the client terminal end, content gateway 18 may connect to access routers fed by local area networks with multiple client terminals 16. Also, wireless client terminals may be attached to content gateway 18 through various wireless controllers. Content gateway 18 provides a value added service at information service provider 12 points of presence for subscribed content providers 14. Content gateway 18 selects the appropriate server at content provider 14 that can deliver the content with an acceptable response time. Content gateway 18 also services requests that traverse more than one information service provider 12. A content provider 14 may have contracts with more than one information service provider 12 or different information service providers 12 may have contracts with each other to facilitate one information service provider 12 honoring service level agreements for another information service provider 12 subscribed content provider 14. Content gateway 18 ensures that requests are executed according to policies that maximize performance for the subscribed content provider 14 and yet do not violate the collection of contracts that are in effect.
Content gateway 18 intercepts request that are candidates for content processing, classifies requests by examining the content of the request, makes routing decisions based on the content of the request, and determines an appropriate content provider 14 server location to satisfy the request including location of servers in the best proximity to the client terminal 16. Content gateway 18 establishes a connection with the selected destination server or other content gateways having the characteristics specified by the associated classification policy and forwards the request over the allocated connection. Content gateway 18 participates in a policy distribution network to receive and install content policies and supports content peering in order to direct requests to content gateways or content delivery nodes in other information service providers 12. Content gateway 18 also collects billing and accounting records that capture volume of content processed by content provider, home and affiliate information service providers 12, and content policy rule.
To avoid obtaining information from a far away, overloaded, or redirected server, content gateway 18 learns about the distribution of information so that a request can be directed to a server that can deliver the requested information in a direct and efficient manner. In some cases, the request may be directed to a local content delivery node, proxy cache, or replication server that contains a replica of the information requested. Content gateway 18 extends the routing concept to include the content of the request.
At this point, the objective of content gateway 18 is to locate the “best” server and network connection for delivering data to client terminal 16, i.e., the server that will deliver the content the fastest with the required security protection. Determining the best server depends on various factors including whether the internet service provider implements a content delivering nodes, whether the content requested is static or dynamic, whether the content is replicated in different data centers or at the content delivery nodes, and which of the eligible servers are most heavily loaded.
In the example illustrated in
In the example illustrated in
In the example illustrated in
Because content gateway 18 parses the URL request, it may immediately recognize whether or not the response is cacheable. As illustrated in
An important advantage of content gateway 18 is essentially control. This is because different traffic policies and differentiated services may be signaled to content gateway 18 causing, for example, packets between content gateway 18 and the origin server to receive high priority. Content gateway 18 implements much of the content inspection logic and performs additional logic so that most of the traffic is routed at the layer 2/layer 3 level. Alternatively, if the internet service provider does not support content delivery nodes 22, content gateway 18 may provide a large improvement in performance since redirection overhead may be avoided completely. For example, if in
As illustrated in
Content gateway processor 30 includes a separate processing system optimized for processing content or other suitable data in request content processing network 10. Content gateway processor 30 is the processing system that generally executes content routing L7 functions. Content gateway processor 30 is connected to content gateway router 28 via a fast high capacity connection (e.g., gigabit Ethernet). Content gateway processor 30 may also be installed as a card within content gateway router 28. In general, there may be more than one content gateway processor 30 to provide redundancy, fail over characteristics, and extra capacity for request content processing network 10.
Content gateway processor 30 communicates with content gateway router 28 and with any information source in request content processing network 10 in order to retrieve information associated with the request. Additionally, content gateway processor 30 may communicate with a series of additional processors which all may communicate with content gateway router 28. Content gateway processor 30 may receive information from an application/content/data provider 14 or content delivery node 22 within request content processing network 10, or from any other data source in response to a request that is provided at client terminal 16 and communicated through content gateway router 28.
In one embodiment of the present invention, the internet protocol (IP) address of content gateway processor 30 is communicated to content gateway router 28 in response to a request from client terminal 16. The communication of the request through the network is facilitated by a content gateway directory 32 within content gateway processor 30. Appropriate content policy is kept in content gateway directory 32 in a memory space of the content gateway processor 30. Content gateway directory 32 is used to resolve the requests to the best server location. Content gateway directory 32 includes a content class that consists of a template and a set of rules for pattern matching the uniform resource locator (URL) of the request and, in accordance with one embodiment, the hyper text transfer protocol (HTTP) headers. If a match is found, the transport rules are used to establish a connection to a content location. The transport rules consist of a set of differentiated service (or quality of service) flags as defined by the proprietary values, a policy based routing identifier, and a set of rules for determining the optimal server (defined as producing the quickest response time to the request with the required security protection) to deliver the content associated with the request. These rules may be a list of server IP addresses and/or an indication that an ADNS server is to be invoked to resolve the request domain name.
Content gateway directory 32 codifies a policy for content based routing. Content gateway directory 32 includes a classification policy and a processing policy. The classification policy defines the pattern or template used to match the domain name and additional content of the request from client terminal 16. If all parts of the request match a pattern or template in the classification policy, then the request is classified for processing by an associated processing policy. The processing policy includes the processing actions for the request to include identification of a source of information to satisfy the request. Appendix A shows an example configuration of content gateway directory 32.
An important function of content gateway 18 is to avoid penalizing traffic that is not subject to content routing where content provider 14 has not subscribed to such service. Non-subscription traffic is routed directly by content gateway router 28, bypassing content gateway processor 30, toward a destination content provider 14 with no extra overhead due to the presence of the content routing capability. The processing of requests during content aware processing thus involves two steps. First, by inspecting DNS queries, the request traffic is qualified by domain name to determine if it should be routed to a content gateway processor 30. Second, if the request traffic qualifies for content processing, it is routed to an appropriate content gateway processor 30 where the content of the request is processed.
In processing a request in request content processing network 10, content gateway processor 30 cooperates with content gateway policy manager 26. Content gateway policy manager 26 is introduced into the content gateway architecture in order to define a policy server for the distribution of classification and processing policies to additional content gateways 18. When content gateway 18 is initiated, it may register with an associated content gateway policy manager 26. A policy distribution point responsible for distributing policies to other network elements is connected to content gateway policy manager 26 and may send policy updates to other content gateways 18 and content gateway policy managers 26 as appropriate. Content gateway policy manager 26 also facilitates the distribution of content policies to additional content gateway policy managers 26. Content gateway policy manager 26 includes a Policy Distribution Point (PDP) 40 to handle distribution of policies throughout request content processing network 10. Content gateway router 28 includes a Policy Enforcement Point 42 that receives policy from PDP 40 for installation and subsequent enforcement. Content gateway policy manager 26 also supports the exchange of policies with other affiliated information service providers 12. This allows, for example, replicated content in one information service provider 12 environment to be accessed by a content gateway 18 in another information service provider 12 environment. Policy exchanges between information service providers 12 is based on service level agreements among the information service providers 12 and content providers 14 with the common open policy service (COPS) protocol (or equivalent protocols including XML) being used for communications.
Content gateway policy manager 26 may communicate with its peers to distribute policy information for multiple information service providers 12 to the edges of request content processing network 10 so that requests can be routed directly to the optimal server or servers. This feature eliminates the need for content inspection in the core of request content processing network 10 and the associated overhead that would significantly reduce traffic throughput. Content gateway policy manager 26 also contains a persistent repository for large sets of content policy data for its own information service provider 12 and affiliated information service providers 12 resulting from policy exchanges. This repository can contain more content policy data than could be contained in the real memory stored in content gateway 18. Using content gateway policy manager 26, content policy can be downloaded to content gateway 18 on demand using a policy replacement algorithm for cases where the content gateway memory is full. Internet service provider policy distribution is subject to policies that dictate authentication, authorization, and accounting requirements, and transport policy negotiation.
Domain Name Qualification
Information service provider 12 includes a content gateway 18, an authoritative domain name server 24, and a content gateway policy manager 26. Content gateway 18 is a composite node that includes a content gateway router 28 and one or more content gateway processors 30. Content gateway router 28 is a network edge router that contains interfaces to attach content gateway 18 to the backbone network and the connections that aggregate customer traffic. Content gateway processors 30 provide the processing system to execute content routing functions. Content gateway policy manager 26 communicates with peer managers to distribute content policy information to content gateways 18 for multiple information service providers 12 to the edges of the network so that requests can be routed directly to the best server using the appropriate network transmission service. Content policy may be downloaded to content gateways 18 from content gateway policy manager 26. Authoritative domain name server 24 provides appropriate IP addresses to handle requests when neither local domain name server 20 nor content gateway 18 have entries for those requests. Local domain name server 20 and authoritative domain name server 24 are TCP/IP architected distributed servers that resolve an Internet domain name to an Internet IP address and an IP address to a domain name.
Content gateway 18 includes an intercept function within content gateway router 28 to capture queries to authoritative domain name server 24. Content gateway router 28 includes a valid domain name table 34 that references a domain name with an IP address of an associated content gateway processor 30 that will perform content routing of the query. When content gateway router 28 receives a domain name server query from path B, the valid domain name table 34 is searched for the domain name of the query. If the domain name of the query is found in valid domain name table 34, the IP address of the associated content gateway processor 30 is returned as the domain name server response to the query along path C. The IP address of the associated content gateway processor is returned to client terminal 16 along path D through local domain name server 20 if present. Local domain name server 20 may update its database with the IP address of the associated content gateway processor 30 so that subsequent requests for that domain name may be handled locally in customer network 13 without repeating the above procedure.
Upon receiving the IP address of the associated content gateway processor 30, client terminal 16 establishes a connection along path H with content gateway processor 30 in order to execute the request. Content gateway processor 30 may connect to a server 36 of content provider 14 along path I according to the content policy for the domain name. Content gateway processor 30 acts as a proxy for client terminal 16. Content gateway processor 30 will select the server that can deliver the requested content in an efficient manner within the policy guidelines of the domain as subscribed to by content provider 14.
If the valid domain name table 34 does not find an IP address match for the domain name of the query, the domain name server query is routed toward the intended authoritative domain name server 24. Authoritative domain name server 24 returns an IP address for server 36 of content provider 14 that is routed back to client terminal 16. Client terminal 16 establishes a connection directly with server 36 along paths H and I that flow through content gateway router 28 without passing through any content gateway processor 30.
Since valid domain name table 34 is relatively small and is not designed to hold every possible domain name that has an associated content policy for execution by a content gateway processor 30, there may be a content policy for a domain name within content gateway policy manager 26. In parallel, the domain name server query is also forwarded to content gateway policy manager 26 along path D. Content gateway policy manager 26 determines if there is a content policy associated with the query. Content gateway policy manager 26 searches its policy database for policy information. If no policy exists, then no action is taken. If a policy exists for the domain, the policy is provided to content gateway router 28 along path E. Content gateway router 28 selects a content gateway processor for the domain, inserts an entry in valid domain name table 34 including the domain name and the IP address of the selected content gateway processor 30, and propagates the policy information to the selected content gateway processor 30. The current request being processed will result in a direct connection between client terminal 16 and server 36. If a policy update is received from content gateway policy manager 26 for this domain, then subsequent requests for this domian will be processed according to the newly installed policy. Policy updates and request processing is performed asynchronously in parallel so that user request traffic throughput is not degraded due to policy information update processing.
Upon establishing the connection, client terminal 16 provides the request (4) to the appropriate content gateway processor 30. Content gateway processor 30 parses the Uniform Resource Locator (URL) of the request for classification. Content gateway processor 30 determines whether there is a policy for the classification of the request. If so, for example the request matches the class cars/*.jpeg, content gateway processor 30 issues setup instructions (5) to route all packets of this flow to the appropriate outbound interface in accordance with the policy for subsequent processing by server 36 of content provider 14. Content gateway processor 30 receives the appropriate content (6) from server 36 and forwards it to client terminal 16. If any modification of packet data is desired, content gateway processor 30 remains as a termination point, or proxy, for the duration of the connection. If no modifications of the packets are necessary, the connection may be unproxied to have a direct connection between client terminal 16 and server 36 for improved efficiency of the traffic during the remainder of the connection.
Though the domain name may be qualified, the request may not have a matching classification in content gateway processor 30. In such a situation, there is no policy for request acceleration. Content gateway processor uses a domain name server proxy 38 to obtain a valid IP address of a server for the domain name. The domain name server proxy provides a query to authoritative domain name server 24 over path J. Authoritative domain name server 24 provides an IP address of an appropriate server to content gateway processor 30 over path K. Content gateway processor establishes a connection with the appropriate server to obtain the requested content. Subsequently, content gateway processor 30 may unproxy the connection so that the remainder of the traffic may be routed directly between client terminal 16 and the appropriate server.
When a domain name is qualified for content processing, content gateway processor 308 terminates the connection with client terminal 16 to receive the request. Using content gateway directory 32, content gateway processor 30 attempts to classify the request by parsing the URL and HTTP headers into its constituent parts, such as application (e.g., http), domain name (e.g., www.honda.com), and object (e.g., images/accord.jpeg). The parsed result is pattern matched against corresponding fields in content gateway directory 32. The matching process proceeds from the most specific to the most general object class until either a match is found or the process fails. If the request is classified, then content gateway processor 30 establishes a connection with the server identified by content gateway directory 32 using the transport policy and server address specified by the processing policy.
In order to ensure that all server responses are returned to content gateway processor 30, the IP address and port number (ip:port) of client terminal 16 is translated to one that identifies content gateway processor 30. Since traffic for many client terminals 16 may be flowing through content gateway processor 30, a client network address translation pool may be used to assign a unique source ip:port per client terminal 16 for outbound packets. On inbound packets, this address is seen as the destination ip:port. This address is used to locate the client connection so that the original client ip:port can be restored as the destination address to forward the packet to client terminal 16.
Some content providers 14 require the source IP address of client terminal 16 be preserved at their servers for logging and accounting purposes. The translation performed by the client network address translation pool would restrict such a preservation capability. To solve this, the client ip:port may be inserted by content gateway processor 30 as a TCP option in the TCP/IP header. Since this option would be ignored by the TCP/IP stack at the receiving server, a translation would be performed prior to the packet reaching the server. The translation may be performed by a server load balancer where the client ip:port is extracted from the TCP/IP option field, the source ip:port (the address inserted by content gateway processor 30 through use of the client network address translation pool) is saved, and inserting the client ip:port in place of the source ip:port before forwarding the packet to the server. For outbound flows, the load balancer would reverse the process by replacing the client ip:port with the saved source ip:port so that the packet would be properly sent to content gateway processor 30.
It is possible that information to satisfy related requests may not be located at the same server. If a request is received from client terminal 16 and its classification results in a destination server different than the current server connection, then a new connection to the new server is established. Rather than immediately de-allocating the current server connection, content gateway processor 30 maintains a connection list for client terminal 16. When a request is received that references a different server, content gateway processor 30 will save the current connection in the connection list. If a connection to the requested server exists in the connection list, content gateway processor 30 will re-establish the connection for client terminal 16 to the requested server according to the saved connection. When the connection list becomes full, the current connection may be saved by removing the least recently used connection in the connection list. In this manner, connections may be quickly re-established in anticipation of additional requests from the same client terminal 16 to the same server without the need to establish the connection from scratch.
Each entry in content gateway directory 32 relates to a set of objects. However, each request deals with a single object, such as acura.jpeg. When the best location to satisfy a request is determined, a principle of generalization is used to assert that this location is also good for satisfying requests with objects of a similar type since similar objects are typically stored at the same location. For example, from
The processing policy for an entry in content gateway directory 32 may specify a list of server addresses that can satisfy the request. If more than one address is specified, it is presumed that the set of objects identified by the classification policy exists at all of the locations. The optimal server may vary according to the location of content gateway 18. When the processing policy is installed, all servers are probed so that the server address list is ordered properly. Probes may be executed periodically from content gateway processor 30 to dynamically improve the ability to find the best server or cache of information. Content gateway processor 30 dynamically learns of best server locations through the use of these probes, discovery of other content delivery nodes for a given class, monitoring of redirect flows, and observance of response flows.
Quality Of Service Policy
There are two classes of policies relevant to content gateway 18, quality of service policies that are downloaded to content gateway router 28 and content policies distributed to content gateway processors 30. Content gateway policy manager 26 is used to distribute content policies to content gateway processors 30 and a separate policy server may be used to distribute quality of service policies to content gateway routers 28. Content gateway policy manager 26 performs a distribution role using a policy distribution point to provide the content policies to content gateways 18. Content gateway router 28 performs an enforcement role using a policy enforcement point to implement content policies provided by content policy manager 26.
Initially, each internet service provider's content policy data is installed on a respective policy manager 26a, 26b, or 26c from a policy repository. These policy data are constructed in accordance with agreements 27a, 27b, and 27c with the subscribed content providers (such as application service or content provider 14 LFM.com). Each policy manager 26a, 26b, and 26c is explicitly configured to connect to each other for internet service providers for which there is a contractual agreement to share content policies. For each foreign internet service provider it has a contract with, the policy manager configures the IP address and the security features of the peer policy manager in accordance with the policy service distribution protocol (e.g., COPS).
Policy exchange between policy managers 26a, 26b, and 26c is generally unidirectional; if the agreement is reciprocal then there are two unidirectional exchanges, one in each direction. Policy distribution is performed pairwise, i.e., a policy received by policy manager 26b from policy manager 26a is not automatically propagated to policy manager 26c because policy manager 26b does not know the contractual agreement between internet service providers A and C. Thus, each of policy managers 26a, 26b, and 26c assume the role of policy distribution point or policy enforcement point by communicating with another policy manager, depending on whether it is the distributor or recipient of the policy, respectively. Content policy for individual domains can be downloaded on demand as requests are received from content gateways 18a–g. Alternatively, each of content gateways 18a–g can request that all policies are downloaded in a batch-like mode (e.g., during startup).
As illustrated in
In general, transport policy merges are resolved according to contracts between internet service providers A, B, and C and application service provider 23. For example, as illustrated in
The content gateway allows internet service providers to provide value-added services to the internet service provider customer. As such, the billing management requirement is to provide a mechanism allowing the internet service provider to charge their customers where the service is being added. Billing information within system 10 may be collected at the edge of the network on behalf of all the internet service providers involved in the flow of information. To achieve this end, each policy should contain a list of internet service provider identifiers so that information collected for that flow may be associated with each internet service provider. The content gateway may collect the following flow information: the service provider, the URL that was matched by application of the class maps, the source IP address, the internet service provider identifiers, the number of bytes and packets traversed on that flow, a time stamp for the start and end of the flow, etc. This information may be stored or sent periodically to a pre-defined repository for additional processing of this information.
As illustrated in
To implement the quality of service policy, content gateway 18 modifies the request according to the quality of service policy from content gateway policy manager 26 or some other policy manager that controls quality of service policies. Once the connection is established to the identified server, content gateway 18 dynamically modifies packets received from client terminal 16 with a quality of service value according to the content policy for the request before the packet is forwarded to the identified server. This quality of service value will reflect a different class of service than that provided by the information service provider 12. The quality of service component of content gateway 18 leverages L2/L3 quality of service features to provide differentiated service to qualified HTTP requests. This may include utilizing class based weighted fair queuing to allow specifying an exact amount of bandwidth to be allocated for a specific class of traffic tied to defined queue limits and drop policies.
As discussed above, HTTP requests are classified at content gateway 18 according to their subscription policy. If the HTTP request is qualified for accelerated service, then a quality of service value is assigned to that traffic by setting the Differentiated Services (diffserv) field (formerly called the type-of-service byte) in the IP header of the request. Requests that do not qualify for accelerated service fall into a best efforts class. The diffserv field is used to signal other nodes in network 10 to provide appropriate service for the requested quality of service class.
Differentiated services are realized by mapping the diffserv field of the IP packet header to a particular forwarding treatment or per hop behavior at each node in network 10 along the request's path. Per hob behavior is implemented by employing a range of queue service and/or queue management disciplines on a network node's output queue. Such disciplines include weighted round robin queue servicing, drop preference queue management, bandwidth allocation, and scheduling priority. Additionally, each node may also provide policing, metering, shaping, out of profile treatment, 802.1p packet marking, and WRED functionality. Other considerations include mapping to multiple path MPLs to take on faster routes to reach the endpoint. Mapping may vary from node to node. Providing packet forwarding priority and bandwidth to requests that qualify for accelerated service guarantees better performance compared to requests that have not been subscribed for such treatment.
Thus, it is apparent that there has been provided, in accordance with the present invention, a system and method for processing a request for information in a network that satisfies the advantages set forth above. Although an embodiment has been illustrated and described in detail, it should be understood that various changes, substitutions, and alterations can be made herein. For example, although the present system has been described with reference to an internet, other communication elements such as wireless communications and desktop applications using an intranet or extranet may utilize the disclosed system while still realizing the present invention. In addition, although the VDNT (34) and the ADNS (24) have been described in association with a router, these elements may be placed anywhere or communicate with any element in the network in order to effect quality of service routing while still realizing the present invention. Also, although the quality of service discussed relates to an agreement between an internet service provider and a content, service, or application service provider, this agreement could be between any two persons or organizations associated with the network. Other examples may be readily ascertainable by those skilled in the art and may be made herein without departing from the spirit and scope of the present invention as defined by the following claims.
Number | Name | Date | Kind |
---|---|---|---|
5905736 | Ronen et al. | May 1999 | A |
5956391 | Melen et al. | Sep 1999 | A |
5970477 | Roden | Oct 1999 | A |
6047051 | Ginzboorg et al. | Apr 2000 | A |
6230012 | Willkie et al. | May 2001 | B1 |
20020049841 | Johnson et al. | Apr 2002 | A1 |
20020059114 | Cockrill et al. | May 2002 | A1 |
20020087707 | Stewart et al. | Jul 2002 | A1 |
20020143981 | DeLima et al. | Oct 2002 | A1 |
20020194324 | Guha | Dec 2002 | A1 |
20040039820 | Colby et al. | Feb 2004 | A1 |
Number | Date | Country |
---|---|---|
WO 9826381 | Dec 1997 | WO |
WO 9931610 | Dec 1998 | WO |