JP2002032260A - Cache server system, cache data managing method and recording medium - Google Patents

Cache server system, cache data managing method and recording medium

Info

Publication number
JP2002032260A
JP2002032260A JP2000218893A JP2000218893A JP2002032260A JP 2002032260 A JP2002032260 A JP 2002032260A JP 2000218893 A JP2000218893 A JP 2000218893A JP 2000218893 A JP2000218893 A JP 2000218893A JP 2002032260 A JP2002032260 A JP 2002032260A
Authority
JP
Japan
Prior art keywords
web
server
cache
cache data
web server
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
Application number
JP2000218893A
Other languages
Japanese (ja)
Inventor
Masayuki Geshi
昌幸 下司
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Software Niigata Ltd
Original Assignee
NEC Software Niigata Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Software Niigata Ltd filed Critical NEC Software Niigata Ltd
Priority to JP2000218893A priority Critical patent/JP2002032260A/en
Publication of JP2002032260A publication Critical patent/JP2002032260A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a cache server system to secure disk capacity to be cached by every Web server in a cache server and to respond to a request from a Web terminal by high speed response. SOLUTION: In the cache server system to transmit cache data from the cache server 1 to the Web terminal 2 without interposing the Web server 4 when data requested by the Web terminal 2 is cached by the cache server 1, to cache data to be included in response received from the Web server 4 and to transmit the data to the Web terminal 2 by the cache server 1 when no cache data exists, the cache server 1 is provided with cache data storage areas predetermined by every Web server in a storage device 14 to store the cache data and a means to store the data received from the Web server in the cache data storage area corresponding to the Web server.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、キャッシュサーバ
システムに関し、特に、Webサーバからのデータをキ
ャッシュするキャッシュサーバシステム及びキャッシュ
サーバのキャッシュデータ管理方法並びに記録媒体に関
する。
The present invention relates to a cache server system, and more particularly, to a cache server system for caching data from a Web server, a cache server cache data management method, and a recording medium.

【0002】[0002]

