JPH11224219A - Decentralized cache control method, decentralization controller, decentralizzed cache system, and storage medium stored with decentralized cache control program - Google Patents

Decentralized cache control method, decentralization controller, decentralizzed cache system, and storage medium stored with decentralized cache control program

Info

Publication number
JPH11224219A
JPH11224219A JP10024765A JP2476598A JPH11224219A JP H11224219 A JPH11224219 A JP H11224219A JP 10024765 A JP10024765 A JP 10024765A JP 2476598 A JP2476598 A JP 2476598A JP H11224219 A JPH11224219 A JP H11224219A
Authority
JP
Japan
Prior art keywords
cache
response
request
control device
distributed
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
JP10024765A
Other languages
Japanese (ja)
Inventor
Toshikiyo Tanaka
利清 田中
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP10024765A priority Critical patent/JPH11224219A/en
Publication of JPH11224219A publication Critical patent/JPH11224219A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a decentralized cache control method and decentralization controller, decentralized cache system, and storage medium stored with the decentralized cache control program with high fault tolerance of a fault of a cache device and high process efficiency by having high expansibility corresponding to requests for an increase in communication traffic and an increase in disk capacity for hit rate improvement. SOLUTION: The decentralization controller receives a request from a client S1, calculates the hash value of request resource discrimination information entered into the request S2, selects a cache device corresponding to the hash value by using a decentralization management information S3, and sends the request to the selected cache device S4 and an answer received from the cache device to the client S5.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、分散キャッシュ制
御方法及び分散制御装置及び分散キャッシュシステム及
び分散キャッシュ制御プログラムを格納した記憶媒体に
係り、インターネットやイントラネットなどのクライア
ント/サーバ方式のシステムにおいて、クライアントと
サーバの間でサーバが提供する情報の複写を一時的に保
持するキャッシュ方式に係り、特に、トラヒックの増大
に対応した拡張性ならびに障害に対する信頼性に優れた
分散キャッシュ制御方法及び分散制御装置及び分散キャ
ッシュシステム及び分散キャッシュ制御プログラムを格
納した記憶媒体に関する。
The present invention relates to a distributed cache control method, a distributed control apparatus, a distributed cache system, and a storage medium storing a distributed cache control program. The present invention relates to a client / server system such as the Internet or an intranet. Cache system for temporarily storing a copy of information provided by a server between a server and a server, and more particularly, to a distributed cache control method and a distributed control device which are excellent in scalability corresponding to an increase in traffic and excellent in reliability against failures, and The present invention relates to a distributed cache system and a storage medium storing a distributed cache control program.

【0002】[0002]

【従来の技術】例えば、インターネット利用において、
クライアント側のサブネットワークのセキュリティを強
化するため、一般的にインターネットとサブネットワー
クとの接続点にファイアーウォールを設け、許可された
通信のみを通過させる。また、ファイアウォール内のサ
ブネットワーク上のクライアントがインターネット上の
サーバへアクセスすることを可能にするために、ファイ
アーウォール上にプロキシ・サーバを設置し、ファイア
ーウォール内のクライアントとファイアウォール外のサ
ーバとの通信を中継する。このプロキシサーバでは、サ
ブネットワークとインターネットとの通信トラフィック
の削減及びクライアントに対するレスポンス時間の短縮
を目的としてキャッシュ機能を設ける実装が一般的であ
り、過去にサブネットワーク上のクライアントからの要
求に対してインターネット上のサーバから送信された応
答をキャッシュ上に保持し、サブネットワーク上のクラ
イアントから要求された応答がキャッシュ上に存在する
場合には、インターネット上のサーバへ要求することな
く、キャッシュ上の応答をクライアントに送信する。
2. Description of the Related Art For example, in the use of the Internet,
In order to enhance the security of the sub-network on the client side, a firewall is generally provided at a connection point between the Internet and the sub-network, and only permitted communication is passed. In addition, a proxy server is installed on the firewall to enable clients on the subnetwork inside the firewall to access the server on the Internet, and communication between the client inside the firewall and the server outside the firewall is established. Relay. In this proxy server, a cache function is generally provided for the purpose of reducing communication traffic between the sub-network and the Internet and shortening the response time to the client. The response sent from the server above is retained in the cache, and if the response requested by the client on the subnetwork exists in the cache, the response in the cache is not sent to the server on the Internet. Send to client.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、上記従
来のキャッシュ方式では、クライアント数の増加に伴う
通信トラヒックの増大に対応できない。通信トラヒック
の増大に対して、キャッシュ・サーバ(プロキシ・サー
バ)を複数台並列に設置する対処案が考えられるが、 キャッシュ・サーバ対応にクライアントを割り振り、
各クライアントは割り振られたキャッシュ・サーバをア
プリケーションに設定しなければならない; キャッシュ・サーバ間の負荷をバランスするための、
負荷情報の収集及びクライアントの再割り振りに膨大な
工数が必要である; 同一の応答が複数のキャッシュ・サーバ上に保持さ
れ、ディスク容量が無駄に使用される; クライアントから要求された応答が隣に設置されたキ
ャッシュ・サーバ上に存在するにもかかわらず、クライ
アントからの要求を受信したキャッシュ・サーバ上に存
在しないため、インターネット上のサーバへ要求を送信
することがあり、キャッシュの効果が削減される;等の
問題点がある。
However, the above-mentioned conventional cache method cannot cope with an increase in communication traffic due to an increase in the number of clients. To increase communication traffic, it is conceivable to install a plurality of cache servers (proxy servers) in parallel.
Each client must configure an allocated cache server for the application; to balance the load between cache servers,
A huge amount of man-hour is required to collect load information and reallocate clients; the same response is held on multiple cache servers, wasting disk space; Despite being on the installed cache server, it is not on the cache server that received the request from the client, so the request may be sent to a server on the Internet, reducing the effectiveness of the cache. Problem.

【0004】また、従来のキャッシュ方式では、設置可
能なディスク容量に制限があり、クライアントからの要
求の総数に対するキャッシュ上に対応する応答が存在す
る割合であるヒット率が低く抑えられ、また、新しい応
答を格納するために不要な応答を削除するためのオーバ
ーヘッドが大きい。また、従来のキャッシュ方式では、
キャッシュ・サーバ(プロキシ・サーバ)が障害になる
と、インターネットとサブネットワークとの間の中継機
能が喪失するため、サブネットワーク上のクライアント
からインターネットへのアクセスが一切できなくなる。
Further, in the conventional cache system, there is a limit on the disk capacity that can be installed, and the hit ratio, which is the ratio of a response corresponding to the cache to the total number of requests from the client, is kept low. The overhead for deleting unnecessary responses to store the responses is large. In the conventional cache method,
If the cache server (proxy server) fails, the relay function between the Internet and the subnetwork is lost, so that clients on the subnetwork cannot access the Internet at all.

【0005】キャッシュ・サーバの障害に対して、予備
のキャッシュ・サーバを設置する対処案が考えられる
が、 個々のクライアントがキャッシュ・サーバの障害の判
断を行うことが困難である; キャッシュ・サーバが障害となった場合、全クライア
ントのアプリケーションの設定を予備のキャッシュ・サ
ーバに変更しなければならず、膨大な工数が必要であ
る; 障害となったキャッシュ・サーバ上に保持された応答
が全く引き継がれないため、キャッシュのヒット率がゼ
ロとなり、ヒット率が回復するまでに長時間を要する;
等の問題点がある。
[0005] A countermeasure to install a spare cache server for a cache server failure is conceivable, but it is difficult for an individual client to judge a cache server failure; In the event of a failure, the application settings for all clients must be changed to a spare cache server, which requires enormous man-hours; the response held on the failed cache server is completely taken over. The cache hit rate is zero and it takes a long time for the hit rate to recover;
And so on.

【0006】また、上記の問題点に対して、ルータがイ
ンターネット上のサーバへの要求を横取りし、宛先サー
バ・アドレスに対応して複数設置されたキャッシュ・サ
ーバの1台を選択して、要求を転送する方式が提案され
ているが、 キャッシュ・サーバとの特別なプロトコルを実装した
特定のルータが必要である。 キャッシュ・サーバの割り振りを宛先サーバ・アドレ
スで行うため、キャッシュ・サーバ間で負荷がバランス
しない; キャッシュ・サーバ間の負荷をバランスするため、負
荷情報の収集及び宛先サーバ・アドレスの再割り当ての
オーバヘッドがある、等の問題点が有る。
In order to solve the above problem, a router intercepts a request to a server on the Internet, selects one of a plurality of cache servers installed corresponding to a destination server address, and makes a request. Has been proposed, but requires a specific router that implements a special protocol with the cache server. The load is not balanced between the cache servers because the assignment of the cache server is performed by the destination server address. The overhead of collecting the load information and reassigning the destination server address is not sufficient to balance the load between the cache servers. Yes, there are problems.

【0007】本発明は、上記の点に鑑みなされたもの
で、通信トラヒックの増大及びヒット率向上のためのデ
ィスク容量増大の要求に対応した拡張性が高く、キャッ
シュ装置の障害に対するフォールト・トレラント性が高
く、処理効率の高い、分散キャッシュ制御方法及び分散
制御装置及び分散キャッシュシステム及び分散キャッシ
ュ制御プログラムを格納した記憶媒体を提供することを
目的とする。
The present invention has been made in view of the above points, and has high expandability in response to a demand for an increase in disk capacity to increase communication traffic and a hit ratio, and has a fault-tolerant property against a failure of a cache device. It is an object of the present invention to provide a distributed cache control method, a distributed control device, a distributed cache system, and a storage medium storing a distributed cache control program, which have high processing efficiency and high processing efficiency.

【0008】[0008]

【課題を解決するための手段】図1は、本発明の原理を
説明するための図である。本発明(請求項1)は、1台
の分散制御装置によってn台のキャッシュ装置を制御す
る分散キャッシュ制御方法において、分散制御装置は、
クライアントからの要求を受け取り(ステップ1)、要
求内に記載されている要求資源識別情報のハッシュ値を
算出し(ステップ2)、分散管理情報を用いて、ハッシ
ュ値に対応したキャッシュ装置を選択し(ステップ
3)、選択されたキャッシュ装置へ要求を送信し(ステ
ップ4)、キャッシュ装置から受信した応答をクライア
ントに送信する(ステップ5)。
FIG. 1 is a diagram for explaining the principle of the present invention. The present invention (claim 1) provides a distributed cache control method in which one distributed control device controls n cache devices.
A request from a client is received (step 1), a hash value of requested resource identification information described in the request is calculated (step 2), and a cache device corresponding to the hash value is selected using the distribution management information. (Step 3), a request is transmitted to the selected cache device (Step 4), and a response received from the cache device is transmitted to the client (Step 5).

【0009】本発明(請求項2)は、キャッシュ装置に
おいて、分散制御装置を介してクライアントから受信し
た要求を用いてキャッシュ管理情報を参照し、要求に対
応した応答がキャッシュ記憶手段内に存在すれば、該当
の応答を分散制御装置に送信し、要求に対応した応答が
キャッシュ記憶手段内に存在しなければ、サーバへ要求
を送信し、サーバから受信した要求に対応した応答をキ
ャッシュ記憶手段に格納し、応答を分散制御装置に送信
し、分散制御装置がキャッシュ装置から受信した応答を
クライアントに送信する。
According to the present invention (claim 2), a cache device refers to cache management information using a request received from a client via a distributed control device, and a response corresponding to the request exists in the cache storage means. If the response corresponding to the request does not exist in the cache storage unit, the request is transmitted to the server, and the response corresponding to the request received from the server is stored in the cache storage unit. The distributed control device stores the response, and sends the response received from the cache device to the client.

【0010】本発明(請求項3)は、n台のキャッシュ
装置を、n1 台(n1 ≧2)の運用機とn2 台(n2
1)の予備機で構成し、通常は、n1 台の運用機を用い
て運用し、n1 台の運用機の1台が障害となった場合、
分散制御装置は、障害となった該運用機を分散管理情報
から削除し、n2 台の予備機の1台を分散管理情報に追
加することにより、n1 台のキャッシュ装置で運用を継
続する。
According to the present invention (claim 3), the n cache devices are divided into n 1 (n 1 ≧ 2) operating machines and n 2 (n 2
1) constituted by pre-machine, Normally, when operated with n 1 single operational machine, one n 1 single operational machine fails, no
The distributed control device deletes the failed operation device from the distributed management information and adds one of the n 2 spare devices to the distributed management information, thereby continuing the operation with n 1 cache devices. .

【0011】本発明(請求項4)は、n台(n≧2)の
キャッシュ装置の1台が障害となった場合、分散制御装
置は、障害となったキャッシュ装置を分散管理情報から
削除し、障害となったキャッシュ装置に割り当てられて
いたハッシュ値の範囲を残りの(n−1)台のキャッシ
ュ装置に分割割り当てするように分散管理情報を再構成
することにより、(n−1)台のキャッシュ装置で運用
を継続する。
According to the present invention (claim 4), when one of n (n ≧ 2) cache devices fails, the distribution control device deletes the failed cache device from the distribution management information. By reconfiguring the distributed management information so that the range of hash values assigned to the failed cache device is divided and assigned to the remaining (n-1) cache devices, (n-1) Continue operation with the cache device of

【0012】本発明(請求項5)は、分散制御装置にお
いて、クライアントからの要求を用いて分散制御装置キ
ャッシュ管理情報を参照し、要求に対応した応答が分散
制御装置キャッシュ記憶手段内に存在すれば、該当する
応答をクライアントに送信し、要求に対応した応答が分
散制御装置キャッシュ記憶手段内に存在しなければ、該
要求内に記載されている要求資源識別情報のハッシュ値
を算出し、分散管理情報を用いてハッシュ値に対応した
キャッシュ装置を選択し、選択されたキャッシュ装置へ
の要求を送信し、キャッシュ装置から受信した要求に対
応した応答を分散制御装置キャッシュ記憶手段に格納
し、応答を分散制御装置キャッシュ管理情報に登録し、
応答をクライアントに送信する。
According to the present invention (claim 5), in the distributed control device, the distributed control device cache management information is referred to by using a request from a client, and a response corresponding to the request exists in the distributed control device cache storage means. For example, the corresponding response is transmitted to the client, and if the response corresponding to the request does not exist in the distributed control device cache storage unit, the hash value of the requested resource identification information described in the request is calculated, and the distributed Selecting a cache device corresponding to the hash value using the management information, transmitting a request to the selected cache device, storing a response corresponding to the request received from the cache device in the distributed control device cache storage means, Is registered in the distributed control device cache management information,
Send response to client.

【0013】本発明(請求項6)は、分散制御装置にお
いて、クライアントからの要求内に記載されている要求
資源識別情報のハッシュ値を算出し、分散管理情報を用
いて、ハッシュ値に対応したキャッシュ装置を選択し、
選択されたキャッシュ装置へ要求を送信し、要求を用い
て分散制御装置キャッシュ管理情報を参照し、要求に対
応した応答が分散制御装置キャッシュ記憶手段内に存在
すれば、該当の応答をクライアントに送信し、キャッシ
ュ装置から受信した応答を破棄し、要求に対応した応答
が分散制御装置キャッシュ記憶手段内に存在しなけれ
ば、キャッシュ装置から受信した要求に対応した応答を
該分散制御装置キャッシュ記憶手段に格納し、応答を分
散制御装置キャッシュ管理情報に登録し、応答をクライ
アントに送信する。
According to the present invention (claim 6), in the distributed control device, the hash value of the requested resource identification information described in the request from the client is calculated, and the hash value is corresponded using the distributed management information. Select a cache device,
Sends a request to the selected cache device, refers to the distributed control device cache management information using the request, and sends a corresponding response to the client if a response corresponding to the request exists in the distributed control device cache storage unit. Then, the response received from the cache device is discarded, and if the response corresponding to the request does not exist in the distributed control device cache storage unit, the response corresponding to the request received from the cache device is stored in the distributed control device cache storage unit. Then, the response is registered in the distributed control device cache management information, and the response is transmitted to the client.

【0014】本発明(請求項7)は、キャッシュ装置に
おいて、分散制御装置から受信した要求を用いてキャッ
シュ管理情報を参照し、要求に対応した応答がキャッシ
ュ記憶手段内に存在すれば、該当する応答を直接クライ
アントに送信し、要求に対応した応答がキャッシュ記憶
手段に存在しなければ、サーバへ要求を送信し、サーバ
から受信した要求に対応した応答をキャッシュ記憶手段
に格納し、応答をキャッシュ管理情報に登録し、直接応
答をクライアントに送信する。
According to the present invention (claim 7), the cache device refers to the cache management information using the request received from the distributed control device, and if a response corresponding to the request exists in the cache storage means, this applies. The response is sent directly to the client, and if the response corresponding to the request does not exist in the cache storage unit, the request is transmitted to the server, the response corresponding to the request received from the server is stored in the cache storage unit, and the response is cached. Register in the management information and send a direct response to the client.

【0015】本発明(請求項8)は、n台のキャッシュ
装置を制御する1台の分散制御装置であって、分散制御
装置は、クライアントから要求を受信する要求受信手段
と、クライアントから受信した要求内に記載されている
要求資源識別情報のハッシュ値を算出するハッシュ算出
手段と、分散管理情報を参照してハッシュ値に対応した
キャッシュ装置を選択するキャッシュ装置選択手段と、
選択されたキャッシュ装置に要求を送信する要求送信手
段と、要求に対応した応答をキャッシュ装置から受信す
る応答受信手段と、応答をクライアントに送信する応答
送信手段とを有する。
According to the present invention (claim 8), there is provided one distributed control device for controlling n cache devices, wherein the distributed control device receives a request from a client, and receives a request from a client. Hash calculation means for calculating a hash value of the requested resource identification information described in the request; cache device selection means for selecting a cache device corresponding to the hash value by referring to the distribution management information;
Request transmission means for transmitting a request to the selected cache device, response reception means for receiving a response corresponding to the request from the cache device, and response transmission means for transmitting a response to the client.

