JP2005122358A - Web content delivery system, web content delivery program, and proxy server - Google Patents
Web content delivery system, web content delivery program, and proxy server Download PDFInfo
- Publication number
- JP2005122358A JP2005122358A JP2003354870A JP2003354870A JP2005122358A JP 2005122358 A JP2005122358 A JP 2005122358A JP 2003354870 A JP2003354870 A JP 2003354870A JP 2003354870 A JP2003354870 A JP 2003354870A JP 2005122358 A JP2005122358 A JP 2005122358A
- Authority
- JP
- Japan
- Prior art keywords
- server
- web
- web content
- file
- url
- 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.)
- Pending
Links
- 238000012546 transfer Methods 0.000 claims description 9
- 238000000034 method Methods 0.000 description 15
- 238000005516 engineering process Methods 0.000 description 4
- 230000007423 decrease Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
Images
Landscapes
- Information Transfer Between Computers (AREA)
- Computer And Data Communications (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
本発明は、複数のミラーサーバで負荷分散を行う方法に関し、特に、WWW(World Wide Web、以下ウェブと略す)のサーバの中で負荷が低いサーバからデータを受信してブラウザへ配信する、ウェブコンテンツ配信システム、ウェブコンテンツ配信プログラム及びプロクシサーバに関する。 The present invention relates to a method of load balancing with a plurality of mirror servers, and in particular, a web that receives data from a server with a low load among servers of the WWW (World Wide Web, hereinafter abbreviated to the web) and distributes it to a browser. The present invention relates to a content distribution system, a web content distribution program, and a proxy server.
インターネットの急速な進展に伴い、利用者数は急激に増加し、ウェブコンテンツ情報を同時に利用する利用者数も急増する。このような利用者の増加に対応するため、情報提供者はミラーサーバを用意して、ウェブコンテンツ配信の負荷を分散して対処しようとしている。 With the rapid development of the Internet, the number of users increases rapidly, and the number of users who simultaneously use web content information also increases rapidly. In order to cope with such an increase in users, information providers have prepared mirror servers and are trying to deal with the load of web content distribution.
このような負荷分散を実現する従来のウェブコンテンツ配信システムの一例を図5に示す。 An example of a conventional web content distribution system that realizes such load distribution is shown in FIG.
図5に示す従来のミラーサーバを使用したウェブコンテンツ配信システムにおいては、ブラウザ301よりウェブコンテンツ308をダウンロードする場合、まずブラウザ301よりウェブコンテンツ308の最初のファイル309のダウンロード要求が発行される。
In the web content distribution system using the conventional mirror server shown in FIG. 5, when downloading the web content 308 from the
このダウンロード要求は、経路312を経由してプロクシサーバ302へ到達する。プロクシサーバ302は、ダウンロード要求を経路313及びインタネット網314内の経路315とサーバシステム303への入り口である経路316を経由してサーバシステム303内の負荷分散システム304へ送信する。
This download request reaches the
負荷分散システム304は、ウェブコンテンツ308を有するウェブサーバ305又はウェブサーバ305のミラーサーバ306又は307の負荷を調査し、最も負荷の低いサーバ及びそれらの経路である経路317又は経路318又は経路319を使用してウェブコンテンツ308内のファイル309をダウンロードする。
The
ダウンロードされたファイルは、ファイル要求時の経路を戻り、最終的にブラウザ301へ到達する。以降、ウェブコンテンツ308の後続するファイル310、ファイル311が同様にしてダウンロードされる。
The downloaded file returns the path when the file is requested, and finally reaches the
このように、サーバシステム303は、負荷分散システム304によってウェブコンテンツ308へのアクセスを3つに分散させることでブラウザ301に対して高速なレスポンスを提供するものである。
As described above, the
また、負荷分散方法の一例が、例えば特開2001−256208号公報(特許文献1)に記載されている。 An example of a load distribution method is described in, for example, Japanese Patent Application Laid-Open No. 2001-256208 (Patent Document 1).
この特許文献1では、複数のミラーサーバ間でロードバランスを取るための手段をブラウザに設ける。この手段は、ブラウザにより受信されるスクリプトを分析するスクリプトアナライザ、複数のミラーサーバのそれぞれと接続し、上記スクリプトアナライザからの分析結果をもとに各サーバの応答時間を測定するスクリプトエクゼキュータ、及び応答時間が最短のミラーサーバを選択するセレクタよりなる。 In this patent document 1, a means for balancing the load among a plurality of mirror servers is provided in the browser. This means includes a script analyzer for analyzing a script received by a browser, a script executor for connecting to each of a plurality of mirror servers, and measuring a response time of each server based on an analysis result from the script analyzer, and a response It consists of a selector that selects the mirror server with the shortest time.
この特許文献1に開示される方法では、ホストサーバより返信されたスクリプトをブラウザで解析し、複数あるミラーサーバとすべて接続して、応答時間が最短のものを選択し、以降はそのミラーサーバとデータの送受信を実施するものである。 In the method disclosed in Patent Document 1, a script returned from a host server is analyzed with a browser, all of the mirror servers are connected, and the one with the shortest response time is selected. Data transmission / reception is performed.
また、他の負荷分散方法として、複数のサーバを設置して、最初のサーバの応答の無い場合には、次のサーバに切り替え、あるいは次のサーバでも応答が無ければ、さらに第3のサーバに切り替える方法が特許第3299521号公報(特許文献2)に提案されている。
上述した従来の技術は、いずれも以下に述べるような問題点があった。 All of the conventional techniques described above have the following problems.
図5に示した従来のミラーサーバを使用したウェブコンテンツ配信における負荷分散方式の場合、負荷が分散される箇所はサーバシステム内部のみである。即ち、この方式の場合、仮にサーバシステム内部に非常に高速なLANやサーバを使用しても、図6に示すように、インタネット網114内の経路115が混雑している場合最終的にウェブコンテンツをブラウザへ配信するまでに多くの時間を費やしてしまうという問題がある。 In the case of the load distribution method in the web content distribution using the conventional mirror server shown in FIG. 5, the place where the load is distributed is only inside the server system. That is, in the case of this method, even if a very high speed LAN or server is used inside the server system, as shown in FIG. There is a problem that it takes a lot of time to deliver to the browser.
また、負荷分散システムを準備することによるコストの増大と可用性の低下(負荷分散システムの故障)を招くという問題点がある。 In addition, there is a problem that an increase in cost and a decrease in availability (failure of the load distribution system) are caused by preparing the load distribution system.
さらに、特許文献1の複数のミラーサーバ間でロードバランスを取る方法の場合、ミラーサーバの選択処理は最初のアクセス時のみであり、それ以降のアクセスに対してはサーバが固定されてしまう。このため、選択したミラーサーバあるいはその経路に起因する通信トラブルが発生した場合には、対処することはできず、利用者に対するサービスが低下する。 Furthermore, in the method of balancing the load among a plurality of mirror servers disclosed in Patent Document 1, the mirror server selection process is performed only at the first access, and the server is fixed for subsequent accesses. For this reason, when a communication trouble caused by the selected mirror server or its route occurs, it cannot be dealt with and the service to the user is reduced.
またこの方法の場合、複数のミラーサーバ間でロードバランスを取る手段をブラウザに設ける必要があり、ブラウザの改良が必要となるという問題点がある。 In addition, in this method, it is necessary to provide a means for balancing the load among a plurality of mirror servers in the browser, and there is a problem that the browser needs to be improved.
一方、特許文献2に示される複数のサーバを設置してサーバを切り替える技術が提案されているが、もともとこの技術はサーバとの通信が行えないような場合に、別のサーバに切り替える技術であって、利用者へのサービスをより高める技術ではない。また、この方法においても、サーバの選択処理は最初のアクセス時のみであり、それ以降のアクセスに対してはサーバが固定されてしまう。 On the other hand, a technology for installing a plurality of servers shown in Patent Document 2 and switching the servers has been proposed. This technology was originally a technology for switching to another server when communication with the server could not be performed. Therefore, it is not a technology that enhances the service to users. Also in this method, the server selection process is performed only at the first access, and the server is fixed for subsequent accesses.
本発明の第1の目的は、上記従来技術の欠点を解決し、サーバ選択をプロクシサーバで実行可能で、かつアクセスの度に、応答時間の速いサーバを選択可能なウェブコンテンツ配信システム、ウェブコンテンツ配信プログラム及びプロクシサーバを提供することにある。 A first object of the present invention is to solve the above-mentioned drawbacks of the prior art, a web content distribution system capable of selecting a server with a quick response time each time access can be performed by a proxy server, and web content It is to provide a distribution program and a proxy server.
本発明の第2の目的は、大掛かりで冗長的な負荷分散システムの準備を不要とし、低いコストで導入が容易であると共に、可用性に優れたウェブコンテンツ配信システム、ウェブコンテンツ配信プログラム及びプロクシサーバを提供することにある。 A second object of the present invention is to provide a web content delivery system, a web content delivery program, and a proxy server that do not require preparation of a large-scale and redundant load distribution system, can be easily introduced at a low cost, and are excellent in availability. It is to provide.
上記目的を達成するため本発明は、ウェブコンテンツを有するウェブサーバ及び当該ウェブサーバと同一内容のウェブコンテンツを有するミラーサーバを備え、ブラウザからプロクシサーバを経由して前記ウェブコンテンツへのアクセスを行うウェブコンテンツ配信システムであって、前記ブラウザから前記プロクシサーバを経由して前記ウェブサーバに対してウェブコンテンツ内の最初のファイルが要求された場合、前記ウェブサーバが要求されたファイルと共に前記ミラーサーバのURLを前記プロクシサーバに送信し、前記ブラウザより前記ウェブコンテンツの他のファイルが要求された場合、前記プロクシサーバが、前記ウェブサーバとURLに示された前記ミラーサーバから応答可能なサーバを選択して前記ファイルを受信することを特徴とする。 To achieve the above object, the present invention comprises a web server having web content and a mirror server having web content having the same content as the web server, wherein the web content is accessed from a browser via a proxy server. In the content distribution system, when the first file in the web content is requested from the browser via the proxy server to the web server, the URL of the mirror server together with the requested file Is sent to the proxy server, and when another file of the web content is requested from the browser, the proxy server selects a server that can respond from the web server and the mirror server indicated by the URL. Receiving the file The features.
請求項2の本発明のウェブコンテンツ配信システムによれば、前記プロクシサーバは、前記ウェブサーバとURLに示された前記ミラーサーバのうちから、一定時間内に応答したサーバを選択して前記ファイルの要求を送信することを特徴とする。 According to the web content delivery system of the present invention of claim 2, the proxy server selects a server that responds within a predetermined time from the web server and the mirror server indicated by the URL, and stores the file. It is characterized by transmitting a request.
請求項3の本発明のウェブコンテンツ配信システムによれば、前記プロクシサーバは、前記ブラウザより前記ウェブコンテンツの他のファイルが要求される度に、前記サーバの選択を行うことを特徴とする。 According to the web content distribution system of the present invention of claim 3, the proxy server selects the server every time another file of the web content is requested from the browser.
請求項4の本発明のウェブコンテンツ配信システムによれば、前記ウェブサーバは、要求されたファイルのHTTPヘッダに前記ミラーサーバのURLを記入して返信することを特徴とする。 According to the web content distribution system of the present invention of claim 4, the web server returns the URL of the mirror server written in the HTTP header of the requested file.
請求項5の本発明のウェブコンテンツ配信システムによれば、前記プロクシサーバは、前記ファイルのHTTPヘッダよりミラーサーバのURLの記載を削除して前記ファイルを前記ブラウザへ転送すると共に、前記ウェブサーバのURLに対応させて前記ミラーサーバのURLを記載したミラーサーバURLデータベースを作成することを特徴とする。 According to the web content distribution system of the present invention of claim 5, the proxy server deletes the description of the mirror server URL from the HTTP header of the file and transfers the file to the browser. A mirror server URL database describing the URL of the mirror server in correspondence with the URL is created.
請求項6の本発明は、ウェブコンテンツを有するウェブサーバ及び当該ウェブサーバと同一内容のウェブコンテンツを有するミラーサーバを備え、ブラウザからプロクシサーバを経由して前記ウェブコンテンツへのアクセスを行うウェブコンテンツ配信システムの前記ウェブサーバ及び前記プロクシサーバ上で動作し、前記ウェブコンテンツ配信における負荷分散を実現するウェブコンテンツ配信プログラムであって、前記ウェブサーバのウェブコンテンツ配信プログラムが、前記ブラウザから前記プロクシサーバを経由して前記ウェブサーバに対してウェブコンテンツ内の最初のファイルが要求された場合、要求されたファイルと共に前記ミラーサーバのURLを前記プロクシサーバに送信する機能を実行し、前記プロクシサーバのウェブコンテンツ配信プログラムが、前記ブラウザより前記ウェブコンテンツの他のファイルが要求された場合、前記ウェブサーバとURLに示された前記ミラーサーバから応答可能なサーバを選択して前記ファイルを受信する機能を実行することを特徴とする。 The present invention of claim 6 includes a web server having web content and a mirror server having web content having the same content as the web server, and the web content delivery is performed by a browser to access the web content via the proxy server. A web content delivery program that operates on the web server and the proxy server of the system and realizes load distribution in the web content delivery, wherein the web content delivery program of the web server passes through the proxy server from the browser When the first file in the web content is requested to the web server, the function of transmitting the URL of the mirror server together with the requested file to the proxy server is executed, and the proxy server web When the content distribution program requests another file of the web content from the browser, the content distribution program executes a function of selecting the server that can respond from the web server and the mirror server indicated in the URL and receiving the file It is characterized by doing.
請求項7の本発明によれば、前記プロクシサーバのウェブコンテンツ配信プログラムは、前記ウェブサーバとURLに示された前記ミラーサーバのうちから、一定時間内に応答したサーバを選択して前記ファイルの要求を送信する機能を実行することを特徴とする。 According to the present invention of claim 7, the web content distribution program of the proxy server selects a server that responds within a predetermined time from the web server and the mirror server indicated by the URL, and A function of transmitting a request is executed.
請求項8の本発明によれば、前記プロクシサーバのウェブコンテンツ配信プログラムは、前記ブラウザより前記ウェブコンテンツの他のファイルが要求される度に、前記サーバの選択を行う機能を実行することを特徴とする。 According to the present invention of claim 8, the web content distribution program of the proxy server executes a function of selecting the server each time another file of the web content is requested from the browser. And
請求項9の本発明によれば、前記ウェブサーバのウェブコンテンツ配信プログラムは、要求されたファイルのHTTPヘッダに前記ミラーサーバのURLを記入して返信する機能を実行することを特徴とする。 According to the present invention of claim 9, the web content distribution program of the web server executes a function of entering and returning the URL of the mirror server in the HTTP header of the requested file.
請求項10の本発明によれば、前記プロクシサーバのウェブコンテンツ配信プログラムは、前記ファイルのHTTPヘッダよりミラーサーバのURLの記載を削除して前記ファイルを前記ブラウザへ転送すると共に、前記ウェブサーバのURLに対応させて前記ミラーサーバのURLを記載したミラーサーバURLデータベースを作成する機能を実行することを特徴とする。 According to the present invention of claim 10, the web content distribution program of the proxy server deletes the description of the URL of the mirror server from the HTTP header of the file and transfers the file to the browser. A function of creating a mirror server URL database in which the URL of the mirror server is described in association with the URL is executed.
請求項11の本発明は、ウェブコンテンツを有するウェブサーバ及び当該ウェブサーバと同一内容のウェブコンテンツを有するミラーサーバを備え、ブラウザからプロクシサーバを経由して前記ウェブコンテンツへのアクセスを行うウェブコンテンツ配信システムのプロクシサーバであって、前記ブラウザからウェブコンテンツ内の最初のファイルが要求された場合、前記ウェブサーバから要求されたファイルと共に前記ミラーサーバのURLを受信し、前記ブラウザより前記ウェブコンテンツの他のファイルが要求された場合、前記ウェブサーバとURLに示された前記ミラーサーバから応答可能なサーバを選択して前記ファイルを受信することを特徴とする。 The present invention of claim 11 comprises a web server having web content and a mirror server having web content having the same content as the web server, and the web content is distributed from the browser via the proxy server. The proxy server of the system, when the first file in the web content is requested from the browser, the URL of the mirror server is received together with the file requested from the web server, and other web content is received from the browser. When a file is requested, a server capable of responding is selected from the mirror server indicated by the web server and URL, and the file is received.
請求項12の本発明のプロクシサーバによれば、前記ウェブサーバとURLに示された前記ミラーサーバのうちから、一定時間内に応答したサーバを選択して前記ファイルの要求を送信することを特徴とする。 According to the proxy server of the present invention of claim 12, a request for the file is transmitted by selecting a server that responds within a predetermined time from the web server and the mirror server indicated by the URL. And
請求項13の本発明のプロクシサーバによれば、前記ブラウザより前記ウェブコンテンツの他のファイルが要求される度に、前記サーバの選択を行うことを特徴とする。 According to a proxy server of the present invention of claim 13, the server is selected each time another file of the web content is requested from the browser.
請求項14の本発明のプロクシサーバによれば、前記ウェブサーバから前記ファイルのHTTPヘッダに前記ミラーサーバのURLを記入して返信されると、前記ファイルのHTTPヘッダよりミラーサーバのURLの記載を削除して前記ファイルを前記ブラウザへ転送すると共に、前記ウェブサーバのURLに対応させて前記ミラーサーバのURLを記載したミラーサーバURLデータベースを作成することを特徴とする。 According to the proxy server of the present invention of claim 14, when the URL of the mirror server is written in the HTTP header of the file and returned from the web server, the URL of the mirror server is described from the HTTP header of the file. It deletes and transfers the file to the browser, and creates a mirror server URL database describing the URL of the mirror server in correspondence with the URL of the web server.
本発明のウェブコンテンツ配信システム、ウェブコンテンツ配信プログラム及びプロクシサーバによれば、以下の効果が達成される。 According to the web content delivery system, web content delivery program, and proxy server of the present invention, the following effects are achieved.
第1に、プロクシサーバにおいてウェブコンテンツをダウンロードするサーバの選択をダウンロード要求の度に実行するため、最初に選択されたサーバからの応答が遅くなった場合においても、別の応答の速いミラーサーバから、情報の速やかな配信が可能となる。すなわち、プロクシサーバからの経路を分散させることによってインターネット網内の一部の負荷が高い場合においても、ブラウザからの要求に対して高速なレスポンスを実現できる。また、回線トラブルあるいはサーバトラブルが発生しても、その影響を受けにくく、利用者へのサービスが向上する。 First, since a proxy server selects a server for downloading web content for each download request, even if the response from the first selected server is slow, another mirror server with a fast response , Prompt distribution of information becomes possible. That is, by distributing the route from the proxy server, a high-speed response to a request from the browser can be realized even when a part of the load on the Internet network is high. In addition, even if a line trouble or a server trouble occurs, it is not easily affected, and the service to the user is improved.
第2に、サーバの選択処理をプロクシサーバで実施する構成であるため、大掛かりで冗長的な負荷分散システムの準備を不要とし、低いコストで導入が容易であると共に、可用性に優れたウェブコンテンツ配信システムを実現することが可能となる。 Secondly, since the server selection process is performed by the proxy server, it is not necessary to prepare a large-scale and redundant load distribution system, and it is easy to introduce at low cost and has high availability. A system can be realized.
以下、本発明の好適な実施例について図面を参照して詳細に説明する
本発明によるウェブコンテンツ配信システムは、プロクシ(Proxy)サーバがウェブサーバ及び複数のミラーサーバの中より一定時間内に応答したミラーサーバより受信したファイルをブラウザへ転送する処理を、ファイルのアクセスの都度実行することを特徴とする。
Hereinafter, a preferred embodiment of the present invention will be described in detail with reference to the drawings. In the web content distribution system according to the present invention, a proxy server responds within a certain time from among a web server and a plurality of mirror servers. The process of transferring the file received from the mirror server to the browser is executed every time the file is accessed.
サーバの選択をアクセスの度に行うため、最初に選択したサーバの速度が低下した場合においても、常に応答の速いサーバからのダウンロードを実現できる。また、回線トラブルあるいはサーバトラブルが発生しても、その影響を受けにくく、利用者へのサービスがより向上する。 Since the server is selected every time it is accessed, even when the speed of the server selected first decreases, it is possible to always download from the server with a quick response. In addition, even if a line trouble or a server trouble occurs, it is not easily affected, and the service to the user is further improved.
図1は、本発明の第1の実施例によるウェブコンテンツ配信システムの構成を示すブロック図である。図1を参照すると、本実施例のウェブコンテンツ配信システムは、ブラウザ101と、プロクシサーバ125と、ウェブコンテンツを有するウェブサーバ122、ウェブサーバと同一内容のウェブコンテンツを有するミラーサーバ123、124とをインターネット網120を介して接続した構成となっている。
FIG. 1 is a block diagram showing a configuration of a web content distribution system according to a first embodiment of the present invention. Referring to FIG. 1, the web content distribution system of the present embodiment includes a
ブラウザ101は経路112でプロクシサーバ125と接続され、プロクシサーバ125、ウェブサーバ122、ミラーサーバ123、ミラーサーバ124は、それぞれ経路113、経路117、経路118、経路119でインターネット網120と接続されている。
The
また、プロクシサーバ125の入り口となる経路113は、インターネット網120内の経路114、経路115、経路116を介して、ウェブサーバ122、ミラーサーバ123、ミラーサーバ124の入り口である経路113、経路117、経路118、経路119と接続されている。
Further, the
このウェブコンテンツ配信システムにおけるウェブコンテンツ配信は、プログラム制御可能なコンピュータ装置(CPU)であるウェブサーバ122及びプロクシサーバ125上で実行されるソフトウェア(ウェブコンテンツ配信プログラム)によって処理される。このウェブコンテンツ配信プログラムは、磁気ディスク、半導体メモリその他の記録媒体に格納され、その記録媒体からコンピュータ装置にロードされ、コンピュータ装置の動作を制御することにより、以下に述べるウェブコンテンツ配信処理を実行する。
Web content distribution in this web content distribution system is processed by software (web content distribution program) executed on a
ウェブサーバ122には、本発明によるウェブサーバ用のウェブコンテンツ配信プログラム127が実装されている。また、プロクシサーバ125には、本発明によるプロクシサーバ用のウェブコンテンツ配信プログラム128が実装されている。
The
なお、ウェブサーバ122及びミラーサーバ123、ミラーサーバ124は互いに遠隔地に配置されていてもよい。この場合、インターネット内の経路も分散できるため分散効率をより高めることができる。
Note that the
次に、本実施例による動作を図を用いて説明する。図2は、本実施例によるウェブコンテンツ配信システムによる動作を示す図であって、ウェブコンテンツのファイル転送動作を示す図である。また、図4は本実施例によるプロクシサーバとウェブサーバの動作を説明するためのフローチャートである。以下、図2を参照して説明を行う。 Next, the operation according to the present embodiment will be described with reference to the drawings. FIG. 2 is a diagram illustrating an operation performed by the web content distribution system according to the present embodiment, and illustrates a file transfer operation of web content. FIG. 4 is a flowchart for explaining the operations of the proxy server and the web server according to this embodiment. Hereinafter, description will be given with reference to FIG.
ブラウザ101よりウェブコンテンツ108をダウンロードする場合、まずブラウザ101よりウェブコンテンツ108内の第1番目(最初の)のファイル109に対するダウンロード要求が発行される。当該ダウンロード要求は、経路112を経由してプロクシサーバ125へ送られる(ステップ301)。
When downloading the web content 108 from the
プロクシサーバ125は、そのダウンロード要求を経路113、インターネット120内の経路114及び経路117を経由して、ウェブサーバ122へ送信する。(ステップ302)
ここで、ウェブサーバ122は、ファイル109をブラウザ101に対してダウンロードさせる際に、HTTPヘッダにミラーサーバ123及びミラーサーバ124のURLを記載する(ステップ303)。
The
Here, when downloading the file 109 to the
ファイル109は、当該ファイルのダウンロード要求時の経路を戻り、プロクシサーバ125へ到達する(ステップ304)。 The file 109 returns the route at the time of the download request of the file, and reaches the proxy server 125 (step 304).
プロクシサーバ125は、受信したファイル109をブラウザ101へ転送する際、HTTPヘッダからミラーサーバ123及びミラーサーバ124のURLの記載を削除すると共に、ウェブサーバ122のURLに対応させてミラーサーバ123及びミラーサーバ124のURLを記録したミラーサーバURLデータベース126を作成する(ステップ306)。以上により、ファイル109のブラウザ101への送付が完了する。
When the
図3は、ウェブコンテンツ108内の2番目のファイルの転送動作を示す図である。 FIG. 3 is a diagram showing a transfer operation of the second file in the web content 108.
次に、ブラウザ101よりウェブコンテンツ108の2番目のファイル110に対するダウンロード要求が発行され、経路112を経由して、プロクシサーバ125へ到達する。プロクシサーバ125は前記ファイル109をダウンロード要求した時と同様にファイル110のダウンロード要求をウェブサーバ122へ送信する。
Next, the
ここで、インターネット網120内の経路114、経路117及びウェブサーバ122の負荷が低く、ウェブサーバ122の応答が速い場合、プロクシサーバ125はウェブサーバ122からダウンロードされたファイル110をブラウザ101へ送信する。
Here, when the load on the route 114, the route 117, and the
しかしながら、図3に示すように、インターネット網120内の経路114またはウェブサーバ122の混雑等により、一定時間内に応答が得られなかった場合、プロクシサーバ125は、ミラーサーバURLデータベース126を参照し、ウェブサーバ122に対応するミラーサーバURLの一覧より、ファイル110の要求先の候補(図3の例では、ミラーサーバ123)を1つ選択する。
However, as shown in FIG. 3, when a response is not obtained within a certain time due to congestion of the route 114 in the
プロクシサーバ125は、選択したミラーサーバ123に対しファイル110のダウンロード要求を送信する。インターネット網120内の経路115、経路118及びミラーサーバ123の負荷が低く、一定時間内に応答が得られた場合、プロクシサーバ125は、ミラーサーバ123からダウンロードされたファイル110をブラウザ101へ転送する。
The
上記実施例においては、ウェブサーバ122の応答が遅く、ミラーサーバ123が速い応答を示した場合の例であるが、仮にミラーサーバ123の応答が遅く一定時間内に応答が得られなかった場合においては、プロクシサーバ125は、ミラーサーバURLデータベース126より、次のミラーサーバの候補を選択し、前記ミラーサーバ123に対して行ったと同様に、ファイル110のダウンロード要求を送信する。
In the above embodiment, the response of the
また、ウェブコンテンツ108に含まれるファイル111及びそれ以降のファイルについても、上記の説明と同様の処理によって、応答の速いミラーサーバからダウンロードされたファイルがブラウザ101へ転送される。
As for the file 111 and the subsequent files included in the web content 108, the file downloaded from the mirror server with a quick response is transferred to the
なお、プロクシサーバ125は、同一内容のダウンロード要求を複数のサーバに対して発行した場合、情報が重複して送付されるのを避けるため、最初に受信してブラウザ101へ転送した後に受けた他のサーバからの応答は全て破棄するものとする。
If the
また、あるウェブサーバに対応するミラーサーバのURLについては、将来的に変更あるいは削除される可能性がある。このため、作成したミラーサーバURLデータベースを、一定期間経過後に削除する構成とすることも可能である。 Further, the URL of the mirror server corresponding to a certain web server may be changed or deleted in the future. For this reason, the created mirror server URL database can be deleted after a certain period.
本実施例によれば、アクセス毎に、応答の速いサーバを選択するため、通信量の急激な増加あるいは障害等により、サーバの応答速度が低下した場合においても、常に応答の速いサーバからのダウンロードを実現できる。 According to the present embodiment, since a server with a fast response is selected for each access, even when the response speed of the server decreases due to a sudden increase in traffic or a failure, download from a server with a fast response is always performed. Can be realized.
以上好ましい実施例をあげて本発明を説明したが、本発明は必ずしも、上記実施例に限定されるものでなく、その技術的思想の範囲内において様々に変形して実施することができる。 Although the present invention has been described with reference to the preferred embodiments, the present invention is not necessarily limited to the above embodiments, and various modifications can be made within the scope of the technical idea.
101:ブラウザ
108:ウェブコンテンツ
109、110、111:ファイル
112、113:経路
114、115、116:経路
117、118、119:経路
120:インターネット網
122:ウェブサーバ
123、124:ミラーサーバ
125:プロクシサーバ
126:ミラーサーバURLデータベース
127、128:コンテンツ配信プログラム
101: Browser 108: Web content 109, 110, 111:
Claims (14)
前記ブラウザから前記プロクシサーバを経由して前記ウェブサーバに対してウェブコンテンツ内の最初のファイルが要求された場合、
前記ウェブサーバが要求されたファイルと共に前記ミラーサーバのURLを前記プロクシサーバに送信し、
前記ブラウザより前記ウェブコンテンツの他のファイルが要求された場合、
前記プロクシサーバが、前記ウェブサーバとURLに示された前記ミラーサーバから応答可能なサーバを選択して前記ファイルを受信することを特徴とするウェブコンテンツ配信システム。 A web content distribution system comprising a web server having web content and a mirror server having web content of the same content as the web server, wherein the web content is accessed from a browser via a proxy server,
When the first file in the web content is requested from the browser via the proxy server to the web server,
The web server sends the mirror server URL to the proxy server along with the requested file;
When another file of the web content is requested from the browser,
The proxy server selects a server that can respond from the mirror server indicated by the web server and URL, and receives the file.
前記ウェブサーバのウェブコンテンツ配信プログラムが、
前記ブラウザから前記プロクシサーバを経由して前記ウェブサーバに対してウェブコンテンツ内の最初のファイルが要求された場合、要求されたファイルと共に前記ミラーサーバのURLを前記プロクシサーバに送信する機能を実行し、
前記プロクシサーバのウェブコンテンツ配信プログラムが、
前記ブラウザより前記ウェブコンテンツの他のファイルが要求された場合、前記ウェブサーバとURLに示された前記ミラーサーバから応答可能なサーバを選択して前記ファイルを受信する機能を実行することを特徴とするウェブコンテンツ配信プログラム。 A web server having a web content and a mirror server having a web content having the same content as the web server, and the web server and the proxy of a web content distribution system for accessing the web content from a browser via the proxy server A web content distribution program that operates on a server and realizes load balancing in the web content distribution,
The web content delivery program of the web server is
When the first file in the web content is requested from the browser via the proxy server from the browser, a function of transmitting the URL of the mirror server together with the requested file to the proxy server is executed. ,
The proxy server web content distribution program is:
When another file of the web content is requested by the browser, a function of selecting a server that can respond from the web server and the mirror server indicated in the URL and receiving the file is executed. Web content distribution program.
前記ブラウザからウェブコンテンツ内の最初のファイルが要求された場合、前記ウェブサーバから要求されたファイルと共に前記ミラーサーバのURLを受信し、
前記ブラウザより前記ウェブコンテンツの他のファイルが要求された場合、前記ウェブサーバとURLに示された前記ミラーサーバから応答可能なサーバを選択して前記ファイルを受信することを特徴とするプロクシサーバ。 A proxy server of a web content distribution system comprising a web server having web content and a mirror server having web content having the same content as the web server, wherein the web content is accessed from a browser via the proxy server,
When the first file in the web content is requested from the browser, the URL of the mirror server is received together with the requested file from the web server;
When another file of the web content is requested from the browser, the proxy server selects a server that can respond from the web server and the mirror server indicated in the URL, and receives the file.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2003354870A JP2005122358A (en) | 2003-10-15 | 2003-10-15 | Web content delivery system, web content delivery program, and proxy server |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2003354870A JP2005122358A (en) | 2003-10-15 | 2003-10-15 | Web content delivery system, web content delivery program, and proxy server |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2005122358A true JP2005122358A (en) | 2005-05-12 |
Family
ID=34612659
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2003354870A Pending JP2005122358A (en) | 2003-10-15 | 2003-10-15 | Web content delivery system, web content delivery program, and proxy server |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2005122358A (en) |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2007149080A (en) * | 2005-11-26 | 2007-06-14 | Internatl Business Mach Corp <Ibm> | Context based navigation |
| JP2007241622A (en) * | 2006-03-08 | 2007-09-20 | Sony Corp | Information processing system, information processing method, providing apparatus and method, information processing apparatus, and program |
| JP2016062213A (en) * | 2014-09-17 | 2016-04-25 | 京セラコミュニケーションシステム株式会社 | Upload system |
| JP2020061661A (en) * | 2018-10-10 | 2020-04-16 | 株式会社Nttドコモ | Profile download control system |
| WO2023187985A1 (en) * | 2022-03-29 | 2023-10-05 | 日本電気株式会社 | Data acquisition and management device, data acquisition and management system, data acquisition and management method, and program |
-
2003
- 2003-10-15 JP JP2003354870A patent/JP2005122358A/en active Pending
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2007149080A (en) * | 2005-11-26 | 2007-06-14 | Internatl Business Mach Corp <Ibm> | Context based navigation |
| JP2007241622A (en) * | 2006-03-08 | 2007-09-20 | Sony Corp | Information processing system, information processing method, providing apparatus and method, information processing apparatus, and program |
| JP2016062213A (en) * | 2014-09-17 | 2016-04-25 | 京セラコミュニケーションシステム株式会社 | Upload system |
| JP2020061661A (en) * | 2018-10-10 | 2020-04-16 | 株式会社Nttドコモ | Profile download control system |
| JP7144272B2 (en) | 2018-10-10 | 2022-09-29 | 株式会社Nttドコモ | Profile download control system |
| WO2023187985A1 (en) * | 2022-03-29 | 2023-10-05 | 日本電気株式会社 | Data acquisition and management device, data acquisition and management system, data acquisition and management method, and program |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| RU2549135C2 (en) | System and method for providing faster and more efficient data transmission | |
| US8504720B2 (en) | Methods and apparatus for redirecting requests for content | |
| US6892218B2 (en) | Extending network services using mobile agents | |
| US7739327B2 (en) | Distributed link processing system for delivering application and multi-media content on the internet | |
| US7039699B1 (en) | Tracking usage behavior in computer systems | |
| US7426546B2 (en) | Method for selecting an edge server computer | |
| US5867706A (en) | Method of load balancing across the processors of a server | |
| US6799214B1 (en) | System and method for efficient content delivery using redirection pages received from the content provider original site and the mirror sites | |
| US20020046262A1 (en) | Data access system and method with proxy and remote processing | |
| US7207044B2 (en) | Methods and systems for integrating with load balancers in a client and server system | |
| US11159642B2 (en) | Site and page specific resource prioritization | |
| US11128733B2 (en) | Server-side resource prioritization | |
| JP2004246632A (en) | Data distribution server, program and network system | |
| US10091121B2 (en) | Method and system for reduction of delay and bandwidth requirements in internet data transfer | |
| US6672775B1 (en) | Cross-machine web page download and storage | |
| US20030051042A1 (en) | Load balancing method and system for allocation of service requests on a network | |
| US20020136204A1 (en) | Method and system for routing network traffic based upon application information | |
| JP2000029813A (en) | Server selection system | |
| KR20020062850A (en) | High performance client-server communication system | |
| JP2005122358A (en) | Web content delivery system, web content delivery program, and proxy server | |
| JP2004246747A (en) | Existing service wrapping method and device | |
| JP2002334012A (en) | Service request processing method and its execution system, and its processing program and recording medium | |
| KR20030041856A (en) | System, method and program for ordered anticipatory caching of linked files in a client/server network | |
| US11546405B2 (en) | Methods for exposing mainframe data as a web service and devices thereof | |
| US20210337041A1 (en) | Orchestrated proxy service |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20070419 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20070423 |
|
| A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20070719 |