【従来の技術】この種の従来のキャッシュサーバシステ
ムの一例が、オープンソースプログラムとして公開され
ている(http://www.squid.org/)。
2. Description of the Related Art An example of this type of conventional cache server system is disclosed as an open source program (http://www.squid.org/).

【0003】従来のキャッシュサーバシステムは、We
bサーバから受け取った応答に含まれるデータを補助記
憶装置にキャッュデータとして格納する。Web端末か
らWebサーバへデータの送信要求を受けたキャッシュ
サーバシステムは、補助記憶装置にキャッシュデータが
存在する場合、Webサーバを介さずに、Web端末に
該キャッシュデータを送信する。
[0003] A conventional cache server system is a Web server.
b Store the data included in the response received from the server as cache data in the auxiliary storage device. When the cache server system receives the data transmission request from the Web terminal to the Web server, if the cache data exists in the auxiliary storage device, the cache server system transmits the cache data to the Web terminal without passing through the Web server.

【0004】なお、キャッシュサーバに関する刊行物と
して、例えば下記の公報等が参照される。
[0004] As publications related to the cache server, for example, the following publications are referred to.

【0005】例えば特開2000−22740号公報に
は、WWWサーバからのレスポンスはキャッシュサーバ
に転送され、優先度にしたがってキャッシュされ、キャ
ッシュ後、WWWサーバへのリクエストはパーサによっ
てキャッシュサーバのみに転送され、キャッシュされた
レスポンスが返送される構成が開示されている。
[0005] For example, Japanese Patent Laid-Open No. 2000-22740 discloses that a response from a WWW server is transferred to a cache server and cached according to a priority. A configuration in which a cached response is returned is disclosed.

【0006】また、特開平10−21174号公報に
は、狭域ネットワークに、広域ネットワークに接続され
たデータサーバの一部情報を格納するデータ保持サーバ
を備え、通信端末から、データサーバへのデータ要求に
先だってデータ保持サーバへのデータ要求を行い、所望
の情報の存否に応じて、前記データサーバへのデータ要
求を行うとともに、データサーバから転送される所望の
情報をデータ保持サーバに格納する構成が開示されてい
る。
Japanese Patent Laid-Open Publication No. Hei 10-21174 discloses a narrow area network provided with a data holding server for storing partial information of a data server connected to a wide area network. A configuration for making a data request to a data holding server prior to a request, making a data request to the data server according to the presence or absence of desired information, and storing desired information transferred from the data server in the data holding server. Is disclosed.

【0007】さらに、特開平10−222449号公報
には、複数のキャッシュサーバが用いられるシステムに
おいて、アクセスしようとするデータサーバのアドレス
を探索鍵としてハッシュすることにより、キャッシュサ
ーバのいずれかに割り当て、特定のデータサーバにアク
セスする際に用いるキャッシュサーバをLAN全体で一
致させるデータサーバアクセス方法が開示されている。
Further, Japanese Patent Laid-Open Publication No. Hei 10-222449 discloses that in a system using a plurality of cache servers, an address of a data server to be accessed is hashed as a search key and assigned to one of the cache servers. A data server access method is disclosed in which a cache server used when accessing a specific data server is made to be the same throughout the LAN.

【0008】そして、特開平11−296424号公報
には、マスタサーバとクライアントの中間に配置され、
複数のデータ単位を示す情報が共通のデータエレメント
にリンクするようにマスタサーバ上のデータのコピーを
格納する複製格納手段を備えたキャッシュサーバを備え
たデータ管理システムが開示されている。
[0008] Japanese Patent Application Laid-Open No. 11-296424 discloses that a device is arranged between a master server and a client.
There is disclosed a data management system including a cache server including a copy storage unit that stores a copy of data on a master server so that information indicating a plurality of data units is linked to a common data element.

【0009】[0009]

【発明が解決しようとする課題】ところで、上記した従
来のキャッシュサーバシステムにおいては、1つのWe
bサーバに対するキャッシュデータのデータ量(記憶容
量)の増加により、記憶装置の空き領域が減少し、この
ため、他のWebサーバに対するキャッシュデータのデ
ータ量が影響を受ける場合がある、という問題点があ
る。すなわち、記憶装置の空き容量が減少し、他のWe
bサーバからの応答データをキャッシュできない場合が
ある。
By the way, in the above-mentioned conventional cache server system, one We
Due to the increase in the amount of data (storage capacity) of the cache data for the server b, the free space of the storage device decreases, and the data amount of the cache data for other Web servers may be affected. is there. That is, the free space of the storage device decreases, and other
In some cases, response data from the server b cannot be cached.

【0010】その理由は、記憶装置において、Webサ
ーバ毎に、データ格納領域を分けて管理していないため
である。
[0010] The reason is that, in the storage device, the data storage area is not separately managed for each Web server.

【0011】したがって本発明は、上記問題点に鑑みて
なされたものであって、その目的は、キャッシュサーバ
内にWebサーバ毎にキャッシングする容量を確保し、
Web端末からの要求に高速なレスポンスで応答可能と
するキャッシュサーバシステムと方法並びに記録媒体を
提供することにある。
[0011] Therefore, the present invention has been made in view of the above problems, and an object of the present invention is to secure a capacity for caching for each Web server in a cache server,
It is an object of the present invention to provide a cache server system and method capable of responding to a request from a Web terminal with a high-speed response, and a recording medium.

【0012】[0012]

【課題を解決するための手段】前記目的を達成する本発
明は、Web端末が要求するデータがキャッシュサーバ
にキャッシュされている場合には、Webサーバを介さ
ずに前記キャッシュサーバからキャッシュデータを前記
Web端末に送信し、キャッシュデータが存在しない場
合、前記キャッシュサーバはWebサーバから受け取っ
た応答に含まれるデータをキャッシュするとともに、前
記Web端末に送信するキャッシュサーバシステムにお
いて、前記キャッシュサーバが、Webサーバ毎に割り
当てられたキャッシュデータ格納域を有するキャッシュ
データ格納用の記憶装置と、前記Webサーバから受け
取ったデータを、前記Webサーバに対応したキャッシ
ュデータ格納域に格納する手段を備えている。
According to the present invention for achieving the above object, when data requested by a Web terminal is cached in a cache server, the cache data is transmitted from the cache server without passing through the Web server. When the cache server transmits the data to the Web terminal and the cache data does not exist, the cache server caches the data included in the response received from the Web server and transmits the data to the Web terminal. A storage device for storing cache data having a cache data storage area allocated for each of the plurality of storage apparatuses; and a unit for storing data received from the Web server in a cache data storage area corresponding to the Web server.

【0013】[0013]

【発明の実施の形態】本発明の実施の形態について説明
する。図1を参照すると、Webキャッシュサーバ1の
補助記憶装置14に、各Webサーバ用のキャッシュデ
ータ格納域を確保する。
Embodiments of the present invention will be described. Referring to FIG. 1, a cache data storage area for each Web server is secured in the auxiliary storage device 14 of the Web cache server 1.

【0014】このようにして、各Webサーバの重要
度、優先度に合わせた大きさのキャッシュ領域を確保
し、高速に応答可能にする。
In this manner, a cache area having a size corresponding to the importance and priority of each Web server is secured, and high-speed response is possible.

【0015】本発明は、その好ましい一実施の形態にお
いて、キャッシュサーバ1が、Web端末通信手段11
と、Webキャッシュデータ管理手段12と、Webサ
ーバ通信手段13と、補助記憶装置14とを備え、補助
記憶装置において、複数のWebサーバに対してWeb
サーバ毎に、予め定められたキャッシュデータ格納域1
41、142を備えている。
According to a preferred embodiment of the present invention, the cache server 1 is provided with the Web terminal communication unit 11.
, A Web cache data management unit 12, a Web server communication unit 13, and an auxiliary storage device 14. In the auxiliary storage device, a Web server is provided for a plurality of Web servers.
For each server, a predetermined cache data storage area 1
41 and 142 are provided.

【0016】Web端末通信手段11は、Web端末2
からのWebサーバ検索要求を受信し、Webキャッシ
ュデータ管理手段12へ渡し、検索結果を受け取りWe
b端末へ送信する。
The Web terminal communication means 11 is a Web terminal 2
Receives the Web server search request from the Web server, passes the request to the Web cache data management unit 12, receives the search result, and
Send to terminal b.

【0017】Webキャッシュデータ管理手段12は、
Web端末通信手段11からの検索要求に対応したデー
タが補助記憶装置14内に存在するか否か確認し、検索
要求に対応したデータが存在すれば、これをWeb端末
通信手段へ渡し、検索要求に対応したデータが補助記憶
装置内に存在しない場合、Webサーバ通信手段13に
対してWebサーバ4への検索を要求して、Webサー
バからの応答を受け取り、Webサーバ4から受け取っ
た応答に含まれるデータを補助記憶装置14において、
Webサーバ毎に割り当てられた格納域であるWebサ
ーバ用キャッシュデータ格納域に格納する。
The Web cache data management means 12 includes:
It is determined whether or not data corresponding to the search request from the Web terminal communication unit 11 exists in the auxiliary storage device 14. If there is data corresponding to the search request, the data is passed to the Web terminal communication unit, and the search request is transmitted. Is not present in the auxiliary storage device, requests the Web server communication means 13 to search the Web server 4, receives a response from the Web server, and includes the response from the Web server 4. Data to be stored in the auxiliary storage device 14,
It is stored in a Web server cache data storage area, which is a storage area allocated to each Web server.

【0018】Webサーバ通信手段13は、Webキャ
ッシュデータ管理手段12から受け取った検索要求に従
い、通信回線経由で、該当するWebサーバに検索要求
を送信し、Webサーバ4から検索結果を受信すると、
Webキャッシュデータ管理手段12へその結果を渡
す。
According to the search request received from the Web cache data management means 12, the Web server communication means 13 transmits a search request to a corresponding Web server via a communication line and receives a search result from the Web server 4,
The result is passed to the Web cache data management means 12.

【0019】上記Web端末通信手段11、Webキャ
ッシュデータ管理手段12、Webサーバ通信手段13
は、キャッシュサーバ1のコンピュータでプログラムを
実行することで、その処理・機能が実現される。この場
合、該プログラムを記録した記録媒体(FD(フロッピ
ディスク)媒体、 HDD(ハードディスク)媒体、M
T(磁気テープ)媒体、CD−ROM、DVD(digita
l versatile disk)、又は半導体メモリ)から、該プ
ログラムをコンピュータに読み出して実行することで本
発明を実施することができる。
The above-mentioned Web terminal communication means 11, Web cache data management means 12, Web server communication means 13
By executing a program on the computer of the cache server 1, its processing and functions are realized. In this case, a recording medium (FD (floppy disk) medium, HDD (hard disk) medium,
T (magnetic tape) media, CD-ROM, DVD (digita
The present invention can be implemented by reading the program from a versatile disk) or a semiconductor memory) into a computer and executing the program.

【0020】本発明の一実施の形態において、キャッシ
ュデータ格納域を指定しないWebサーバに対して共通
のキャッシュデータ格納域が利用される構成としてもよ
い。
In one embodiment of the present invention, a common cache data storage area may be used for a Web server that does not specify a cache data storage area.

【0021】[0021]

【実施例】本発明の実施例について図面を参照して以下
に説明する。図1は、本発明の一実施例の構成を示す図
である。図1を参照すると、本発明の一実施例におい
て、キャッシュサーバ1と、Web端末2、通信回線
3、Webサーバ4とを備え、プログラム制御により動
作するキャッシュサーバ1は、Web端末通信手段11
と、Webキャッシュデータ管理手段12と、Webサ
ーバ通信手段13と、磁気ディスク装置等の補助記憶装
置14と、を備えている。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a diagram showing the configuration of one embodiment of the present invention. Referring to FIG. 1, in one embodiment of the present invention, a cache server 1 including a cache server 1, a Web terminal 2, a communication line 3, and a Web server 4 and operating under program control includes a Web terminal communication unit 11.
, A Web cache data management unit 12, a Web server communication unit 13, and an auxiliary storage device 14 such as a magnetic disk device.

【0022】キャッシュサーバ1の補助記憶装置14
は、各Webサーバ用のキャッシュデータ格納域であ
る、Webサーバ1用キャッシュデータ格納域141
と、Webサーバ2用キャッシュデータ格納域142と
を含む。なお、図1では、簡単のため、2台のWebサ
ーバが図示されているが、本発明は、かかる構成に限定
されるものでないことは勿論である。
The auxiliary storage device 14 of the cache server 1
Is a cache data storage area 141 for the Web server 1, which is a cache data storage area for each Web server.
And a cache data storage area 142 for the Web server 2. Although two Web servers are shown in FIG. 1 for simplicity, it is a matter of course that the present invention is not limited to such a configuration.

【0023】これらの手段は、それぞれ概略つぎのよう
に動作する。
Each of these means operates as follows.

【0024】キャッシュサーバ1のWeb端末通信手段
11は、Web端末2からのWebサーバ検索要求を受
信し、Webキャッシュデータ管理手段12へ渡し、検
索結果を受け取りWeb端末2へ送信する。
The Web terminal communication means 11 of the cache server 1 receives the Web server search request from the Web terminal 2, passes the request to the Web cache data management means 12, receives the search result, and transmits the result to the Web terminal 2.

【0025】Webキャッシュデータ管理手段12は、
Webサーバに対応するキャッシュデータ格納域を読み
出すことで、Web端末通信手段11からの検索要求に
対応したデータが補助記憶装置14内に存在するか否か
確認し、検索要求に対応したデータが存在すれば、これ
をWeb端末通信手段11へ渡す。
The Web cache data management means 12
By reading the cache data storage area corresponding to the Web server, it is confirmed whether or not data corresponding to the search request from the Web terminal communication unit 11 exists in the auxiliary storage device 14, and the data corresponding to the search request exists. Then, this is passed to the Web terminal communication means 11.

【0026】検索要求に対応したデータが補助記憶装置
14内に存在しない場合、Webキャッシュデータ管理
手段12は、Webサーバ通信手段13に対してWeb
サーバへの検索を要求し、応答を受け付け取る。
If the data corresponding to the search request does not exist in the auxiliary storage device 14, the Web cache data management means 12 sends the Web server communication means 13
Request search to server and accept response.

【0027】Webキャッシュデータ管理手段12は、
受け取った応答に含まれるデータを補助記憶装置14に
キャッシュデータとして格納する。この時、Webサー
バ毎に割り当てられた格納域であるWebサーバ1用キ
ャッシュデータ格納域141、Webサーバ2用キャッ
シュデータ格納域142のいずれかに格納し、キャッシ
ュされているデータ量が、他のWebサーバのデータ量
に影響されないようにする。キャッシュデータがどのW
ebサーバからのデータであるかは、Webサーバの識
別情報(アドレス情報)等から識別される。
The Web cache data management means 12
The data included in the received response is stored in the auxiliary storage device 14 as cache data. At this time, the data is stored in one of the cache data storage area 141 for the Web server 1 and the cache data storage area 142 for the Web server 2 which is a storage area allocated to each Web server, and the amount of cached data is changed to another. It is not affected by the data amount of the Web server. Which W is the cache data
Whether the data is from the web server is identified from the identification information (address information) of the web server.

【0028】Webサーバ通信手段13は、Webキャ
ッシュデータ管理手段12から受け取った検索要求に従
い、通信回線3経由で、該当するWebサーバ4に検索
要求を送信する。
The Web server communication means 13 transmits a search request to the corresponding Web server 4 via the communication line 3 in accordance with the search request received from the Web cache data management means 12.

【0029】Webサーバ4から検索結果を受信する
と、Webキャッシュデータ管理手段12へその結果を
渡す。
When a search result is received from the Web server 4, the result is passed to the Web cache data management means 12.

【0030】図2は、本発明の一実施例の動作の説明す
るためのフローチャートである。図1及び図2を参照し
て、本実施例の全体の動作について詳細に説明する。
FIG. 2 is a flowchart for explaining the operation of one embodiment of the present invention. With reference to FIGS. 1 and 2, the overall operation of the present embodiment will be described in detail.

【0031】まず、Web端末通信手段11は、Web
端末2からのWebサーバ検索要求を受信し、Webキ
ャッシュデータ管理手段12へ渡す(図2のステップS
1)。
First, the Web terminal communication means 11
A Web server search request from the terminal 2 is received and passed to the Web cache data management means 12 (step S in FIG. 2).
1).

【0032】次に、Webキャッシュデータ管理手段1
2は、Web端末通信手段11からの検索要求に対応し
たデーダを、補助記憶装置14内の各Webサーバ用の
キャッシュデータ格納域から読み出す(ステップS
2)。
Next, Web cache data management means 1
2 reads the data corresponding to the search request from the Web terminal communication unit 11 from the cache data storage area for each Web server in the auxiliary storage device 14 (Step S).
2).