【0016】図2は、本発明の原理構成図である。本発
明(請求項9)は、1台の分散制御装置5とn台のキャ
ッシュ装置6からなる分散キャッシュシステムであっ
て、分散制御装置5は、クライアントから要求を受信す
るクライアント要求受信手段504と、クライアントか
ら受信した要求内に記載されている要求資源識別情報の
ハッシュ値を算出するハッシュ算出手段507と、分散
管理情報503を参照してハッシュ値に対応したキャッ
シュ装置6を選択するキャッシュ装置選択手段508
と、選択されたキャッシュ装置6に要求を送信する要求
送信手段509と、要求に対応した応答をキャッシュ装
置から受信する応答受信手段510と、応答をクライア
ントに送信する応答送信手段513とを有し、キャッシ
ュ装置6は、要求を分散制御装置5から受信する要求受
信手段603と、キャッシュ管理情報601を検索して
要求に対応した応答がキャッシュ記憶手段602内に存
在するか否かを判定する判定手段611と、キャッシュ
記憶手段602内の応答を読み出す応答読出手段605
と、サーバへ要求を送信する要求送信手段606と、サ
ーバから要求に対応した応答を受信するサーバ応答受信
手段607と、応答をキャッシュ記憶手段602に格納
する格納手段608と、応答と要求との対応関係をキャ
ッシュ管理情報601に登録する登録手段609と、
応答を分散制御装置5に送信する応答送信手段610と
を有する。
FIG. 2 is a diagram showing the principle of the present invention. The present invention (claim 9) is a distributed cache system including one distributed control device 5 and n cache devices 6, wherein the distributed control device 5 includes a client request receiving unit 504 for receiving a request from a client. A hash calculation unit 507 that calculates a hash value of the requested resource identification information described in the request received from the client, and a cache device selection unit that selects the cache device 6 corresponding to the hash value by referring to the distribution management information 503 Means 508
A request transmitting unit 509 for transmitting a request to the selected cache device 6, a response receiving unit 510 for receiving a response corresponding to the request from the cache device, and a response transmitting unit 513 for transmitting a response to the client. The cache device 6 determines whether the request receiving unit 603 that receives the request from the distributed control device 5 and whether the response corresponding to the request exists in the cache storage unit 602 by searching the cache management information 601. Means 611 and response reading means 605 for reading the response in the cache storage means 602.
Request transmission means 606 for transmitting a request to the server, server response reception means 607 for receiving a response corresponding to the request from the server, storage means 608 for storing the response in the cache storage means 602, Registration means 609 for registering the correspondence in the cache management information 601;
Response transmitting means 610 for transmitting a response to the distributed control device 5.

【0017】本発明(請求項10)は、1台の分散制御
装置とn台のキャッシュ装置からなる分散キャッシュシ
ステムであって、分散制御装置は、クライアントからの
要求を用いて分散制御装置キャッシュ管理情報を参照す
る参照手段と、参照手段において、要求に対応した応答
が分散制御装置キャッシュ記憶手段内に存在すれば、該
当する応答をクライアントに送信する応答送信手段と、
要求に対応した応答が分散制御装置キャッシュ記憶手段
内に存在しなければ、該要求内に記載されている要求資
源識別情報のハッシュ値を算出するハッシュ値算出手段
と、分散管理情報を用いてハッシュ値に対応したキャッ
シュ装置を選択する選択手段と、選択されたキャッシュ
装置へ要求を送信する要求送信手段と、キャッシュ装置
から受信した要求に対応した応答を分散制御装置キャッ
シュ記憶手段に格納する格納手段と、応答を分散制御装
置キャッシュ管理情報に登録する登録手段と、応答をク
ライアントに送信する応答送信手段とを有する。
The present invention (claim 10) is a distributed cache system comprising one distributed control device and n cache devices, wherein the distributed control device manages the distributed control device cache by using a request from a client. Reference means for referring to information, and in the reference means, if a response corresponding to the request exists in the distributed control device cache storage means, a response transmission means for transmitting the corresponding response to the client;
If a response corresponding to the request does not exist in the distributed control device cache storage unit, a hash value calculating unit that calculates a hash value of the requested resource identification information described in the request; Selection means for selecting a cache device corresponding to the value, request transmission means for transmitting a request to the selected cache device, and storage means for storing a response corresponding to the request received from the cache device in the distributed control device cache storage means Registering means for registering the response in the distributed control device cache management information; and response transmitting means for transmitting the response to the client.

【0018】本発明(請求項11)は、1台の分散制御
装置とn台のキャッシュ装置からなる分散キャッシュシ
ステムであって、分散制御装置は、クライアントからの
要求内に記載されている要求資源識別情報のハッシュ値
を算出するハッシュ値算出手段と、分散管理情報を用い
て、ハッシュ値に対応したキャッシュ装置を選択する選
択手段と、選択されたキャッシュ装置へ要求を送信する
要求送信手段と、要求を用いて分散制御装置キャッシュ
管理情報を参照し、要求に対応した応答が分散制御装置
キャッシュ記憶手段内に存在すれば、該当の応答をクラ
イアントに送信する第1の応答送信手段と、キャッシュ
装置から受信した応答を破棄する応答破棄手段と、要求
に対応した応答が分散制御装置キャッシュ記憶手段内に
存在しなければ、キャッシュ装置から受信した要求に対
応した応答を該分散制御装置キャッシュ記憶手段に格納
する格納手段と、応答を分散制御装置キャッシュ管理情
報に登録する登録手段と、応答をクライアントに送信す
る第2の応答送信手段とを有する。
[0018] The present invention (claim 11) is a distributed cache system comprising one distributed control device and n cache devices, wherein the distributed control device includes a request resource described in a request from a client. A hash value calculation unit that calculates a hash value of the identification information, a selection unit that selects a cache device corresponding to the hash value using the distribution management information, a request transmission unit that transmits a request to the selected cache device, A first response transmission unit for referring to the distributed control device cache management information using the request and transmitting a corresponding response to the client if a response corresponding to the request exists in the distributed control device cache storage unit; A response discarding unit for discarding a response received from the server, and a response corresponding to the request does not exist in the distributed control device cache storage unit. Storage means for storing a response corresponding to the request received from the cache device in the distributed control device cache storage means, registration means for registering the response in the distributed control device cache management information, and a second response for transmitting the response to the client Transmission means.

【0019】本発明(請求項12)は、1台の分散制御
装置とn台のキャッシュ装置からなる分散キャッシュシ
ステムであって、キャッシュ装置は、分散制御装置から
受信した要求を用いてキャッシュ管理情報を参照し、要
求に対応した応答がキャッシュ記憶手段内に存在すれ
ば、該当する応答を直接クライアントに送信する第1の
応答送信手段と、要求に対応した応答がキャッシュ記憶
手段に存在しなければ、サーバへ要求を送信する第2の
応答送信手段と、サーバから受信した要求に対応した応
答をキャッシュ記憶手段に格納する格納手段と、応答を
キャッシュ管理情報に登録する登録手段と、直接応答を
クライアントに送信する第3の応答送信手段とを有す
る。
The present invention (claim 12) is a distributed cache system comprising one distributed control device and n cache devices, wherein the cache device uses a request received from the distributed control device to store cache management information. If the response corresponding to the request exists in the cache storage means, the first response transmission means for directly transmitting the corresponding response to the client, and if the response corresponding to the request does not exist in the cache storage means, A second response transmitting unit that transmits a request to the server, a storing unit that stores a response corresponding to the request received from the server in the cache storage unit, a registering unit that registers the response in the cache management information, Third response transmitting means for transmitting to the client.

【0020】本発明(請求項13)は、n台のキャッシ
ュ装置を制御する1台の分散制御装置に搭載される分散
キャッシュ制御プログラムを格納した記憶媒体であっ
て、クライアントから要求を受信させる要求受信プロセ
スと、要求受信プロセスによりクライアントから受信し
た要求内に記載されている要求資源識別情報のハッシュ
値を算出するハッシュ算出プロセスと、 分散管理情報
を参照してハッシュ値に対応したキャッシュ装置を選択
するキャッシュ装置選択プロセスと、要求に対応した応
答をキャッシュ装置から受信させる応答受信プロセス
と、応答をクライアントに送信させる応答送信プロセス
とを有する。
[0021] The present invention (claim 13) is a storage medium storing a distributed cache control program mounted on one distributed control device for controlling n cache devices, wherein the storage medium stores a request for receiving a request from a client. A receiving process, a hash calculation process for calculating a hash value of the requested resource identification information described in the request received from the client by the request receiving process, and selecting a cache device corresponding to the hash value with reference to the distribution management information And a response transmitting process for transmitting a response to the client, a response receiving process for receiving a response corresponding to the request from the cache device, and a response transmitting process for transmitting the response to the client.

【0021】本発明(請求項14)は、1台の分散制御
装置とn台のキャッシュ装置からなる分散キャッシュシ
ステムにおける分散キャッシュ制御プログラムを格納し
た記憶媒体であって、分散制御装置に搭載される、クラ
イアントから要求を受信させるクライアント要求受信プ
ロセスと、クライアントから受信した要求内に記載され
ている要求資源識別情報のハッシュ値を算出するハッシ
ュ算出プロセスと、分散管理情報を参照してハッシュ値
に対応したキャッシュ装置を選択するキャッシュ装置選
択プロセスと、選択されたキャッシュ装置に要求を送信
する要求送信プロセスと、要求に対応した応答をキャッ
シュ装置から受信させる応答受信プロセスと、応答をク
ライアントに送信させる応答送信プロセスとを有し、キ
ャッシュ装置に搭載される、要求を分散制御装置から受
信させる要求受信プロセスと、キャッシュ管理情報を検
索して要求に対応した応答がキャッシュ記憶手段内に存
在するか否かを判定する判定プロセスと、キャッシュ記
憶手段内の応答を読み出す応答読出プロセスと、サーバ
へ要求を送信させる要求送信プロセスと、サーバから要
求に対応した応答を受信させるサーバ応答受信プロセス
と、応答をキャッシュ記憶手段に格納する格納プロセス
と、応答と要求との対応関係をキャッシュ管理情報に登
録する登録プロセスと、応答を分散制御装置に送信させ
る応答送信プロセスとを有する。
The present invention (claim 14) is a storage medium storing a distributed cache control program in a distributed cache system including one distributed control device and n cache devices, and is mounted on the distributed control device. A client request receiving process for receiving a request from a client, a hash calculation process for calculating a hash value of request resource identification information described in the request received from the client, and a hash value corresponding to the distributed management information. Device selection process for selecting a selected cache device, a request transmission process for transmitting a request to the selected cache device, a response reception process for receiving a response corresponding to the request from the cache device, and a response for transmitting a response to the client And a transmission process. A request receiving process for receiving a request from the distributed control device, a determining process of searching cache management information to determine whether a response corresponding to the request exists in the cache storage unit, A response reading process for reading a response from the server, a request transmitting process for transmitting a request to the server, a server response receiving process for receiving a response corresponding to the request from the server, a storing process for storing the response in the cache storage means, It has a registration process of registering the correspondence with the request in the cache management information, and a response transmission process of transmitting a response to the distributed control device.

【0022】本発明(請求項15)は、1台の分散制御
装置とn台のキャッシュ装置からなる分散キャッシュシ
ステムにおける分散キャッシュ制御プログラムを格納し
た記憶媒体であって、分散制御装置に搭載される、クラ
イアントからの要求を用いて分散制御装置キャッシュ管
理情報を参照する参照プロセスと、参照プロセスにおい
て、要求に対応した応答が分散制御装置キャッシュ記憶
手段内に存在すれば、該当する応答をクライアントに送
信させる応答送信プロセスと、要求に対応した応答が分
散制御装置キャッシュ記憶手段内に存在しなければ、該
要求内に記載されている要求資源識別情報のハッシュ値
を算出するハッシュ値算出プロセスと、分散管理情報を
用いてハッシュ値に対応したキャッシュ装置を選択する
選択プロセスと、選択されたキャッシュ装置への要求を
送信させる要求送信プロセスと、キャッシュ装置から受
信した要求に対応した応答を分散制御装置キャッシュ記
憶手段に格納する格納プロセスと、応答を分散制御装置
キャッシュ管理情報に登録する登録プロセスと、応答を
クライアントに送信させる応答送信プロセスとを有す
る。
The present invention (claim 15) is a storage medium storing a distributed cache control program in a distributed cache system including one distributed control device and n cache devices, and is mounted on the distributed control device. A reference process for referencing the distributed control device cache management information using a request from a client, and in the reference process, if a response corresponding to the request exists in the distributed control device cache storage unit, the corresponding response is transmitted to the client. A response transmission process for causing the request to be transmitted, a hash value calculation process for calculating a hash value of the requested resource identification information described in the request if the response corresponding to the request does not exist in the distributed control device cache storage means, A selection process of selecting a cache device corresponding to the hash value using the management information; A request transmission process for transmitting a request to the selected cache device, a storage process for storing a response corresponding to the request received from the cache device in the distributed control device cache storage unit, and registering the response in the distributed control device cache management information And a response transmission process for transmitting a response to the client.

【0023】本発明(請求項16)は、1台の分散制御
装置とn台のキャッシュ装置からなる分散キャッシュシ
ステムにおける分散キャッシュ制御プログラムを格納し
た記憶媒体であって、分散制御装置に搭載される、クラ
イアントからの要求内に記載されている要求資源識別情
報のハッシュ値を算出するハッシュ値算出プロセスと、
分散管理情報を用いて、ハッシュ値に対応したキャッシ
ュ装置を選択する選択プロセスと、選択されたキャッシ
ュ装置へ要求を送信させる要求送信プロセスと、 要求
を用いて分散制御装置キャッシュ管理情報を参照し、要
求に対応した応答が分散制御装置キャッシュ記憶手段内
に存在すれば、該当の応答をクライアントに送信させる
第1の応答送信プロセスと、キャッシュ装置から受信し
た応答を破棄する応答破棄プロセスと、要求に対応した
応答が分散制御装置キャッシュ記憶手段内に存在しなけ
れば、キャッシュ装置から受信した要求に対応した応答
を該分散制御装置キャッシュ記憶手段に格納する格納プ
ロセスと、応答を分散制御装置キャッシュ管理情報に登
録する登録プロセスと、応答をクライアントに送信させ
る第2の応答送信プロセスを有する。
The present invention (claim 16) is a storage medium storing a distributed cache control program in a distributed cache system comprising one distributed control device and n cache devices, and is mounted on the distributed control device. A hash value calculation process for calculating a hash value of the requested resource identification information described in the request from the client;
Using the distribution management information, a selection process of selecting a cache device corresponding to the hash value, a request transmission process of transmitting a request to the selected cache device, and referring to the distributed control device cache management information using the request, If a response corresponding to the request exists in the distributed control device cache storage means, a first response transmission process for transmitting the response to the client, a response discard process for discarding the response received from the cache device, If the corresponding response does not exist in the distributed control device cache storage unit, a storing process of storing the response corresponding to the request received from the cache device in the distributed control device cache storage unit; and storing the response in the distributed control device cache management information. Registration process for registering with the client, and a second response transmission process for transmitting the response to the client. Have a process.

【0024】本発明(請求項17)は、1台の分散制御
装置とn台のキャッシュ装置からなる分散キャッシュシ
ステムにおける分散キャッシュ制御プログラムを格納し
た記憶媒体であって、キャッシュ装置に搭載される、分
散制御装置から受信した要求を用いてキャッシュ管理情
報を参照し、要求に対応した応答がキャッシュ記憶手段
内に存在すれば、該当する応答を直接クライアントに送
信させる第1の応答送信プロセスと、要求に対応した応
答がキャッシュ記憶手段に存在しなければ、サーバへ要
求を送信させる第2の応答送信プロセスと、サーバから
受信した要求に対応した応答をキャッシュ記憶手段に格
納する格納プロセスと、応答をキャッシュ管理情報に登
録する登録プロセスと、応答をクライアントに送信させ
る第3の応答送信プロセスとを有する。
The present invention (claim 17) is a storage medium storing a distributed cache control program in a distributed cache system comprising one distributed control device and n cache devices, and is mounted on the cache device. A first response transmission process for referencing the cache management information using the request received from the distributed control device and, if a response corresponding to the request exists in the cache storage means, transmitting the corresponding response directly to the client; If a response corresponding to the request does not exist in the cache storage means, a second response transmission process for transmitting a request to the server, a storage process for storing a response corresponding to the request received from the server in the cache storage means, A registration process for registering in the cache management information, and a third response transmission for causing the client to transmit a response And a process.

【0025】上記のように、本発明では、分散制御装置
において、クライアントからの要求を受信し、要求内に
記載されている要求資源識別情報のハッシュ値を算出
し、分散管理情報を参照して、ハッシュ値に対応したキ
ャッシュ装置を選択し、選択されたキャッシュ装置に要
求を送信する。キャッシュ装置は、分散制御装置から送
信された要求を受信し、キャッシュ管理情報を検索して
要求に対応した応答がキャッシュ記憶手段内に存在する
か否かの判定を行う。要求に対応した応答がキャッシュ
記憶手段内に存在する場合には、キャッシュ装置は、要
求に対応した応答をキャッシュ装置から読み出し、応答
を分散制御装置に送信する。一方、要求に対応した応答
がキャッシュ記憶内に存在しない場合、キャッシュ装置
は、要求をサーバへ送信し、サーバから送信された要求
に対する応答を受信し、キャッシュ記憶手段に格納する
と共に、キャッシュ記憶手段に格納した応答と要求との
対応関係をキャッシュ管理情報に登録し、当該応答を分
散制御装置に送信する。
As described above, in the present invention, the distributed control device receives a request from a client, calculates the hash value of the requested resource identification information described in the request, and refers to the distributed management information. , Selects a cache device corresponding to the hash value, and sends a request to the selected cache device. The cache device receives the request transmitted from the distributed control device, searches the cache management information, and determines whether or not a response corresponding to the request exists in the cache storage unit. When a response corresponding to the request exists in the cache storage unit, the cache device reads the response corresponding to the request from the cache device, and transmits the response to the distributed control device. On the other hand, when the response corresponding to the request does not exist in the cache storage, the cache device transmits the request to the server, receives the response to the request transmitted from the server, stores the response in the cache storage unit, and stores the response in the cache storage unit. Is registered in the cache management information, and the response is transmitted to the distributed control device.

