JPH1153322A - Object searching and acquiring method, search server and recording medium - Google Patents
Object searching and acquiring method, search server and recording mediumInfo
- Publication number
- JPH1153322A JPH1153322A JP9205724A JP20572497A JPH1153322A JP H1153322 A JPH1153322 A JP H1153322A JP 9205724 A JP9205724 A JP 9205724A JP 20572497 A JP20572497 A JP 20572497A JP H1153322 A JPH1153322 A JP H1153322A
- Authority
- JP
- Japan
- Prior art keywords
- search
- server
- name
- cache
- inquiry
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims description 22
- 238000005316 response function Methods 0.000 claims description 7
- 238000012217 deletion Methods 0.000 claims description 6
- 230000037430 deletion Effects 0.000 claims description 6
- 238000010586 diagram Methods 0.000 description 6
- 238000012546 transfer Methods 0.000 description 6
- 238000004364 calculation method Methods 0.000 description 5
- 238000012545 processing Methods 0.000 description 3
- 238000007796 conventional method Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
Landscapes
- Information Transfer Between Computers (AREA)
- Computer And Data Communications (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
【0001】[0001]
【発明の属する技術分野】本発明は、キャッシュサーバ
をネットワークに分散させたワールドワイドウェブ(W
WW)等の蓄積型データ転送を行うネットワークにおい
て、複数のキャッシュサーバを協調させることによって
実現される大規模キャッシュサーバネットワークにおけ
るキャッシュデータの相互利用システム、ドメインネー
ムシステムを用いたアドレス解決システム等、各種のデ
ィレクトリサービスに関するものである。BACKGROUND OF THE INVENTION The present invention relates to a World Wide Web (W) in which cache servers are distributed over a network.
In networks that perform storage-type data transfer such as WW), various systems such as a mutual use system of cache data in a large-scale cache server network realized by coordinating a plurality of cache servers, an address resolution system using a domain name system, and the like. Related to directory services.
【0002】大規模キャッシュサーバネットワークにお
けるキャッシュデータの相互利用においては、キャッシ
ュサーバが探索サーバに対応し、ドメインネームシステ
ムを用いたアドレス解決システムではドメインネームシ
ステムサーバが探索サーバに対応する。In the mutual use of cache data in a large-scale cache server network, a cache server corresponds to a search server, and in an address resolution system using a domain name system, a domain name system server corresponds to a search server.
【0003】例えばキャッシュサーバにおいては、各ク
ライアントは、キャッシュサーバを経由して、目的とす
るオブジェクト(データ、アプリケーションプログラム
等)を持つWWWページ等を配備しているオリジナルサ
ーバにアクセスする。キャッシュサーバでは、サーバ自
身、他のサーバから過去に保有の有無について問い合わ
せを受けたオブジェクト名及び問い合わせ元サーバ名、
他のサーバから過去に保有を通知されたオブジェクト名
及び通知元サーバ名等がキャッシュデータとして扱われ
る。For example, in a cache server, each client accesses an original server having a WWW page or the like having a target object (data, application program, etc.) via the cache server. In the cache server, the server itself, the name of the object that has been inquired about the presence or absence of possession in the past from other servers and the name of the server that made the inquiry
The name of the object and the name of the server that sent the notification in the past from other servers are handled as cache data.
【0004】或るクライアントがキャッシュサーバを通
して或るWWWサーバのようなオリジナルサーバにアク
セスし、キャッシュサーバからクライアント側にデータ
転送を行う時には、キャッシュサーバは当該オブジェク
トをキャッシュする。他のクライアントが同一のオブジ
ェクトを要求した時には、キャッシュサーバは、オリジ
ナルサーバのオブジェクトの代わりに既にキャッシュさ
れているオブジェクトをクライアントに転送する。これ
により、ネットワーク内のキャッシュサーバの利用によ
って、クライアントのWWWページ等の閲覧が高速化さ
れる。When a certain client accesses an original server such as a certain WWW server through a cache server and transfers data from the cache server to the client, the cache server caches the object. When another client requests the same object, the cache server forwards the already cached object to the client instead of the original server object. This speeds up browsing of the client's WWW page and the like by using the cache server in the network.
【0005】しかしながら、多くの場合、キャッシュサ
ーバは単独で利用されているため、クライアントが要求
するオブジェクトが最初にアクセスしたキャッシュサー
バにキャッシュされていなければ、たとえオブジェクト
が高速にダウンロードできる他のキャッシュサーバにキ
ャッシュされていてもこれを利用することができず、直
接オリジナルのオブジェクトを持つオリジナルサーバに
アクセスしてしまうことになる。ネットワークの構成及
び状況等により、オリジナルサーバへのアクセスに時間
がかかる場合は、キャッシュサーバにおけるキャッシュ
ヒット率が低ければ、要求オブジェクトの取得そのもの
に時間がかかることになる。However, in many cases, since the cache server is used alone, if the object requested by the client is not cached in the cache server accessed first, another cache server that can download the object at high speed is used. However, even if it is cached, it cannot be used, and it will directly access the original server that has the original object. If it takes time to access the original server due to the network configuration and status, if the cache hit rate in the cache server is low, it takes time to acquire the requested object.
【0006】従って、これら複数のキャッシュサーバが
協調することによって、オブジェクトがキャッシュされ
ているサーバを高速で特定することができれば、その中
でクライアントが高速でオブジェクトを取得できるサー
バを選択し、そこからデータ転送を行うことができる。
このようにすれば、クライアントにとってより高速の閲
覧が期待できる。また、他のキャッシュサーバのキャッ
シュデータも利用できれば、キャッシュヒット率が向上
し、キャッシュサーバネットワークが大規模である程、
その効果が大きくなると期待できる。Accordingly, if a plurality of cache servers can cooperate to specify a server at which an object is cached at a high speed, the server selects a server from which a client can obtain the object at a high speed, and selects a server therefrom. Data transfer can be performed.
In this way, faster browsing can be expected for the client. Also, if the cache data of other cache servers can be used, the cache hit rate will improve, and the larger the cache server network, the larger the cache hit rate.
The effect can be expected to increase.
【0007】複数の探索サーバを協調させる技術として
は、従来、キャッシュサーバネットワークにおいて実現
されているものがある。複数のキャッシュサーバを協調
させるキャッシュサーバネットワークとしては、クライ
アントからアクセスされた時に、他のキャッシュサーバ
にキャッシュされたオブジェクトの存在を問い合わせる
システム(例えばスキッド)がある。このシステムで
は、クライアントから直接問い合わせを受けたキャッシ
ュサーバが、キャッシュサーバネットワーク内に存在す
る全てのキャッシュサーバに問い合わせる。問い合わせ
を受けたキャッシュサーバは、問い合わせ元のキャッシ
ュサーバに対して、目的としているオブジェクトのキャ
ッシュの有無を返答する。目的としているオブジェクト
をキャッシュしているキャッシュサーバを発見した場合
は、クライアントから直接問い合わせを受けたキャッシ
ュサーバは、当該オブジェクトをキャッシュしているキ
ャッシュサーバに対して、当該オブジェクトの転送を要
求する。As a technique for coordinating a plurality of search servers, there is a technique conventionally implemented in a cache server network. As a cache server network for coordinating a plurality of cache servers, there is a system (for example, skid) for inquiring another cache server about the existence of a cached object when accessed by a client. In this system, a cache server directly inquired by a client makes an inquiry to all cache servers existing in a cache server network. The cache server that has received the inquiry replies to the cache server that has made the inquiry whether or not the target object is cached. If the cache server that has cached the target object is found, the cache server that has received the inquiry directly from the client requests the cache server that has cached the object to transfer the object.
【0008】また、キャッシュされたオブジェクトの存
在を問い合わせるシステムにおいて、サーバが問い合わ
せを受けた履歴を保存しておき、次に他のサーバから問
い合わせを受けた際には、自身が保持するオブジェクト
と、履歴に残っているオブジェクト名から、当該オブジ
ェクトを保持しているサーバを特定するものもある(特
願平9-31874 号参照)。この場合は、キャッシュヒット
率を高めるためには、全キャッシュサーバ数に応じた個
数のキャッシュサーバに問い合わせなければならない。Further, in a system for inquiring about the existence of a cached object, a server stores a history of inquiries, and the next time an inquiry is received from another server, an object held by the server itself is displayed. In some cases, the server that holds the object is specified from the object name in the history (see Japanese Patent Application No. 9-31874). In this case, in order to increase the cache hit rate, it is necessary to inquire the number of cache servers corresponding to the total number of cache servers.
【0009】複数の探索サーバが協調していない場合
は、探索サーバが要求されたオブジェクトを保有してい
ない場合、オブジェクトの要求毎にマスターサーバにア
クセスするので、マスターサーバにアクセスが集中して
サーバの負荷が高くなり、データ転送速度が遅くなる可
能性がある。また、マスターサーバより高速でオブジェ
クトを取得できる他の探索サーバに当該オブジェクトが
保有されている場合でも、探索サーバ間で協調していな
ければ、その探索サーバを発見することはできない。従
って、必ずマスターサーバにアクセスしてしまい、デー
タ転送速度が低下してしまう。When a plurality of search servers do not cooperate, if the search server does not hold the requested object, the search server accesses the master server every time an object is requested. And the data transfer rate may be reduced. Further, even when the object is held in another search server that can acquire the object at a higher speed than the master server, the search server cannot be found unless the search servers cooperate. Therefore, the master server is always accessed, and the data transfer speed is reduced.
【0010】また、従来の技術の他の探索サーバに問い
合わせるシステムでは、大規模になる程、探索サーバ間
の問い合わせ数が増大するという問題がある。問い合わ
せ数が増大すれば制御トラヒックが増加し、更に各探索
サーバにおける検索処理が増加してサーバ負荷も増加す
るので、多数の探索サーバを効率的に利用することは困
難である。[0010] Further, in the system for inquiring other search servers in the prior art, there is a problem that the number of inquiries between search servers increases as the size increases. If the number of inquiries increases, the control traffic increases, and further, the search processing in each search server increases, and the server load also increases. Therefore, it is difficult to efficiently use a large number of search servers.
【0011】[0011]
【発明が解決しようとする課題】本発明の目的は、探索
サーバの協調によってオブジェクトの探索を行う際、少
ない問い合わせ回数で充分な範囲の探索を行うことがで
きるオブジェクト探索取得のためのシステムを提供する
ことにある。SUMMARY OF THE INVENTION It is an object of the present invention to provide a system for obtaining and searching an object which can search a sufficient range with a small number of queries when searching for an object in cooperation with a search server. Is to do.
【0012】[0012]
【課題を解決するための手段】本発明のオブジェクト探
索取得方法は、上記の目的を達成するため、各探索サー
バが、(1) 自己のサーバ名及び自身の探索キー、(2) 自
己が保有するオブジェクトのオブジェクト名、(3) 他の
探索サーバから過去に保有の有無の問い合わせを受けた
オブジェクト名及び問い合わせ元探索サーバ名、及び
(4) 自己以外の全ての探索サーバのサーバ名及びそれら
の探索キーの4種類の情報を持ち、更に、各探索サーバ
は、(a) 問い合わせ機能、(b) 問い合わせに対する応答
機能、及び(c) オブジェクト名を一意的に探索キーに変
換する機能の3種類の機能を具え、探索サーバがオブジ
ェクトを探索する際、先ず自己が保有するオブジェク
ト、次に当該オブジェクトの探索キーと一致する探索キ
ーを持つ他の探索サーバに対して探索し、これらのステ
ップで当該オブジェクトを取得できない場合は、マスタ
ーサーバからオブジェクトを取得することを特徴とす
る。According to the object search and acquisition method of the present invention, in order to achieve the above object, each search server has (1) its own server name and its own search key, and (2) its own Object name of the object to be searched, (3) the name of the object that was previously inquired by other search servers about the existence of
(4) Each server has four types of information including the server names of all search servers other than itself and their search keys, and each search server has (a) an inquiry function, (b) a response function to an inquiry, and (c) The search server has three functions of uniquely converting an object name into a search key. When the search server searches for an object, first the object held by itself, and then the search key that matches the search key of the object are searched. The search is performed with respect to another search server having the object, and if the object cannot be obtained in these steps, the object is obtained from the master server.
【0013】また、他の本発明のオブジェクト探索取得
方法は、各探索サーバが、(1) 自己のサーバ名及び自身
の探索キー、(2) 自己が保有するオブジェクトのオブジ
ェクト名、(3) 他の探索サーバから過去に保有の有無の
問い合わせを受けたオブジェクト名及び問い合わせ元探
索サーバ名、(4) 他の探索サーバから過去に保有の通知
を受け且つ消去の通知を受けていないオブジェクト名及
び通知元探索サーバ名、及び(5) 自己以外の全ての探索
サーバのサーバ名及びそれらの探索キーの5種類の情報
を持ち、更に、各探索サーバは、(a) 問い合わせ機能、
(b) 問い合わせに対する応答機能、(c) 通知機能、及び
(d) オブジェクト名を一意的に探索キーに変換する機能
の4種類の機能を具え、探索サーバがオブジェクトを探
索する際、先ず自己が保有するオブジェクト、次に過去
に保有の通知を受け且つ消去の通知を受けていない他の
探索サーバを探索し、次に当該オブジェクトの探索キー
と一致する探索キーを持つ他の探索サーバに対して探索
し、これらのステップで当該オブジェクトを取得できな
い場合は、マスターサーバからオブジェクトを取得する
ことを特徴とする。[0013] In another object search and acquisition method of the present invention, each search server comprises: (1) its own server name and its own search key; (2) the object name of its own object; (4) Object names and notifications for which search information has been received in the past from the search server and the query source search server name, and The original search server name, and (5) the server name of all search servers other than the self and the five types of information of their search key, further, each search server, (a) query function,
(b) response to inquiries, (c) notification, and
(d) Equipped with four functions of a function of uniquely converting an object name into a search key, and when the search server searches for an object, first receives the object owned by itself, and then receives and deletes the notification of possession in the past. Search for other search servers that have not received the notification of, and then search for other search servers that have a search key that matches the search key of the object.If these objects cannot be obtained in these steps, The method is characterized in that an object is obtained from a master server.
【0014】このような本発明の方法においては、探索
サーバの個数と同じか又はそれより少ない個数の探索キ
ー全てが、全ての探索サーバにそれぞれ付与される。即
ち、同一の探索キーが複数の探索サーバに付与される場
合もあるが、全ての探索キーが少なくとも一つの探索サ
ーバに付与される。各探索サーバは、各探索サーバとそ
れに付与されている探索キーとの対応テーブルを具える
ことが望ましい。In such a method of the present invention, all search keys equal to or less than the number of search servers are assigned to all search servers. That is, the same search key may be assigned to a plurality of search servers, but all search keys are assigned to at least one search server. It is desirable that each search server has a correspondence table between each search server and a search key assigned thereto.
【0015】一方、オブジェクトにも探索キーを付与す
る。探索サーバがオブジェクトを発見しようとするとき
は、オブジェクト名を探索キーに変換し、この探索キー
が付与されている探索サーバに問い合わせる。この問い
合わせを受けた探索サーバは、その探索キーを持つオブ
ジェクトについての問い合わせ履歴が記録されているの
で、以前に問い合わせを受けたことがあるオブジェクト
については、それを保有している探索サーバを応答する
ことができる。On the other hand, a search key is also given to the object. When the search server tries to find an object, the search server converts the object name into a search key and inquires the search server to which the search key is assigned. Since the search server receiving the inquiry records the inquiry history of the object having the search key, the search server holding the object is returned as to the object which has been previously inquired. be able to.
【0016】このような本発明の方法においては、全探
索サーバ数に全く依存せず、常に最小限(2回以下)の
問い合わせ回数で、どの探索サーバが当該オブジェクト
を保有しているか、又はどの探索サーバも当該オブジェ
クトを保有していないかを認識できるので、スケールメ
リットを期待できる。従って、少ない問い合わせ回数で
多数のキャッシュサーバを効率的に利用できることにな
る。In the method of the present invention, which search server has the object or which search server has the minimum number of queries (2 times or less) without depending on the total number of search servers. Since the search server can also recognize whether or not the object is possessed, economies of scale can be expected. Therefore, a large number of cache servers can be efficiently used with a small number of queries.
【0017】探索サーバをキャッシュサーバに対応さ
せ、マスターサーバをオリジナルサーバに対応させるこ
とによって、本発明の方法をキャッシュサーバネットワ
ークに適用した場合、少ない問い合わせ回数で多数のキ
ャッシュサーバを効率的に利用できることになる。実
際、従来の方法ではキャッシュを保持しているキャッシ
ュサーバが存在するか否かを決定するための問い合わせ
数は全キャッシュサーバ数の増加に伴って増加するが、
本発明の方法によれば、全キャッシュサーバ数に全く依
存せずに常に最小限(2回以下)の問い合わせ回数で済
むので、スケールメリットを期待できる。また、動的な
キャッシュサーバの追加に対しても、適切な探索キーを
割当て、全てのキャッシュサーバにおいてキャッシュサ
ーバとそれの探索キーとの対応テーブルを書き換えるこ
とにより、容易に対処することができる。By making the search server correspond to the cache server and the master server to correspond to the original server, when the method of the present invention is applied to a cache server network, a large number of cache servers can be efficiently used with a small number of queries. become. In fact, in the conventional method, the number of inquiries to determine whether there is a cache server holding a cache increases as the number of all cache servers increases,
According to the method of the present invention, the minimum number of queries (2 or less) is always required without depending on the total number of cache servers at all. Therefore, economies of scale can be expected. Also, it is possible to easily cope with the dynamic addition of a cache server by allocating an appropriate search key and rewriting the correspondence tables between the cache servers and their search keys in all the cache servers.
【0018】[0018]
【発明の実施の形態】次に本発明の実施例を図面を用い
て説明する。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, embodiments of the present invention will be described with reference to the drawings.
【0019】〔実施例1〕図1は、キャッシュサーバの
構成の第1の実施例を示す図である。情報管理部1は、
(1) 自己のサーバ名及び自身の探索キー、(2) 自己が保
有するオブジェクトのオブジェクト名、(3) 他のキャッ
シュサーバから過去に保有の有無の問い合わせを受けた
オブジェクト名及び問い合わせ元キャッシュサーバ名、
及び、(4)自己以外の全てのキャッシュサーバのサーバ
名及びそれらの探索キーの4つの情報を管理する。これ
らの情報はキャッシュ(一時的な蓄積)として扱われ
る。これらの情報は記録媒体に格納される。[First Embodiment] FIG. 1 is a diagram showing a first embodiment of the configuration of a cache server. The information management unit 1
(1) its own server name and its own search key; (2) the object name of its own object; and (3) the object name and inquiry source cache server that has received an inquiry from another cache server in the past whether or not it owns it. Name,
And (4) manages the four information of the server names of all the cache servers other than the self and their search keys. These pieces of information are treated as a cache (temporary storage). These pieces of information are stored in a recording medium.
【0020】ハッシュ値計算部2は、ハッシュ関数を用
いてオブジェクト名を自然数に変換する。ハッシュ関数
としては、例えば、各アルファベット文字を自然数に対
応させておき、オブジェクト名の先頭から順にアルファ
ベット文字を自然数に変換して和をとり、それを全キャ
ッシュサーバの探索キーの数で割った剰余に1を加えた
値をそのオブジェクト名に対応させてもよい。このよう
にすれば、各オブジェクト名が1から全キャッシュサー
バの探索キーの数までの自然数に対応し、各オブジェク
トは必ず1又は複数のキャッシュサーバに対応する。The hash value calculation unit 2 converts an object name into a natural number using a hash function. As a hash function, for example, each alphabetic character is made to correspond to a natural number, the alphabetic characters are converted into natural numbers sequentially from the beginning of the object name, the sum is obtained, and the remainder is divided by the number of search keys of all cache servers. May be made to correspond to the object name. In this way, each object name corresponds to a natural number from 1 to the number of search keys of all cache servers, and each object always corresponds to one or more cache servers.
【0021】問い合わせ機能部3は、オブジェクトを発
見するため、ハッシュ値計算部2によって当該オブジェ
クト名が変換された自然数と同一の自然数が付与されて
いるキャッシュサーバに対して、当該オブジェクトのキ
ャッシュの有無、又は当該オブジェクトをキャッシュし
ているキャッシュサーバ名を問い合わせ、当該オブジェ
クトをキャッシュしているとの応答があれば、当該オブ
ジェクトをダウンロードし、キャッシュサーバ自身でキ
ャッシュする。In order to find an object, the query function unit 3 determines whether or not the cache of the object is provided to the cache server to which the same natural number as the natural number obtained by converting the object name by the hash value calculation unit 2 is assigned. Alternatively, the cache server is inquired about the name of the cache server that caches the object, and if there is a response that the object is cached, the object is downloaded and cached by the cache server itself.
【0022】問い合わせに対する応答機能部4は、他の
キャッシュサーバ(サーバ名S0 )から問い合わせを受
けたとき、(A) キャッシュサーバ自身が保持する情報の
中に、問い合わせを受けたオブジェクトをキャッシュし
ている場合は、〔当該オブジェクトをキャッシュしてい
る〕と応答し、(B) キャッシュサーバ自身がキャッシュ
する情報の中に、問い合わせを受けたオブジェクトにつ
いて、過去に問い合わせてきたことがある他のキャッシ
ュサーバ(サーバ名S2 )が記録されている場合は、キ
ャッシュサーバS0 に対して〔キャッシュサーバS2 に
再び問い合わせ(再問い合わせ)をせよ〕と応答し、
(C) 上記(A) 及び(B) のいずれにも該当しない場合は、
〔当該オブジェクトをキャッシュしているキャッシュサ
ーバの存在は不明〕と応答し、(D) 続いて、当該オブジ
ェクト名及び問い合わせ元のキャッシュサーバ名S0 を
キャッシュ情報として記録する。When receiving a query from another cache server (server name S0), the response function unit 4 for the query (A) caches the queried object in information held by the cache server itself. If so, reply [caches the object], and (B) In the information cached by the cache server itself, another cache server that has inquired about the queried object in the past. If (server name S2) is recorded, the cache server S0 is replied to the cache server S2 by saying [inquire the cache server S2 again (inquire again)],
(C) If none of (A) and (B) above apply,
(The existence of the cache server that caches the object is unknown.) (D) Subsequently, the object name and the cache server name S0 of the inquiry source are recorded as cache information.
【0023】図2は、本発明を実施する場合のキャッシ
ュサーバネットワークの構成例を示す図である。キャッ
シュサーバS0 、S1 、S2 は、それぞれオブジェクト
を探索し取得する機能を有するキャッシュサーバであ
る。図2ではキャッシュサーバが3台示されているが、
その数に制限はない。一方、マスターサーバは全てのオ
ブジェクトを保有するサーバである。FIG. 2 is a diagram showing a configuration example of a cache server network when the present invention is implemented. The cache servers S0, S1, and S2 are cache servers each having a function of searching for and obtaining an object. Although FIG. 2 shows three cache servers,
There is no limit on the number. On the other hand, the master server is a server that holds all objects.
【0024】次に問い合わせを行う場合の動作及び問い
合わせを受けた場合の応答動作について説明する。図3
は問い合わせを行う場合のフロー図であり、これを用い
て、キャッシュサーバS0 がオブジェクトObjを探索し
取得しようとする場合の動作を説明する。サーバS0
は、先ず自己の情報管理部1を検索し、発見しようとし
ているオブジェクトObjをキャッシュしているかチェッ
クする(ステップ11)。キャッシュしている場合は、当
該オブジェクトの探索及び取得の動作は終了する。キャ
ッシュしていない場合は、ハッシュ値計算部2におい
て、オブジェクト名Objを自然数Kに変換する(ステッ
プ12)。次に、問い合わせ機能部3は、自然数Kに対応
するキャッシュサーバに対し、オブジェクトObjについ
て問い合わせを行い(ステップ13)、その応答を受信す
る。Next, an operation for making an inquiry and a response operation for receiving an inquiry will be described. FIG.
Is a flow chart for making an inquiry, and the operation when the cache server S0 attempts to search for and obtain the object Obj will be described with reference to FIG. Server S0
First searches its own information management unit 1 and checks whether the object Obj to be found is cached (step 11). When the object is cached, the operation of searching for and obtaining the object ends. If not cached, the hash value calculator 2 converts the object name Obj to a natural number K (step 12). Next, the inquiry function unit 3 makes an inquiry about the object Obj to the cache server corresponding to the natural number K (step 13), and receives the response.
【0025】その応答に基づいて、次のように動作す
る。 (ケースA)キャッシュサーバS1 から、〔キャッシュ
サーバS1 がオブジェクトObjをキャッシュしている〕
との応答があった場合(ステップ14)は、キャッシュサ
ーバS0 は、キャッシュサーバS1 からオブジェクトO
bjを取得し、これをキャッシュし、情報管理部1にキャ
ッシュしていることを記録して終了する(ステップ1
5)。The following operation is performed based on the response. (Case A) From the cache server S1 [the cache server S1 caches the object Obj]
(Step 14), the cache server S0 sends the object O from the cache server S1.
bj is acquired, this is cached, the fact that it is cached is recorded in the information management unit 1, and the process ends (step 1).
Five).
【0026】(ケースB)キャッシュサーバS1 から、
〔キャッシュサーバS2 がオブジェクトObjをキャッシ
ュしている〕との応答があった場合(ステップ14)は、
キャッシュサーバS0 は、キャッシュサーバS2 に問い
合わせ(再問い合わせ)を行う(ステップ16)。キャッ
シュサーバS2 から〔オブジェクトObjをキャッシュし
ている〕と応答された場合(ステップ17)は、キャッシ
ュサーバS2 からオブジェクトObjを取得し、これをキ
ャッシュし、情報管理部1にキャッシュしていることを
記録して終了する(ステップ18)。キャッシュサーバS
2 から〔オブジェクトObjをキャッシュしていない〕と
応答された場合(ステップ17)は、マスターサーバから
オブジェクトObjを取得し、これをキャッシュし、情報
管理部1にキャッシュしていることを記録して終了する
(ステップ19)。(Case B) From the cache server S 1,
If there is a response that "the cache server S2 has cached the object Obj" (step 14),
The cache server S0 makes an inquiry (re-inquiry) to the cache server S2 (step 16). When the cache server S2 responds [caches the object Obj] (step 17), it obtains the object Obj from the cache server S2, caches it, and caches it in the information management unit 1. The recording is completed and the processing is terminated (step 18). Cache server S
If the object Obj is not cached from Step 2 (step 17), the object Obj is obtained from the master server, cached, and the information management unit 1 records that it is cached. The process ends (step 19).
【0027】(ケースC)キャッシュサーバS1 から、
〔オブジェクトObjの存在は不明〕との応答があった場
合(ステップ14)は、マスターサーバからオブジェクト
Objを取得し、これをキャッシュし、情報管理部1にキ
ャッシュしていることを記録して終了する(ステップ1
9)。(Case C) From the cache server S 1,
If there is a response that "the existence of the object Obj is unknown" (step 14), the object Obj is obtained from the master server, cached, recorded as being cached in the information management unit 1, and terminated. (Step 1
9).
【0028】図4、は問い合わせを受けた場合のフロー
図であり、これを用いて、キャッシュサーバS1 がキャ
ッシュサーバS0 から、オブジェクトObjについて問い
合わせを受けた場合の応答の動作を説明する。キャッシ
ュサーバS1 は、キャッシュサーバS0 から問い合わせ
を受けると、先ず自己の情報管理部1を検索して、問い
合わせを受けたオブジェクトObjをキャッシュしている
かチェックする(ステップ21)。キャッシュしている場
合は〔キャッシュしている〕と応答し(ステップ22)、
情報管理部1に、キャッシュサーバS0 からオブジェク
トObjについて問い合わせを受けたことをキャッシュデ
ータとして記録し(ステップ23)、終了する。FIG. 4 is a flow chart in the case of receiving an inquiry, and the response operation when the cache server S1 receives an inquiry about the object Obj from the cache server S0 will be described with reference to FIG. When the cache server S1 receives an inquiry from the cache server S0, it first searches its own information management unit 1 and checks whether or not the object Obj inquired is cached (step 21). If cached, reply [cached] (step 22),
The fact that an inquiry about the object Obj is received from the cache server S0 is recorded in the information management unit 1 as cache data (step 23), and the process is terminated.
【0029】オブジェクトObjをキャッシュしていない
場合は、問い合わせが再問い合わせかをチェックし(ス
テップ24)、再問い合わせの場合は〔キャッシュしてい
ない〕と応答し(ステップ25)、終了する。チェック
(ステップ24)の結果、この問い合わせが最初の問い合
わせの場合は、自己の情報管理部1を検索して、オブジ
ェクトObjについて過去に問い合わせてきたキャッシュ
サーバが存在するかをチェックする(ステップ26)。存
在する場合は、〔キャッシュサーバS2 が過去に問い合
わせてきた〕ことをキャッシュサーバS0 に応答し(ス
テップ27)、問い合わせ元のキャッシュサーバS0 及び
オブジェクトObjのオブジェクト名を情報管理部1にキ
ャッシュデータとして記録して(ステップ28)、終了す
る。If the object Obj is not cached, it is checked whether the inquiry is a re-query (step 24). If the query is a re-query, a response is returned (not cached) (step 25), and the process ends. As a result of the check (step 24), if this inquiry is the first inquiry, the information management unit 1 is searched to check whether or not there is a cache server that has inquired about the object Obj in the past (step 26). . If it exists, it responds to the cache server S0 that [the cache server S2 has made an inquiry in the past] (step 27), and sends the cache server S0 of the inquiry source and the object name of the object Obj to the information management unit 1 as cache data. Record (step 28) and end.
【0030】一方、オブジェクトObjについて過去に問
い合わせてきたキャッシュサーバが存在しない場合は、
キャッシュサーバS0 に〔オブジェクトObjをキャッシ
ュしているサーバの存在は不明〕と応答し(ステップ2
9)、問い合わせ元のキャッシュサーバS0 及びオブジ
ェクトObjのオブジェクト名を情報管理部1にキャッシ
ュデータとして記録して(ステップ30)、終了する。On the other hand, if there is no cache server inquiring about the object Obj in the past,
Reply to the cache server S0 [unknown existence of server caching object Obj] (step 2)
9) The cache server S0 of the inquiry source and the object name of the object Obj are recorded as cache data in the information management unit 1 (step 30), and the process ends.
【0031】〔実施例2〕図5は、キャッシュサーバの
構成の第2の実施例を示す図である。情報管理部1は、
(1) 自己のサーバ名及び自身の探索キー、(2) 自己が保
有するオブジェクトのオブジェクト名、(3) 他のキャッ
シュサーバから過去に保有の有無の問い合わせを受け且
つ消去通知を受けていないオブジェクト名及び問い合わ
せ元キャッシュサーバ名、(4) 他のキャッシュサーバか
ら過去に保有しているとの通知を受け且つ消去通知を受
けていないオブジェクト名及び通知元キャッシュサーバ
名、及び、(5) 自己以外の全てのキャッシュサーバのサ
ーバ名及びそれらの探索キーの5つの情報を管理する。
これらの情報はキャッシュ(一時的な蓄積)として扱わ
れる。これらの情報は記録媒体に格納される。[Embodiment 2] FIG. 5 is a diagram showing a second embodiment of the configuration of the cache server. The information management unit 1
(1) its own server name and its own search key; (2) the object name of its own object; and (3) an object that has received an inquiry from another cache server in the past as to whether or not it is owned and has not been notified of deletion. Name and cache server name of the query source; (4) object name and notification source cache server name that have been notified from other cache servers that they have been held in the past and have not been notified of deletion; and (5) other than their own Manages the server names of all cache servers and their search keys.
These pieces of information are treated as a cache (temporary storage). These pieces of information are stored in a recording medium.
【0032】ハッシュ値計算部2、問い合わせ機能部3
及び問い合わせに対する応答機能部4は、実施例1の場
合と同様に動作する。通知機能部5は、キャッシュサー
バが或るオブジェクトをキャッシュした時、又はキャッ
シュを消去した時、当該オブジェクト名が変換されたハ
ッシュ値と同一のハッシュ値を保持する全てのキャッシ
ュサーバに対して、当該オブジェクトをキャッシュして
いること又は消去したことを通知する。[0032] Hash value calculation unit 2, inquiry function unit 3
The response function unit 4 responds to the inquiry in the same manner as in the first embodiment. When the cache server caches an object or deletes the cache, the notification function unit 5 sends the object name to all the cache servers that hold the same hash value as the converted hash value. Notifies that the object has been cached or deleted.
【0033】次に問い合わせを行う場合の動作及び問い
合わせを受けた場合の応答動作について説明する。図6
及び7は問い合わせを行う場合のフロー図であり、これ
を用いて、キャッシュサーバS0 がオブジェクトObjを
探索し取得しようとする場合の動作を説明する。サーバ
S0 は、先ず自己の情報管理部1を検索し、発見しよう
としているオブジェクトObjをキャッシュしているかチ
ェックする(ステップ41)。キャッシュしている場合
は、当該オブジェクトの探索及び取得の動作は終了す
る。Next, an operation for making an inquiry and a response operation for receiving an inquiry will be described. FIG.
And 7 are flow charts in the case of making an inquiry, with reference to which the operation when the cache server S0 seeks and obtains the object Obj will be described. The server S0 first searches its own information management unit 1 and checks whether the object Obj to be found is cached (step 41). When the object is cached, the operation of searching for and obtaining the object ends.
【0034】キャッシュしていない場合は、オブジェク
トObjについて、過去に問い合わせてきたキャッシュサ
ーバ又は過去にキャッシュしていると通知してきて、消
去したとは通知してきていないキャッシュサーバが存在
するか否かを自己の情報管理部1でチェックする(ステ
ップ42)。存在する場合はそれらのキャッシュサーバS
2 を一つ選択し、それに対してオブジェクトObjについ
て問い合わせる(ステップ43)。キャッシュサーバS2
からオブジェクトObjをキャッシュしていると応答され
た場合は(ステップ44)、キャッシュサーバS2 からオ
ブジェクトObjを取得してキャッシュし、自己の情報管
理部1にオブジェクトObjをキャッシュしていることを
記録する(ステップ45)。キャッシュサーバS2 からオ
ブジェクトObjをキャッシュしていないと応答された場
合は(ステップ44)、マスターサーバからオブジェクト
Objを取得してキャッシュし、自己の情報管理部1にオ
ブジェクトObjをキャッシュしていることを記録する
(ステップ46)。続いてオブジェクトObjのオブジェク
ト名が変換された自然数Kと一致する自然数を付与され
たキャッシュサーバに対して、オブジェクトObjをキャ
ッシュしていることを通知する(ステップ47)。オブジ
ェクトObjのキャッシュが消去される際には、オブジェ
クトObjのオブジェクト名Objが変換された自然数Kに
一致する自然数を付与されたキャッシュサーバに対し
て、オブジェクトObjのキャッシュを消去することを通
知する。If the cache has not been cached, it is determined whether or not there is a cache server that has been queried in the past or a cache server that has not been notified that the object Obj has been cached. The information is checked by the information management unit 1 (step 42). If they exist, their cache servers S
2 is selected, and an inquiry is made for the object Obj (step 43). Cache server S2
If the response is that the object Obj is cached (step 44), the object Obj is obtained from the cache server S2 and cached, and the fact that the object Obj is cached is recorded in its own information management unit 1. (Step 45). If the cache server S2 responds that the object Obj has not been cached (step 44), it is determined that the object Obj is acquired from the master server and cached, and that the object Obj is cached in its own information management unit 1. Record (step 46). Subsequently, the cache server to which a natural number corresponding to the converted natural number K is assigned to the object Obj is notified that the object Obj is cached (step 47). When the cache of the object Obj is deleted, the cache server to which a natural number corresponding to the converted natural number K of the object Obj is assigned is notified that the cache of the object Obj is to be deleted.
【0035】一方、オブジェクトObjについて、過去に
問い合わせてきたキャッシュサーバ又は過去にキャッシ
ュしていると通知してきて、消去したとは通知してきて
いないキャッシュサーバが存在しない場合(ステップ4
2)は、以下を実行する。即ち、ハッシュ値計算部2に
おいて、オブジェクト名Objを自然数Kに変換し(ステ
ップ48)、次に、問い合わせ機能部3は、自然数Kに対
応するキャッシュサーバに対し、オブジェクトObjにつ
いて問い合わせを行い(ステップ49)、その応答を受信
する。On the other hand, if there is no cache server that has been inquired in the past or that has been cached in the past and has not been notified that the object Obj has been deleted (step 4).
2) Perform the following. That is, the hash value calculation unit 2 converts the object name Obj into a natural number K (step 48), and then the inquiry function unit 3 makes an inquiry about the object Obj to the cache server corresponding to the natural number K (step 48). 49), receive the response.
【0036】その応答に基づいて、次のように動作す
る。 (ケースA)キャッシュサーバS1 から、〔キャッシュ
サーバS1 がオブジェクトObjをキャッシュしている〕
との応答があった場合(ステップ50)は、キャッシュサ
ーバS0 は、キャッシュサーバS1 からオブジェクトO
bjを取得し、これをキャッシュし、情報管理部1にキャ
ッシュしていることを記録する(ステップ51)。The following operation is performed based on the response. (Case A) From the cache server S1 [the cache server S1 caches the object Obj]
(Step 50), the cache server S0 sends the object O from the cache server S1.
bj is acquired, cached, and the fact that it is cached is recorded in the information management unit 1 (step 51).
【0037】(ケースB)キャッシュサーバS1 から、
〔キャッシュサーバS2 がオブジェクトObjをキャッシ
ュしている〕との応答があった場合(ステップ50)は、
キャッシュサーバS0 はキャッシュサーバS2 に問い合
わせを行う(再問い合わせ)(ステップ52)。キャッシ
ュサーバS2 から〔オブジェクトObjをキャッシュして
いる〕と応答された場合(ステップ53)は、キャッシュ
サーバS2 からオブジェクトObjを取得し、これをキャ
ッシュし、情報管理部1にキャッシュしていることを記
録する(ステップ54)。キャッシュサーバS2 から〔オ
ブジェクトObjをキャッシュしていない〕と応答された
場合(ステップ53)は、マスターサーバからオブジェク
トObjを取得し、これをキャッシュし、情報管理部1に
キャッシュしていることを記録する(ステップ55)。(Case B) From the cache server S 1,
If there is a response that "the cache server S2 is caching the object Obj" (step 50),
The cache server S0 makes an inquiry to the cache server S2 (re-query) (step 52). When the cache server S2 responds [caches the object Obj] (step 53), it is determined that the object Obj is acquired from the cache server S2, cached, and cached in the information management unit 1. Record (step 54). When the cache server S2 responds [not cache the object Obj] (step 53), it acquires the object Obj from the master server, caches it, and records that it is cached in the information management unit 1. (Step 55).
【0038】(ケースC)キャッシュサーバS1 から、
〔オブジェクトObjの存在は不明〕との応答があった場
合(ステップ50)は、マスターサーバからオブジェクト
Objを取得し、これをキャッシュし、情報管理部1にキ
ャッシュしていることを記録する(ステップ55)。(Case C) From the cache server S 1,
If there is a response of [the existence of the object Obj is unknown] (step 50), the object Obj is acquired from the master server, cached, and the fact that it is cached in the information management unit 1 is recorded (step 50). 55).
【0039】全てのケースにおいて、キャッシュサーバ
S0 がオブジェクトObjをキャッシュすると、続いて、
オブジェクトObjのオブジェクト名Objが変換された自
然数Kに一致する自然数を付与されたキャッシュサーバ
に対して、オブジェクトObjをキャッシュしていること
を通知する(ステップ56)。オブジェクトObjのキャッ
シュが消去される際には、オブジェクトObjのオブジェ
クト名Objが変換された自然数Kに一致する自然数を付
与されたキャッシュサーバに対して、オブジェクトObj
のキャッシュを消去することを通知する(ステップ5
7)。In all cases, when the cache server S0 caches the object Obj,
The cache server to which a natural number that matches the converted natural number K of the object name Obj of the object Obj is notified that the object Obj is cached (step 56). When the cache of the object Obj is deleted, the object Obj is sent to the cache server to which a natural number corresponding to the converted natural number K is added to the object name Obj of the object Obj.
Notify to clear cache (Step 5
7).
【0040】図8は問い合わせを受けた場合のフロー図
であり、これを用いて、キャッシュサーバS1 がキャッ
シュサーバS0 から、オブジェクトObjについて問い合
わせを受けた場合の応答の動作を説明する。キャッシュ
サーバS1 は、サーバS0 から問い合わせを受けると、
先ず自己の情報管理部1を検索して、問い合わせを受け
たオブジェクトObjをキャッシュしているかチェックす
る(ステップ61)。キャッシュしている場合は〔キャッ
シュしている〕と応答し(ステップ62)、情報管理部1
に、キャッシュサーバS0 からオブジェクトObjについ
て問い合わせを受けたことをキャッシュデータとして記
録し(ステップ63)、終了する。FIG. 8 is a flow chart when an inquiry is received. Using this, the response operation when the cache server S1 receives an inquiry about the object Obj from the cache server S0 will be described. When the cache server S1 receives an inquiry from the server S0,
First, it searches its own information management unit 1 to check whether the object Obj for which the inquiry has been made is cached (step 61). If cached, the response is "cached" (step 62), and the information management unit 1
Then, the fact that an inquiry about the object Obj has been received from the cache server S0 is recorded as cache data (step 63), and the process is terminated.
【0041】オブジェクトObjをキャッシュしていない
場合は、オブジェクトObjについて、過去に問い合わせ
てきたキャッシュサーバ、又は過去にキャッシュしてい
ると通知してきたキャッシュサーバの中で消去したと通
知してきていないものが存在するか否かを情報管理部1
でチェックする(ステップ64)。存在する場合は、その
キャッシュサーバS2 をキャッシュサーバS0 に応答し
(ステップ65)、情報管理部1に、キャッシュサーバS
0 からオブジェクトObjについて問い合わせを受けたこ
とをキャッシュデータとして記録し(ステップ66)、終
了する。If the object Obj has not been cached, the cache server that has been queried in the past or the cache server that has been notified in the past that has cached the object Obj has not notified that the object Obj has been deleted. Information management unit 1 whether or not it exists
Is checked (step 64). If so, the cache server S2 responds to the cache server S0 (step 65), and the information management unit 1
The fact that an inquiry about the object Obj has been received from 0 is recorded as cache data (step 66), and the process ends.
【0042】一方、オブジェクトObjについて、過去に
問い合わせてきたか又は過去にキャッシュしていると通
知してきたキャッシュサーバが存在しないか、又は、キ
ャッシュしていると通知してきたキャッシュサーバのう
ちで消去したと通知してきていないものが存在しない場
合は、キャッシュサーバS0 に〔オブジェクトObjをキ
ャッシュしているサーバの存在は不明〕と応答し(ステ
ップ67)、問い合わせ元のキャッシュサーバS0 及びオ
ブジェクトObjのオブジェクト名を情報管理部1にキャ
ッシュデータとして記録して(ステップ68)、終了す
る。On the other hand, regarding the object Obj, it is determined that there is no cache server that has been queried in the past or notified that the object has been cached, or that the object Obj has been deleted among the cache servers that have been notified that the object Obj has been cached. If there is no one that has not been notified, a response is sent to the cache server S0 [the existence of the server that caches the object Obj is unknown] (step 67), and the object names of the cache server S0 and the object Obj of the inquiry source are entered. The data is recorded as cache data in the information management unit 1 (step 68), and the process ends.
【0043】次に、オブジェクトObjをキャッシュして
いると通知されたキャッシュサーバの動作を説明する。
オブジェクトObjをキャッシュしていると通知されたキ
ャッシュサーバは、情報管理部1に、通知してきたキャ
ッシュサーバ名及びオブジェクトObjのオブジェクト名
をキャッシュデータとして記録する。また、オブジェク
トObjを消去すると通知されたた場合は、通知元キャッ
シュサーバがオブジェクトObjをキャッシュしていると
のキャッシュデータを削除する。Next, the operation of the cache server notified that the object Obj is cached will be described.
The cache server notified that the object Obj is cached records the notified cache server name and the object name of the object Obj in the information management unit 1 as cache data. When notified that the object Obj is to be deleted, the cache data that the notification source cache server has cached the object Obj is deleted.
【0044】[0044]
【発明の効果】本発明によれば、或る探索サーバが或る
オブジェクトを取得したい場合に、他の適切な探索サー
バに問い合わせることにより、全体のキャッシュサーバ
数に依存しない問い合わせ回数で、目的のオブジェクト
を発見することが可能になる。更に、問い合わせ数が少
ないことにより、探索サーバの処理負荷も少ないことが
期待できる。従って、このように、本発明によれば、ス
ケーラビリティのあるオブジェクト探索取得方法を実現
することができる。According to the present invention, when a certain search server wants to obtain a certain object, it can make an inquiry to another appropriate search server, thereby making it possible to obtain the desired number of queries without depending on the total number of cache servers. Objects can be found. Furthermore, it can be expected that the processing load on the search server is also small due to the small number of inquiries. Therefore, as described above, according to the present invention, a scalable object search and acquisition method can be realized.
【図1】本発明のキャッシュサーバの構成の第1の実施
例を示す図である。FIG. 1 is a diagram showing a first embodiment of a configuration of a cache server of the present invention.
【図2】本発明を実施する場合のキャッシュサーバネッ
トワークの構成例を示す図である。FIG. 2 is a diagram illustrating a configuration example of a cache server network when implementing the present invention.
【図3】第1の実施例における問い合わせを行う場合の
動作のフロー図である。FIG. 3 is a flowchart of an operation when making an inquiry in the first embodiment.
【図4】第1の実施例における問い合わせを受けた場合
の動作のフロー図である。FIG. 4 is a flowchart of an operation when an inquiry is received in the first embodiment.
【図5】本発明のキャッシュサーバの構成の第2の実施
例を示す図である。FIG. 5 is a diagram showing a second embodiment of the configuration of the cache server of the present invention.
【図6】第2の実施例における問い合わせを行う場合の
動作のフロー図である。FIG. 6 is a flowchart of an operation when making an inquiry in the second embodiment.
【図7】第2の実施例における問い合わせを行う場合の
動作のフロー図である。FIG. 7 is a flowchart of an operation when making an inquiry in the second embodiment.
【図8】第2の実施例における問い合わせを受けた場合
の動作のフロー図である。FIG. 8 is a flowchart of an operation when an inquiry is received in the second embodiment.
1 情報管理部 2 ハッシュ値計算部 3 問い合わせ機能部 4 問い合わせに対する応答機能部 5 通知機能部 DESCRIPTION OF SYMBOLS 1 Information management part 2 Hash value calculation part 3 Inquiry function part 4 Response function part to inquiry 5 Notification function part
Claims (6)
他のサーバに問い合わせることによってオブジェクトを
発見する機能を有する探索サーバと、全てのオブジェク
トを保有しているマスターサーバとが、通信網によって
接続されている大規模分散サーバネットワークにおけ
る、オブジェクトの探索取得方法において、 各探索サーバが、 (1) 自己のサーバ名及び自身の探索キー、 (2) 自己が保有するオブジェクトのオブジェクト名、 (3) 他の探索サーバから過去に保有の有無の問い合わせ
を受けたオブジェクト名及び問い合わせ元探索サーバ
名、及び (4) 自己以外の全ての探索サーバのサーバ名及びそれら
の探索キーの4種類の情報を持ち、更に、各探索サーバ
は、 (a) 問い合わせ機能、 (b) 問い合わせに対する応答機能、及び (c) オブジェクト名を一意的に探索キーに変換する機能
の3種類の機能を具え、 探索サーバがオブジェクトを探索する際、先ず自己が保
有するオブジェクト、次に当該オブジェクトの探索キー
と一致する探索キーを持つ他の探索サーバに対して探索
し、これらのステップで当該オブジェクトを取得できな
い場合は、マスターサーバから当該オブジェクトを取得
することを特徴とするオブジェクトの探索取得方法。A search server having a function of holding a plurality of objects and a function of finding an object by inquiring another server, and a master server holding all objects are connected by a communication network. In a large-scale distributed server network, the search and retrieval method for each object is as follows: (1) its own server name and its own search key, (2) the object name of its own object, (3) other It has four types of information: the name of the object that has been previously inquired from the search server and the name of the search server from which it was queried, and (4) the server names of all search servers other than itself and their search keys. , Each search server has (a) an inquiry function, (b) a response function to an inquiry, and (c) an object. The search server has three types of functions that uniquely convert a name into a search key. When a search server searches for an object, it first has its own object, and then has a search key that matches the search key of the object. A search server, and if the object cannot be obtained in these steps, the object is obtained from the master server.
他のサーバに問い合わせることによってオブジェクトを
発見する機能を有する探索サーバと、全てのオブジェク
トを保有しているマスターサーバとが、通信網によって
接続されている大規模分散サーバネットワークにおけ
る、オブジェクトの探索取得方法において、 各探索サーバが、 (1) 自己のサーバ名及び自身の探索キー、 (2) 自己が保有するオブジェクトのオブジェクト名、 (3) 他の探索サーバから過去に保有の有無の問い合わせ
を受けたオブジェクト名及び問い合わせ元探索サーバ
名、 (4) 他の探索サーバから過去に保有の通知を受け且つ消
去の通知を受けていないオブジェクト名及び通知元探索
サーバ名、及び (5) 自己以外の全ての探索サーバのサーバ名及びそれら
の探索キーの5種類の情報を持ち、更に、各探索サーバ
は、 (a) 問い合わせ機能、 (b) 問い合わせに対する応答機能、 (c) 通知機能、及び (d) オブジェクト名を一意的に探索キーに変換する機能
の4種類の機能を具え、 探索サーバがオブジェクトを探索する際、先ず自己が保
有するオブジェクト、次に過去に当該オブジェクト保有
の通知を受け且つ消去の通知を受けていない他の探索サ
ーバを探索し、次に当該オブジェクトの探索キーと一致
する探索キーを持つ他の探索サーバに対して探索し、こ
れらのステップで当該オブジェクトを取得できない場合
は、マスターサーバから当該オブジェクトを取得するこ
とを特徴とするオブジェクトの探索取得方法。2. A search server having a function of holding a plurality of objects and a function of finding an object by querying another server, and a master server holding all objects are connected by a communication network. In a large-scale distributed server network, the search and retrieval method for each object is as follows: (1) its own server name and its own search key, (2) the object name of its own object, (3) other Object name and query source search server name that have been previously inquired by the search server for the presence or absence, and (4) Object names and notification sources that have been previously notified of possession from other search servers and have not been notified of deletion. Search server name, and (5) Server names of all search servers other than self and their search key 5 Each search server has (a) an inquiry function, (b) a response function to an inquiry, (c) a notification function, and (d) a function of uniquely converting an object name into a search key. When the search server searches for an object, the search server first searches for an object held by itself, and then searches for another search server that has received notification of the object holding in the past and has not received notification of deletion. Next, a search is performed on another search server having a search key that matches the search key of the object, and if the object cannot be obtained in these steps, the object is obtained from the master server. Search acquisition method.
を受けたオブジェクト名及び問い合わせ元探索サーバ
名、及び (4) 自己以外の全ての探索サーバのサーバ名及びそれら
の探索キーの4種類の情報を持ち、更に、 (a) 問い合わせ機能、 (b) 問い合わせに対する応答機能、及び (c) オブジェクト名を一意的に探索キーに変換する機能
の3種類の機能を具えたことを特徴とする探索サーバ。3. The search server: (1) own server name and own search key; (2) object name of an object held by the search server; and (3) inquiry about presence / absence of possession in the past from another search server. It has four types of information: the received object name and the query source search server name, and (4) the server names of all search servers other than itself and their search keys, and (a) a query function, (b) a query And (c) a function of uniquely converting an object name into a search key.
を受けたオブジェクト名及び問い合わせ元探索サーバ
名、 (4) 他の探索サーバから過去に保有の通知を受け且つ消
去の通知を受けていないオブジェクト名及び通知元探索
サーバ名、及び (5) 自己以外の全ての探索サーバのサーバ名及びそれら
の探索キーの5種類の情報を持ち、更に、 (a) 問い合わせ機能、 (b) 問い合わせに対する応答機能、 (c) 通知機能、及び (d) オブジェクト名を一意的に探索キーに変換する機能
の4種類の機能を具えたことを特徴とする探索サーバ。4. The search server: (1) own server name and own search key, (2) object name of an object held by itself, and (3) inquiry from another search server about presence / absence of possession in the past. (4) Object name and notification source search server name that have received notification of possession from other search servers in the past and have not received notification of deletion, and (5) Other than self It has five types of information, the server names of all search servers and their search keys. Furthermore, (a) the query function, (b) the response function to the query, (c) the notification function, and (d) the object name are unique. A search server comprising four types of functions of converting a search key into a search key.
を受けたオブジェクト名及び問い合わせ元探索サーバ
名、及び (4) 自己以外の全ての探索サーバのサーバ名及びそれら
の探索キーの4種類の情報を格納したことを特徴とする
記録媒体。5. A recording medium comprising: (1) its own server name and its own search key; (2) the object name of its own object; and (3) an inquiry from another search server as to whether or not it has been held in the past. (4) A storage medium storing four types of information of the received object name and the query source search server name, and (4) the server names of all search servers other than the self and the search keys thereof.
を受けたオブジェクト名及び問い合わせ元探索サーバ
名、 (4) 他の探索サーバから過去に保有の通知を受け且つ消
去の通知を受けていないオブジェクト名及び通知元探索
サーバ名、及び (5) 自己以外の全ての探索サーバのサーバ名及びそれら
の探索キーの5種類の情報を格納したことを特徴とする
記録媒体。6. A recording medium comprising: (1) its own server name and its own search key; (2) the object name of an object held by itself; and (3) an inquiry from another search server as to whether or not it has been held in the past. (4) Object name and notification source search server name that have received notification of possession from other search servers in the past and have not received notification of deletion, and (5) Other than self A recording medium storing five types of information of server names of all search servers and their search keys.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP9205724A JPH1153322A (en) | 1997-07-31 | 1997-07-31 | Object searching and acquiring method, search server and recording medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP9205724A JPH1153322A (en) | 1997-07-31 | 1997-07-31 | Object searching and acquiring method, search server and recording medium |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH1153322A true JPH1153322A (en) | 1999-02-26 |
Family
ID=16511640
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP9205724A Pending JPH1153322A (en) | 1997-07-31 | 1997-07-31 | Object searching and acquiring method, search server and recording medium |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH1153322A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000187609A (en) * | 1998-11-20 | 2000-07-04 | Internatl Business Mach Corp <Ibm> | Method for retrieving requested object and recording device |
US7386597B2 (en) | 2002-03-20 | 2008-06-10 | Hitachi, Ltd. | Contents distributing method and distributing system |
JP2013055374A (en) * | 2011-08-31 | 2013-03-21 | Nippon Hoso Kyokai <Nhk> | Content distribution system, content distribution server, cache server, content viewing apparatus, and program thereof |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH05233417A (en) * | 1992-02-20 | 1993-09-10 | Fujitsu Ltd | Distributed file system directory management method |
JPH0668010A (en) * | 1992-08-17 | 1994-03-11 | Nippon Telegr & Teleph Corp <Ntt> | Distributed cache management system |
JPH06290090A (en) * | 1993-04-06 | 1994-10-18 | Matsushita Electric Ind Co Ltd | Remote file accessing system |
JPH06309264A (en) * | 1993-03-23 | 1994-11-04 | Internatl Business Mach Corp <Ibm> | Method and apparatus for searching resources in a computer network having a cache server node |
JPH0981491A (en) * | 1995-09-12 | 1997-03-28 | Toshiba Corp | Network video server, client device and multimedia information providing method |
-
1997
- 1997-07-31 JP JP9205724A patent/JPH1153322A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH05233417A (en) * | 1992-02-20 | 1993-09-10 | Fujitsu Ltd | Distributed file system directory management method |
JPH0668010A (en) * | 1992-08-17 | 1994-03-11 | Nippon Telegr & Teleph Corp <Ntt> | Distributed cache management system |
JPH06309264A (en) * | 1993-03-23 | 1994-11-04 | Internatl Business Mach Corp <Ibm> | Method and apparatus for searching resources in a computer network having a cache server node |
JPH06290090A (en) * | 1993-04-06 | 1994-10-18 | Matsushita Electric Ind Co Ltd | Remote file accessing system |
JPH0981491A (en) * | 1995-09-12 | 1997-03-28 | Toshiba Corp | Network video server, client device and multimedia information providing method |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000187609A (en) * | 1998-11-20 | 2000-07-04 | Internatl Business Mach Corp <Ibm> | Method for retrieving requested object and recording device |
US7386597B2 (en) | 2002-03-20 | 2008-06-10 | Hitachi, Ltd. | Contents distributing method and distributing system |
JP2013055374A (en) * | 2011-08-31 | 2013-03-21 | Nippon Hoso Kyokai <Nhk> | Content distribution system, content distribution server, cache server, content viewing apparatus, and program thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7139747B1 (en) | System and method for distributed web crawling | |
US6952730B1 (en) | System and method for efficient filtering of data set addresses in a web crawler | |
CN106874383B (en) | Decoupling distribution method of metadata of distributed file system | |
US8489658B2 (en) | Arrangement for a distributed file system having data objects mapped independent of any data object attribute | |
JP4278299B2 (en) | Communication system and method | |
US5933832A (en) | Retrieval system for frequently updated data distributed on network | |
US6564218B1 (en) | Method of checking the validity of a set of digital information, and a method and an apparatus for retrieving digital information from an information source | |
EP2073505A1 (en) | Query routing in distributed database system | |
JP2002511616A (en) | High performance object cache | |
US6757726B2 (en) | Cache server having a cache-data-list table storing information concerning data retained by other cache servers | |
CN112052219A (en) | File storage and retrieval method and device, electronic equipment and readable storage medium | |
JP2002525749A (en) | Internet caching system, method and system configuration | |
JP2000020385A (en) | Data cache method in data retrieval system | |
US8521696B2 (en) | Structure of an alternative evaluator for directory operations | |
JPH05143435A (en) | Data base system | |
JP2007109237A (en) | Data search system, method and program | |
JP2005063374A (en) | Data management method, data management device, program for the same, and recording medium | |
EP1217805A1 (en) | Method and apparatus for replacing data transmission request expressions | |
JPH1153322A (en) | Object searching and acquiring method, search server and recording medium | |
JP2001005710A (en) | Database integration system and data access method for multiple databases | |
JP2000137689A (en) | Shared data cache processing method, device for executing the same, and medium recording the processing program | |
JPH08235040A (en) | Data file management system | |
WO2003052636A2 (en) | System and method for processing a request using multiple database units | |
JP2009116496A (en) | Directory server device, directory server program, directory service system, and directory service management method | |
JP3058258B2 (en) | Data server access method and LAN |