【0033】キャッシュデータがなければ、Webキャ
ッシュデータ管理手段12は検索要求をWebサーバ通
信手段13へ渡し、Webサーバ通信手段13からWe
bサーバへ検索を送信し、Webサーバ通信手段13
は、Webサーバから該検索要求に対する応答(検索結
果)を受信する(ステップS3)。
If there is no cache data, the Web cache data management means 12 passes the search request to the Web server communication means 13, and the Web server communication means 13
b, and sends the search to the server
Receives a response (search result) to the search request from the Web server (step S3).

【0034】受信した結果は、Webキャッシュデータ
管理手段12に渡され、Webキャッシュデータ管理手
段12において、補助記憶装置14内の各Webサーバ
用のキャッュデータ格納域に格納する(ステップS
4)。
The received result is passed to the Web cache data management means 12, and stored in the cache data storage area for each Web server in the auxiliary storage device 14 (Step S).
4).

【0035】ステップ2又はステップ4において、We
bキャッシュデータ管理手段12で取得した、Webサ
ーバ検索要求の結果は、Web端末通信手段11からW
eb端末へ送信される(ステップS5)。
In step 2 or step 4, We
b The result of the Web server search request acquired by the cache data management unit 12 is transmitted from the Web terminal communication unit 11 to the W
It is transmitted to the eb terminal (step S5).