【0026】分散制御装置は、キャッシュ装置から送信
された応答を受信し、当該応答をクライアントに送信す
る。
The distributed control device receives the response transmitted from the cache device, and transmits the response to the client.

【0027】[0027]

【発明の実施の形態】図3は、本発明が適用されるシス
テム構成を示す。同図に示すシステムは、インターネッ
トを経由したクライアント/サーバシステムの構成を示
す。当該クライアント/サーバシステムは、インターネ
ット4を経由してクライアント1とサーバ2が接続さ
れ、分散キャッシュ・システム3がクライアント1とサ
ーバ2との間の通信を中継する。同図に示すように、ク
ライアント1からはプロキシ・サーバの機能を有する分
散キャッシュ・システム3のみが見えているため、当該
クライアント1からは、分散キャッシュ・システム3を
対象としてのみアプリケーションを実行すればよい。
FIG. 3 shows a system configuration to which the present invention is applied. The system shown in FIG. 1 shows the configuration of a client / server system via the Internet. In the client / server system, a client 1 and a server 2 are connected via the Internet 4, and a distributed cache system 3 relays communication between the client 1 and the server 2. As shown in the figure, since only the distributed cache system 3 having the function of the proxy server is visible from the client 1, if the client 1 executes the application only for the distributed cache system 3, Good.

【0028】ここで、分散キャッシュ・システム3につ
いて説明する。図4は、本発明が適用される分散キャッ
シュ・システムの構成を示す。同図に示す分散キャッシ
ュ・システムは、1台の分散制御装置5と4台のキャッ
シュ装置6から構成される例である。同図に示すよう
に、1台の分散制御装置5と複数(4台)のキャッシュ
装置6で構成することにより、キャッシュ装置6の負荷
分散が可能となる。
Here, the distributed cache system 3 will be described. FIG. 4 shows the configuration of a distributed cache system to which the present invention is applied. The distributed cache system shown in the figure is an example composed of one distributed control device 5 and four cache devices 6. As shown in the figure, the configuration of one distributed control device 5 and a plurality of (four) cache devices 6 enables the load distribution of the cache device 6 to be distributed.

【0029】また、1台のキャッシュ装置に障害が発生
した場合でも残りの3台で運用を継続することも可能で
ある。さらに、例えば、キャッシュ装置A,B,Cを運
用機とし、キャッシュ装置Dを予備機として構成してい
る場合に、当該キャッシュ装置Aに障害が発生した場合
でも、予備機のキャッシュ装置Dのいずれかを運用機と
して代替することも可能である。
Further, even when a failure occurs in one cache device, the operation can be continued with the remaining three devices. Further, for example, when the cache devices A, B, and C are configured as operating devices and the cache device D is configured as a standby device, even if a failure occurs in the cache device A, any one of the cache devices D of the standby device is used. It is also possible to substitute for the operation device.

【0030】[0030]

【実施例】以下に、図面と共に本発明の実施例を説明す
る。 [第1の実施例]図5は、本発明の第1の実施例の分散
キャッシュ・システムの構成を示す。同図に示す分散キ
ャッシュ・システムは、分散制御装置5とキャッシュ装
置6から構成される。分散制御装置5は、ハッシュ値と
当該ハッシュ値に対応するキャッシュ装置を管理するた
めの分散管理情報503、クライアント1からの要求を
受信する要求受信部504、要求内に含まれる要求資源
識別情報URLのハッシュ値を算出するハッシュ値算出
部507、分散管理情報503を参照して、求められた
ハッシュ値に対応するキャッシュ装置を選択するキャッ
シュ装置選択部508、選択されたキャッシュ装置6に
要求を転送する要求送信部509、キャッシュ装置6か
ら送信された応答を受信する応答受信部510、受信し
た応答をクライアント1に送信する応答送信部513と
を有する。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 5 shows the configuration of a distributed cache system according to a first embodiment of the present invention. The distributed cache system shown in FIG. 1 includes a distributed control device 5 and a cache device 6. The distribution control device 5 includes distribution management information 503 for managing a hash value and a cache device corresponding to the hash value, a request receiving unit 504 for receiving a request from the client 1, a request resource identification information URL included in the request. A hash value calculation unit 507 that calculates the hash value of the cache device, a cache device selection unit 508 that selects a cache device corresponding to the obtained hash value with reference to the distribution management information 503, and transfers the request to the selected cache device 6 Request transmitting unit 509, a response receiving unit 510 for receiving a response transmitted from the cache device 6, and a response transmitting unit 513 for transmitting the received response to the client 1.

【0031】キャッシュ装置6は、キャッシュしている
情報を管理するキャッシュ管理情報601、キャッシュ
されている情報を格納するキャッシュ記憶部602、分
散制御装置5から要求を受信する要求受信部603、キ
ャッシュ管理情報601に基づいてキャッシュされてい
る情報の格納位置を求めるキャッシュ管理情報検索部6
04、キャッシュ記憶部602からキャッシュ情報を読
み出すキャッシュ記憶読出部605、キャッシュ記憶部
601に要求に対応する情報(応答)がない場合にサー
バ2に要求を転送する要求送信部606、サーバ2から
要求に対応する応答を受信する応答受信部607、サー
バ2から受信した応答をキャッシュ記憶部601に格納
するキャッシュ記憶格納部608、応答がキャッシュさ
れた位置情報をキャッシュ管理情報601に登録するキ
ャッシュ管理情報登録部609、検索され、読み出され
た情報または、サーバ2からの応答を分散管理装置5に
送信する応答送信部610より構成される。
The cache device 6 includes: cache management information 601 for managing cached information; a cache storage unit 602 for storing cached information; a request receiving unit 603 for receiving a request from the distributed control device 5; A cache management information search unit 6 for obtaining a storage location of cached information based on the information 601
04, a cache storage reading unit 605 for reading cache information from the cache storage unit 602, a request transmission unit 606 for transferring a request to the server 2 when there is no information (response) corresponding to the request in the cache storage unit 601, and a request from the server 2 A response receiving unit 607 for receiving a response corresponding to the request, a cache storage unit 608 for storing the response received from the server 2 in the cache storage unit 601, and cache management information for registering the position information where the response is cached in the cache management information 601. The registration unit 609 includes a response transmission unit 610 that transmits the retrieved and read information or a response from the server 2 to the decentralized management device 5.

【0032】上記の構成による動作を以下に示す。最初
に、キャシュ装置6にクライアント1からの要求に対応
する応答が存在する場合の動作を説明する。図6は、本
発明の第1の実施例のキャッシュ装置のキャッシュ記憶
部内に要求に対応した応答が存在する(キャッシュ装置
キャッシュ・ヒット)場合のシーケンスチャートであ
る。
The operation of the above configuration will be described below. First, an operation in a case where a response corresponding to a request from the client 1 exists in the cache device 6 will be described. FIG. 6 is a sequence chart in the case where a response corresponding to a request exists (cache device cache hit) in the cache storage unit of the cache device according to the first embodiment of this invention.

【0033】クライアント1がサーバ2に対する要求を
送信すると(ステップ101)、分散制御装置5は、要
求受信部504がクライアント1からの要求を受信し
(ステップ102)、ハッシュ値算出部507が要求内
に記載されている要求資源識別情報URL(Uniform Res
ource Locators) のハッシュ値を算出し(ステップ10
3)、キャッシュ装置選択部508が分散管理情報50
3を参照してハッシュ値に対応したキャッシュ装置6を
選択し(ステップ104)、要求送信部509が選択さ
れたキャッシュ装置6に当該要求を送信する(ステップ
105)。
When the client 1 transmits a request to the server 2 (step 101), in the distributed control device 5, the request receiving unit 504 receives the request from the client 1 (step 102), and the hash value calculating unit 507 transmits the request in the request. Requested resource identification information URL (Uniform Res
Calculate the hash value of ource Locators) (Step 10
3) The cache device selecting unit 508 determines that the distribution management information 50
3, the cache device 6 corresponding to the hash value is selected (step 104), and the request transmitting unit 509 transmits the request to the selected cache device 6 (step 105).

【0034】キャッシュ装置6は、要求受信部603が
分散制御装置5から送信された要求を受信し(ステップ
106)、キャッシュ管理情報検索部604がキャッシ
ュ管理情報601を検索して(ステップ107)要求に
対応した応答がキャッシュ記憶部602内に存在するこ
とを判定し、キャッシュ記憶読出部605が要求に対応
した応答をキャッシュ装置602から読み出し(ステッ
プ108)、応答送信部610が応答を分散制御装置5
へ送信する(ステップ109)。
In the cache device 6, the request receiving unit 603 receives the request transmitted from the distributed control device 5 (step 106), and the cache management information search unit 604 searches the cache management information 601 (step 107). Is determined in the cache storage unit 602, the cache storage read unit 605 reads a response corresponding to the request from the cache device 602 (step 108), and the response transmission unit 610 transmits the response to the distributed control device. 5
(Step 109).

【0035】分散制御装置5は、応答受信部510がキ
ャッシュ装置6から送信された応答を受信し(ステップ
110)、応答送信部513が応答をクライアント1に
送信する(ステップ111)。クライアント1は、当該
応答を受信する(ステップ112)。次に、キャッシュ
装置6のキャッシュ記憶部内に要求に対応した応答が存
在しない場合について説明する。
In the distributed control device 5, the response receiving unit 510 receives the response transmitted from the cache device 6 (step 110), and the response transmitting unit 513 transmits the response to the client 1 (step 111). The client 1 receives the response (Step 112). Next, a case where a response corresponding to the request does not exist in the cache storage unit of the cache device 6 will be described.

【0036】図7は、本発明の第1の実施例のキャッシ
ュ装置のキャッシュ・ミス時のシーケンスチャートであ
る。クライアント1がサーバ2に対する要求を送信する
と(ステップ201)、分散制御装置5は、要求受信部
504がクライアント1からの要求を受信し(ステップ
202)、ハッシュ値算出部507が要求内に記載され
ている要求資源識別情報URLのハッシュ値を算出し
(ステップ203)、キャッシュ装置選択部508が分
散管理情報503を参照して、ハッシュ値に対応したキ
ャッシュ装置6を選択し(ステップ204)、要求送信
部509が選択されたキャッシュ装置6に要求を送信す
る(ステップ205)。
FIG. 7 is a sequence chart at the time of a cache miss in the cache device according to the first embodiment of the present invention. When the client 1 transmits a request to the server 2 (step 201), in the distributed control device 5, the request receiving unit 504 receives the request from the client 1 (step 202), and the hash value calculation unit 507 is described in the request. The hash value of the requested resource identification information URL is calculated (step 203), and the cache device selecting unit 508 refers to the distribution management information 503 to select the cache device 6 corresponding to the hash value (step 204). The transmitting unit 509 transmits the request to the selected cache device 6 (Step 205).

