1. Field of the Invention
The present invention relates, generally, to content delivery networks and, in preferred embodiments, to systems and methods for intelligent fetch and delivery of Web content to improve content delivery services.
2. Description of the Related Art
Web performance is a key point of differentiation among content providers. Crashes and slowdowns within major Web sites demonstrate the difficulties companies face in trying to deal with high Web traffic. As Internet backbone technologies have developed, many innovations in the area of service management have improved bandwidth and Web content retrieval response time. These improvements to infrastructure, however, cannot solve traffic problems at all points within the Internet.
For example, assume in
Fundamentally, content delivery systems may be designed and deployed for at least two major purposes; one is to achieve load balancing, and the other is to reduce response time. A content delivery system may be implemented using a high speed dedicated line to deliver content while bypassing all gateways or reducing the number of Internet gateways in the transmission path. However, such a dedicated network is expensive and cannot be deployed for all networks. Another approach to implementing content delivery systems is through the use of intelligent caching, mirroring, proxy servers, or other techniques which redirect end users to available servers that contain the desired content and are close to or easily accessible by the end users to ensure fast response time. With some of the traffic redirected, traffic surges will decrease and end users benefit from faster response time. The term generally used for the architecture and functionality of such networks or systems is content delivery services (CDS).
After the browser of user 1 receives the IP address of Web site 1, the browser will attempt to access the page from proxy server 28. Proxy server 28 will then determine if the desired page is in the cache 30 of proxy server 28. If the desired page is in cache 30, proxy server 28 will simply deliver the content in cache 30 to user 1 without attempting to access the page from the original Web site (Web site 1). If the desired page is not in cache 30, proxy server 28 will send a request to Web site 1 to fetch index.html (text only).
After the browser of user 1 receives index.html, the browser will parse the page and issue additional requests to fetch embedded objects such as images and icons. However, proxy server 28 will first receive these requests and determine if the embedded objects are available in cache 30. If the desired objects are in cache 30, proxy server 28 will simply deliver the objects in cache 30 to user 1 without attempting to fetch the objects from the original Web site (Web site 1). If the desired objects are not in cache 30, proxy server 28 will send requests to the appropriate Web sites to fetch the objects.
Traffic (i.e. data flow) can be recorded in a log file 32 in proxy server 28. Such a log file may contain the IP addresses of the originators of requests, the URLs of objects fetched, a time stamp for each action, and the like. It should be noted that a proxy server 28 is usually shared by many users so that the contents of cache 30 can be accessed by users with similar interests. Thus, for example, if user 1 accesses a page and that page is stored in cache 30, when user 2 (see reference character 90) requests the same page, proxy server 28 can simply provide the page stored in cache 30 to user 2.
However, delays may still occur during the fetching of embedded objects because of the high processing overhead associated with each fetch. For example, a typical Web page may consist of images and icons, which are essentially small images. The data associated with an icon may be transferred using just a few data packets. However, in any transfer there is processing overhead in the form of commands to open and close the connection. This processing overhead may comprise six or seven data packets.
In addition, because a Web page may require the fetching of multiple images, and because servers may impose a fixed limit of connections per user, not all images may be simultaneously fetched. An unscheduled fetching of multiple images may result in a user viewing incomplete images for long periods of time. However, it may be important for a user to see some full images within a reasonable time in order to click on that image to further navigate the Internet. From the user's point of view, it may be desirable to see complete embedded objects as early as possible so that the user can have a better idea about the content of the web page. This is especially applicable to small images such as icons, for a user may not be able to understand the content of a Web page based on a portion of an already small image.
Therefore, it is an advantage of embodiments of the present invention to provide a system and method for intelligent Web content fetching and delivery that keeps the connection between user and content provider server open for multiple object transfers, thereby reducing the number of times that a connection is opened and closed, reducing content transfer overhead, and improving access time.
It is a further advantage of embodiments of the present invention to provide a system and method for intelligent Web content fetching and delivery where, when multiple objects are being delivered, any remaining full or partial objects are transmitted in ascending order of object size.
It is a further advantage of embodiments of the present invention to provide a system and method for intelligent Web content fetching and delivery that improves the response time of Web content fetches by pre-determining the addresses of domain names, pre-establishing connections in anticipation of their need, and by keeping a connection open in anticipation of future object transfers.
It is a further advantage of embodiments of the present invention to provide a system and method for intelligent Web content fetching and delivery in which the proxy server maintains a log of page and object fetches, determines and stores likely associations between page and object fetches occurring within a specified time window, and pre-fetches objects into cache according to the stored associations when subsequent page requests are received.
These and other advantages are accomplished according to a Web content fetch and delivery system comprising a proxy server configured for receiving requests for content from requesting end user browsers and fetching the content from content provider servers over at least one communication network. The proxy server is programmed for maintaining a log of all content fetched including a time of the fetch and the requesting end user browser, and storing associations between content fetched within a fixed time period by the same requesting end user browser. When subsequent requests for particular content are received by the proxy server, the proxy server will pre-fetch all content associated with that particular requested content.
These and other objects, features, and advantages of embodiments of the invention will be apparent to those skilled in the art from the following detailed description of embodiments of the invention, when read with the drawings and appended claims.
a) illustrates one approach to Web content delivery scheduling in which a server delivers the objects in an arbitrary sequence.
b) illustrates another approach to Web content delivery scheduling in which the server may deliver two objects in the same network at the same time.
c) illustrates an embedded object delivery strategy which delivers embedded objects in an ascending order of object size according to an embodiment of the present invention.
a) illustrates one approach to Web content delivery scheduling wherein, if a new embedded object request for an object arrives at the time when another object is scheduled to be delivered, the previously scheduled object will be delivered first.
b) illustrates another approach to Web content delivery scheduling wherein, if a new embedded object request for an object arrives at the time when another object is scheduled to be delivered, the smaller object will be delivered first according to an embodiment of the present invention.
a) illustrates one situation that may occur in Web content delivery scheduling wherein a new embedded object request for an object arrives at the time when another object is in the process of being delivered.
b) illustrates another approach to Web content delivery scheduling wherein, if a new embedded object request for an object arrives at the time when another object is in the process of being delivered, the smaller of the new embedded object and the untransmitted remainder of object being delivered will be delivered first according to an embodiment of the present invention.
a) is a representative diagram illustrating an overview of a conventional object fetch procedure based on HTTP 1.0 protocol.
b) is a representative diagram illustrating the persistent connection methodology according to embodiments of the present invention.
a) is a block diagram illustrating pre-domain name lookup and pre-establishing of connections according to embodiments of the present invention.
b) is a block diagram illustrating further pre-domain name lookups and pre-establishing of connections according to embodiments of the present invention.
c) is a block diagram illustrating further pre-domain name lookups and pre-establishing of connections, and the closing of old connections, according to embodiments of the present invention.
In the following description of preferred embodiments, reference is made to the accompanying drawings which form a part hereof, and in which is shown by way of illustration specific embodiments in which the invention may be practiced. It is to be understood that other embodiments may be utilized and structural changes may be made without departing from the scope of the preferred embodiments of the present invention.
Web performance is a key point of differentiation among content providers. Crashes and slowdowns within major Web sites demonstrate the difficulties companies face in trying to deal with high Web traffic. As Internet backbone technologies have developed, many innovations in the area of service management have improved bandwidth and Web content retrieval response time. These improvements to infrastructure, however, cannot solve traffic problems at all points within the Internet. Gateway bottlenecks may result in the access time for one page of data being on the order of 10 seconds or more. Because of the gateway bottlenecks, and because there are many uncertainties along the Internet paths from end user to Web sites, content delivery networks or systems are now being developed.
Fundamentally, content delivery systems are designed for two major purposes; one is to achieve load balancing, and the other is to reduce response and access time. Embodiments of the present invention described herein reduce response and access time through content delivery systems that use intelligent caching and proxy servers to redirect users to available servers that contain the desired content and are close to or easily accessible by the users. With some of the traffic redirected, traffic surges will decrease and end users benefit from faster response time.
As described above, the object fetch sequence is an html page fetch followed by many embedded object fetches. Since one html page usually has a few embedded objects of various sizes, delivery of such objects can have an impact on the users' experience using the Web. In the following paragraphs a Web object delivery scheduling scheme which provides users with a better display sequence is described according to embodiments of the present invention.
In any Web object delivery scheme, several steps must be performed. First, a domain name server (DNS) network must be used to perform a domain name search. The result of this domain name search is the address of the content provider site containing the data to be fetched. Second, a connection must be established by opening a socket or channel. Once this connection is established, the objects can be fetched.
a) illustrates one approach to Web content delivery scheduling in which a server delivers the objects using one socket or channel in an arbitrary sequence. In the arbitrary delivery sequence shown in
It should be understood that it is difficult for a server to determine whether an embedded object of a target size is more important than an embedded object of another size, due to the subjectivity of the evaluation. Object size may not be the only factor to determine importance. For example, an object of a larger size could be an advertisement banner while a smaller embedded object could be an icon for a selection button that is essential to operation. From the user's point of view, it may be desirable to see complete embedded objects as early as possible so that the user can have a better idea about the content of the Web page. This is especially applicable to small images, for a user may not be able to understand the content of a Web page based on a portion of an already small image. Conversely, a user may be able to understand the content of a Web page based on a portion of a larger image.
c) illustrates an embodiment of the present invention employing an embedded object delivery strategy which delivers embedded objects in an ascending order of object size. It should be understood that servers may store management information on stored objects, including object size (contained in the metadata of the object), and that users can receive this information before the actual delivery of objects by http protocol. Because the smallest objects are delivered first, a user is able to view a complete image at t=t1, much earlier than the approaches of
In an embodiment of the present invention illustrated in
Thus, in preferred embodiments of the present invention, if the size of the newly requested object is smaller than the size of the remaining object being transmitted, the transmission of the remaining object is suspended, and the newly requested object is scheduled for immediate transmission.
However, if there are many requests to transmit small embedded objects, the problem of starvation may occur wherein larger objects never get delivered. To prevent this from happening, in alternative embodiments of the present invention a priority value may be assigned to each suspended object, computed as the waiting time of an object to be delivered divided by the size of the object. Thus, as a request remains suspended and waiting to be delivered by the system, its priority value increases. The larger the priority value of an object, the earlier the object is delivered. Eventually, therefore, any suspended large object will reach a priority value sufficient for delivery.
It should be noted that although the embodiments of the present invention illustrated in
In addition, the concepts of
The Web browser, communication program, and user computer are referred to herein as a user.
When objects are delivered to a user, the communication program loads the objects into memory. Only then is the size of the objects known by the communication program. Once objects have been stored into memory, the communication program may schedule the delivery of multiple objects to the Web browser according to embodiments of the present invention illustrated in
By comparison, the persistent connection methodology of embodiments of the present invention is illustrated in
In conventional networks, a “get-target-object” request in the format of “GET target-object http/1.0” is communicated for each transfer of icon information, where the “1.0” indicates the version of http. Such a request fetches the image for one icon. Other icons can subsequently be fetched by sending another “get-target-object” request. However, in embodiments of the present invention, multiple object transfers can be accomplished in a single connection by extending the “get-icon” command to multiple icons. The request may be in the format of “GET list-of-targets http/1.0 extended,” where the “list-of-targets” specifies a list of objects to be delivered within the same connection. Thus, if “list-of-targets” is comprised of obj1, obj2, obj3, and obj4, then this request will deliver obj1, obj2, obj3, and obj4, etc. within one connection. It should be noted that the delivery of multiple images within the same connection is possible only if the images are being delivered from the same server.
When transferring multiple images within a single open connection, the user must know when one image has completed its transfer and a new image is being transferred. As described with reference to
It should be noted that when multiple images are transferred in the same connection, as illustrated in
It should be noted that although embodiments of the present invention illustrated in
Users, proxy servers, and mirror servers that request content from other servers shall be referred to herein as requestors.
In the example of
In alternative embodiments of the present invention, further steps may be taken to improve the response time of Web content fetches. In the example of
In addition, channels connecting the user to nec.com and nec.co.jp may be pre-established, even though these Web sites have not been requested. Thus, in the example of
In preferred embodiments of the present invention, the process of pre-domain name lookup and pre-establishing connections continues as page links are traversed. Thus, as illustrated in the example of
However, from a proxy server perspective, opening too many channels may consume an excessive number of resources. Thus, in embodiments of the present invention, previously used channels are closed according to predetermined criteria. For example, in one embodiment, channels for links to pages which can be only accessed more than a fixed number of link traversals away may be closed. Thus, in the example of
It should be noted that although embodiments of the present invention illustrated in
A further embodiment of the present invention related to parallel pre-fetching based on log entries will be discussed next. As described above, when a user fetches a page, the HTML textual page is fetched first, followed by a sequence of embedded object fetches. This sequence is recorded in a log. Since these fetches generally occur within a relatively short time (e.g. a few seconds to a few minutes if the network condition is not good), in embodiments of the present invention the log information will be analyzed to associate entries which are possibly related to the same HTML page fetch.
In the example of
Because each page stored in the cache of the proxy server is assigned an expiration date, and the contents in the cache may be removed as part of page replacement, the pages P1.html and P2.html as well as their embedded objects may eventually be removed from the cache. However, when there is a new request for P1.html or P2.html, instead of fetching only P1.html or P2.html from the content provider server, in embodiments of the present invention the proxy server will examine its stored associations for P1.html or P2.html, and issue multiple pre-fetch requests in parallel to move embedded objects related to P1.html or P2.html into the cache. In the example of
It is possible that the pre-fetched objects are actually not related to the requested page due to the fact that the page has been modified, or that the user has disabled loading of images so that the page request will never result in fetching of the related objects. Despite these possibilities, it is still more efficient for the proxy server to open parallel connections and pre-fetch objects from the content provider server in anticipation that they might be needed.
It should be noted that although embodiments of the present invention illustrated in
Therefore, embodiments of the present invention provide a system and method for intelligent Web content fetching and delivery that keeps the connection between user and content provider server open for multiple object transfers, thereby reducing the number of steps needed to open and close connections. Embodiments of the present invention also improve the wait time for receiving full images by transmitting any remaining full or partial objects in ascending order of object size when multiple objects are being delivered.
Embodiments of the present invention also improve the response time of Web content fetches by pre-determining the addresses of domain names or pre-establishing connections in anticipation of their need, and by keeping a connection open in anticipation of future object transfers. Furthermore, in embodiments of the present invention the proxy server maintains a log of page and object fetches, determines and stores likely associations between page and object fetches occurring within a specified time window, and pre-fetches objects into cache according to the stored associations when subsequent page requests are received.
This application is a divisional of U.S. patent application Ser. No. 09/545,806, filed Apr. 8, 2000, by Wen-Syan Li, Kunihiro Taniguchi and Atsuhiro Tanaka, and subsequently issued as U.S. Pat. No. 6,854,018 on Feb. 8, 2005. This application claims only subject matter disclosed in the parent application and therefore presents no new matter.
Number | Name | Date | Kind |
---|---|---|---|
5572645 | Dan et al. | Nov 1996 | A |
5742797 | Celi et al. | Apr 1998 | A |
5870546 | Kirsch | Feb 1999 | A |
5920865 | Ariga | Jul 1999 | A |
5978847 | Kisor et al. | Nov 1999 | A |
6021435 | Nielsen | Feb 2000 | A |
6067560 | Potts, Jr. | May 2000 | A |
6076109 | Kikinis | Jun 2000 | A |
6112231 | DeSimone et al. | Aug 2000 | A |
6134584 | Chang et al. | Oct 2000 | A |
6167438 | Yates et al. | Dec 2000 | A |
6175838 | Papierniak et al. | Jan 2001 | B1 |
6212565 | Gupta | Apr 2001 | B1 |
6249844 | Schloss et al. | Jun 2001 | B1 |
6298373 | Burns et al. | Oct 2001 | B1 |
6304864 | Liddy et al. | Oct 2001 | B1 |
6308238 | Smith et al. | Oct 2001 | B1 |
6314492 | Allen et al. | Nov 2001 | B1 |
6334145 | Adams et al. | Dec 2001 | B1 |
6351767 | Batchelder et al. | Feb 2002 | B1 |
6374300 | Masters | Apr 2002 | B2 |
6389463 | Bolas et al. | May 2002 | B2 |
6393526 | Crow et al. | May 2002 | B1 |
6401171 | Klein et al. | Jun 2002 | B1 |
6457054 | Bakshi | Sep 2002 | B1 |
6499051 | Kanemitsu | Dec 2002 | B1 |
6542967 | Major | Apr 2003 | B1 |
6877036 | Smith et al. | Apr 2005 | B1 |
20010034814 | Rosenzweig | Oct 2001 | A1 |
Number | Date | Country | |
---|---|---|---|
20050198309 A1 | Sep 2005 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 09545806 | Apr 2000 | US |
Child | 11053279 | US |