【0036】次に、本発明の他の実施例について説明す
る。図3は、本発明の第2の実施例の構成を示す図であ
る。図3において、図1と同一の機能をなす要素には同
一の参照符号が付されている。図3を参照すると、本発
明の第2の実施例においては、図1に示した前記実施例
と相違して、補助記憶装置14は、キャッシュデータ格
納域140を備え、各Webサーバ用のキャッシュデー
タ格納域に分割されていない。本発明の第2の実施例
は、キャッシュデータ格納域を指定しないWebサーバ
用に共通のキャッシュデータ格納域を設けたものであ
る。すなわち、図3を参照すると、キャッシュサーバ1
と、Web端末2、通信回線3、Webサーバ4とから
なり、キャッシュサーバ1は、Web端末通信手段11
と、Webキャッシュデータ管理手段12と、Webサ
ーバ通信手段13、補助記憶装置14とを含む。
Next, another embodiment of the present invention will be described. FIG. 3 is a diagram showing the configuration of the second embodiment of the present invention. 3, elements having the same functions as those in FIG. 1 are denoted by the same reference numerals. Referring to FIG. 3, in the second embodiment of the present invention, unlike the embodiment shown in FIG. 1, the auxiliary storage device 14 has a cache data storage area 140 and a cache for each Web server. Not divided into data storage areas. In the second embodiment of the present invention, a common cache data storage area is provided for a Web server that does not specify a cache data storage area. That is, referring to FIG. 3, the cache server 1
, A Web terminal 2, a communication line 3, and a Web server 4. The cache server 1 includes a Web terminal communication unit 11
, A Web cache data management unit 12, a Web server communication unit 13, and an auxiliary storage device 14.