【0037】キャッシュ装置6は、要求受信部603が
分散制御装置5から送信された要求を受信し(ステップ
206)、キャッシュ管理情報検索部604がキャッシ
ュ管理情報601を検索して(ステップ207)、要求
に対応した応答がキャッシュ記憶部602内に存在しな
いことを判定し、要求送信部606が要求をサーバ2に
送信し(ステップ208)、サーバ2がこれを受信する
(ステップ209)。サーバ2は、要求に対する応答を
キャッシュ装置6に送信する(ステップ210)。キャ
ッシュ装置6の応答受信部607がサーバ2から送信さ
れた要求に対応した応答を受信し(ステップ211)、
キャッシュ記憶格納部608が応答をキャッシュ記憶部
602に格納し(ステップ212)、キャッシュ管理情
報登録部609がキャッシュ記憶部602に格納した応
答と要求との対応関係をキャッシュ管理情報601に登
録し(ステップ213)、応答送信部610が応答を分
散制御装置5へ送信する(ステップ214)。
In the cache device 6, the request receiving unit 603 receives the request transmitted from the distributed control device 5 (step 206), and the cache management information search unit 604 searches the cache management information 601 (step 207). It is determined that no response corresponding to the request exists in the cache storage unit 602, and the request transmission unit 606 transmits the request to the server 2 (Step 208), and the server 2 receives this (Step 209). The server 2 sends a response to the request to the cache device 6 (Step 210). The response receiving unit 607 of the cache device 6 receives a response corresponding to the request transmitted from the server 2 (step 211),
The cache storage unit 608 stores the response in the cache storage unit 602 (step 212), and the cache management information registration unit 609 registers the correspondence between the response and the request stored in the cache storage unit 602 in the cache management information 601 ( (Step 213), the response transmitting unit 610 transmits the response to the distributed control device 5 (Step 214).

【0038】分散制御装置5は、応答受信部510がキ
ャッシュ装置6から送信された応答を受信し(ステップ
215)、応答送信部513が当該応答をクライアント
1へ送信する(ステップ216)。クライアント1は、
当該応答を受信する(ステップ217)。 [第2の実施例]本実施例では、キャッシュ装置群をn
1 台(n1 ≧2)の運用機と、n2 台(n2 ≧1)の予
備機で構成し、通常時は、n1 台の運用機を用いて運用
し、当該運用機が障害となった場合に、当該運用機を分
散管理情報から削除し、n2 台の予備機を分散管理情報
に追加登録することにより、n1 台のキャッシュ装置で
運用する例を説明する。
In the distributed control device 5, the response receiving unit 510 receives the response transmitted from the cache device 6 (step 215), and the response transmitting unit 513 transmits the response to the client 1 (step 216). Client 1
The response is received (step 217). [Second Embodiment] In this embodiment, the cache device group is set to n.
It is composed of one (n 1 ≧ 2) operation units and n 2 (n 2 ≧ 1) standby units. Normally, the operation unit is operated using n 1 operation units, and the operation unit fails. In the following, an example will be described in which the operation device is deleted from the distributed management information, and n 2 spare devices are additionally registered in the distributed management information, thereby operating the device with n 1 cache devices.

【0039】図8は、本発明の第2の実施例の分散管理
情報の構成を示す。分散キャッシュ・システムは、1台
の分散制御装置と、4台のキャッシュ装置運用機から
(A,B,C,D)と、2台のキャッシュ装置予備機
(E,F)とから構成される。障害発生前の分散管理情
報503の内容は、キャッシュ装置Aに対するハッシュ
値範囲が、「000000〜3FFFFF」、キャッシ
ュ装置Bに対応するハッシュ値範囲が「400000〜
7FFFFF」、キャッシュ装置Cに対応するハッシュ
値範囲が「800000〜BFFFFF」、キャッシュ
装置Dに対応するハッシュ値範囲が「C00000〜F
FFFFF」である。運用機Bが障害となると、分散管
理情報503から運用機Bのエントリを削除し、予備機
Fのエントリを追加し、キャッシュ装置Fに対応するハ
ッシュ値範囲を「400000〜7FFFFF」に設定
し、4台のキャッシュ装置(運用機A,C,D、及び旧
予備機F)で運用を継続する。
FIG. 8 shows the structure of the distributed management information according to the second embodiment of the present invention. The distributed cache system includes one distributed control device, four cache device operating devices (A, B, C, D) and two cache device spare devices (E, F). . The contents of the distribution management information 503 before the occurrence of the failure are such that the hash value range for the cache device A is “000000 to 3FFFFFF” and the hash value range corresponding to the cache device B is “400000 to 30000”.
7FFFFF ”, the hash value range corresponding to the cache device C is“ 800000 to BFFFFFF ”, and the hash value range corresponding to the cache device D is“ C0000 to F0000F ”.
FFFFF ". When the operation device B fails, the entry of the operation device B is deleted from the distribution management information 503, the entry of the spare device F is added, and the hash value range corresponding to the cache device F is set to "400000 to 7FFFFF". The operation is continued with the four cache devices (operating machines A, C, and D and the old spare machine F).

【0040】[第3の実施例]本実施例では、n台(n
≧2)のキャッシュ装置の1台が障害となった場合、分
散制御装置は、障害となったキャッシュ装置を分散管理
情報から削除し、障害となったキャッシュ装置に割り当
てられていたハッシュ値の範囲の残りの(n−1)台の
キャッシュ装置に分割割り当てするように分散管理情報
を再構成する例を説明する。
[Third Embodiment] In this embodiment, n units (n
If one of the cache devices of ≧ 2) fails, the distribution control device deletes the failed cache device from the distribution management information and sets the range of the hash value assigned to the failed cache device. An example in which the distributed management information is reconfigured so as to be divided and assigned to the remaining (n-1) cache devices will be described.

【0041】図9は、本発明の第3の実施例の分散管理
情報の構成を示す。分散キャッシュ・システムは、1台
の分散制御装置と、4台のキャッシュ装置(A,B,
C,D)とから構成される。障害発生前の分散管理情報
503の内容は、キャッシュ装置Aに対応するハッシュ
値範囲が「000000〜3FFFFF」、キャッシュ
装置Bに対応するハッシュ値範囲が「400000〜7
FFFFF」、キャッシュ装置Cに対応するハッシュ値
範囲が「800000〜BFFFFF」、キャッシュ装
置Dに対応するハッシュ値範囲が「C00000〜FF
FFFF」である。キャッシュ装置Bが障害となると、
分散管理情報503からキャッシュ装置Bのエントリを
削除し、キャッシュ装置Bに対応していたハッシュ値範
囲「400000〜7FFFFF」を残り3台のキャッ
シュ装置(A,C,D)に追加割り当てし、3台のキャ
ッシュ装置(A,C,D)で運用を継続する。障害発生
後の分散管理情報503の内容は、キャッシュ装置Aに
対応するハッシュ値範囲が「000000〜3FFFF
F」及び「400000〜555554」、キャッシュ
装置Cに対応するハッシュ値範囲が「800000〜B
FFFFF」及び「555555〜6AAAA9」、キ
ャッシュ装置Dに対応するハッシュ値範囲が「C000
00〜FFFFFF」及び「6AAAAA〜7FFFF
F」である。
FIG. 9 shows the structure of the distributed management information according to the third embodiment of the present invention. The distributed cache system has one distributed control device and four cache devices (A, B,
C, D). The contents of the distribution management information 503 before the failure occurs are as follows. The hash value range corresponding to the cache device A is “000000 to 3FFFFFF”, and the hash value range corresponding to the cache device B is “400000 to 7”.
FFFFF ”, the hash value range corresponding to the cache device C is“ 800000 to BFFFFF ”, and the hash value range corresponding to the cache device D is“ C0000 to FF ”.
FFFF ". If the cache device B fails,
The entry of the cache device B is deleted from the distribution management information 503, and the hash value range “400000 to 7FFFFF” corresponding to the cache device B is additionally assigned to the remaining three cache devices (A, C, D). The operation is continued with the two cache devices (A, C, D). The content of the distribution management information 503 after the occurrence of the failure indicates that the hash value range corresponding to the cache device A is “000000 to 3FFFF”.
F "and" 400000-555554 ", and the hash value range corresponding to the cache device C is" 800000-B ".
FFFFF ”and“ 555555-6AAAA9 ”, and the hash value range corresponding to the cache device D is“ C000
00-FFFFFF "and" 6AAAAA-7FFFF "
F ".

【0042】[第4の実施例]図10は、本発明の第4
の実施例の分散キャッシュ・システムの構成図である。
同図に示す分散キャッシュ・システムは、キャッシュ装
置6と分散制御装置5から構成される。分散制御装置5
は、キャッシュ管理情報501、キャッシュ記憶部50
2、分散管理情報503、要求受信部504、キャッシ
ュ管理情報検索部505、キャッシュ記憶読出部50
6、ハッシュ値算出部507、キャッシュ装置選択部5
08、要求送信部509、応答受信部510、キャッシ
ュ記憶格納部511、キャッシュ管理情報登録部51
2、及び応答送信部513から構成される。
[Fourth Embodiment] FIG. 10 shows a fourth embodiment of the present invention.
FIG. 2 is a configuration diagram of a distributed cache system according to an embodiment.
The distributed cache system shown in FIG. 1 includes a cache device 6 and a distributed control device 5. Distributed control device 5
Are the cache management information 501 and the cache storage unit 50
2, distribution management information 503, request reception unit 504, cache management information search unit 505, cache storage reading unit 50
6, hash value calculation unit 507, cache device selection unit 5
08, request transmission unit 509, response reception unit 510, cache storage unit 511, cache management information registration unit 51
2 and a response transmission unit 513.

【0043】キャッシュ装置6は、キャッシュ管理情報
601、キャッシュ記憶部602、要求受信部603、
キャッシュ管理情報検索部604、キャッシュ記憶読出
部605、要求送信部606、応答受信部607、キャ
ッシュ記憶格納部608、キャッシュ管理情報登録部6
09、及び応答送信部610から構成される。同図に示
す上記の構成は、図5に示す分散制御装置5に、キャシ
ュ管理情報501、キャッシュ記憶部502、キャッシ
ュ管理情報検索部505、キャシュ記憶読出部506、
キャッシュ記憶格納部511、キャッシュ管理情報登録
部512を設けた構成であり、分散制御装置5において
全てのキャッシュ装置6のキャッシュしている情報の一
部を把握している例である。
The cache device 6 includes cache management information 601, a cache storage unit 602, a request reception unit 603,
Cache management information search unit 604, cache storage read unit 605, request transmission unit 606, response reception unit 607, cache storage unit 608, cache management information registration unit 6
09, and a response transmission unit 610. The above-described configuration shown in FIG. 5 includes cache management information 501, a cache storage unit 502, a cache management information search unit 505, a cache storage read unit 506,
This is a configuration in which a cache storage unit 511 and a cache management information registration unit 512 are provided, and is an example in which a part of information cached in all the cache devices 6 in the distributed control device 5 is grasped.

【0044】次に、上記の構成における動作を説明す
る。最初に、分散制御装置5にクライアント1からの要
求に対応する応答が存在する場合について説明する。図
11は、本発明の第4の実施例の分散制御装置キャッシ
ュ・ヒット時のシーケンスチャートである。
Next, the operation of the above configuration will be described. First, a case where a response corresponding to a request from the client 1 exists in the distributed control device 5 will be described. FIG. 11 is a sequence chart at the time of a cache hit of the distributed control apparatus according to the fourth embodiment of this invention.

【0045】クライアント1がサーバ2に対する要求を
送信すると(ステップ301)、分散制御装置5は、要
求受信部504がクライアント1からの要求を受信し
(ステップ302)、キャッシュ管理情報検索部505
がキャッシュ管理情報501を検索して(ステップ30
3)、要求に対応した応答がキャッシュ記憶部502内
に存在することを判定し、キャッシュ記憶読出部506
が当該要求に対応した応答をキャッシュ記憶部502か
ら読み出し(ステップ304)、応答送信部513が当
該応答をクライアント1に送信する(ステップ30
5)。クライアント1は、当該応答を受信する(ステッ
プ306)。
When the client 1 sends a request to the server 2 (step 301), in the distributed control device 5, the request receiving unit 504 receives the request from the client 1 (step 302), and the cache management information searching unit 505
Searches the cache management information 501 (step 30).
3) It is determined that a response corresponding to the request exists in the cache storage unit 502, and the cache storage read unit 506 is determined.
Reads the response corresponding to the request from the cache storage unit 502 (step 304), and the response transmission unit 513 transmits the response to the client 1 (step 30).
5). The client 1 receives the response (Step 306).

【0046】次に、分散制御装置5に要求に対応する応
答がなく、キャッシュ装置6に応答が存在している場合
について説明する。図12は、本発明の第4の実施例の
分散制御装置キャッシュ・ミス、キャッシュ装置キャッ
シュ・ヒット時のシーケンスチャートである。クライア
ント1がサーバ2に対する要求を送信すると(ステップ
401)、分散制御装置5は、要求受信部504がクラ
イアント1からの要求を受信し(ステップ402)、キ
ャッシュ管理情報検索部505がキャッシュ管理情報5
01を検索して(ステップ403)、当該要求に対応し
た応答がキャッシュ記憶部502内に存在しないことを
判定し、ハッシュ値算出部507が当該要求内に記載さ
れている要求資源識別情報URLのハッシュ値を算出し
(ステップ404)、キャッシュ装置選択部508が分
散管理情報503を参照してハッシュ値に対応したキャ
ッシュ装置6を選択し(ステップ405)、要求送信部
509が選択されたキャッシュ装置6に当該要求を送信
する(ステップ406)。
Next, a case where there is no response corresponding to the request in the distributed control device 5 and there is a response in the cache device 6 will be described. FIG. 12 is a sequence chart at the time of a cache miss and a cache hit of the distributed control apparatus according to the fourth embodiment of the present invention. When the client 1 transmits a request to the server 2 (step 401), in the distributed control device 5, the request receiving unit 504 receives the request from the client 1 (step 402), and the cache management information searching unit 505 sets the cache management information 5
01 (step 403), it is determined that a response corresponding to the request does not exist in the cache storage unit 502, and the hash value calculation unit 507 determines whether the request resource identification information URL described in the request is The hash value is calculated (step 404), the cache device selection unit 508 selects the cache device 6 corresponding to the hash value with reference to the distribution management information 503 (step 405), and the request transmission unit 509 selects the selected cache device. 6 is transmitted to the request (step 406).

【0047】キャッシュ装置6は、要求受信部603が
分散制御装置5から送信された要求を受信し(ステップ
407)、キャッシュ管理情報検索部604がキャッシ
ュ管理情報601を検索して(ステップ408)、当該
要求に対応した応答がキャッシュ記憶部602内に存在
することを判定し、キャッシュ記憶読み出し部605が
当該要求に対応した応答をキャッシュ記憶部602から
読み出し(ステップ409)、応答送信部610が応答
を分散制御装置5へ送信する(ステップ410)。
In the cache device 6, the request receiving unit 603 receives the request transmitted from the distributed control device 5 (step 407), and the cache management information search unit 604 searches the cache management information 601 (step 408). It is determined that a response corresponding to the request exists in the cache storage unit 602, the cache storage reading unit 605 reads a response corresponding to the request from the cache storage unit 602 (step 409), and the response transmission unit 610 determines the response Is transmitted to the distributed control device 5 (step 410).

【0048】分散制御装置5は、応答受信部510がキ
ャッシュ装置6から送信された応答を受信し(ステップ
411)、キャッシュ記憶格納部511が応答をキャッ
シュ記憶部502に格納し(ステップ412)、キャッ
シュ管理情報登録部512がキャッシュ記憶部502に
格納した応答と当該要求との対応関係をキャッシュ管理
情報501に登録し(ステップ413)、応答送信部5
13が当該応答をクライアント1に送信する(ステップ
414)。クライアント1は、当該応答を受信する(ス
テップ415)。
In the distributed control device 5, the response receiving unit 510 receives the response transmitted from the cache device 6 (step 411), and the cache storage unit 511 stores the response in the cache storage unit 502 (step 412). The correspondence between the response stored in the cache storage unit 502 and the request is registered in the cache management information 501 by the cache management information registration unit 512 (step 413), and the response transmission unit 5
13 transmits the response to the client 1 (step 414). The client 1 receives the response (Step 415).

【0049】次に、分散制御装置5及びキャッシュ装置
6の何れにも、要求に対応する応答が存在しない場合の
例を説明する。図13、図14は、本発明の第4の実施
例の分散制御装置キャッシュ・ミス、キャッシュ装置キ
ャッシュ・ミス時のシーケンスチャートである。クライ
アント1がサーバ2に対する要求を送信すると(ステッ
プ501)、分散制御装置5は、要求受信部504がク
ライアント1からの要求を受信し(ステップ502)、
キャッシュ管理情報検索部505がキャッシュ管理情報
501を検索して(ステップ503)、当該要求に対応
した応答がキャッシュ記憶部502内に存在しないこと
を判定し、ハッシュ値算出部507が要求内に記載され
ている要求資源識別情報URLのハッシュ値を算出し
(ステップ504)、キャッシュ装置選択部508が分
散管理情報503を参照してハッシュ値に対応したキャ
ッシュ装置6を選択し(ステップ505)、要求送信部
509が選択されたキャッシュ装置6に要求を送信する
(ステップ506)。
Next, an example in which neither the distributed control device 5 nor the cache device 6 has a response corresponding to the request will be described. FIG. 13 and FIG. 14 are sequence charts at the time of a cache miss of the distributed control device and a cache miss of the cache device according to the fourth embodiment of the present invention. When the client 1 transmits a request to the server 2 (step 501), the distributed control device 5 causes the request receiving unit 504 to receive the request from the client 1 (step 502).
The cache management information search unit 505 searches the cache management information 501 (step 503), determines that the response corresponding to the request does not exist in the cache storage unit 502, and the hash value calculation unit 507 writes the response in the request. The hash value of the requested resource identification information URL is calculated (step 504), and the cache device selecting unit 508 selects the cache device 6 corresponding to the hash value by referring to the distribution management information 503 (step 505). The transmitting unit 509 transmits the request to the selected cache device 6 (Step 506).

【0050】キャッシュ装置6は、要求受信部603が
分散制御装置5から送信された要求を受信し(ステップ
507)、キャッシュ管理情報検索部604がキャッシ
ュ管理情報601を検索して(ステップ508)、当該
要求に対応した応答がキャッシュ記憶部602内に存在
しないことを判定し、要求送信部606が当該要求をサ
ーバ2へ送信し(ステップ509)、サーバ2が当該要
求を受信する(ステップ510)。サーバ2がキャッシ
ュ装置6に当該要求に対応する応答を送信する(ステッ
プ511)。
In the cache device 6, the request receiving unit 603 receives the request transmitted from the distributed control device 5 (step 507), and the cache management information search unit 604 searches the cache management information 601 (step 508). It is determined that the response corresponding to the request does not exist in the cache storage unit 602, the request transmitting unit 606 transmits the request to the server 2 (Step 509), and the server 2 receives the request (Step 510). . The server 2 transmits a response corresponding to the request to the cache device 6 (Step 511).

【0051】キャッシュ装置6は、応答受信部607が
サーバ2から送信された当該要求に対応した応答を受信
し(ステップ512)、キャッシュ記憶格納部608が
当該応答をキャッシュ記憶部602に格納し(ステップ
513)、キャッシュ管理情報登録部609がキャッシ
ュ記憶部602に格納した応答と要求との対応関係をキ
ャッシュ管理情報601に登録し(ステップ514)、
応答送信部610が当該応答を分散制御装置5へ送信す
る(ステップ515)。
In the cache device 6, the response receiving unit 607 receives the response corresponding to the request transmitted from the server 2 (step 512), and the cache storage unit 608 stores the response in the cache storage unit 602 (step 512). Step 513), the correspondence between the response and the request stored in the cache storage unit 602 by the cache management information registration unit 609 is registered in the cache management information 601 (Step 514).
The response transmitting unit 610 transmits the response to the distributed control device 5 (Step 515).

【0052】分散制御装置5は、応答受信部510がキ
ャッシュ装置6から送信された当該応答を受信し(ステ
ップ516)、キャッシュ記憶格納部511が当該応答
をキャッシュ記憶部502に格納し(ステップ51
7)、キャッシュ管理情報登録部512がキャッシュ記
憶部502に格納した応答と要求との対応関係をキャッ
シュ管理情報501に登録し(ステップ518)、応答
送信部513が応答をクライアント1に送る(ステップ
519)。クライアント1は、当該応答を受信する(ス
テップ520)。
In the distributed control device 5, the response receiving unit 510 receives the response transmitted from the cache device 6 (step 516), and the cache storage unit 511 stores the response in the cache storage unit 502 (step 51).
7) The cache management information registration unit 512 registers the correspondence between the response and the request stored in the cache storage unit 502 in the cache management information 501 (step 518), and the response transmission unit 513 sends the response to the client 1 (step 518). 519). The client 1 receives the response (Step 520).

【0053】[第5の実施例]図15は、本発明の第5
の実施例の分散キャッシュ・システムの構成を示す。同
図に示す分散キャッシュ・システムは、キャッシュ装置
6と分散制御装置5から構成される。分散制御装置5
は、キャッシュ管理情報501、キャッシュ記憶部50
2、分散管理情報503、要求受信部504、キャッシ
ュ管理情報検索部505、キャッシュ記憶読出部50
6、ハッシュ値算出部507、キャッシュ装置選択部5
08、要求送信部509、応答受信部510、キャッシ
ュ記憶格納部511、キャッシュ管理情報登録部51
2、応答送信部513及び応答破棄部514から構成さ
れる。
[Fifth Embodiment] FIG. 15 shows a fifth embodiment of the present invention.
1 shows a configuration of a distributed cache system according to an embodiment. The distributed cache system shown in FIG. 1 includes a cache device 6 and a distributed control device 5. Distributed control device 5
Are the cache management information 501 and the cache storage unit 50
2, distribution management information 503, request reception unit 504, cache management information search unit 505, cache storage reading unit 50
6, hash value calculation unit 507, cache device selection unit 5
08, request transmission unit 509, response reception unit 510, cache storage unit 511, cache management information registration unit 51
2. It comprises a response transmission unit 513 and a response discard unit 514.

【0054】キャッシュ装置6は、キャッシュ管理情報
601、キャッシュ記憶部602、要求受信部603、
キャッシュ管理情報検索部604、キャッシュ記憶読出
部605、要求送信部606、応答受信部607、キャ
ッシュ記憶格納部608、キャッス管理情報登録部60
9、及び応答送信部610から構成される。上記に示す
構成は、分散制御装置5において、図10に示した分散
制御装置5に応答破棄部514を付加した構成であり、
分散制御装置5においてキャッシュ記憶部502に要求
に対応する応答が存在した場合に、キャッシュ装置6か
ら取得した応答を破棄することを可能とした構成であ
る。
The cache device 6 includes cache management information 601, a cache storage unit 602, a request reception unit 603,
Cache management information search unit 604, cache storage reading unit 605, request transmission unit 606, response reception unit 607, cache storage storage unit 608, cache management information registration unit 60
9 and a response transmission unit 610. The configuration shown above is a configuration in which a response discarding unit 514 is added to the distributed control device 5 shown in FIG.
In the distributed control device 5, when a response corresponding to the request exists in the cache storage unit 502, the response acquired from the cache device 6 can be discarded.

【0055】次に、上記の構成による動作を説明する。
最初に、分散制御装置5において、クライアント1から
の要求に対応する応答が存在する場合について説明す
る。図16は、本発明の第5の実施例の分散制御装置キ
ャッシュ・ヒット時のシーケンスチャートである。
Next, the operation of the above configuration will be described.
First, a case where a response corresponding to a request from the client 1 exists in the distributed control device 5 will be described. FIG. 16 is a sequence chart at the time of a cache hit of the distributed control apparatus according to the fifth embodiment of the present invention.