【0037】これらの手段はそれぞれ概略つぎのように
動作する。
Each of these means operates roughly as follows.

【0038】Web端末通信手段11は、Web端末2
からのWebサーバ検索要求を受信し、Webキャッシ
ュデータ管理手段12へ渡し、検索結果を受け取りWe
b端末2へ送信する。Webキャッシュデータ管理手段
12は、Web端末通信手段11からの検索要求に対応
したデータが補助記憶装置14内にあるか確認し、あれ
ばWeb端末通信手段11へ渡す。データが補助記憶装
置14内になければ、Webサーバ通信手段13へWe
bサーバへの検索を要求し、応答を受け付け取る。受け
取った応答に含まれるデータは補助記憶装置14のキャ
ッシュデータ格納域140にキャッュデータとして格納
する。
[0038] The Web terminal communication means 11 is a Web terminal 2
Receives the Web server search request from the Web server, passes the request to the Web cache data management unit 12, receives the search result, and
b Send to terminal 2. The Web cache data management unit 12 confirms whether data corresponding to the search request from the Web terminal communication unit 11 exists in the auxiliary storage device 14, and if there is, passes the data to the Web terminal communication unit 11. If the data is not in the auxiliary storage device 14, the Web server communication means 13
b Requests a search to the server and accepts a response. The data included in the received response is stored as cache data in the cache data storage area 140 of the auxiliary storage device 14.

【0039】本発明の第2の実施例において、補助記憶
装置14には、Webサーバ毎に格納域を分けていない
ため、1つのWebサーバからのデータ量の増加によ
り、他のWebサーバからのデータを格納可能な量が影
響を受ける場合がある。キャッシュデータ格納域を指定
しないWebサーバに対して、共通のキャッシュデータ
格納域が利用される。格納されるデータ量が、他のWe
bサーバからのデータの増加等による影響を受けないよ
うにする場合、前記実施例のように、Webサーバに対
応してキャッシュデータ格納域を予め割り付けておく。
In the second embodiment of the present invention, since the storage area is not divided for each Web server in the auxiliary storage device 14, the increase in the amount of data from one Web server causes the increase in the amount of data from another Web server. The amount of data that can be stored may be affected. A common cache data storage area is used for a Web server that does not specify a cache data storage area. If the amount of data to be stored is
In order not to be affected by an increase in data from the server b, a cache data storage area is allocated in advance corresponding to the Web server as in the above-described embodiment.

【0040】Webサーバ通信手段13は、Webキャ
ッシュデータ管理手段12から受け取った検索要求に従
い、通信回線3経由で、該当するWebサーバ4に検索
要求を送信する。Webサーバ4から検索結果を受信す
ると、Webキャッシュデータ管理手段12へその結果
を渡す。
The Web server communication means 13 transmits a search request to the corresponding Web server 4 via the communication line 3 in accordance with the search request received from the Web cache data management means 12. When a search result is received from the Web server 4, the result is passed to the Web cache data management unit 12.

【0041】次に、図4は、本発明の第2の実施例の処
理を示すフローチャートである。図3及び図4を参照し
て、本発明の第2の実施例の全体の動作について詳細に
説明する。
Next, FIG. 4 is a flowchart showing the processing of the second embodiment of the present invention. The entire operation of the second embodiment of the present invention will be described in detail with reference to FIGS.

【0042】まず、Web端末通信手段11は、Web
端末2からのWebサーバ検索要求を受信し、Webキ
ャッシュデータ管理手段12へ渡す(図4のステップS
1)。
First, the Web terminal communication means 11
A Web server search request from the terminal 2 is received and passed to the Web cache data management unit 12 (step S in FIG. 4).
1).

【0043】次に、Webキャッシュデータ管理手段1
2は、Web端末通信手段11からの検索要求に対応し
たデータが補助記憶装置14内のキャッシュデータ格納
域140から読み出す(ステップS2)。
Next, Web cache data management means 1
2 reads out data corresponding to the search request from the Web terminal communication unit 11 from the cache data storage area 140 in the auxiliary storage device 14 (step S2).

【0044】キャッシュデータがなければ、Webサー
バ通信手段13が、Webサーバへ検索を送信し、結果
を受信する(ステップS3)。
If there is no cache data, the Web server communication means 13 transmits a search to the Web server and receives the result (step S3).

【0045】受信した結果は、Webキャッシュデータ
管理手段12に渡され、Webキャッシュデータ管理手
段12において、補助記憶装置14内のキャッュデータ
格納域141に格納する(ステップS4)。
The received result is passed to the Web cache data management means 12, and stored in the cache data storage area 141 in the auxiliary storage device 14 in the Web cache data management means 12 (step S4).

【0046】ステップ2又はステップ4において、We
bキャッシュデータ管理手段12で取得した、Webサ
ーバ検索要求の結果は、Web端末通信手段11からW
eb端末へ送信される(ステップS5)。
In step 2 or step 4, We
b The result of the Web server search request acquired by the cache data management unit 12 is transmitted from the Web terminal communication unit 11 to the W
It is transmitted to the eb terminal (step S5).

【0047】[0047]

【発明の効果】以上説明したように、本発明によれば、
各Webサーバの重要度を加味した処理ができる、とい
う効果を奏する。
As described above, according to the present invention,
There is an effect that processing can be performed in consideration of the importance of each Web server.

【0048】その理由は、本発明においては、各Web
サーバ毎にキャッシュデータ格納域を分けて管理してお
り、キャッシュデータ格納域に格納できるデータの容量
が他のWebサーバのキャッシュデータの量の影響を受
けない、ためである。
The reason is that in the present invention, each Web
This is because the cache data storage area is managed separately for each server, and the amount of data that can be stored in the cache data storage area is not affected by the amount of cache data of other Web servers.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の一実施例の構成を示す図である。FIG. 1 is a diagram showing a configuration of an embodiment of the present invention.

【図2】本発明の一実施例の処理手順を示す流れ図であ
る。
FIG. 2 is a flowchart showing a processing procedure according to an embodiment of the present invention.

【図3】本発明の他の実施例の構成を示す図である。FIG. 3 is a diagram showing a configuration of another embodiment of the present invention.

【図4】本発明の他の実施例の処理手順を示す流れ図で
ある。
FIG. 4 is a flowchart showing a processing procedure according to another embodiment of the present invention.

【符号の説明】[Explanation of symbols]

1 キャッシュサーバ 2 Web端末 3 通信回線 4 Webサーバ 11 Web端末通信手段 12 Webキャッシュデータ検索手段 13 Webサーバ通信手段 14 補助記憶装置 140 キャッシュデータ格納域 141、142 Webサーバ用キャッシュデータ格納
DESCRIPTION OF SYMBOLS 1 Cache server 2 Web terminal 3 Communication line 4 Web server 11 Web terminal communication means 12 Web cache data search means 13 Web server communication means 14 Auxiliary storage device 140 Cache data storage area 141, 142 Web server cache data storage area

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】Web端末が要求するデータがキャッシュ
サーバにキャッシュされている場合には、Webサーバ
を介さずに前記キャッシュサーバからキャッシュデータ
を前記Web端末に送信し、キャッシュデータが存在し
ない場合には、前記キャッシュサーバはWebサーバか
ら受け取った応答に含まれるデータをキャッシュすると
ともに、前記Web端末に送信するキャッシュサーバシ
ステムにおいて、 前記キャッシュサーバが、Webサーバ毎に、キャッシ
ュデータ格納域が割り当てられている、キャッシュデー
タ格納用の記憶装置を備え、 前記Webサーバから受け取ったデータを、前記記憶装
置の前記Webサーバに対応したキャッシュデータ格納
域に格納する手段を備えている、ことを特徴とするキャ
ッシュサーバシステム。
When data requested by a Web terminal is cached in a cache server, the cache data is transmitted from the cache server to the Web terminal without passing through the Web server. In the cache server system, wherein the cache server caches data included in a response received from a Web server and transmits the data to the Web terminal, the cache server has a cache data storage area assigned to each Web server. A storage device for storing cached data, and means for storing data received from the Web server in a cache data storage area of the storage device corresponding to the Web server. Server system.
【請求項2】前記Web端末からWebサーバへの検索
要求を受けた前記キャッシュサーバは、まず、前記We
bサーバに対応したキャッシュデータ格納域を読み出し
て該当するキャッシュデータがあるか否か確認し、該当
するキャッシュデータが存在する場合には、該キャッシ
ュデータを前記Web端末に送信する、ことを特徴とす
る請求項1記載のキャッシュサーバシステム。
2. The cache server, which has received a search request from the Web terminal to the Web server, firstly executes the Web server.
reading out the cache data storage area corresponding to the server b and confirming whether there is the corresponding cache data, and transmitting the cache data to the Web terminal if the corresponding cache data exists. The cache server system according to claim 1, wherein
【請求項3】キャッシュデータ格納域を指定しないWe
bサーバに対して共通のキャッシュデータ格納域が利用
される、ことを特徴とする請求項1記載のキャッシュサ
ーバシステム。
3. A We that does not specify a cache data storage area
2. The cache server system according to claim 1, wherein a common cache data storage area is used for the server b.
【請求項4】キャッシュサーバが、Web端末通信手段
と、Webキャッシュデータ管理手段と、Webサーバ
通信手段と、補助記憶装置とを備え、 前記補助記憶装置において、複数のWebサーバに対し
て各Webサーバ毎にキャッシュデータ格納域を割り当
てておき、 前記Web端末通信手段は、Web端末からWebサー
バへの検索要求を受信した際に、該検索要求を、前記W
ebキャッシュデータ管理手段へ渡すとともに、前記W
ebキャッシュデータ管理手段から検索結果を受け取っ
た際に、前記検索結果を前記Web端末へ送信し、 前記Webキャッシュデータ管理手段は、前記Web端
末通信手段からのWebサーバへの検索要求を受けて、
前記Webサーバに対応したキャッシュデータ格納域を
読み出すことで、前記検索要求に対応したデータが、前
記補助記憶装置内に存在するか否か確認し、前記検索要
求に対応したデータが存在すれば、これを前記Web端
末通信手段へ渡し、 一方、前記検索要求に対応したデータが前記補助記憶装
置内に存在しない場合には、前記Webサーバ通信手段
に対して、Webサーバへの検索を要求するとともに、
前記Webサーバから前記Webサーバ通信手段を介し
て受け取った応答に含まれるデータを、前記補助記憶装
置において前記Webサーバに対して割り当てられたキ
ャッシュデータ格納域に格納し、 前記Webサーバ通信手段は、前記Webキャッシュデ
ータ管理手段から受け取った検索要求に従い、通信回線
を介して、該当するWebサーバに検索要求を送信する
とともに、前記Webサーバへの前記検索要求に対する
前記Webサーバからの応答を受信すると、前記Web
キャッシュデータ管理手段に前記Webサーバから受け
取った検索結果を渡す、ことを特徴とするキャッシュサ
ーバ。
4. A cache server comprising: Web terminal communication means; Web cache data management means; Web server communication means; and an auxiliary storage device. In the auxiliary storage device, each Web server is provided for a plurality of Web servers. A cache data storage area is allocated to each server, and the Web terminal communication unit, when receiving a search request from the Web terminal to the Web server, transmits the search request to the W
to the e-cache data management means, and
When receiving a search result from the web cache data management means, the search result is transmitted to the Web terminal, and the Web cache data management means receives a search request to the Web server from the Web terminal communication means,
By reading the cache data storage area corresponding to the Web server, it is checked whether the data corresponding to the search request exists in the auxiliary storage device, and if the data corresponding to the search request exists, This is passed to the Web terminal communication means. On the other hand, when the data corresponding to the search request does not exist in the auxiliary storage device, the Web server communication means requests the Web server communication means to search the Web server. ,
The data included in the response received from the Web server via the Web server communication unit is stored in a cache data storage area allocated to the Web server in the auxiliary storage device, The Web server communication unit includes: According to the search request received from the Web cache data management means, a search request is transmitted to a corresponding Web server via a communication line, and a response from the Web server to the search request to the Web server is received. The Web
A cache server for passing a search result received from the Web server to cache data management means.
【請求項5】キャッシュデータ格納域を指定しないWe
bサーバに対して共通のキャッシュデータ格納域が利用
される、ことを特徴とする請求項4記載のキャッシュサ
ーバ。
5. A We that does not specify a cache data storage area
5. The cache server according to claim 4, wherein a common cache data storage area is used for the server b.
【請求項6】Web端末が要求するデータがキャッシュ
サーバにキャッシュされている場合には、Webサーバ
を介さずに前記キャッシュサーバからキャッシュデータ
を前記Web端末に送信し、キャッシュデータが存在し
ない場合、前記キャッシュサーバはWebサーバから受
け取った応答に含まれるデータをキャッシュするととも
に、前記Web端末に送信するキャッシュサーバのキャ
ッシュデータ管理方法において、 前記キャッシュサーバのキャッシュデータ用の記憶装置
に、Webサーバ毎にキャッシュデータ格納域を割り当
てておき、 前記Webサーバから受け取ったデータを、前記Web
サーバに対応したキャッシュデータ格納域に格納する、
ことを特徴とするキャッシュサーバのキャッシュデータ
管理方法。
6. When the data requested by the Web terminal is cached in the cache server, the cache server transmits the cache data to the Web terminal without passing through the Web server, and when the cache data does not exist, The cache server caches data included in a response received from a Web server and, in the cache server cache data management method for transmitting the data to the Web terminal, the cache server storage device for cache data, for each Web server A cache data storage area is allocated, and data received from the Web server is stored in the Web server.
Store in the cache data storage area corresponding to the server,
A cache data management method for a cache server.
【請求項7】前記Web端末からWebサーバへの検索
要求を受けた前記キャッシュサーバは、まず、前記We
bサーバに対応したキャッシュデータ格納域を読み出し
て該当するキャッシュデータがあるか否か確認し、該当
するキャッシュデータが存在する場合には、該キャッシ
ュデータを前記Web端末に送信する、ことを特徴とす
る請求項6記載のキャッシュサーバのキャッシュデータ
管理方法。
7. The cache server, which has received a search request from the Web terminal to the Web server, firstly executes the Web server.
reading out the cache data storage area corresponding to the server b and confirming whether there is the corresponding cache data, and transmitting the cache data to the Web terminal if the corresponding cache data exists. 7. The cache data management method for a cache server according to claim 6, wherein:
【請求項8】キャッシュデータ格納域を指定しないWe
bサーバに対して共通のキャッシュデータ格納域が利用
される、ことを特徴とする請求項6記載のキャッシュサ
ーバのキャッシュデータ管理方法。
8. We without specifying a cache data storage area
7. The cache data management method for a cache server according to claim 6, wherein a common cache data storage area is used for the server b.
【請求項9】キャッシュサーバが、複数のWebサーバ
に対して、Webサーバ毎に割り当てられてキャッシュ
データ格納域を備えた補助記憶装置を備え、 (a)Web端末からWebサーバへの検索要求を受信
した際に、前記検索要求をWebキャッシュデータ管理
手段へ渡すとともに、前記Webキャッシュデータ管理
手段から検索結果を受け取ると、検索結果を前記Web
端末へ送信するWeb端末通信手段と、 (b)前記Web端末通信手段からのWebサーバへの
検索要求を受けて、前記Webサーバに対応したキャッ
シュデータ格納域を読み出すことで、前記検索要求に対
応したデータが前記補助記憶装置内に存在するか否か確
認し、前記検索要求に対応したデータが存在すれば、こ
れを前記Web端末通信手段へ渡し、一方、前記検索要
求に対応したデータが前記補助記憶装置内に存在しない
場合には、Webサーバ通信手段に対してWebサーバ
への検索を要求するとともに、前記WebサーバからW
ebサーバ通信手段を介して受け取った応答に含まれる
データを、前記補助記憶装置において、前記Webサー
バに対して割り当てられたキャッシュデータ格納域に格
納するWebキャッシュデータ管理手段と、 (c)前記Webキャッシュデータ管理手段から受け取
った検索要求に従い、通信回線経由で該当するWebサ
ーバに検索要求を送信するとともに、前記Webサーバ
に対する前記Webサーバからの応答を受信すると、前
記Webキャッシュデータ管理手段へ前記検索結果を渡
すWebサーバ通信手段と、 の前記(a)乃至(c)の各手段の処理を、前記キャッ
シュサーバを構成するコンピュータで実行させるための
プログラムを記録した記録媒体。
9. A cache server, comprising: a plurality of web servers, an auxiliary storage device provided with a cache data storage area allocated to each web server and provided with a cache data storage area; (a) a search request from a web terminal to the web server; When receiving the search request, the search request is passed to the Web cache data management means, and when the search result is received from the Web cache data management means, the search result is transmitted to the Web cache data management means.
Web terminal communication means for transmitting to the terminal; and (b) receiving a search request to the Web server from the Web terminal communication means and reading a cache data storage area corresponding to the Web server, thereby responding to the search request. It is determined whether or not the retrieved data exists in the auxiliary storage device. If there is data corresponding to the search request, the data is passed to the Web terminal communication unit. If it does not exist in the auxiliary storage device, it requests the Web server communication means to search the Web server, and the Web server
Web cache data management means for storing data included in the response received via the Web server communication means in the cache data storage area allocated to the Web server in the auxiliary storage device; In accordance with the search request received from the cache data management means, a search request is transmitted to a corresponding Web server via a communication line, and when a response from the Web server to the Web server is received, the search is transmitted to the Web cache data management means. A recording medium storing a program for causing a computer configuring the cache server to execute a process of each of the above-described (a) to (c) by a web server communication unit that passes a result.
JP2000218893A 2000-07-19 2000-07-19 Cache server system, cache data managing method and recording medium Pending JP2002032260A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000218893A JP2002032260A (en) 2000-07-19 2000-07-19 Cache server system, cache data managing method and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000218893A JP2002032260A (en) 2000-07-19 2000-07-19 Cache server system, cache data managing method and recording medium