【0056】クライアント1がサーバ2に対する要求を
送信すると(ステップ601)、分散制御装置5は、要
求受信部504がクライアント1からの要求を受信し
(ステップ602)、ハッシュ値算出部507が当該要
求内に記載されている要求資源情報URLのハッシュ値
を算出し(ステップ603)、キャッシュ装置選択部5
08が分散管理情報503を参照してハッシュ値に対応
したキャッシュ装置6を選択し(ステップ604)、要
求送信部509が選択されたキャッシュ装置6に要求を
送信し(ステップ605)、キャッシュ管理情報検索部
505がキャッシュ管理情報501を検索して(ステッ
プ606)、当該要求に対応した応答をキャッシュ記憶
部502に存在すると判定し、キャッシュ記憶読出部5
06が要求に対応した応答をキャッシュ記憶部502か
ら読み出し(ステップ607)、応答送信部513が応
答をクライアント1へ送信する(ステップ608)。ク
ライアント1は当該応答を受信する(ステップ60
9)。
When the client 1 transmits a request to the server 2 (step 601), in the distributed control device 5, the request receiving section 504 receives the request from the client 1 (step 602), and the hash value calculating section 507 sends the request to the request. (Step 603), and calculates the hash value of the requested resource information URL described in
08 selects the cache device 6 corresponding to the hash value with reference to the distribution management information 503 (step 604), and the request transmission unit 509 transmits a request to the selected cache device 6 (step 605), and the cache management information The search unit 505 searches the cache management information 501 (step 606), determines that a response corresponding to the request exists in the cache storage unit 502, and
06 reads a response corresponding to the request from the cache storage unit 502 (step 607), and the response transmission unit 513 transmits the response to the client 1 (step 608). The client 1 receives the response (step 60).
9).

【0057】キャッシュ装置6は、要求受信部603が
分散制御装置5から送信された要求を受信し(ステップ
610)、キャッシュ管理情報検索部604がキャッシ
ュ管理情報601を検索して(ステップ611)、当該
要求に対応した応答がキャッシュ記憶部602内に存在
することを判定し、キャッシュ記憶読出部605が当該
要求に対応した応答をキャッシュ記憶部602から読み
出し(ステップ612)、応答送信部610が当該応答
を分散制御装置5に送信する(ステップ613)。分散
制御装置5は、応答受信部510がキャッシュ装置6か
ら送信された応答を受信し(ステップ614)、応答破
棄部514が応答を破棄する(ステップ615)。
In the cache device 6, the request receiving unit 603 receives the request transmitted from the distributed control device 5 (step 610), and the cache management information search unit 604 searches the cache management information 601 (step 611). It is determined that a response corresponding to the request exists in the cache storage unit 602, the cache storage reading unit 605 reads a response corresponding to the request from the cache storage unit 602 (step 612), and the response transmission unit 610 determines the response. The response is transmitted to the distributed control device 5 (step 613). In the distributed control device 5, the response receiving unit 510 receives the response transmitted from the cache device 6 (Step 614), and the response discarding unit 514 discards the response (Step 615).

【0058】次に、分散制御装置5にクライアント1か
らの要求に対応する応答がなく、キャッシュ装置に応答
が存在する場合について説明する。図17は、本発明の
第5の実施例の分散制御装置キャッシュ・ミス、キャッ
シュ装置キャッシュ・ヒット時のシーケンスチャートで
ある。クライアント1がサーバ2に対する要求を送信す
ると(ステップ701)、分散制御装置5は、要求受信
部504がクライアント1からの要求を受信し(ステッ
プ702)、ハッシュ値算出部507が要求内に記載さ
れている要求資源識別情報URLのハッシュ値を算出し
(ステップ703)、キャッシュ装置選択部508が分
散管理情報503を参照してハッシュ値に対応したキャ
ッシュ装置6を選択し(ステップ704)、要求送信部
509が選択されたキャッシュ装置6に要求を送信し
(ステップ705)、キャッシュ管理情報検索部505
がキャッシュ管理情報501を検索して(ステップ70
6)、当該要求に対応した応答がキャッシュ記憶部50
2内に存在しないことを判定する。
Next, a case will be described in which the distributed control device 5 has no response corresponding to the request from the client 1 and the cache device has a response. FIG. 17 is a sequence chart at the time of a cache miss and a cache hit of the distributed control apparatus according to the fifth embodiment of the present invention. When the client 1 transmits a request to the server 2 (step 701), in the distributed control device 5, the request receiving unit 504 receives the request from the client 1 (step 702), and the hash value calculation unit 507 is described in the request. The hash value of the requested resource identification information URL is calculated (step 703), and the cache device selection unit 508 selects the cache device 6 corresponding to the hash value with reference to the distribution management information 503 (step 704), and transmits the request. The unit 509 sends a request to the selected cache device 6 (step 705), and the cache management information search unit 505
Searches the cache management information 501 (step 70).
6), a response corresponding to the request is stored in the cache storage unit 50;
2 is not present.

【0059】キャッシュ装置6は、要求受信部603が
分散制御装置5から送信された要求を受信し(ステップ
707)、キャッシュ管理情報検索部604がキャッシ
ュ管理情報601を検索して(ステップ708)、当該
要求に対応した応答がキャッシュ記憶部602内に存在
することを判定し、キャッシュ記憶読出部605が、当
該要求に対応した応答をキャッシュ記憶部602から読
み出し(ステップ709)、応答送信部610が当該応
答を分散制御装置5へ送信する(ステップ710)。
In the cache device 6, the request receiving unit 603 receives the request transmitted from the distributed control device 5 (step 707), and the cache management information search unit 604 searches the cache management information 601 (step 708). It is determined that a response corresponding to the request exists in the cache storage unit 602, the cache storage reading unit 605 reads a response corresponding to the request from the cache storage unit 602 (Step 709), and the response transmission unit 610 determines The response is transmitted to the distributed control device 5 (step 710).

【0060】分散制御装置5は、応答受信部510がキ
ャッシュ装置6から送信された当該応答を受信し(ステ
ップ711)、キャッシュ記憶格納部511が応答をキ
ャッシュ記憶部502に格納し(ステップ712)、キ
ャッシュ管理情報登録部512がキャッシュ記憶部50
2に格納した応答と当該要求との対応関係をキャッシュ
管理情報501に登録し(ステップ713)、応答送信
部513が当該応答をクライアント1に送信する(ステ
ップ714)。クライアント1は、当該応答を受信する
(ステップ715)。
In the distributed control device 5, the response receiving unit 510 receives the response transmitted from the cache device 6 (step 711), and the cache storage unit 511 stores the response in the cache storage unit 502 (step 712). , The cache management information registration unit 512
2 is registered in the cache management information 501 (step 713), and the response transmitting unit 513 transmits the response to the client 1 (step 714). The client 1 receives the response (Step 715).

【0061】次に、分散制御装置5及びキャッシュ装置
6のいずれにも、要求に対応する応答が存在していない
場合について説明する。図18、図19は、本発明の第
5の実施例の分散制御装置キャッシュ・ミス、キャッシ
ュ装置キャッシュ・ミス時のシーケンスチャートであ
る。クライアント1がサーバ2に対する要求を送信する
と(ステップ801)、分散制御装置5は、要求受信部
504がクライアント1からの要求を受信し(ステップ
802)、ハッシュ値算出部507が当該要求に記載さ
れている要求資源識別情報URLのハッシュ値を算出し
(ステップ803)、キャッシュ装置選択部508が分
散管理情報503を参照して、ハッシュ値に対応したキ
ャッシュ装置6を選択し(ステップ804)、要求送信
部509が選択されたキャッシュ装置6に当該要求を送
信し(ステップ805)、キャッシュ管理情報検索部5
05がキャッシュ管理情報501を検索して(ステップ
806)当該要求に対応した応答がキャッシュ記憶部5
02内に存在しないことを判定する。
Next, a case will be described in which neither the distributed control device 5 nor the cache device 6 has a response corresponding to the request. FIGS. 18 and 19 are sequence charts at the time of a cache miss and a cache miss in the distributed control device according to the fifth embodiment of the present invention. When the client 1 transmits a request to the server 2 (step 801), in the distributed control device 5, the request receiving unit 504 receives the request from the client 1 (step 802), and the hash value calculating unit 507 writes the request in the request. The hash value of the requested resource identification information URL is calculated (step 803), and the cache device selecting unit 508 selects the cache device 6 corresponding to the hash value with reference to the distribution management information 503 (step 804). The transmission unit 509 transmits the request to the selected cache device 6 (step 805), and the cache management information search unit 5
05 searches the cache management information 501 (step 806), and a response corresponding to the request is stored in the cache storage unit 5
02 is not present.

【0062】キャッシュ装置6は、要求受信部603が
分散制御装置5から送信された当該要求を受信し(ステ
ップ807)、キャッシュ管理情報検索部604がキャ
ッシュ管理情報601を検索して(ステップ808)、
当該要求に対応した応答がキャッシュ記憶部602内に
存在しないことを判定し、要求送信部606が当該要求
をサーバ2へ送信し(ステップ809)、サーバ2が当
該要求を受信する(ステップ810)。
In the cache device 6, the request receiving unit 603 receives the request transmitted from the distributed control device 5 (step 807), and the cache management information search unit 604 searches the cache management information 601 (step 808). ,
It is determined that the response corresponding to the request does not exist in the cache storage unit 602, the request transmitting unit 606 transmits the request to the server 2 (Step 809), and the server 2 receives the request (Step 810). .

【0063】サーバ2が当該要求に対応する応答をキャ
ッシュ装置6に送信する(ステップ811)。キャッシ
ュ装置6の応答受信部607がサーバ2から送信された
当該要求に対応した応答を受信し(ステップ812)、
キャッシュ記憶格納部608が当該応答をキャッシュ記
憶部602に格納し(ステップ813)、キャッシュ管
理情報登録部609がキャッシュ記憶部602に格納し
た応答と当該要求との対応関係をキャッシュ管理情報6
01に登録し(ステップ814)、応答送信部610が
当該応答を分散制御装置5へ送信する(ステップ81
5)。
The server 2 sends a response corresponding to the request to the cache device 6 (Step 811). The response receiving unit 607 of the cache device 6 receives the response corresponding to the request transmitted from the server 2 (Step 812),
The cache storage unit 608 stores the response in the cache storage unit 602 (step 813), and the cache management information registration unit 609 stores the correspondence between the response stored in the cache storage unit 602 and the request in the cache management information 6.
01 (step 814), and the response transmitting unit 610 transmits the response to the distributed control device 5 (step 81).
5).

【0064】分散制御装置5は、応答受信部510がキ
ャッシュ装置6から送信された応答を受信し(ステップ
816)、キャッシュ記憶格納部511が当該応答をキ
ャッシュ記憶部502に格納し(ステップ817)、キ
ャッシュ管理情報登録部512がキャッシュ記憶部50
2に格納した応答と当該要求との対応関係をキャッシュ
管理情報501に登録し(ステップ818)、応答送信
部513が当該応答をクライアント1に送信する(ステ
ップ819)。クライアント1は、当該応答を受信する
(ステップ820)。
In the distributed control device 5, the response receiving unit 510 receives the response transmitted from the cache device 6 (step 816), and the cache storage unit 511 stores the response in the cache storage unit 502 (step 817). , The cache management information registration unit 512
2 is registered in the cache management information 501 (step 818), and the response transmission unit 513 transmits the response to the client 1 (step 819). The client 1 receives the response (Step 820).

【0065】[第6の実施例]図20は、本発明の第6
の実施例の分散キャッシュ・システムの構成を示す。同
図に示す分散キャッシュ・システムは、分散制御装置5
及びキャッシュ装置6から構成される。分散制御装置5
は、分散管理情報503、要求受信部504、ハッシュ
値算出部507、キャッシュ装置選択部508、要求送
信部509とを有する。
[Sixth Embodiment] FIG. 20 shows a sixth embodiment of the present invention.
1 shows a configuration of a distributed cache system according to an embodiment. The distributed cache system shown in FIG.
And a cache device 6. Distributed control device 5
Has distribution management information 503, a request receiving unit 504, a hash value calculating unit 507, a cache device selecting unit 508, and a request transmitting unit 509.

【0066】キャッシュ装置6は、キャッシュ管理情報
601、キャッシュ記憶部602、要求受信部603、
キャッシュ管理情報検索部604、キャッシュ記憶読出
部605、要求送信部6060、応答受信部607、キ
ャッシュ記憶格納部608、キャッシュ管理情報登録部
609、及び応答送信部610とを有する。同図に示す
構成は、分散制御装置5において、図5に示す構成から
応答受信部510と応答送信部513を除いた構成であ
り、キャッシュ装置6において要求に対応する応答を分
散制御装置5を経由せずに、直接クライアント1に当該
応答を送信することを可能とした構成である。
The cache device 6 includes cache management information 601, a cache storage unit 602, a request reception unit 603,
It has a cache management information search unit 604, a cache storage read unit 605, a request transmission unit 6060, a response reception unit 607, a cache storage unit 608, a cache management information registration unit 609, and a response transmission unit 610. The configuration shown in the figure is the same as the configuration shown in FIG. 5 except that the response receiving unit 510 and the response transmitting unit 513 are removed from the configuration shown in FIG. This configuration allows the response to be transmitted directly to the client 1 without going through.

【0067】次に、上記の構成により動作を説明する。
最初に、キャッシュ装置6に要求に対応する応答が存在
している場合について説明する。図21は、本発明の第
6の実施例のキャッシュ装置キャッシュ・ヒット時のシ
ーケンスチャートである。
Next, the operation of the above configuration will be described.
First, a case where a response corresponding to a request exists in the cache device 6 will be described. FIG. 21 is a sequence chart at the time of a cache hit in the cache device according to the sixth embodiment of the present invention.

【0068】クライアント1がサーバ2に対する要求を
送信すると(ステップ901)、分散制御装置5は、要
求受信部504がクライアント1からの要求を受信し
(ステップ902)、ハッシュ値算出部507が当該要
求内に記載されている要求資源識別情報URLのハッシ
ュ値を算出し(ステップ903)、キャッシュ装置選択
部508が分散管理情報503を参照して当該ハッシュ
値に対応したキャッシュ装置6を選択し(ステップ90
4)、要求送信部509が選択されたキャッシュ装置6
に当該要求を送信する(ステップ905)。
When the client 1 sends a request to the server 2 (step 901), in the distributed control device 5, the request receiving unit 504 receives the request from the client 1 (step 902), and the hash value calculating unit 507 sends the request to the request. (Step 903), and the cache device selecting unit 508 refers to the distribution management information 503 and selects the cache device 6 corresponding to the hash value (Step 903). 90
4), the cache device 6 in which the request transmission unit 509 is selected
(Step 905).

【0069】キャッシュ装置6は、要求受信部603が
分散制御装置5から送信された当該要求を受信し(ステ
ップ906)、キャッシュ管理情報検索部604がキャ
ッシュ管理情報601を検索して(ステップ907)、
当該要求に対応した応答がキャッシュ記憶部602内に
存在することを判定し、キャッシュ記憶読出部605が
当該要求に対応した応答をキャッシュ記憶部602から
読み出し(ステップ908)、応答送信部601が応答
をクライアント1に送信する(ステップ909)。クラ
イアント1は当該応答を受信する(ステップ910)。
In the cache device 6, the request receiving unit 603 receives the request transmitted from the distributed control device 5 (step 906), and the cache management information search unit 604 searches the cache management information 601 (step 907). ,
It is determined that a response corresponding to the request exists in the cache storage unit 602, the cache storage reading unit 605 reads a response corresponding to the request from the cache storage unit 602 (step 908), and the response transmission unit 601 determines Is transmitted to the client 1 (step 909). The client 1 receives the response (Step 910).

【0070】次に、キャッシュ装置6に要求に対応する
応答が存在しない場合について説明する。図22は、本
発明の第6の実施例のキャッシュ装置キャッシュ・ミス
時のシーケンスチャートである。クライアント1がサー
バ2に対する要求を送信すると(ステップ1001)、
分散制御装置5は、要求受信部504がクライアント1
からの要求を受信し(ステップ1002)、ハッシュ値
算出部507が要求内に記載されている要求資源識別情
報URLのハッシュ値を算出し(ステップ1003)、
キャッシュ装置選択部508が分散管理情報503を参
照してハッシュ値に対応したキャッシュ装置6を選択し
(ステップ1004)、要求送信部509が選択された
キャッシュ装置6に要求を送信する(ステップ100
5)。
Next, the case where there is no response corresponding to the request in the cache device 6 will be described. FIG. 22 is a sequence chart at the time of a cache miss in the cache device according to the sixth embodiment of the present invention. When the client 1 sends a request to the server 2 (step 1001),
In the distributed control device 5, the request receiving unit 504
(Step 1002), the hash value calculation unit 507 calculates the hash value of the requested resource identification information URL described in the request (Step 1003),
The cache device selecting unit 508 selects the cache device 6 corresponding to the hash value with reference to the distribution management information 503 (Step 1004), and the request transmitting unit 509 transmits a request to the selected cache device 6 (Step 100).
5).

【0071】キャッシュ装置6は、要求受信部603が
分散制御装置5から送信された要求を受信し(ステップ
1006)、キャッシュ管理情報検索部604がキャッ
シュ管理情報601を検索して(ステップ1007)、
要求に対応したキャッシュ記憶部602内に存在しない
ことを判定し、要求送信部606が要求をサーバ2へ送
信し(ステップ1008)、サーバ2が当該要求を受信
し(ステップ1009)、当該要求に対応する応答をキ
ャッシュ装置6に返却する(ステップ1010)。
In the cache device 6, the request receiving unit 603 receives the request transmitted from the distributed control device 5 (step 1006), and the cache management information search unit 604 searches the cache management information 601 (step 1007).
It is determined that the request does not exist in the cache storage unit 602 corresponding to the request, the request transmitting unit 606 transmits the request to the server 2 (step 1008), and the server 2 receives the request (step 1009), and The corresponding response is returned to the cache device 6 (Step 1010).