Publications (1)

Publication Number Publication Date
JP2002032260A true JP2002032260A (en) 2002-01-31

Family

ID=18713771

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000218893A Pending JP2002032260A (en) 2000-07-19 2000-07-19 Cache server system, cache data managing method and recording medium

Country Status (1)

Country Link
JP (1) JP2002032260A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101139754B1 (en) 2009-07-23 2012-04-26 주식회사 아라기술 Method, system and computer-readable recording medium for providing information to dispersed users using data cache based on mirroring

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10222449A (en) * 1997-01-31 1998-08-21 Nec Corp Data server access method and lan
JPH10312346A (en) * 1997-05-13 1998-11-24 Toshiba Corp Method for partially copying hypertext
JPH1173361A (en) * 1997-08-29 1999-03-16 Sharp Corp Distributed file system, broadcasting server device for the system and client device
JPH11224219A (en) * 1998-02-05 1999-08-17 Nippon Telegr & Teleph Corp <Ntt> Decentralized cache control method, decentralization controller, decentralizzed cache system, and storage medium stored with decentralized cache control program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10222449A (en) * 1997-01-31 1998-08-21 Nec Corp Data server access method and lan
JPH10312346A (en) * 1997-05-13 1998-11-24 Toshiba Corp Method for partially copying hypertext
JPH1173361A (en) * 1997-08-29 1999-03-16 Sharp Corp Distributed file system, broadcasting server device for the system and client device
JPH11224219A (en) * 1998-02-05 1999-08-17 Nippon Telegr & Teleph Corp <Ntt> Decentralized cache control method, decentralization controller, decentralizzed cache system, and storage medium stored with decentralized cache control program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101139754B1 (en) 2009-07-23 2012-04-26 주식회사 아라기술 Method, system and computer-readable recording medium for providing information to dispersed users using data cache based on mirroring