【0072】キャッシュ装置6の応答受信部607がサ
ーバ2から送信された要求に対応した応答を受信し(ス
テップ1011)、キャッシュ記憶格納部608が応答
をキャッシュ記憶部602に格納し(ステップ101
2)、キャッシュ管理情報登録部609がキャッシュ記
憶部602に格納した応答と要求との対応関係をキャッ
シュ管理情報601に登録し(ステップ1013)、応
答送信部610が応答をクライアント1に送信する(ス
テップ1014)。クライアント1は応答を受信する
(ステップ1015)。
The response receiving unit 607 of the cache device 6 receives a response corresponding to the request transmitted from the server 2 (step 1011), and the cache storage unit 608 stores the response in the cache storage unit 602 (step 101).
2) The cache management information registration unit 609 registers the correspondence between the response and the request stored in the cache storage unit 602 in the cache management information 601 (step 1013), and the response transmission unit 610 transmits the response to the client 1 (step 1013). Step 1014). Client 1 receives the response (step 1015).

【0073】また、上記の実施例における分散制御装置
によって分散するキャッシュ装置を制御する方法及びキ
ャッシュ装置を制御する方法をプログラムとして構築
し、分散制御装置及びキャッシュ装置に接続されるディ
スク装置や、フロッピーディスクやCD−ROM等の可
搬記憶媒体に格納しておき、本発明を実施する場合にイ
ンストールすることにより容易に実現することが可能で
ある。
Further, a method for controlling a cache device to be distributed and a method for controlling a cache device by the distributed control device in the above embodiment are constructed as a program, and a disk device connected to the distributed control device and the cache device, a floppy disk, and the like. The present invention can be easily realized by storing the program in a portable storage medium such as a disk or a CD-ROM and installing the program when implementing the present invention.

【0074】なお、上記の実施例では、分散制御装置ま
たは、キャッシュ装置のキャッシュ・ヒット時無条件で
キャッシュ記憶部内の応答をクライアントに送信した
が、現在の一般的なキャッシュ制御方式では、キャッシ
ュされる応答毎に「新鮮期間」を管理し、キャッシュ・
ヒット時に「新鮮期間」以内であれば、キャッシュ記憶
内部の応答が最新か否かをサーバに問い合わせた後に、
最新の応答をクライアントに送信する。本発明において
も上記のような新鮮期間を設定し、同様の方式を適用す
ることが可能である。
In the above embodiment, the response in the cache storage unit is unconditionally transmitted to the client at the time of a cache hit of the distributed control device or the cache device. However, according to the current general cache control method, the cache is not cached. Manages the "fresh period" for each response
If it is within the "fresh period" at the time of the hit, after asking the server whether the response inside the cache memory is the latest,
Send the latest response to the client. Also in the present invention, it is possible to set a fresh period as described above and apply a similar method.

【0075】なお、本発明は、上記の実施例に限定され
ることなく、特許請求の範囲内で種々変更・応用が可能
である。
The present invention is not limited to the above embodiment, but can be variously modified and applied within the scope of the claims.

【0076】[0076]

【発明の効果】上述のように、本発明によれば、分散キ
ャッシュ・システムを1台の分散制御装置とn台(n≧
2)のキャッシュ装置とで構成するため、キャッシュ装
置の負荷分散が可能であり、拡張性の高いキャッシュ・
サーバを実現することが可能である。
As described above, according to the present invention, a distributed cache system is composed of one distributed controller and n distributed controllers (n ≧ n).
Since it is composed of the cache device of 2), the load of the cache device can be distributed and the cache
It is possible to realize a server.

【0077】また、n台のキャッシュ装置の1台が障害
となった場合、残りの(n−1)台で運用を継続するよ
うに構成することも、あるいは、予備機を準備して障害
となった運用機を予備機で代替することによりn台で運
用を継続するように構成することも可能であり、耐故障
性の高いキャッシュ・サーバを実現することができる。
If one of the n cache devices fails, the remaining (n-1) cache devices may be configured to continue operation, or a spare machine may be prepared to handle the failure. It is also possible to configure the system so that the operation can be continued with n units by replacing the used operation unit with a spare unit, and a cache server with high fault tolerance can be realized.

【0078】また、n台のキャッシュ装置の1台が障害
となった場合、残り(n−1)台のキャッシュ装置が保
持するキャッシュ記憶内の情報は継続して利用可能なた
め、キャッシュ装置障害によるヒット率低下を最低限に
抑えることが可能である。また、クライアントからはプ
ロキシ・サーバとして分散制御装置だけが見えているた
め、障害や保守のためにキャッシュ装置の台数が減少し
たり、運用機が予備機と交換されたり、あるいは性能向
上のためにキャッシュ装置の台数が増加しても、クライ
アント・アプリケーションの設定変更が不要である。
Further, if one of the n cache devices fails, the information in the cache storage held by the remaining (n-1) cache devices can be continuously used. It is possible to minimize the decrease in the hit rate due to Also, since only the distributed control device can be seen from the client as a proxy server, the number of cache devices decreases due to failure or maintenance, the operating device is replaced with a spare device, or the performance is improved. Even if the number of cache devices increases, it is not necessary to change the settings of the client application.

【0079】また、n台のキャッシュ装置への負荷の分
散を、URL等の要求資源識別情報から算出したハッシ
ュ値を用いて行うため、負荷が均等に分散され、各キャ
ッシュ装置の負荷状況の監視及び要求とキャッシュ装置
との対応関係の再割り当てが不要である。また、分散制
御装置に1次キャッシュ記憶を設置し、アクセス頻度の
高い情報やキャッシュ期間の短い情報を保持することに
より、クライアントのレスポンス時間を更に改善するこ
とが可能である。
Further, since the load distribution to the n cache devices is performed using the hash value calculated from the requested resource identification information such as the URL, the load is evenly distributed, and the monitoring of the load status of each cache device is performed. Further, it is not necessary to reassign the correspondence between the request and the cache device. Further, by installing a primary cache memory in the distributed control device and holding information with a high access frequency or information with a short cache period, the response time of the client can be further improved.

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

【図1】本発明の原理を説明するための図である。FIG. 1 is a diagram for explaining the principle of the present invention.

【図2】本発明の原理構成図である。FIG. 2 is a principle configuration diagram of the present invention.

【図3】本発明が適用されるシステム構成図である。FIG. 3 is a system configuration diagram to which the present invention is applied.

【図4】本発明が適用される分散キャッシュ・システム
の構成図である。
FIG. 4 is a configuration diagram of a distributed cache system to which the present invention is applied.

【図5】本発明の第1の実施例の分散キャッシュ・シス
テムの構成図である。
FIG. 5 is a configuration diagram of a distributed cache system according to the first embodiment of this invention.

【図6】本発明の第1の実施例のキャッシュ装置のキャ
ッシュ記憶部内に要求に対応した場合の応答が存在する
場合のシーケンスチャートである。
FIG. 6 is a sequence chart in a case where a response corresponding to a request exists in the cache storage unit of the cache device according to the first embodiment of this invention.

【図7】本発明の第1の実施例のキャッシュ装置のキャ
ッシュ記憶部内に要求に対応した応答が存在する場合の
シーケンスチャートである。
FIG. 7 is a sequence chart in the case where a response corresponding to a request exists in the cache storage unit of the cache device according to the first embodiment of this invention.

【図8】本発明の第2の実施例の分散管理情報の構成図
である。
FIG. 8 is a configuration diagram of distributed management information according to the second embodiment of this invention.

【図9】本発明の第3の実施例の分散管理情報の構成図
である。
FIG. 9 is a configuration diagram of distributed management information according to a third embodiment of this invention.

【図10】本発明の第4の実施例の分散キャッシュ・シ
ステムの構成図である。
FIG. 10 is a configuration diagram of a distributed cache system according to a fourth embodiment of the present invention.

【図11】本発明の第4の実施例の分散制御装置キャッ
シュ・ヒット時のシーケンスチャートである。
FIG. 11 is a sequence chart at the time of a cache hit of the distributed control apparatus according to the fourth embodiment of the present invention.

【図12】本発明の第4の実施例の分散制御装置キャッ
シュ・ミス、キャッシュ装置キャッシュ・ヒット時のシ
ーケンスチャートである。
FIG. 12 is a sequence chart for a distributed control device cache miss and a cache device cache hit according to the fourth embodiment of this invention.

【図13】本発明の第4の実施例の分散制御装置キャッ
シュ・ミス、キャッシュ装置キャッシュ・ミス時にシー
ケンスチャート(その1)である。
FIG. 13 is a sequence chart (No. 1) at the time of a distributed control device cache miss and a cache device cache miss according to the fourth embodiment of this invention.

【図14】本発明の第4の実施例の分散制御装置キャッ
シュ・ミス、キャッシュ装置キャッシュ・ミス時にシー
ケンスチャート(その2)である。
FIG. 14 is a sequence chart (No. 2) at the time of a distributed control device cache miss and a cache device cache miss according to the fourth embodiment of this invention.

【図15】本発明の第5の実施例の分散キャッシュ・シ
ステムの構成図である。
FIG. 15 is a configuration diagram of a distributed cache system according to a fifth embodiment of the present invention.

【図16】本発明の第5の実施例の分散制御装置キャッ
シュ・ヒット時のシーケンスチャートである。
FIG. 16 is a sequence chart at the time of a cache hit of the distributed control apparatus according to the fifth embodiment of the present invention.

【図17】本発明の第5の実施例の分散制御装置キャッ
シュ・ミス、キャッシュ装置キャッシュ・ヒット時のシ
ーケンスチャートである。
FIG. 17 is a sequence chart for a distributed control device cache miss and a cache device cache hit according to the fifth embodiment of the present invention.

【図18】本発明の第5の実施例の分散制御装置キャッ
シュ・ミス、キャッシュ装置キャッシュ・ミス時のシー
ケンスチャート(その1)である。
FIG. 18 is a sequence chart (No. 1) of a distributed control device cache miss and a cache device cache miss according to the fifth embodiment of the present invention.

【図19】本発明の第5の実施例の分散制御装置キャッ
シュ・ミス、キャッシュ装置キャッシュ・ミス時のシー
ケンスチャート(その2)である。
FIG. 19 is a sequence chart (part 2) of the distributed control device cache miss and the cache device cache miss according to the fifth embodiment of the present invention.

【図20】本発明の第6の実施例の分散キャッシュ・シ
ステムの構成図である。
FIG. 20 is a configuration diagram of a distributed cache system according to a sixth embodiment of the present invention.

【図21】本発明の第6の実施例のキャッシュ装置キャ
ッシュ・ヒット時のシーケンスチャートである。
FIG. 21 is a sequence chart at the time of a cache hit in the cache device according to the sixth embodiment of the present invention.

【図22】本発明の第6の実施例のキャッシュ装置キャ
ッシュ・ミス時のシーケンスチャートである。
FIG. 22 is a sequence chart at the time of a cache miss in the cache device according to the sixth embodiment of the present invention.

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

1 クライアント 2 サーバ 3 分散キャッシュシステム 4 インターネット 5 分散制御装置 6 キャッシュ装置 501 キャッシュ管理情報 502 キャッシュ記憶部 503 分散管理情報 504 要求受信部、要求受信手段 505 キャッシュ管理情報検索部 506 キャッシュ記憶読出部 507 ハッシュ値算出部、ハッシュ算出手段 508 キャッシュ装置選択部、キャッシュ装置選択手
段 509 要求送信部、要求送信手段 510 応答受信部、応答受信手段 511 キャッシュ記憶格納部 512 キャッシュ管理情報登録部 513 応答送信部、応答送信手段 514 応答破棄部 601 キャッシュ管理情報 602 キャッシュ記憶部、キャッシュ記憶手段 603 要求受信部、要求受信手段 604 キャッシュ管理情報検索部 605 キャッシュ記憶読出部、応答読出手段 606 要求送信部、要求送信手段 607 応答受信部、サーバ応答受信手段 608 キャッシュ記憶格納部、格納手段 609 キャッシュ管理情報登録部、登録手段 610 応答送信部、応答送信手段 611 判定手段
Reference Signs List 1 client 2 server 3 distributed cache system 4 Internet 5 distribution control device 6 cache device 501 cache management information 502 cache storage unit 503 distribution management information 504 request reception unit, request reception unit 505 cache management information search unit 506 cache storage read unit 507 hash Value calculation unit, hash calculation unit 508 cache device selection unit, cache device selection unit 509 request transmission unit, request transmission unit 510 response reception unit, response reception unit 511 cache storage unit 512 cache management information registration unit 513 response transmission unit, response Transmission unit 514 Response discard unit 601 Cache management information 602 Cache storage unit, cache storage unit 603 Request reception unit, request reception unit 604 Cache management information search unit 605 Cache Queue storage readout unit, response readout unit 606 request transmission unit, request transmission unit 607 response reception unit, server response reception unit 608 cache storage storage unit, storage unit 609 cache management information registration unit, registration unit 610 response transmission unit, response transmission unit 611 determination means

─────────────────────────────────────────────────────
────────────────────────────────────────────────── ───

【手続補正書】[Procedure amendment]

【提出日】平成10年2月6日[Submission date] February 6, 1998

【手続補正1】[Procedure amendment 1]

【補正対象書類名】図面[Document name to be amended] Drawing

【補正対象項目名】図2[Correction target item name] Figure 2

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【図2】 FIG. 2

Claims (17)

【特許請求の範囲】[Claims] 【請求項1】 1台の分散制御装置によってn台のキャ
ッシュ装置を制御する分散キャッシュ制御方法におい
て、 前記分散制御装置は、 クライアントからの要求を受け取り、 前記要求内に記載されている要求資源識別情報のハッシ
ュ値を算出し、 分散管理情報を用いて、前記ハッシュ値に対応した前記
キャッシュ装置を選択し、 選択された前記キャッシュ装置へ前記要求を送信し、 前記キャッシュ装置から受信した応答を前記クライアン
トに送信することを特徴とする分散キャッシュ制御方
法。
1. A distributed cache control method for controlling n cache devices by one distributed control device, wherein the distributed control device receives a request from a client, and identifies a request resource described in the request. Calculating a hash value of the information, using the distribution management information, selecting the cache device corresponding to the hash value, transmitting the request to the selected cache device, and transmitting a response received from the cache device to the cache device. A distributed cache control method, wherein the method is transmitted to a client.
【請求項2】 前記キャッシュ装置は、 前記分散制御装置を介して前記クライアントから受信し
た前記要求を用いてキャッシュ管理情報を参照し、 前記要求に対応した応答がキャッシュ記憶手段内に存在
すれば、該当の応答を前記分散制御装置に送信し、 前記要求に対応した応答が前記キャッシュ記憶手段内に
存在しなければ、サーバへ前記要求を送信し、 前記サーバから受信した前記要求に対応した応答を前記
キャッシュ記憶手段に格納し、 前記応答を前記分散制御装置に送信し、 前記分散制御装置が前記キャッシュ装置から受信した応
答を前記クライアントに送信する請求項1記載の分散キ
ャッシュ制御方法。
2. The cache device refers to cache management information using the request received from the client via the distributed control device, and if a response corresponding to the request exists in a cache storage unit, Transmitting a corresponding response to the distributed control device; if a response corresponding to the request does not exist in the cache storage unit, transmitting the request to a server; and transmitting a response corresponding to the request received from the server. 2. The distributed cache control method according to claim 1, wherein the response is stored in the cache storage unit, the response is transmitted to the distributed control device, and the response received from the cache device by the distributed control device is transmitted to the client.
【請求項3】 前記n台のキャッシュ装置を、n1
(n1 ≧2)の運用機とn2 台(n2 ≧1)の予備機で
構成し、 通常は、前記n1 台の運用機を用いて運用し、 前記n1 台の運用機の1台が障害となった場合、前記分
散制御装置は、前記障害となった該運用機を前記分散管
理情報から削除し、 前記n2 台の予備機の1台を前記分散管理情報に追加す
ることにより、n1 台のキャッシュ装置で運用を継続す
る請求項1または2記載の分散キャッシュ制御方法。
The method according to claim 3, wherein the n-number of the cache device, n one (n 1 ≧ 2) Operation unit and n 2 units composed of (n 2 ≧ 1) spare machine, usually, the n single When the operation is performed using an operation device and one of the n 1 operation devices fails, the distributed control device deletes the failed operation device from the distributed management information. by adding one of the two spare machine in the distributed management information, distributed cache control method according to claim 1 or 2 wherein continue to operate at n 1 single cache device.
【請求項4】 n台(n≧2)のキャッシュ装置の1台
が障害となった場合、前記分散制御装置は、前記障害と
なったキャッシュ装置を前記分散管理情報から削除し、 前記障害となったキャッシュ装置に割り当てられていた
ハッシュ値の範囲を残りの(n−1)台のキャッシュ装
置に分割割り当てするように前記分散管理情報を再構成
することにより、前記(n−1)台のキャッシュ装置で
運用を継続する請求項1または2記載の分散キャッシュ
制御方法。
4. When one of n (n ≧ 2) cache devices has failed, the distributed control device deletes the failed cache device from the distribution management information, and By reconfiguring the distribution management information so that the range of the hash value assigned to the changed cache device is divided and assigned to the remaining (n-1) cache devices, the (n-1) 3. The distributed cache control method according to claim 1, wherein the operation is continued in the cache device.
【請求項5】 前記分散制御装置は、 前記クライアントからの要求を用いて分散制御装置キャ
ッシュ管理情報を参照し、 前記要求に対応した応答が分散制御装置キャッシュ記憶
手段内に存在すれば、該当する応答を前記クライアント
に送信し、 前記要求に対応した応答が前記分散制御装置キャッシュ
記憶手段内に存在しなければ、該要求内に記載されてい
る要求資源識別情報のハッシュ値を算出し、 前記分散管理情報を用いて前記ハッシュ値に対応した前
記キャッシュ装置を選択し、 選択された前記キャッシュ装置への前記要求を送信し、 前記キャッシュ装置から受信した前記要求に対応した応
答を前記分散制御装置キャッシュ記憶手段に格納し、 前記応答を前記分散制御装置キャッシュ管理情報に登録
し、 前記応答を前記クライアントに送信する請求項1乃至4
記載の分散キャッシュ制御方法。
5. The distributed control device refers to the distributed control device cache management information using a request from the client, and if a response corresponding to the request exists in the distributed control device cache storage unit, Transmitting a response to the client; if a response corresponding to the request does not exist in the distributed control device cache storage unit, calculating a hash value of the requested resource identification information described in the request; Selecting the cache device corresponding to the hash value using management information; transmitting the request to the selected cache device; and transmitting a response corresponding to the request received from the cache device to the distributed control device cache. Storing the response in the distributed control device cache management information; and storing the response in the client. Claim transmits 1 to 4
The distributed cache control method as described above.
【請求項6】 前記分散制御装置は、 前記クライアントからの要求内に記載されている要求資
源識別情報のハッシュ値を算出し、 前記分散管理情報を用いて、前記ハッシュ値に対応した
前記キャッシュ装置を選択し、 選択された前記キャッシュ装置へ前記要求を送信し、 前記要求を用いて分散制御装置キャッシュ管理情報を参
照し、 前記要求に対応した応答が分散制御装置キャッシュ記憶
手段内に存在すれば、該当の応答を前記クライアントに
送信し、 前記キャッシュ装置から受信した応答を破棄し、 前記要求に対応した応答が前記分散制御装置キャッシュ
記憶手段内に存在しなければ、前記キャッシュ装置から
受信した前記要求に対応した応答を該分散制御装置キャ
ッシュ記憶手段に格納し、 前記応答を前記分散制御装置キャッシュ管理情報に登録
し、 前記応答を前記クライアントに送信する請求項1乃至4
記載の分散キャッシュ制御方法。
6. The distribution control device calculates a hash value of requested resource identification information described in a request from the client, and uses the distribution management information to set the cache device corresponding to the hash value. And sends the request to the selected cache device, refers to the distributed control device cache management information using the request, and if a response corresponding to the request exists in the distributed control device cache storage unit. Transmitting the corresponding response to the client, discarding the response received from the cache device, and if the response corresponding to the request does not exist in the distributed control device cache storage unit, the response received from the cache device. A response corresponding to the request is stored in the distributed control device cache storage means, and the response is stored in the distributed control device cache memory. Registered in the information, it claims 1 to 4 for transmitting the response to the client
The distributed cache control method as described above.
【請求項7】 前記キャッシュ装置は、 前記分散制御装置から受信した前記要求を用いてキャッ
シュ管理情報を参照し、 前記要求に対応した応答が前記キャッシュ記憶手段内に
存在すれば、該当する応答を直接前記クライアントに送
信し、 前記要求に対応した応答が前記キャッシュ記憶手段に存
在しなければ、前記サーバへ前記要求を送信し、 前記サーバから受信した前記要求に対応した応答を前記
キャッシュ記憶手段に格納し、 前記応答を前記キャッシュ管理情報に登録し、 直接前記応答を前記クライアントに送信する請求項1乃
至4記載の分散キャッシュ制御方法。
7. The cache device refers to cache management information using the request received from the distributed control device. If a response corresponding to the request exists in the cache storage unit, the cache device determines the corresponding response. If the response corresponding to the request is transmitted directly to the client and the response corresponding to the request does not exist in the cache storage unit, the request is transmitted to the server, and the response corresponding to the request received from the server is stored in the cache storage unit. 5. The distributed cache control method according to claim 1, wherein the response is stored, the response is registered in the cache management information, and the response is directly transmitted to the client.
【請求項8】 n台のキャッシュ装置を制御する1台の
分散制御装置であって、 前記分散制御装置は、 クライアントから要求を受信する要求受信手段と、 前記クライアントから受信した前記要求内に記載されて
いる要求資源識別情報のハッシュ値を算出するハッシュ
算出手段と、 分散管理情報を参照して前記ハッシュ値に対応したキャ
ッシュ装置を選択するキャッシュ装置選択手段と、 選択されたキャッシュ装置に前記要求を送信する要求送
信手段と、 前記要求に対応した応答を前記キャッシュ装置から受信
する応答受信手段と、 前記応答を前記クライアントに送信する応答送信手段と
を有することを特徴とする分散制御装置。
8. A distributed control device for controlling n cache devices, wherein the distributed control device includes: a request receiving unit that receives a request from a client; and a request receiving unit that receives a request from the client. Hash calculation means for calculating a hash value of the requested resource identification information, cache device selection means for selecting a cache device corresponding to the hash value with reference to distribution management information, and requesting the selected cache device for the request. And a response transmitting means for transmitting a response corresponding to the request from the cache device, and a response transmitting means for transmitting the response to the client.
【請求項9】 1台の分散制御装置とn台のキャッシュ
装置からなる分散キャッシュシステムであって、 前記分散制御装置は、 クライアントから要求を受信するクライアント要求受信
手段と、 前記クライアントから受信した前記要求内に記載されて
いる要求資源識別情報のハッシュ値を算出するハッシュ
算出手段と、 分散管理情報を参照して前記ハッシュ値に対応したキャ
ッシュ装置を選択するキャッシュ装置選択手段と、 選択されたキャッシュ装置に前記要求を送信する要求送
信手段と、 前記要求に対応した応答を前記キャッシュ装置から受信
する応答受信手段と、 前記応答を前記クライアントに送信する応答送信手段と
を有し、 前記キャッシュ装置は、 要求を前記分散制御装置から受信する要求受信手段と、 キャッシュ管理情報を検索して前記要求に対応した応答
がキャッシュ記憶手段内に存在するか否かを判定する判
定手段と、 前記キャッシュ記憶手段内の応答を読み出す応答読出手
段と、 サーバへ前記要求を送信する要求送信手段と、 前記サーバから前記要求に対応した応答を受信するサー
バ応答受信手段と、 前記応答を前記キャッシュ記憶手段に格納する格納手段
と、 前記応答と前記要求との対応関係を前記キャッシュ管理
情報に登録する登録手段と、 前記応答を前記分散制御装置に送信する応答送信手段と
を有することを特徴とする分散キャッシュシステム。
9. A distributed cache system comprising one distributed control device and n cache devices, wherein the distributed control device comprises: a client request receiving means for receiving a request from a client; Hash calculation means for calculating a hash value of the requested resource identification information described in the request; cache device selection means for selecting a cache device corresponding to the hash value by referring to distribution management information; Request transmitting means for transmitting the request to the device; response receiving means for receiving a response corresponding to the request from the cache device; and response transmitting means for transmitting the response to the client. Request receiving means for receiving a request from the distributed control device; Determining means for determining whether a response corresponding to the request exists in the cache storage means, response reading means for reading the response in the cache storage means, and request transmission for transmitting the request to a server Means, server response receiving means for receiving a response corresponding to the request from the server, storage means for storing the response in the cache storage means, and a correspondence relationship between the response and the request in the cache management information. A distributed cache system comprising: registration means for registering; and response transmission means for transmitting the response to the distributed control device.
【請求項10】 1台の分散制御装置とn台のキャッシ
ュ装置からなる分散キャッシュシステムであって、 前記分散制御装置は、 前記クライアントからの要求を用いて分散制御装置キャ
ッシュ管理情報を参照する参照手段と、 前記参照手段において、前記要求に対応した応答が分散
制御装置キャッシュ記憶手段内に存在すれば、該当する
応答を前記クライアントに送信する応答送信手段と、 前記要求に対応した応答が前記分散制御装置キャッシュ
記憶手段内に存在しなければ、該要求内に記載されてい
る要求資源識別情報のハッシュ値を算出するハッシュ値
算出手段と、 前記分散管理情報を用いて前記ハッシュ値に対応した前
記キャッシュ装置を選択する選択手段と、 選択された前記キャッシュ装置へ前記要求を送信する要
求送信手段と、 前記キャッシュ装置から受信した前記要求に対応した応
答を前記分散制御装置キャッシュ記憶手段に格納する格
納手段と、 前記応答を前記分散制御装置キャッシュ管理情報に登録
する登録手段と、 前記応答を前記クライアントに送信する応答送信手段と
を有することを特徴とする分散キャッシュシステム。
10. A distributed cache system comprising one distributed control device and n cache devices, wherein the distributed control device refers to distributed control device cache management information using a request from the client. Means, if the response corresponding to the request is present in the distributed control device cache storage means, the response transmitting means for transmitting the corresponding response to the client; and the response corresponding to the request is the distributed If it does not exist in the control device cache storage unit, a hash value calculation unit that calculates a hash value of the requested resource identification information described in the request, and the hash value corresponding to the hash value using the distribution management information Selecting means for selecting a cache device; request transmitting means for transmitting the request to the selected cache device; A storage unit for storing a response corresponding to the request received from the cache device in the distributed control device cache storage unit; a registration unit for registering the response in the distributed control device cache management information; and transmitting the response to the client. A distributed cache system comprising: a response transmitting unit that transmits a response.
【請求項11】 1台の分散制御装置とn台のキャッシ
ュ装置からなる分散キャッシュシステムであって、 前記分散制御装置は、 前記クライアントからの要求内に記載されている要求資
源識別情報のハッシュ値を算出するハッシュ値算出手段
と、 前記分散管理情報を用いて、前記ハッシュ値に対応した
前記キャッシュ装置を選択する選択手段と、 選択された前記キャッシュ装置へ前記要求を送信する要
求送信手段と、 前記要求を用いて分散制御装置キャッシュ管理情報を参
照し、前記要求に対応した応答が分散制御装置キャッシ
ュ記憶手段内に存在すれば、該当の応答を前記クライア
ントに送信する第1の応答送信手段と、 前記キャッシュ装置から受信した応答を破棄する応答破
棄手段と、 前記要求に対応した応答が前記分散制御装置キャッシュ
記憶手段内に存在しなければ、前記キャッシュ装置から
受信した前記要求に対応した応答を該分散制御装置キャ
ッシュ記憶手段に格納する格納手段と、 前記応答を前記分散制御装置キャッシュ管理情報に登録
する登録手段と、 前記応答を前記クライアントに送信する第2の応答送信
手段を有することを特徴とする分散キャッシュシステ
ム。
11. A distributed cache system comprising one distributed control device and n cache devices, wherein the distributed control device has a hash value of requested resource identification information described in a request from the client. A hash value calculation unit that calculates the hash value, a selection unit that selects the cache device corresponding to the hash value, and a request transmission unit that transmits the request to the selected cache device. A first response transmission unit for referring to the distributed control device cache management information using the request and transmitting a corresponding response to the client if a response corresponding to the request exists in the distributed control device cache storage unit; A response discarding unit that discards a response received from the cache device; and a response corresponding to the request is the distributed control device key. If it does not exist in the cache storage unit, a storage unit that stores a response corresponding to the request received from the cache device in the distributed control device cache storage unit; and registers the response in the distributed control device cache management information. A distributed cache system comprising: a registration unit; and a second response transmission unit that transmits the response to the client.
【請求項12】 1台の分散制御装置とn台のキャッシ
ュ装置からなる分散キャッシュシステムであって、 前記キャッシュ装置は、 前記分散制御装置から受信した前記要求を用いてキャッ
シュ管理情報を参照し、前記要求に対応した応答が前記
キャッシュ記憶手段内に存在すれば、該当する応答を直
接前記クライアントに送信する第1の応答送信手段と、 前記要求に対応した応答が前記キャッシュ記憶手段に存
在しなければ、前記サーバへ前記要求を送信する第2の
応答送信手段と、 前記サーバから受信した前記要求に対応した応答を前記
キャッシュ記憶手段に格納する格納手段と、 前記応答を前記キャッシュ管理情報に登録する登録手段
と、 直接前記応答を前記クライアントに送信する第3の応答
送信手段とを有することを特徴とする分散キャッシュシ
ステム。
12. A distributed cache system comprising one distributed control device and n cache devices, wherein the cache device refers to cache management information using the request received from the distributed control device, If a response corresponding to the request exists in the cache storage unit, a first response transmission unit that directly transmits the corresponding response to the client; and a response corresponding to the request must exist in the cache storage unit. For example, a second response transmission unit that transmits the request to the server, a storage unit that stores a response corresponding to the request received from the server in the cache storage unit, and registers the response in the cache management information. And a third response transmitting means for directly transmitting the response to the client. Scatter cache system.
【請求項13】 n台のキャッシュ装置を制御する1台
の分散制御装置に搭載される分散キャッシュ制御プログ
ラムを格納した記憶媒体であって、 クライアントから要求を受信させる要求受信プロセス
と、 前記要求受信プロセスにより前記クライアントから受信
した前記要求内に記載されている要求資源識別情報のハ
ッシュ値を算出するハッシュ算出プロセスと、 分散管理情報を参照して前記ハッシュ値に対応したキャ
ッシュ装置を選択するキャッシュ装置選択プロセスと、 前記要求に対応した応答を前記キャッシュ装置から受信
させる応答受信プロセスと、 前記応答を前記クライアントに送信させる応答送信プロ
セスとを有することを特徴とする分散キャッシュ制御プ
ログラムを格納した記憶媒体。
13. A storage medium storing a distributed cache control program mounted on one distributed control device for controlling n cache devices, a request receiving process for receiving a request from a client, and the request receiving process. A hash calculation process for calculating a hash value of request resource identification information described in the request received from the client by a process, and a cache device for selecting a cache device corresponding to the hash value by referring to distribution management information A storage medium storing a distributed cache control program, comprising: a selection process; a response reception process for receiving a response corresponding to the request from the cache device; and a response transmission process for transmitting the response to the client. .
【請求項14】 1台の分散制御装置とn台のキャッシ
ュ装置からなる分散キャッシュシステムにおける分散キ
ャッシュ制御プログラムを格納した記憶媒体であって、 前記分散制御装置に搭載される、 クライアントから要求を受信させるクライアント要求受
信プロセスと、 前記クライアントから受信した前記要求内に記載されて
いる要求資源識別情報のハッシュ値を算出するハッシュ
算出プロセスと、 分散管理情報を参照して前記ハッシュ値に対応したキャ
ッシュ装置を選択するキャッシュ装置選択プロセスと、 前記要求に対応した応答を前記キャッシュ装置から受信
させる応答受信プロセスと、 前記応答を前記クライアントに送信させる応答送信プロ
セスとを有し、 前記キャッシュ装置に搭載される、 要求を前記分散制御装置から受信させる要求受信プロセ
スと、 キャッシュ管理情報を検索して前記要求に対応した応答
がキャッシュ記憶手段内に存在するか否かを判定する判
定プロセスと、 前記キャッシュ記憶手段内の応答を読み出す応答読出プ
ロセスと、 サーバへ前記要求を送信させる要求送信プロセスと、 前記サーバから前記要求に対応した応答を受信させるサ
ーバ応答受信プロセスと、 前記応答を前記キャッシュ記憶手段に格納する格納プロ
セスと、 前記応答と前記要求との対応関係を前記キャッシュ管理
情報に登録する登録プロセスと、 前記応答を前記分散制御装置に送信させる応答送信プロ
セスとを有することを特徴とする分散キャッシュ制御プ
ログラムを格納した記憶媒体。
14. A storage medium storing a distributed cache control program in a distributed cache system comprising one distributed control device and n cache devices, wherein a request is received from a client mounted on the distributed control device. A client request receiving process, a hash calculation process for calculating a hash value of request resource identification information described in the request received from the client, and a cache device corresponding to the hash value with reference to distribution management information And a response transmitting process for transmitting the response to the client, the response receiving process for receiving a response corresponding to the request from the cache device, and a response transmitting process for transmitting the response to the client. Receiving a request from the distributed controller A request receiving process for determining whether a response corresponding to the request is present in the cache storage unit by searching cache management information, and a response reading process for reading a response in the cache storage unit. A request transmitting process for transmitting the request to the server; a server response receiving process for receiving a response corresponding to the request from the server; a storing process for storing the response in the cache storage unit; the response and the request A storage medium storing a distributed cache control program, comprising: a registration process of registering a correspondence between the distributed cache device and the cache management information; and a response transmission process of transmitting the response to the distributed control device.
【請求項15】 1台の分散制御装置とn台のキャッシ
ュ装置からなる分散キャッシュシステムにおける分散キ
ャッシュ制御プログラムを格納した記憶媒体であって、 前記分散制御装置に搭載される、 前記クライアントからの要求を用いて分散制御装置キャ
ッシュ管理情報を参照する参照プロセスと、 前記参照プロセスにおいて、前記要求に対応した応答が
分散制御装置キャッシュ記憶手段内に存在すれば、該当
する応答を前記クライアントに送信させる応答送信プロ
セスと、 前記要求に対応した応答が前記分散制御装置キャッシュ
記憶手段内に存在しなければ、該要求内に記載されてい
る要求資源識別情報のハッシュ値を算出するハッシュ値
算出プロセスと、 前記分散管理情報を用いて前記ハッシュ値に対応した前
記キャッシュ装置を選択する選択プロセスと、 選択された前記キャッシュ装置への前記要求を送信させ
る要求送信プロセスと、 前記キャッシュ装置から受信した前記要求に対応した応
答を前記分散制御装置キャッシュ記憶手段に格納する格
納プロセスと、 前記応答を前記分散制御装置キャッシュ管理情報に登録
する登録プロセスと、 前記応答を前記クライアントに送信させる応答送信プロ
セスとを有することを特徴とする分散キャッシュ制御プ
ログラムを格納した記憶媒体。
15. A storage medium storing a distributed cache control program in a distributed cache system comprising one distributed control device and n cache devices, wherein the request from the client is mounted on the distributed control device. A reference process for referring to the distributed control device cache management information by using: a response for transmitting the corresponding response to the client if a response corresponding to the request exists in the distributed control device cache storage unit in the reference process. A transmission process, and if a response corresponding to the request does not exist in the distributed control device cache storage unit, a hash value calculation process of calculating a hash value of the requested resource identification information described in the request; The cache device corresponding to the hash value is selected using the distribution management information. A requesting process for transmitting the request to the selected cache device; a storing process for storing a response corresponding to the request received from the cache device in the distributed control device cache storage unit; A storage medium storing a distributed cache control program, comprising: a registration process for registering the response in the distributed control device cache management information; and a response transmission process for transmitting the response to the client.
【請求項16】 1台の分散制御装置とn台のキャッシ
ュ装置からなる分散キャッシュシステムにおける分散キ
ャッシュ制御プログラムを格納した記憶媒体であって、 前記分散制御装置に搭載される、 前記クライアントからの要求内に記載されている要求資
源識別情報のハッシュ値を算出するハッシュ値算出プロ
セスと、 前記分散管理情報を用いて、前記ハッシュ値に対応した
前記キャッシュ装置を選択する選択プロセスと、 選択された前記キャッシュ装置へ前記要求を送信させる
要求送信プロセスと、 前記要求を用いて分散制御装置キャッシュ管理情報を参
照し、前記要求に対応した応答が分散制御装置キャッシ
ュ記憶手段内に存在すれば、該当の応答を前記クライア
ントに送信させる第1の応答送信プロセスと、 前記キャッシュ装置から受信した応答を破棄する応答破
棄プロセスと、 前記要求に対応した応答が前記分散制御装置キャッシュ
記憶手段内に存在しなければ、前記キャッシュ装置から
受信した前記要求に対応した応答を該分散制御装置キャ
ッシュ記憶手段に格納する格納プロセスと、 前記応答を前記分散制御装置キャッシュ管理情報に登録
する登録プロセスと、 前記応答を前記クライアントに直接送信させる第2の応
答送信プロセスを有することを特徴とする分散キャッシ
ュ制御プログラムを格納した記憶媒体。
16. A storage medium storing a distributed cache control program in a distributed cache system comprising one distributed control device and n cache devices, wherein the request from the client is mounted on the distributed control device. A hash value calculation process of calculating a hash value of the requested resource identification information described in, a selection process of selecting the cache device corresponding to the hash value using the distribution management information, A request transmitting process for transmitting the request to the cache device, and referring to the distributed control device cache management information using the request, and if a response corresponding to the request exists in the distributed control device cache storage unit, the corresponding response A first response transmission process for causing the client to transmit A response discarding process for discarding a response received from the distributed control device, if a response corresponding to the request does not exist in the distributed control device cache storage unit, a response corresponding to the request received from the cache device is transmitted to the distributed control device. A distribution process for storing the response in the cache storage unit; a registration process for registering the response in the distributed control device cache management information; and a second response transmission process for directly transmitting the response to the client. A storage medium storing a cache control program.
【請求項17】 1台の分散制御装置とn台のキャッシ
ュ装置からなる分散キャッシュシステムにおける分散キ
ャッシュ制御プログラムを格納した記憶媒体であって、 前記キャッシュ装置に搭載される、 前記分散制御装置から受信した前記要求を用いてキャッ
シュ管理情報を参照し、前記要求に対応した応答が前記
キャッシュ記憶手段内に存在すれば、該当する応答を直
接前記クライアントに送信させる第1の応答送信プロセ
スと、 前記要求に対応した応答が前記キャッシュ記憶手段に存
在しなければ、前記サーバへ前記要求を送信させる第2
の応答送信プロセスと、 前記サーバから受信した前記要求に対応した応答を前記
キャッシュ記憶手段に格納する格納プロセスと、 前記応答を前記キャッシュ管理情報に登録する登録プロ
セスと、 前記応答を前記クライアントに直接送信させる第3の応
答送信プロセスとを有することを特徴とする分散キャッ
シュ制御プログラムを格納した記憶媒体。
17. A storage medium storing a distributed cache control program in a distributed cache system including one distributed control device and n cache devices, the storage medium being mounted on the cache device and receiving from the distributed control device. Referring to the cache management information using the request, and if a response corresponding to the request exists in the cache storage unit, a first response transmission process for directly transmitting the corresponding response to the client; If a response corresponding to the request does not exist in the cache storage means, a second request to transmit the request to the server
Transmitting a response corresponding to the request received from the server in the cache storage unit; registering the response in the cache management information; and transmitting the response directly to the client. A storage medium storing a distributed cache control program, characterized by having a third response transmission process for transmitting.
JP10024765A 1998-02-05 1998-02-05 Decentralized cache control method, decentralization controller, decentralizzed cache system, and storage medium stored with decentralized cache control program Pending JPH11224219A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10024765A JPH11224219A (en) 1998-02-05 1998-02-05 Decentralized cache control method, decentralization controller, decentralizzed cache system, and storage medium stored with decentralized cache control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10024765A JPH11224219A (en) 1998-02-05 1998-02-05 Decentralized cache control method, decentralization controller, decentralizzed cache system, and storage medium stored with decentralized cache control program