Similar Documents

Publication Publication Date Title
US6182111B1 (en) Method and system for managing distributed data
US8086634B2 (en) Method and apparatus for improving file access performance of distributed storage system
US8655977B2 (en) System and method for caching inquiry data about sequential access devices
US7529885B2 (en) Cache control method for node apparatus
US20060136779A1 (en) Object-based storage device with low process load and control method thereof
JP4478321B2 (en) Storage system
JPH0962558A (en) Method and system for database management
JP3547840B2 (en) Multimedia server
US7725654B2 (en) Affecting a caching algorithm used by a cache of storage system
CN107920101A (en) A kind of file access method, device, system and electronic equipment
CN106921648A (en) Date storage method, application server and remote storage server
US20090292882A1 (en) Storage area network server with parallel processing cache and access method thereof
JPH07239808A (en) Distributed data managing system
JP2004227033A (en) Network storage device
JP4224279B2 (en) File management program
US6516344B1 (en) Reducing network traffic for remote file system accesses by keeping track of unallocated regions in files
JP2002032260A (en) Cache server system, cache data managing method and recording medium
JP2001125830A (en) Cache managing device, network system and computer readable recording medium recording program
JP2002278905A (en) Storage device and computer network system
JP2004126844A (en) Server computer device with cache memory control function
JP4688312B2 (en) Communication proxy device
US8051246B1 (en) Method and apparatus for utilizing a semiconductor memory of a node as a disk cache
JP2001256098A (en) Method for controlling cache in proxy server
US11914865B2 (en) Methods and systems for limiting data traffic while processing computer system operations
JPH07152651A (en) Method and device for information processing

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040622

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040816

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20041026