Publications (1)

Publication Number Publication Date
JPH11224219A true JPH11224219A (en) 1999-08-17

Family

ID=12147264

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10024765A Pending JPH11224219A (en) 1998-02-05 1998-02-05 Decentralized cache control method, decentralization controller, decentralizzed cache system, and storage medium stored with decentralized cache control program

Country Status (1)

Country Link
JP (1) JPH11224219A (en)

Cited By (30)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001202330A (en) * 1999-11-09 2001-07-27 Matsushita Electric Ind Co Ltd Cluster server device
JP2001273186A (en) * 2000-01-28 2001-10-05 Internatl Business Mach Corp <Ibm> Method and constitution for delay-corresponding hashing for common web caching
JP2001297046A (en) * 2000-04-14 2001-10-26 Nippon Telegr & Teleph Corp <Ntt> Device and method for load decentralization control and storage medium
JP2002032260A (en) * 2000-07-19 2002-01-31 Nec Software Niigata Ltd Cache server system, cache data managing method and recording medium
JP2002041384A (en) * 2000-07-26 2002-02-08 Sony Corp Device and method for information processing and recording medium
JP2002063089A (en) * 2000-08-17 2002-02-28 Nippon Telegr & Teleph Corp <Ntt> Information-providing system, information-providing method, and storage medium
JP2002251312A (en) * 2001-02-23 2002-09-06 Hitachi Ltd Communication proxy device
JP2003131961A (en) * 2001-07-09 2003-05-09 Hitachi Ltd Network system and load distribution method
JP2007067631A (en) * 2005-08-30 2007-03-15 Kddi Corp Vpn server hosting system, and vpn buildup method
JP2007328736A (en) * 2006-06-09 2007-12-20 Mitsubishi Electric Corp Resource retrieval system
JP2008028576A (en) * 2006-07-19 2008-02-07 Kddi Corp Vpn server hosting system, vpn build up method, and computer program
JP2009020757A (en) * 2007-07-12 2009-01-29 Toshiba Corp Data registration apparatus, data registration method and program
JP2010003273A (en) * 2008-06-23 2010-01-07 Nippon Telegr & Teleph Corp <Ntt> Sip message distribution method and sip message distribution device
JP2012018607A (en) * 2010-07-09 2012-01-26 Nomura Research Institute Ltd Distributed cache system
JP2014052928A (en) * 2012-09-10 2014-03-20 Nippon Telegr & Teleph Corp <Ntt> Data cache system
JP2014513451A (en) * 2011-03-01 2014-05-29 テケレック・インコーポレイテッド Method, system and computer-readable medium for Diameter routing based on hybrid session
JP5706956B1 (en) * 2013-12-13 2015-04-22 エヌ・ティ・ティ・アドバンステクノロジ株式会社 Database system and database control method
US9148524B2 (en) 2011-05-06 2015-09-29 Tekelec, Inc. Methods, systems, and computer readable media for caching call session control function (CSCF) data at a diameter signaling router (DSR)
US9288169B2 (en) 2004-12-17 2016-03-15 Tekelec, Inc. Methods, systems, and computer program products for clustering and communicating between internet protocol multimedia subsystem (IMS) entities and for supporting database access in an IMS network environment
US9319378B2 (en) 2013-01-23 2016-04-19 Tekelec, Inc. Methods, systems, and computer readable media for using a diameter routing agent (DRA) to obtain mappings between mobile subscriber identification information and dynamically assigned internet protocol (IP) addresses and for making the mappings accessible to applications
JP2017507575A (en) * 2014-02-19 2017-03-16 レベル スリー コミュニケーションズ,エルエルシー Proxy server failover and load clustering
US9668135B2 (en) 2015-08-14 2017-05-30 Oracle International Corporation Methods, systems, and computer readable media for providing access network signaling protocol interworking for user authentication
US9668134B2 (en) 2015-08-14 2017-05-30 Oracle International Corporation Methods, systems, and computer readable media for providing access network protocol interworking and authentication proxying
US9923984B2 (en) 2015-10-30 2018-03-20 Oracle International Corporation Methods, systems, and computer readable media for remote authentication dial in user service (RADIUS) message loop detection and mitigation
US10084755B2 (en) 2015-08-14 2018-09-25 Oracle International Corporation Methods, systems, and computer readable media for remote authentication dial in user service (RADIUS) proxy and diameter agent address resolution
US10102087B2 (en) 2016-02-19 2018-10-16 Oracle International Corporation Methods, systems, and computer readable media for detecting and managing suspect subscriber bindings
US10412772B2 (en) 2017-08-08 2019-09-10 Oracle International Corporation Methods, systems, and computer readable media for using access point name (APN) independent subscriber bindings
US10554661B2 (en) 2015-08-14 2020-02-04 Oracle International Corporation Methods, systems, and computer readable media for providing access network session correlation for policy control
US10951519B2 (en) 2015-06-17 2021-03-16 Oracle International Corporation Methods, systems, and computer readable media for multi-protocol stateful routing
US11283883B1 (en) 2020-11-09 2022-03-22 Oracle International Corporation Methods, systems, and computer readable media for providing optimized binding support function (BSF) packet data unit (PDU) session binding discovery responses

Cited By (35)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6760765B1 (en) 1999-11-09 2004-07-06 Matsushita Electric Industrial Co., Ltd. Cluster server apparatus
JP2001202330A (en) * 1999-11-09 2001-07-27 Matsushita Electric Ind Co Ltd Cluster server device
JP2001273186A (en) * 2000-01-28 2001-10-05 Internatl Business Mach Corp <Ibm> Method and constitution for delay-corresponding hashing for common web caching
JP2001297046A (en) * 2000-04-14 2001-10-26 Nippon Telegr & Teleph Corp <Ntt> Device and method for load decentralization control and storage medium
JP2002032260A (en) * 2000-07-19 2002-01-31 Nec Software Niigata Ltd Cache server system, cache data managing method and recording medium
JP2002041384A (en) * 2000-07-26 2002-02-08 Sony Corp Device and method for information processing and recording medium
JP2002063089A (en) * 2000-08-17 2002-02-28 Nippon Telegr & Teleph Corp <Ntt> Information-providing system, information-providing method, and storage medium
JP2002251312A (en) * 2001-02-23 2002-09-06 Hitachi Ltd Communication proxy device
JP4688312B2 (en) * 2001-02-23 2011-05-25 株式会社日立製作所 Communication proxy device
JP2003131961A (en) * 2001-07-09 2003-05-09 Hitachi Ltd Network system and load distribution method
US9288169B2 (en) 2004-12-17 2016-03-15 Tekelec, Inc. Methods, systems, and computer program products for clustering and communicating between internet protocol multimedia subsystem (IMS) entities and for supporting database access in an IMS network environment
JP2007067631A (en) * 2005-08-30 2007-03-15 Kddi Corp Vpn server hosting system, and vpn buildup method
JP4490352B2 (en) * 2005-08-30 2010-06-23 Kddi株式会社 VPN server hosting system and VPN construction method
JP2007328736A (en) * 2006-06-09 2007-12-20 Mitsubishi Electric Corp Resource retrieval system
JP2008028576A (en) * 2006-07-19 2008-02-07 Kddi Corp Vpn server hosting system, vpn build up method, and computer program
JP2009020757A (en) * 2007-07-12 2009-01-29 Toshiba Corp Data registration apparatus, data registration method and program
JP2010003273A (en) * 2008-06-23 2010-01-07 Nippon Telegr & Teleph Corp <Ntt> Sip message distribution method and sip message distribution device
JP2012018607A (en) * 2010-07-09 2012-01-26 Nomura Research Institute Ltd Distributed cache system
JP2014513451A (en) * 2011-03-01 2014-05-29 テケレック・インコーポレイテッド Method, system and computer-readable medium for Diameter routing based on hybrid session
US9148524B2 (en) 2011-05-06 2015-09-29 Tekelec, Inc. Methods, systems, and computer readable media for caching call session control function (CSCF) data at a diameter signaling router (DSR)
JP2014052928A (en) * 2012-09-10 2014-03-20 Nippon Telegr & Teleph Corp <Ntt> Data cache system
US9319378B2 (en) 2013-01-23 2016-04-19 Tekelec, Inc. Methods, systems, and computer readable media for using a diameter routing agent (DRA) to obtain mappings between mobile subscriber identification information and dynamically assigned internet protocol (IP) addresses and for making the mappings accessible to applications
JP5706956B1 (en) * 2013-12-13 2015-04-22 エヌ・ティ・ティ・アドバンステクノロジ株式会社 Database system and database control method
JP2017507575A (en) * 2014-02-19 2017-03-16 レベル スリー コミュニケーションズ,エルエルシー Proxy server failover and load clustering
US10951519B2 (en) 2015-06-17 2021-03-16 Oracle International Corporation Methods, systems, and computer readable media for multi-protocol stateful routing
US9918229B2 (en) 2015-08-14 2018-03-13 Oracle International Corporation Methods, systems, and computer readable media for providing access network protocol interworking and authentication proxying
US9668134B2 (en) 2015-08-14 2017-05-30 Oracle International Corporation Methods, systems, and computer readable media for providing access network protocol interworking and authentication proxying
US9930528B2 (en) 2015-08-14 2018-03-27 Oracle International Corporation Methods, systems, and computer readable media for providing access network signaling protocol interworking for user authentication
US10084755B2 (en) 2015-08-14 2018-09-25 Oracle International Corporation Methods, systems, and computer readable media for remote authentication dial in user service (RADIUS) proxy and diameter agent address resolution
US10554661B2 (en) 2015-08-14 2020-02-04 Oracle International Corporation Methods, systems, and computer readable media for providing access network session correlation for policy control
US9668135B2 (en) 2015-08-14 2017-05-30 Oracle International Corporation Methods, systems, and computer readable media for providing access network signaling protocol interworking for user authentication
US9923984B2 (en) 2015-10-30 2018-03-20 Oracle International Corporation Methods, systems, and computer readable media for remote authentication dial in user service (RADIUS) message loop detection and mitigation
US10102087B2 (en) 2016-02-19 2018-10-16 Oracle International Corporation Methods, systems, and computer readable media for detecting and managing suspect subscriber bindings
US10412772B2 (en) 2017-08-08 2019-09-10 Oracle International Corporation Methods, systems, and computer readable media for using access point name (APN) independent subscriber bindings
US11283883B1 (en) 2020-11-09 2022-03-22 Oracle International Corporation Methods, systems, and computer readable media for providing optimized binding support function (BSF) packet data unit (PDU) session binding discovery responses

Similar Documents

Publication Publication Date Title
JPH11224219A (en) Decentralized cache control method, decentralization controller, decentralizzed cache system, and storage medium stored with decentralized cache control program
US11451472B2 (en) Request routing based on class
US20220174010A1 (en) Updating routing information based on client location
US9438520B2 (en) Synchronizing state among load balancer components
US6256747B1 (en) Method of managing distributed servers and distributed information processing system using the method
CN101370035B (en) Method and system for dynamic client/server network management using proxy servers
EP3567881B1 (en) Request routing and updating routing information utilizing client location information
US6154776A (en) Quality of service allocation on a network
US7930427B2 (en) Client-side load balancing
US8291046B2 (en) Shared content delivery infrastructure with rendezvous based on load balancing and network conditions
US20040260769A1 (en) Method and apparatus for distributed cache control and network system
US20010052024A1 (en) Affinity-based router and routing method
CA2430416A1 (en) A method and apparatus for discovering client proximity using multiple http redirects
JPH1127320A (en) Packet relay control method, packet repeater and program storage medium
JP2006262193A (en) Controller, packet transferring method, and packet processor
US6892224B2 (en) Network interface device capable of independent provision of web content
US6917978B1 (en) Network system having function of retrieving information, network terminal device having function of retrieving information, and network relay device having function of retrieving information
GB2464367A (en) Network traffic monitor for multi-tier server arrangement loops back packets from one server to another on same device
JP3930516B2 (en) Server apparatus, server system, and server system load balancing method
JPH1155327A (en) Connection control server for substitute server and substitute server and network control method
WO2021171365A1 (en) Routing information management device, routing information management method, and program
JP4774814B2 (en) Server access control system, server access control method, and server access control program
JP2004515834A (en) Distributed web serving system