JP2002373102A - File access control program, file access controller and file access control method - Google Patents

File access control program, file access controller and file access control method

Info

Publication number
JP2002373102A
JP2002373102A JP2001182450A JP2001182450A JP2002373102A JP 2002373102 A JP2002373102 A JP 2002373102A JP 2001182450 A JP2001182450 A JP 2001182450A JP 2001182450 A JP2001182450 A JP 2001182450A JP 2002373102 A JP2002373102 A JP 2002373102A
Authority
JP
Japan
Prior art keywords
file
load distribution
information
node
access
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.)
Granted
Application number
JP2001182450A
Other languages
Japanese (ja)
Other versions
JP4001727B2 (en
Inventor
Takashi Watanabe
高志 渡辺
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2001182450A priority Critical patent/JP4001727B2/en
Publication of JP2002373102A publication Critical patent/JP2002373102A/en
Application granted granted Critical
Publication of JP4001727B2 publication Critical patent/JP4001727B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Multi Processors (AREA)

Abstract

PROBLEM TO BE SOLVED: To increase scalability and node side processing efficiency without operating any complicate setting with respect to various access patterns in the case of sharing a file among a plurality of clients. SOLUTION: This file access controller is provided with a plurality of nodes 6001 -600m whose files are respectively accessed according to access requests from clients 1001 -100n for outputting at least load distribution information for each access and a load distributing part 400 for transferring the access requests to the nodes fulfilling a prescribed condition among those nodes 6001 -600m based on the load distribution information each time the access requests are issued.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、複数のクライアン
ト間でファイルを共有する際のアクセス制御に用いられ
るファイルアクセス制御プログラム、ファイルアクセス
制御装置およびファイルアクセス制御方法に関するもの
であり、複数のクライアント間でファイルを共有する際
の多様なアクセスパターンに対して複雑な設定をするこ
となく、スケーラビリティおよびノード側の効率を高め
ることができるファイルアクセス制御プログラム、ファ
イルアクセス制御装置およびファイルアクセス制御方法
に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a file access control program, a file access control device, and a file access control method used for access control when sharing a file among a plurality of clients. The present invention relates to a file access control program, a file access control device, and a file access control method capable of improving scalability and efficiency on a node side without making complicated settings for various access patterns when files are shared by a user. is there.

【0002】近時では、コンピュータのネットワーク化
が急速に進んでおり、これに伴って、コンピュータ間で
共有するファイルを一括して管理するファイルサーバの
需要が高まっている。これは、低コストでファイルシス
テムを構築できるためである。すなわち、ファイルシス
テムでは、ファイルサーバを用いることによって複数の
計算機間でファイルの共有が可能となるため、同一のフ
ァイルを複数の計算機間で複数コピーして所持しないで
すむようになるからである。
In recent years, networking of computers has been rapidly progressing, and accordingly, a demand for a file server for collectively managing files shared between computers has been increasing. This is because a file system can be constructed at low cost. That is, in the file system, the use of the file server enables the file to be shared among a plurality of computers, so that the same file need not be copied and owned by a plurality of computers.

【0003】[0003]

【従来の技術】従来のファイルシステムは、複数のクラ
イアントと、該クライアントにネットワークを介して接
続され、複数のクライアント間でファイルを共有するた
めのファイルサーバとから構成されている。ここで、従
来のファイルシステムとしては、つぎの(1)項〜
(3)項のものが挙げられる。
2. Description of the Related Art A conventional file system comprises a plurality of clients and a file server connected to the clients via a network and for sharing files among the plurality of clients. Here, as the conventional file system, the following items (1) to (1) are used.
(3).

【0004】(1)クライアントから見て、複数のファ
イルサーバが独立して存在しているファイルシステム。 (2)クライアントから見て、複数のファイルサーバが
同一のディレクトリ構造を有するファイルシステム。 (3)クライアントのIPアドレスやポート番号に基づ
いて、ファイルアクセスに関する負荷分散を行う負荷分
散装置を有するファイルシステム。
(1) A file system in which a plurality of file servers exist independently from a client. (2) A file system in which a plurality of file servers have the same directory structure as viewed from a client. (3) A file system having a load distribution device that performs load distribution for file access based on the IP address and port number of the client.

【0005】また、従来のファイルシステムでは、アク
セス集中によるシステムダウンを回避するために、ファ
イルのアクセス先であるノードへのアクセス要求を分散
させている。(1)項および(2)項のファイルシステ
ムでは、システム管理者が、どのノードおよびデータ領
域を分散的に使用するかを個別的にクライアント毎に設
定している。さらに、かかるファイルシステムでは、上
記設定に対応したネットワーク設計が必要となる。
In a conventional file system, access requests to nodes to which a file is accessed are distributed in order to avoid a system down due to a concentration of accesses. In the file systems of (1) and (2), the system administrator individually sets which nodes and data areas are used in a distributed manner for each client. Further, such a file system requires a network design corresponding to the above settings.

【0006】また、(3)項のファイルシステムでは、
負荷分散装置により自動的に負荷分散を行うことが可能
である。このファイルシステムでは、負荷分散装置でフ
ァイルの情報を認識していないため、ノード側でファイ
ルアクセスの排他処理が実行される。
In the file system of the item (3),
The load distribution can be automatically performed by the load distribution device. In this file system, since the information of the file is not recognized by the load distribution device, the exclusive access of the file access is executed on the node side.

【0007】[0007]

【発明が解決しようとする課題】ところで、前述したよ
うに、(1)項および(2)項のファイルシステムで
は、システム管理者が、どのノードおよびデータ領域を
分散的に使用するかを個別的にクライアント毎に設定し
ている旨を述べた。しかしながら、かかるファイルシス
テムでは、クライアント数が増えるに従って、高度なス
キルや複雑な設定を必要とする。従って、一般のシステ
ム管理者のスキルでは、高いスケーラビリティを発揮す
ることが難しいという問題があった。
As described above, in the file systems of the items (1) and (2), the system administrator can individually determine which nodes and data areas are to be used in a distributed manner. Stated that the setting was made for each client. However, such a file system requires advanced skills and complicated settings as the number of clients increases. Therefore, there is a problem that it is difficult to exhibit high scalability with the skill of a general system administrator.

【0008】また、(3)項のファイルシステムでは、
負荷分散装置でファイルの情報を認識していないため、
ノード側でファイルアクセスの排他処理を実行しなけれ
ばならないため、ノード側のアクセスに関する処理効率
が低くなるという問題があった。
In the file system of the item (3),
Since the load balancer does not recognize the file information,
Since exclusive processing of file access must be executed on the node side, there has been a problem that processing efficiency regarding access on the node side is reduced.

【0009】本発明は、上記に鑑みてなされたもので、
複数のクライアント間でファイルを共有する際の多様な
アクセスパターンに対して複雑な設定をすることなく、
スケーラビリティおよびノード側の処理効率を高めるこ
とができるファイルアクセス制御プログラム、ファイル
アクセス制御装置およびファイルアクセス制御方法を提
供することを目的とする。
[0009] The present invention has been made in view of the above,
Without complicated settings for various access patterns when sharing files between multiple clients,
An object of the present invention is to provide a file access control program, a file access control device, and a file access control method capable of improving scalability and processing efficiency on a node side.

【0010】[0010]

【課題を解決するための手段】上記目的を達成するため
に、本発明は、コンピュータを、クライアントからのア
クセス要求に応じてファイルにそれぞれアクセスされ、
アクセス毎に少なくとも負荷分散情報を出力する複数の
ノード、前記アクセス要求がある毎に前記負荷分散情報
に基づいて、前記複数のノードのうち所定の条件を満た
すノードへ当該アクセス要求を転送する負荷分散手段、
として機能させるためのファイルアクセス制御プログラ
ムである。
In order to achieve the above-mentioned object, the present invention provides a computer which accesses a file in response to an access request from a client,
A plurality of nodes that output at least load balancing information for each access, and a load balancing that transfers the access request to a node satisfying a predetermined condition among the plurality of nodes based on the load balancing information each time the access request is issued. means,
This is a file access control program for functioning as a program.

【0011】また、本発明は、クライアントからのアク
セス要求に応じてファイルにそれぞれアクセスされ、ア
クセス毎に少なくとも負荷分散情報を出力する複数のノ
ードと、前記アクセス要求がある毎に前記負荷分散情報
に基づいて、前記複数のノードのうち所定の条件を満た
すノードへ当該アクセス要求を転送する負荷分散手段
と、を備えたことを特徴とする。
Further, the present invention provides a plurality of nodes each of which accesses a file in response to an access request from a client and outputs at least load distribution information for each access; Load distribution means for transferring the access request to a node satisfying a predetermined condition based on the plurality of nodes.

【0012】また、本発明は、クライアントからのアク
セス要求に応じてファイルにそれぞれアクセスされ、ア
クセス毎に少なくとも負荷分散情報を複数のノードから
それぞれ出力させる負荷分散情報出力工程と、前記アク
セス要求がある毎に前記負荷分散情報に基づいて、前記
複数のノードのうち所定の条件を満たすノードへ当該ア
クセス要求を転送する負荷分散工程と、を含むことを特
徴とする。
Further, the present invention provides a load balancing information output step in which a file is accessed in response to an access request from a client and at least load balancing information is output from a plurality of nodes for each access, and the access request is provided. A load balancing step of transferring the access request to a node satisfying a predetermined condition among the plurality of nodes based on the load balancing information.

【0013】かかる発明によれば、クライアントからア
クセス要求がある毎にノードからそれぞれ出力される負
荷分散情報に基づいて、複数のノードのうち所定の条件
を満たすノードへ当該アクセス要求を転送し負荷分散を
実現するようにしたので、複数のクライアント間で複数
のノードにおけるファイルを共有する際の多様なアクセ
スパターンに対して複雑な設定をすることなく、スケー
ラビリティおよびノード側の処理効率を高めることがで
きる。
According to this invention, the access request is transferred to a node satisfying a predetermined condition among a plurality of nodes based on the load distribution information output from the node each time an access request is received from the client. As a result, scalability and processing efficiency at the node side can be improved without complicated settings for various access patterns when files are shared at multiple nodes between multiple clients. .

【0014】[0014]

【発明の実施の形態】以下、図面を参照して本発明にか
かるファイルアクセス制御プログラム、ファイルアクセ
ス制御装置およびファイルアクセス制御方法の一実施の
形態について詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, an embodiment of a file access control program, a file access control device and a file access control method according to the present invention will be described in detail with reference to the drawings.

【0015】図1は、本発明にかかる一実施の形態の構
成を示すブロック図である。この図に示したファイルシ
ステムは、クライアント1001 〜100n 、外部ネッ
トワーク200およびファイルサーバ300から構成さ
れている。クライアント1001 〜100n は、n台の
コンピュータ装置であり、外部ネットワーク200を介
して、ファイルサーバ300にアクセス可能とされてい
る。
FIG. 1 is a block diagram showing the configuration of an embodiment according to the present invention. The file system shown in this figure includes clients 100 1 to 100 n , an external network 200, and a file server 300. The clients 100 1 to 100 n are n computer devices, and can access the file server 300 via the external network 200.

【0016】これらのクライアント1001 〜100n
は、ファイルサーバ300におけるファイルを共有して
おり、ファイルサーバ300からのファイルのリード
や、ファイルサーバ300へのファイルのライト、ファ
イル検索等を実行する。図2は、クライアント1001
〜100n から外部ネットワーク200を介して、ファ
イルサーバ300へ送信されるファイル共有要求情報7
00の一例を示す図である。
These clients 100 1 to 100 n
Share a file in the file server 300 and execute file reading from the file server 300, writing of a file to the file server 300, file search, and the like. FIG. 2 shows the client 100 1
From to 100 n via the external network 200, the file sharing request information 7 that is sent to the file server 300
It is a figure showing an example of 00.

【0017】上記ファイル共有要求情報700は、ファ
イルの共有をファイルサーバ300へ要求するための情
報であり、ファイルハンドル情報、ファイル名情報およ
びオフセット情報から構成されている。ファイルハンド
ル情報は、ファイルを一意に指定するためのバイト列か
らなる情報である。ファイル名情報は、当該ファイルの
名称に関する文字列からなる情報である。オフセット情
報は、アクセス範囲を表す数値からなる情報である。
The file sharing request information 700 is information for requesting the file server 300 to share a file, and includes file handle information, file name information, and offset information. The file handle information is information including a byte string for uniquely specifying a file. The file name information is information including a character string relating to the name of the file. The offset information is information including a numerical value indicating an access range.

【0018】図1に戻り、ファイルサーバ300は、ク
ライアント1001 〜100n からのファイル共有要求
(リード、ライト、ファイル検索等)に応じて、ファイ
ル共有応答(ファイルの転送等)を行うサーバである。
このファイルサーバ300に存在するファイルは、前述
したように、クライアント1001 〜100n により共
有される。
Returning to FIG. 1, the file server 300 is a server that performs a file sharing response (file transfer, etc.) in response to a file sharing request (read, write, file search, etc.) from the clients 100 1 to 100 n. is there.
The files existing in the file server 300 are shared by the clients 100 1 to 100 n as described above.

【0019】また、ファイルサーバ300は、負荷分散
部400、内部ネットワーク500およびノード600
0 〜600m から構成されている。負荷分散部400
は、外部ネットワーク200と内部ネットワーク500
との間に介挿されており、クライアント1001 〜10
n からのアクセス(負荷)を、後述するノード600
0 〜600m のいずれかへ分散する。
Further, the file server 300 is used for load balancing.
Unit 400, internal network 500 and node 600
0 ~ 600m It is composed of Load distribution unit 400
Are the external network 200 and the internal network 500
Between the client 1001 -10
0n Access (load) from the node 600 to be described later.
0 ~ 600m To any of

【0020】負荷分散部400において、外部ネットワ
ークインタフェース401は、外部ネットワーク200
との間の通信インタフェースをとる。制御部402は、
負荷分散に関する各種制御を行う。この制御部402の
動作の詳細については、後述する。記憶部403には、
図3に示した各種点数テーブル、図4および図5に示し
た各種統計テーブルが記憶されている。
In the load distribution unit 400, the external network interface 401 is connected to the external network 200
Takes a communication interface between The control unit 402
Performs various controls related to load distribution. Details of the operation of the control unit 402 will be described later. In the storage unit 403,
The various score tables shown in FIG. 3 and the various statistical tables shown in FIGS. 4 and 5 are stored.

【0021】図3(a)、図3(b)および図3(c)
に示したキャッシュ重視型点数テーブル800、負荷率
重視型点数テーブル810および中間型点数テーブル8
20は、点数制により負荷分散の方式を決定するための
テーブルである。ここで、一実施の形態における負荷分
散の方式としては、キャッシュ重視型、負荷率重視型お
よび中間型という三種類がある。
FIGS. 3 (a), 3 (b) and 3 (c)
8 shows the cache-oriented point table 800, the load factor-oriented point table 810, and the intermediate point table 8.
Reference numeral 20 denotes a table for determining a load distribution method based on a point system. Here, there are three types of load distribution methods in one embodiment: a cache-oriented type, a load factor-oriented type, and an intermediate type.

【0022】キャッシュ重視型は、ファイル共有要求に
対応するデータ(ファイル)が後述するキャッシュメモ
リに存在することを重視した負荷分散の方式である。図
3(a)に示したキャッシュ重視型点数テーブル800
は、点数制の「条件」と、「条件」に「一致」または
「不一致」の場合の点数との対応関係を表すテーブルで
あり、キャッシュ重視型の負荷分散方式で用いられる。
The cache emphasis type is a load distribution method that emphasizes that data (file) corresponding to a file sharing request exists in a cache memory described later. The cache-oriented score table 800 shown in FIG.
Is a table showing the correspondence between the "condition" of the scoring system and the score when the "condition" is "match" or "mismatch", and is used in a cache-oriented load distribution method.

【0023】「条件」としては、ファイルが存在するノ
ードがアクセス管理ノードであること、データがキャッ
シュメモリに存在すること、ノードの負荷率が80%未
満であること、およびノードの負荷率が100%である
こと、が挙げられる。上記アクセス管理ノードは、シス
テム管理者により、クライアントとノードとの対応関係
が定義されたノードである。
The condition is that the node where the file exists is an access control node, that the data exists in the cache memory, that the load factor of the node is less than 80%, and that the load factor of the node is 100 %. The access management node is a node in which the correspondence between the client and the node is defined by the system administrator.

【0024】図3(b)に示した負荷率重視型点数テー
ブル810は、点数制の「条件」と、「条件」に「一
致」または「不一致」の場合の点数との対応関係を表す
テーブルであり、負荷率重視型の負荷分散方式で用いら
れる。この負荷率重視型点数テーブル810の「条件」
は、キャッシュ重視型点数テーブル800の「条件」と
同一である。ただし、負荷率重視型点数テーブル810
においては、キャッシュ重視型点数テーブル800に比
較して、「条件」に「一致」または「不一致」の場合の
点数が異なる部分がある。
The load factor emphasis type score table 810 shown in FIG. 3B is a table showing the correspondence between the "condition" of the score system and the score when "match" or "mismatch" with "condition". And is used in a load distribution method of a load factor emphasis type. "Conditions" in the load factor emphasis type score table 810
Is the same as the “condition” in the cache-oriented score table 800. However, the load factor emphasis type score table 810
In some cases, as compared with the cache-oriented score table 800, there is a portion where the score differs when the "condition" is "match" or "mismatch".

【0025】図3(c)に示した中間型点数テーブル8
20は、点数制の「条件」と、「条件」に「一致」また
は「不一致」の場合の点数との対応関係を表すテーブル
であり、キャッシュ重視型と負荷率重視型との中間的な
位置づけの負荷分散方式で用いられる。
The intermediate type score table 8 shown in FIG.
Reference numeral 20 denotes a table indicating the correspondence between the "condition" of the score system and the score when the "condition" is "matched" or "mismatched", and is positioned intermediately between the cache-oriented type and the load factor-oriented type. Is used in the load distribution method.

【0026】この中間型点数テーブル820の「条件」
は、キャッシュ重視型点数テーブル800および負荷率
重視型点数テーブル810の「条件」と同一である。た
だし、中間型点数テーブル820においては、キャッシ
ュ重視型点数テーブル800および負荷率重視型点数テ
ーブル810と比較して、「条件」に「一致」または
「不一致」の場合の点数が異なる部分がある。
"Conditions" of the intermediate type score table 820
Are the same as the “conditions” in the cache-oriented point table 800 and the load factor-oriented point table 810. However, in the intermediate type score table 820, there is a portion where the score when the “condition” is “match” or “mismatch” is different from the cache-oriented score table 800 and the load factor-oriented score table 810.

【0027】図4(a)に示したハッシュ値テーブル9
00は、上述したアクセス管理ノードであることの条件
判定に用いられるテーブルであり、アクセス管理ノード
に対応するノード番号と、ハッシュ値との対応関係を表
すテーブルである。ここで、ノード番号0〜mは、ノー
ド6001 〜600m (図1参照)に対応している。ハ
ッシュ値は、図2に示したファイル共有要求情報700
のファイルハンドル情報およびファイル名情報を一方向
関数であるハッシュ関数に適用した値であり、アクセス
管理ノードに対応するノード番号を一意に特定する値で
ある。
The hash value table 9 shown in FIG.
Reference numeral 00 denotes a table used for determining the condition of being the access management node described above, and is a table indicating a correspondence between a node number corresponding to the access management node and a hash value. Here, the node numbers 0 to m correspond to the nodes 600 1 to 600 m (see FIG. 1). The hash value is the file sharing request information 700 shown in FIG.
This is a value obtained by applying the file handle information and the file name information to a hash function that is a one-way function, and is a value that uniquely identifies a node number corresponding to an access management node.

【0028】図4(b)に示したキャッシュ統計テーブ
ル910は、ファイルサーバ300に存在する共有可能
なファイルA〜Zと、当該ファイルが格納されているキ
ャッシュメモリを有するノードを表す(キャッシュ)ノ
ード番号との対応関係を表すテーブルである。
The cache statistics table 910 shown in FIG. 4B is a (cache) node representing a sharable file AZ existing in the file server 300 and a node having a cache memory in which the file is stored. It is a table showing the correspondence with a number.

【0029】同図に示した例では、ファイルAは、ノー
ド番号0に対応するノード6000(図1参照)のキャ
ッシュメモリ608に格納されている。また、ファイル
Bは、ノード番号0に対応するノード6000(図1参
照)のキャッシュメモリ608、およびノード番号2に
対応するノード6002 のキャッシュメモリ(図示略)
に格納されている。
In the example shown in FIG. 3, file A is stored in cache memory 608 of node 600 0 (see FIG. 1) corresponding to node number 0. The file B is stored in the cache memory 608 of the node 600 0 (see FIG. 1) corresponding to the node number 0 and the cache memory (not shown) of the node 600 2 corresponding to the node number 2
Is stored in

【0030】図4(c)に示した負荷率統計テーブル9
20は、ノード6000 〜600mに対応するノード番
号0〜mと、ノード6000 〜600m の負荷率との対
応関係を表すテーブルである。同図に示した例では、ノ
ード番号0に対応するノード6000 の負荷率は、30
%である。
The load ratio statistics table 9 shown in FIG.
20, a node number 0~m corresponding to node 600 0 to 600 m, a table establishing the relationship between the load factor of the node 600 0 to 600 m. In the example shown in the figure, the load factor of the node 600 0 corresponding to the node number 0, 30
%.

【0031】図5(a)に示したファイル・アクセス数
統計テーブル930は、ファイルサーバ300に存在す
る共有可能なファイルA〜Zと、クライアント1001
〜100n からのアクセス数との対応関係を表すテーブ
ルである。同図に示した例では、ファイルAのアクセス
数は、1520である。
The file access count statistics table 930 shown in FIG. 5A includes the sharable files AZ existing in the file server 300 and the client 100 1.
It is a table showing the correspondence with the number of accesses from 100 n . In the example shown in the figure, the access number of the file A is 1520.

【0032】図5(b)に示したアクセス種類統計テー
ブル940は、クライアント100 1 〜100n からフ
ァイルサーバ300へのアクセスの種類(リード、ライ
トおよびファイル検索)と、そのアクセス数との対応関
係を表すテーブルである。同図に示した例では、リード
に関するアクセス数は、1024である。
The access type statistics table shown in FIG.
Bull 940 is the client 100 1 ~ 100n From
Type of access to the file server 300 (read, write
And file and file searches) and the number of accesses
It is a table showing a person in charge. In the example shown in FIG.
The number of accesses for 1024 is 1024.

【0033】図5(c)に示した要求数統計テーブル9
50は、ノード6000 〜600m(図1参照)に対応
するノード番号0〜mと、クライアント1001 〜10
nから当該ノードへのファイル共有要求(ファイルア
クセス要求)に関する要求数との対応関係を表すテーブ
ルである。同図に示した例では、ノード番号0に対応す
るノード6000 に関する要求数は、1である。
The request number statistical table 9 shown in FIG.
Reference numeral 50 denotes node numbers 0 to m corresponding to the nodes 600 0 to 600 m (see FIG. 1), and clients 100 1 to 100 m .
11 is a table showing a correspondence relationship from 0 n to the number of requests for a file sharing request (file access request) to the node. In the example shown in the figure, the number of requests for the node 600 0 corresponding to the node number 0 is 1.

【0034】図5(d)に示したノード・アクセス数統
計テーブル960は、ノード600 0 〜600m (図1
参照)に対応するノード番号0〜mと、クライアント1
00 1 〜100n から当該ノードへのアクセス数との対
応関係を表すテーブルである。同図に示した例では、ノ
ード番号0に対応するノード6000 に関するアクセス
数は、102である。ここで、前述した各種統計テーブ
ルは、ファイルへのアクセスがある毎に制御部402
(図1参照)により適宜更新される。
The node access count shown in FIG.
The total table 960 includes the node 600 0 ~ 600m(Figure 1
Node number 0-m corresponding to client 1)
00 1 ~ 100n Vs. the number of accesses to the node from
It is a table showing a response. In the example shown in FIG.
Node 600 corresponding to node number 00 Access
The number is 102. Here, the various statistical tables mentioned above
Every time the file is accessed,
(See FIG. 1).

【0035】図1に戻り、内部ネットワークインタフェ
ース404は、内部ネットワーク500との通信インタ
フェースをとる。ノード6000 〜600m は、ノード
番号0〜mに対応しており、クライアント1001 〜1
00n のアクセス先である。これらのノード6000
600m は、ファイルを格納するディスクおよびファイ
ルを一時的に格納しアクセスを高速化するためのキャッ
シュメモリをそれぞれ有しており、全体として仮想的な
一つのファイル格納部とみなすことができる。
Returning to FIG. 1, the internal network interface 404 takes a communication interface with the internal network 500. The nodes 600 0 to 600 m correspond to the node numbers 0 to m , and the clients 100 1 to 100 1
00 n is the access destination. These nodes 600 0-
The 600 m has a disk for storing files and a cache memory for temporarily storing files and speeding up access, and can be regarded as a virtual single file storage unit as a whole.

【0036】ノード6000 において、ネットワーク処
理部601は、内部ネットワーク500との通信インタ
フェースをとる。データ統合部602は、ファイル共有
要求があった場合に、ファイル共有応答メッセージとし
て図6(a)に示した各種情報およびデータを統合し、
これを応答情報1000として負荷分散部400へ送信
する。
[0036] In the node 600 0, the network processing unit 601 takes a communication interface with the internal network 500. When there is a file sharing request, the data integration unit 602 integrates various information and data shown in FIG. 6A as a file sharing response message,
This is transmitted to the load distribution unit 400 as response information 1000.

【0037】図6(a)に示した応答情報1000にお
いて、負荷分散情報1001は、キャッシュ統計テーブ
ル910(図4(b)参照)、負荷率統計テーブル92
0(図4(c)参照)、ファイル・アクセス数統計テー
ブル930(図5(a)参照)、アクセス種類統計テー
ブル940(図5(b)参照)、要求数統計テーブル9
50(図5(c)参照)およびノード・アクセス数統計
テーブル960(図5(d)参照)を更新するための負
荷分散情報(統計情報)から構成されている。
In the response information 1000 shown in FIG. 6A, the load distribution information 1001 includes a cache statistics table 910 (see FIG. 4B) and a load ratio statistics table 92.
0 (see FIG. 4C), file access number statistics table 930 (see FIG. 5A), access type statistics table 940 (see FIG. 5B), request number statistics table 9
50 (see FIG. 5 (c)) and load distribution information (statistical information) for updating the node access count statistics table 960 (see FIG. 5 (d)).

【0038】ヘッダ情報1002は、データ1004の
ヘッダ(宛先、データの型等)に関する情報である。フ
ァイルID情報1003は、アクセス対象のファイルを
識別するための情報である。データ1004は、アクセ
ス対象のファイルのデータである。
The header information 1002 is information relating to the header (destination, data type, etc.) of the data 1004. The file ID information 1003 is information for identifying a file to be accessed. Data 1004 is data of a file to be accessed.

【0039】図1に戻り、ファイル共有処理部603
は、ファイル共有プロトコルに従って、ファイル共有処
理を実行する。負荷監視部604は、ノード6000
負荷率を監視する。この負荷監視部604における監視
結果は、負荷率統計テーブル920(図4(c)参照)
に反映される。
Returning to FIG. 1, the file sharing processing unit 603
Executes a file sharing process according to a file sharing protocol. Load monitoring unit 604 monitors the load factor of the node 600 0. The monitoring result of the load monitoring unit 604 is a load ratio statistical table 920 (see FIG. 4C).
Is reflected in

【0040】ファイル処理部605は、ファイルのリー
ド、ライト、検索等に関する処理を実行する。このファ
イル処理部605において、アクセス管理部606は、
ファイルアクセスを管理する。ディスク607には、フ
ァイルが格納されている。
The file processing unit 605 executes processing related to reading, writing, searching, and the like of a file. In the file processing unit 605, the access management unit 606
Manage file access. The disk 607 stores files.

【0041】キャッシュメモリ608には、ディスク6
07に格納されているファイルのうち、リード済みのフ
ァイルが格納される。ここで、キャッシュメモリ608
にファイルを格納する理由は、ディスク607から当該
ファイルをリードする場合に比べて、キャッシュメモリ
608からファイルをリードしたほうが、アクセス速度
が速くなるからである。
The cache memory 608 has a disk 6
Among the files stored in 07, the file which has been read is stored. Here, the cache memory 608
The reason that the file is stored in the cache memory 608 is that the access speed is faster than when the file is read from the disk 607 as compared with the case where the file is read from the disk 607.

【0042】キャッシュ制御部609は、キャッシュメ
モリ608にファイルが存在するか否かの判断(キャッ
シュヒット判断)や、キャッシュメモリ608へのファ
イルのリード/ライト制御を行う。ファイル入出力部6
10は、ディスク607またはキャッシュメモリ608
に関するファイルの入出力を行う。なお、ノード600
1 〜600m も、上述したノード6000 と同一構成と
されている。
The cache control unit 609 determines whether or not a file exists in the cache memory 608 (cache hit determination) and controls read / write of a file to / from the cache memory 608. File input / output unit 6
10 is a disk 607 or a cache memory 608
Input and output files related to The node 600
1 to 600 m are also the same configuration as node 600 0 as described above.

【0043】つぎに、一実施の形態の動作について、図
7〜図10に示したフローチャートを参照しつつ説明す
る。図7は、一実施の形態における負荷分散方式選択処
理を説明するフローチャートである。この負荷分散方式
選択処理は、制御部402(図1参照)により所定時間
毎に実行され、前述した負荷分散方式としてのキャッシ
ュ重視型(図3(a)参照)、負荷率重視型(図3
(b)参照)および中間型(図3(c)参照)の中から
いずれか一つを選択するための処理である。
Next, the operation of the embodiment will be described with reference to the flowcharts shown in FIGS. FIG. 7 is a flowchart illustrating a load distribution method selection process according to one embodiment. This load distribution method selection processing is executed at predetermined time intervals by the control unit 402 (see FIG. 1), and the cache-oriented type (see FIG. 3A) and the load factor-oriented type (see FIG.
This is a process for selecting any one of (b) and the intermediate type (see FIG. 3 (c)).

【0044】言い換えれば、負荷分散方式選択処理は、
キャッシュ重視型点数テーブル800(図3(a)参
照)、負荷率重視型点数テーブル810(図3(b)参
照)および中間型点数テーブル820(図3(c)参
照)の中からいずれか一つを選択するための処理であ
る。
In other words, the load distribution method selection processing is as follows.
One of the cache-oriented point table 800 (see FIG. 3A), the load factor-oriented point table 810 (see FIG. 3B), and the intermediate point table 820 (see FIG. 3C). This is a process for selecting one.

【0045】図8は、図1に示した負荷分散部400の
動作を説明するフローチャートである。図9は、図8に
示したファイル共有要求処理を説明するフローチャート
である。図10は、図8に示したファイル共有応答処理
を説明するフローチャートである。
FIG. 8 is a flowchart for explaining the operation of the load distribution unit 400 shown in FIG. FIG. 9 is a flowchart illustrating the file sharing request process shown in FIG. FIG. 10 is a flowchart illustrating the file sharing response process shown in FIG.

【0046】図7に示したステップSA1では、負荷分
散部400(図1参照)の制御部402は、図5(a)
に示したファイル・アクセス数統計テーブル930を参
照する。ステップSA2では、制御部402は、ファイ
ル・アクセス数統計テーブル930に基づいて、少数
(例えば、3個)のファイルにアクセスが集中している
か否かを判断する。
At step SA1 shown in FIG. 7, the control unit 402 of the load distribution unit 400 (see FIG. 1)
Is referred to the file access number statistics table 930 shown in FIG. In step SA2, the control unit 402 determines whether access is concentrated on a small number (for example, three) of the files based on the file access number statistical table 930.

【0047】ステップSA2の判断結果が「Yes」で
ある場合、ステップSA3では、制御部402は、負荷
分散方式を負荷率重視型として、図3(b)に示した負
荷率重視型点数テーブル810を選択する。ステップS
A12では、制御部402は、所定時間待機した後、ス
テップSA1以降を繰り返す。以後、負荷分散部400
では、別の負荷分散方式が選択されるまで、負荷率重視
型点数テーブル810に従って、負荷分散処理が実行さ
れる。
If the decision result in the step SA2 is "Yes", in a step SA3, the control section 402 sets the load distribution method to the load factor emphasizing type, and the load factor emphasizing type point table 810 shown in FIG. Select Step S
In A12, the control unit 402 waits for a predetermined time and then repeats Step SA1 and subsequent steps. Thereafter, the load distribution unit 400
Here, the load distribution processing is executed in accordance with the load factor emphasis type score table 810 until another load distribution method is selected.

【0048】一方、ステップSA2の判断結果が「N
o」である場合、ステップSA4では、制御部402
は、ファイル・アクセス数統計テーブル930(図5
(a)参照)に基づいて、多数(例えば、10個)のフ
ァイルにアクセスが分散しているか否かを判断する。
On the other hand, if the result of the determination in step SA2 is "N
o ”, the control unit 402 proceeds to step SA4.
Is a file access count statistics table 930 (FIG. 5).
(See (a)), it is determined whether or not access is distributed to a large number (for example, 10) of files.

【0049】ステップSA4の判断結果が「Yes」で
ある場合、ステップSA5では、制御部402は、負荷
分散方式をキャッシュ重視型として、図3(a)に示し
たキャッシュ重視型点数テーブル800を選択する。ス
テップSA12では、制御部402は、所定時間待機し
た後、ステップSA1以降を繰り返す。以後、負荷分散
部400では、別の負荷分散方式が選択されるまで、キ
ャッシュ重視型点数テーブル800に従って、負荷分散
処理が実行される。
If the decision result in the step SA4 is "Yes", in a step SA5, the control unit 402 sets the load distribution method to the cache-oriented type and selects the cache-oriented type score table 800 shown in FIG. I do. In step SA12, after waiting for a predetermined time, the control unit 402 repeats step SA1 and subsequent steps. Thereafter, the load distribution unit 400 executes the load distribution processing according to the cache-oriented type score table 800 until another load distribution method is selected.

【0050】一方、ステップSA4の判断結果が「N
o」である場合、ステップSA6では、制御部402
は、図5(b)に示したアクセス種類統計テーブル94
0を参照する。ステップSA7では、制御部402は、
アクセス種類統計テーブル940に基づいて、ライトに
関するアクセス数が、他のリードおよびファイル検索の
アクセス数より多いか否かを判断する。
On the other hand, if the result of the determination at step SA4 is "N
o ”, the control unit 402 proceeds to step SA6.
Is the access type statistics table 94 shown in FIG.
0. In step SA7, the control unit 402
Based on the access type statistics table 940, it is determined whether or not the number of accesses related to writing is greater than the number of accesses for other read and file searches.

【0051】ステップSA7の判断結果が「Yes」で
ある場合、ステップSA8では、制御部402は、負荷
分散方式を中間型として、図3(c)に示した中間型点
数テーブル820を選択する。ステップSA12では、
制御部402は、所定時間待機した後、ステップSA1
以降を繰り返す。以後、負荷分散部400では、別の負
荷分散方式が選択されるまで、中間型点数テーブル82
0に従って、負荷分散処理が実行される。
If the decision result in the step SA7 is "Yes", in a step SA8, the control unit 402 selects the intermediate type score table 820 shown in FIG. In step SA12,
After waiting for a predetermined time, the control unit 402 proceeds to step SA1.
Repeat thereafter. Thereafter, in the load distribution unit 400, until another load distribution method is selected, the intermediate type point table 82
0, the load distribution processing is executed.

【0052】一方、ステップSA7の判断結果が「N
o」である場合、ステップSA9では、制御部402
は、アクセス種類統計テーブル940に基づいて、リー
ドに関するアクセス数が、他のライトおよびファイル検
索のアクセス数より多いか否かを判断する。
On the other hand, if the result of determination at step SA7 is "N
o ”, the control unit 402 proceeds to step SA9.
Determines, based on the access type statistics table 940, whether or not the number of accesses related to read is greater than the number of accesses for other write and file searches.

【0053】ステップSA9の判断結果が「Yes」で
ある場合、ステップSA10では、制御部402は、負
荷分散方式をキャッシュ重視型として、図3(a)に示
したキャッシュ重視型点数テーブル800を選択する。
ステップSA12では、制御部402は、所定時間待機
した後、ステップSA1以降を繰り返す。以後、負荷分
散部400では、別の負荷分散方式が選択されるまで、
キャッシュ重視型点数テーブル800に従って、負荷分
散処理が実行される。
If the result of the determination in step SA9 is "Yes", in step SA10, the control unit 402 selects the cache-oriented type score table 800 shown in FIG. I do.
In step SA12, after waiting for a predetermined time, the control unit 402 repeats step SA1 and subsequent steps. Thereafter, in the load distribution unit 400, until another load distribution method is selected,
The load distribution processing is executed according to the cache-oriented point table 800.

【0054】一方、ステップSA9の判断結果が「N
o」である場合、すなわち、アクセス種類統計テーブル
940においてファイル検索に関するアクセス数が、他
のリードおよびライトのアクセス数より多い場合、ステ
ップSA11では、制御部402は、負荷分散方式を負
荷率重視型として、図3(b)に示した負荷率重視型点
数テーブル810を選択する。
On the other hand, if the result of determination at step SA9 is "N
o ”, that is, when the number of accesses related to the file search in the access type statistics table 940 is larger than the number of accesses of other reads and writes, in step SA11, the control unit 402 sets the load distribution method to the load factor emphasis type. As a result, the load factor emphasis type score table 810 shown in FIG. 3B is selected.

【0055】ステップSA12では、制御部402は、
所定時間待機した後、ステップSA1以降を繰り返す。
以後、負荷分散部400では、別の負荷分散方式が選択
されるまで、負荷率重視型点数テーブル810に従っ
て、負荷分散処理が実行される。
At step SA12, the control section 402
After waiting for a predetermined time, step SA1 and subsequent steps are repeated.
Thereafter, the load distribution unit 400 executes the load distribution processing in accordance with the load factor emphasis type score table 810 until another load distribution method is selected.

【0056】このように、一実施の形態では、所定時間
毎に負荷分散方式選択処理が実行されることにより、フ
ァイルへのアクセス数、ファイル種類別のアクセス数に
応じて、負荷分散方式が適宜選択される。
As described above, in one embodiment, the load distribution method selection processing is executed every predetermined time, so that the load distribution method can be appropriately changed according to the number of accesses to the file and the number of accesses for each file type. Selected.

【0057】また、制御部402は、前述した負荷分散
方式選択処理と並行して、図8に示したフローチャート
に基づく処理を実行する。すなわち、同図に示したステ
ップSB1では、制御部402は、クライアント100
1 〜100n のうちいずれかのクライアントからファイ
ル共有要求(ファイルアクセス要求)があるか否かを判
断する。ステップSB1の判断結果が「Yes」である
場合、ステップSB2では、制御部402は、後述する
ファイル共有要求処理を実行する。
The control unit 402 executes processing based on the flowchart shown in FIG. 8 in parallel with the load distribution method selection processing described above. That is, in step SB1 shown in FIG.
It is determined whether there is a file sharing request (file access request) from any one of the clients 1 to 100 n . If the determination result of step SB1 is "Yes", in step SB2, the control unit 402 executes a file sharing request process described later.

【0058】この場合、制御部402は、ステップSB
1の判断結果を「No」とする。ステップSB3では、
制御部402は、ノード6000 〜600m のうちいず
れかのノードから、上述したファイル共有要求に対応す
るファイル共有応答があるか否かを判断し、この場合、
判断結果を「Yes」とする。ステップSB4では、制
御部402は、後述するファイル共有応答処理を実行す
る。
In this case, the control unit 402 determines in step SB
The determination result of No. 1 is “No”. In step SB3,
Control unit 402, from one of the nodes of the nodes 600 0 to 600 m, it is determined whether there is a file sharing response corresponding to the file sharing request described above, in this case,
The determination result is “Yes”. In step SB4, the control unit 402 executes a file sharing response process described later.

【0059】この場合、制御部402は、ステップSB
3の判断結果を「No」として、ステップSB1および
ステップSB3のうちいずれかの判断結果が「Yes」
となるまで、ステップSB1およびステップSB3の判
断を繰り返す。
In this case, the control unit 402 determines in step SB
No. 3 is determined as “No”, and one of Step SB1 and Step SB3 is determined as “Yes”.
The determinations in step SB1 and step SB3 are repeated until.

【0060】そして、図1に示したクライアント100
1 からファイル共有要求がファイルサーバ300に対し
て出されると、制御部402は、ステップSB1の判断
結果を「Yes」とする。この場合、クライアント10
1 からは、ファイル共有要求の情報として、図2に示
したファイル共有要求情報700が外部ネットワーク2
00を介して負荷分散部400に入力される。
Then, the client 100 shown in FIG.
When a file sharing request is issued from 1 to the file server 300, the control unit 402 sets the determination result of step SB1 to "Yes". In this case, the client 10
0 1 From as information of a file sharing request, the file sharing request information 700 is an external network 2 shown in FIG. 2
00 to the load distribution unit 400.

【0061】このファイル共有要求情報700には、ヘ
ッダ情報(図示略)が付加されている。ここで、現時点
では、前述した負荷分散方式選択処理により、図3
(a)に示したキャッシュ重視型点数テーブル800が
選択されているものとする。
The file sharing request information 700 includes header information (not shown). Here, at this time, the load balancing method selection processing described above
It is assumed that the cache-oriented type score table 800 shown in FIG.

【0062】ステップSB2では、制御部402は、フ
ァイル共有要求処理を実行する。具体的には、図9に示
したステップSC1では、制御部402は、ファイル共
有要求情報700のヘッダ情報を確認するヘッダ処理を
実行する。ステップSC2では、制御部402は、上記
ヘッダ情報を抽出する。
At step SB2, the control section 402 executes a file sharing request process. Specifically, in step SC1 shown in FIG. 9, control unit 402 executes a header process for confirming the header information of file sharing request information 700. In step SC2, the control section 402 extracts the header information.

【0063】ステップSC3では、制御部402は、ノ
ード6000 〜600m のそれぞれに対応する合計点数
を初期化(=0)にする。この合計点数は、当該ファイ
ル共有要求の転送先のノード、すなわち、負荷分散先の
ノードを決定する際に用いられる。ステップSC4で
は、制御部402は、図2に示したファイル共有要求情
報700のファイルハンドル情報およびファイル名情報
からハッシュ値を求めるためのハッシュ計算を実行す
る。この場合、ハッシュ値は、5であるものとする。
In step SC3, the control unit 402 initializes (= 0) the total score corresponding to each of the nodes 600 0 to 600 m . The total score is used when determining the transfer destination node of the file sharing request, that is, the load distribution destination node. In step SC4, the control unit 402 performs a hash calculation for obtaining a hash value from the file handle information and the file name information of the file sharing request information 700 shown in FIG. In this case, the hash value is 5.

【0064】ステップSC5では、制御部402は、図
4(a)に示したハッシュ値テーブル900を参照し、
ステップSC4で求めたハッシュ値(この場合、5)と
同一のハッシュ値があるかを照会する。この場合、ハッ
シュ値テーブル900のノード番号0のハッシュ値(=
5)が該当する。すなわち、ノード番号0に対応するノ
ード6000 は、アクセス管理ノードである。
In step SC5, the control unit 402 refers to the hash value table 900 shown in FIG.
An inquiry is made as to whether there is a hash value identical to the hash value (5 in this case) obtained in step SC4. In this case, the hash value of the node number 0 in the hash value table 900 (=
5) applies. That is, the node 600 0 corresponding to the node number 0 is the access control node.

【0065】ステップSC6では、制御部402は、図
3(a)に示したキャッシュ重視型点数テーブル800
と、ステップSC5の参照結果とに基づいて、ノード毎
の合計点数を更新する。この場合、ノード番号0に対応
するノード6000 に関しては、「アクセス管理ノード
である」という条件に一致するため、合計点数が+10
点となる。一方、他のノード6002 〜600m のそれ
ぞれに関しては、上記条件と不一致であるため、点数が
−10点となる。
In step SC6, the control unit 402 sets the cache-oriented type score table 800 shown in FIG.
And the total score of each node is updated based on the reference result of step SC5. In this case, with respect to node 600 0 corresponding to the node number 0, to match the condition "is an access management node", the total number +10
Points. On the other hand, each of the other nodes 600 2 to 600 m has a score of −10 because it does not match the above condition.

【0066】ステップSC7では、制御部402は、図
4(c)に示した負荷率統計テーブル920を参照し
て、各ノードの負荷率がキャッシュ重視型点数テーブル
800(図3(a)参照)の条件(「負荷率が80%未
満である」、「負荷率が100である」)と一致するか
否かを判断する。
In step SC7, the control unit 402 refers to the load ratio statistical table 920 shown in FIG. 4C, and sets the load ratio of each node to the cache-oriented type score table 800 (see FIG. 3A). (“The load factor is less than 80%”, “the load factor is 100”) are determined.

【0067】この場合、図4(c)に示したノード番号
0に対応するノード6000 に関しては、負荷率が30
%であり、「負荷率が80%未満である」という条件と
一致するため点数が+5点とされる。また、「負荷率が
100%である」という条件と不一致であるため、点数
が0点とされる。以下、同様にして、ノード番号1〜m
に対応するノード6001 〜600m のそれぞれについ
ても、同様にして点数が特定される。
[0067] In this case, with respect to the node 600 0 corresponding to the node number 0 shown in FIG. 4 (c), the load factor 30
% And matches the condition that the load factor is less than 80%, so that the score is +5 points. Further, since the condition does not match the condition that the load factor is 100%, the score is set to 0. Hereinafter, similarly, node numbers 1 to m
Are similarly specified for each of the nodes 600 1 to 600 m corresponding to.

【0068】ステップSC8では、制御部402は、ノ
ード番号0〜mに対応するノード6000 〜600m
それぞれの合計点数を更新する。すなわち、制御部40
2は、ステップSC7で特定された点数を合計点数に加
算する。ノード番号0に対応するノード6000 に関し
て、合計点数は+15点(+10+5+0)である。
At step SC8, the control unit 402 updates the total score of each of the nodes 600 0 to 600 m corresponding to the node numbers 0 to m . That is, the control unit 40
In step 2, the score specified in step SC7 is added to the total score. Respect nodes 600 0 corresponding to the node number 0, a total score is +15 points (+ 10 + 5 + 0).

【0069】ステップSC9では、制御部402は、図
4(b)に示したキャッシュ統計テーブル910を参照
して、各ノードがキャッシュ重視型点数テーブル800
(図3(a)参照)の条件(「データがキャッシュに存
在する」)と一致するか否かを判断する。
In step SC9, the control unit 402 refers to the cache statistics table 910 shown in FIG.
It is determined whether or not the condition (refer to FIG. 3A) (“data exists in the cache”) is met.

【0070】この場合、図4(b)に示したファイル
A、BおよびZ(この場合、ファイルAがアクセス要求
されているものとする)がノード番号0に対応するノー
ド6000 のキャッシュメモリ608に存在し、「デー
タがキャッシュに存在する」という条件と一致するた
め、点数が+10点とされる。以下、同様にして、ノー
ド番号1〜mに対応するノード6001 〜600m のそ
れぞれについても、同様にして点数が特定される。
[0070] In this case, and FIG. 4 (b) to show the files A, B and Z (in this case, the file A is assumed to be the access request) node 600 0 of the cache memory 608 corresponding to the node number 0 , And matches the condition that “the data exists in the cache”, the score is set to +10 points. Hereinafter, similarly, the scores are similarly specified for each of the nodes 600 1 to 600 m corresponding to the node numbers 1 to m .

【0071】ステップSC10では、制御部402は、
ノード番号0〜mに対応するノード6000 〜600m
のそれぞれの合計点数を更新する。すなわち、制御部4
02は、ステップSC9で特定された点数を合計点数に
加算する。ノード番号0に対応するノード6000 に関
して、合計点数は+25点(+15+10)である。
At step SC10, the control section 402
Nodes 600 0 to 600 m corresponding to node numbers 0 to m
Update the total score of each. That is, the control unit 4
02 adds the score specified in step SC9 to the total score. Respect nodes 600 0 corresponding to the node number 0, a total score is +25 points (+ 15 + 10).

【0072】ステップSC11では、制御部402は、
ノード番号0〜mに対応するノード6000 〜600m
のそれぞれに関する合計点数のうち、最も合計点数が高
いノードを選択する。この場合には、ノード6000
選択されたものとする。ステップSC12では、制御部
402は、ステップSC11で選択されたノード600
0 へファイル共有要求情報700(図2参照)を転送す
る。すなわち、この場合には、キャッシュ重視型の負荷
分散方式によりノード6000 への負荷分散処理が実行
されたのである。
At step SC11, the control section 402
Nodes 600 0 to 600 m corresponding to node numbers 0 to m
Of the total scores for each of the nodes, the node with the highest total score is selected. In this case, it is assumed that the node 600 0 is selected. In step SC12, the control unit 402 sets the node 600 selected in step SC11.
0 , the file sharing request information 700 (see FIG. 2) is transferred. That is, in this case, is the load distribution processing to a node 600 0 Load balancing method of the cache-oriented is executed.

【0073】ステップSC13では、制御部402は、
図5(c)に示した要求数統計テーブル950を更新す
る。この場合、制御部402は、ノード6000 へファ
イル共有要求情報700を転送したため、要求数統計テ
ーブル950のノード番号0に対応する要求数を1イン
クリメントした後、図8に示したメインルーチンへ戻
る。
At step SC13, the control section 402
The request number statistics table 950 shown in FIG. 5C is updated. In this case, the control unit 402, for transferring the file sharing request information 700 to the node 600 0, after incrementing the number of request corresponding to the node number 0 number of requests statistics table 950, and returns to the main routine shown in FIG. 8 .

【0074】そして、ファイル共有要求情報700は、
図1に示したノード6000 に受信される。これによ
り、ファイル共有処理部603は、ファイル共有要求情
報700のヘッダ情報(図示略)からアクセスの種類情
報(例えば、リード)を、ファイル共有要求情報700
からアクセス対象ファイルの情報(この場合、ファイル
A)をそれぞれ取得する。
Then, the file sharing request information 700 is
It is received by the node 600 0 shown in FIG. Accordingly, the file sharing processing unit 603 converts the access type information (for example, read) from the header information (not shown) of the file sharing request information 700 into the file sharing request information 700.
, The information of the access target file (in this case, file A) is obtained.

【0075】つぎに、キャッシュ制御部609は、上記
情報に基づいて、キャッシュメモリ608から当該ファ
イルをリードする。なお、キャッシュメモリ608に当
該ファイルが存在しない場合、ディスク607より当該
ファイルがリードされる。つぎに、ファイル入出力部6
10は、リードされたファイルをデータ統合部602へ
出力する。
Next, the cache control unit 609 reads the file from the cache memory 608 based on the above information. If the file does not exist in the cache memory 608, the file is read from the disk 607. Next, the file input / output unit 6
10 outputs the read file to the data integration unit 602.

【0076】これにより、データ統合部602は、図6
(a)に示した応答情報1000を生成する。この応答
情報1000において、負荷分散情報1001は、負荷
監視部604からの負荷率の情報、キャッシュノード番
号、アクセス種類(リード)の情報、ノード番号の情報
等から構成されている。
As a result, the data integration unit 602
The response information 1000 shown in FIG. In the response information 1000, the load distribution information 1001 includes load ratio information from the load monitoring unit 604, cache node number, access type (read) information, node number information, and the like.

【0077】ヘッダ情報1002は、宛先(この場合、
クライアント1001 )等の情報である。ファイルID
情報1003は、リードされたファイルを識別するため
の情報である。データ1004は、当該ファイルであ
る。つぎに、データ統合部602は、応答情報1000
を負荷分散部400へ送信する。
The header information 1002 includes a destination (in this case,
Information of the client 100 1 ). File ID
Information 1003 is information for identifying the read file. Data 1004 is the file. Next, the data integration unit 602 outputs the response information 1000
Is transmitted to the load distribution unit 400.

【0078】そして、応答情報1000が負荷分散部4
00に受信されると、制御部402は、図8に示したス
テップSB3の判断結果を「Yes」とする。ステップ
SB4では、制御部402は、ファイル共有応答処理を
実行する。
Then, the response information 1000 is stored in the load distribution unit 4
When received at 00, the control unit 402 sets the determination result of step SB3 shown in FIG. 8 to “Yes”. In step SB4, the control unit 402 executes a file sharing response process.

【0079】具体的には、図10に示したステップSD
1では、制御部402は、応答情報1000(図6
(a)参照)の負荷分散情報1001およびヘッダ情報
1002を確認するヘッダ処理を実行する。ステップS
D2では、制御部402は、負荷分散情報1001、ヘ
ッダ情報1002およびファイルID情報1003を抽
出する。
More specifically, step SD shown in FIG.
In FIG. 1, the control unit 402 sets the response information 1000 (FIG.
(See (a)) header processing for confirming the load balancing information 1001 and the header information 1002. Step S
In D2, the control unit 402 extracts the load balancing information 1001, the header information 1002, and the file ID information 1003.

【0080】ステップSD3では、制御部402は、負
荷分散情報1001(キャッシュノード番号、負荷率の
情報、アクセス種類(リード)の情報、ノード番号の情
報等)、ヘッダ情報1002およびファイルID情報1
003に基づいて、キャッシュ統計テーブル910(図
4(b)参照)、負荷率統計テーブル920(図4
(c)参照)、ファイル・アクセス数統計テーブル93
0(図5(a)参照)、アクセス種類統計テーブル94
0(図5(b)参照)、要求数統計テーブル950(図
5(c)参照)およびノード・アクセス数統計テーブル
960(図5(d)参照)をそれぞれ更新する。
At step SD 3, the control unit 402 checks the load distribution information 1001 (cache node number, load factor information, access type (read) information, node number information, etc.), header information 1002 and file ID information 1
Based on 003, a cache statistics table 910 (see FIG. 4B) and a load ratio statistics table 920 (FIG. 4B).
(See (c)), file access number statistics table 93
0 (see FIG. 5A), access type statistics table 94
0 (see FIG. 5B), the request number statistics table 950 (see FIG. 5C) and the node access number statistics table 960 (see FIG. 5D), respectively.

【0081】なお、要求数統計テーブル950において
は、ノード番号0に対応する要求数が1デクリメントさ
れる。要求数統計テーブル950以外のテーブルにおい
ては、該当数値が1インクリメントされる。
In the request number statistical table 950, the request number corresponding to the node number 0 is decremented by one. In tables other than the request number statistics table 950, the corresponding numerical value is incremented by one.

【0082】ステップSD4では、制御部402は、図
6(a)に示した応答情報1000から負荷分散情報1
001を除去し、図6(b)に示した応答情報1100
を生成する。ステップSD5では、制御部402は、ヘ
ッダ情報1002から得られる宛先の情報に基づいて、
外部ネットワーク200を介してクライアント100 1
へ応答情報1100を転送する。
At step SD4, the control unit 402
From the response information 1000 shown in FIG.
001 is removed, and the response information 1100 shown in FIG.
Generate In step SD5, the control unit 402
Based on the destination information obtained from the
Client 100 via external network 200 1 
To the response information 1100.

【0083】また、ファイル検索に関するファイル共有
要求において、クライアントからは、図6(c)に示し
たファイルID情報1300がファイルサーバ300へ
送信される。このファイルID情報1300は、親ディ
レクトリ・ファイルID情報1200およびファイル名
情報1201から構成されている。
Also, in the file sharing request for the file search, the client sends the file ID information 1300 shown in FIG. 6C to the file server 300. The file ID information 1300 includes parent directory / file ID information 1200 and file name information 1201.

【0084】以後、クライアントからファイル共有要求
(アクセス要求)がある毎に、前述した各種統計テーブ
ル(キャッシュ統計テーブル910等)が更新され、更
新の程度に応じて、負荷分散方式(キャッシュ重視型点
数テーブル800、負荷率重視型点数テーブル810、
中間型点数テーブル820)が動的に変化する。
Thereafter, each time there is a file sharing request (access request) from the client, the above-mentioned various statistical tables (such as the cache statistical table 910) are updated, and the load distribution method (cache-oriented type score) is updated according to the degree of update. Table 800, load factor emphasis type score table 810,
The intermediate type score table 820) changes dynamically.

【0085】以上説明したように、一実施の形態によれ
ば、クライアント1001 〜100 n のうちいずれか一
つのクライアントからアクセス要求がある毎に当該ノー
ドからそれぞれ出力される負荷分散情報1001(図6
(a)参照)に基づいて、複数のノード6000 〜60
m のうち所定の条件を満たすノードへ当該アクセス要
求を転送し負荷分散を実現するようにしたので、複数の
クライアント1001〜100n 間で複数のノードにお
けるファイルを共有する際の多様なアクセスパターンに
対して複雑な設定をすることなく、スケーラビリティお
よびノード側の処理効率を高めることができる。
As described above, according to one embodiment,
For example, client 1001 ~ 100 n Any one of
Each time there is an access request from one client,
The load balancing information 1001 (FIG. 6
(See (a))), a plurality of nodes 6000 ~ 60
0m Out of the nodes that meet the predetermined conditions
Requests to achieve load balancing.
Client 1001~ 100n Between multiple nodes
Access patterns when sharing files
Scalability without complicated settings.
And the processing efficiency on the node side can be improved.

【0086】また、一実施の形態によれば、ノード60
0 〜600m のうちいずれか一つのノードより負荷分
散情報1001(図6(a)参照)が入力される毎に、
負荷分散情報を格納する各種統計テーブル(キャッシュ
統計テーブル910等:図4(b)参照)を更新するよ
うにしたので、リアルタイムなノードの状況に応じて、
負荷分散を行うことができる。
According to one embodiment, the node 60
Each time the load balancing information 1001 (see FIG. 6A) is input from any one of the nodes from 0 to 600 m ,
Since various statistics tables (such as the cache statistics table 910: see FIG. 4B) for storing the load balancing information are updated, according to the status of the node in real time,
Load balancing can be performed.

【0087】また、一実施の形態によれば、図7を参照
して説明したように、所定時間毎に、各種統計テーブル
に格納された負荷分散情報に応じて複数の負荷分散方式
の中から所定の負荷分散方式を選択し、選択された負荷
分散方式に基づいて、当該ノードへアクセス要求を転送
するようにしたので、多様なアクセスパターンに対して
柔軟に負荷分散の対応をとることができる。
Further, according to one embodiment, as described with reference to FIG. 7, at predetermined time intervals, a plurality of load distribution methods are selected according to the load distribution information stored in the various statistical tables. Since a predetermined load distribution method is selected and the access request is transferred to the node based on the selected load distribution method, it is possible to flexibly cope with various access patterns. .

【0088】また、一実施の形態によれば、図6(a)
に示した応答情報1000から負荷分散情報1001を
削除し、図6(b)に示した応答情報1100を当該ク
ライアントへ転送するようにしたので、クライアント1
001 〜100n に対して特別な設定を必要とすること
なく、スケーラビリティおよびノード側の処理効率を高
めることができる。
According to one embodiment, FIG.
6B, the load balancing information 1001 is deleted from the response information 1000, and the response information 1100 shown in FIG. 6B is transferred to the client.
00 without requiring any special settings for 1 to 100 n, it is possible to enhance the processing efficiency of the scalability and node side.

【0089】また、一実施の形態によれば、負荷分散情
報1001に、少なくとも、ノードにおける負荷率、フ
ァイルアクセス数の情報が含まれているため、負荷率、
アクセス数を考慮した負荷分散を効率的に行うことがで
きる。
Further, according to the embodiment, since the load distribution information 1001 includes at least the information on the load ratio and the number of file accesses in the node, the load distribution information
Load distribution in consideration of the number of accesses can be performed efficiently.

【0090】また、一実施の形態によれば、負荷分散情
報1001に、少なくとも、各ノードにおけるキャッシ
ュメモリに格納されているファイルの情報が含まれてい
るため、アクセス速度を考慮した負荷分散を効果的に行
うことができる。
Further, according to the embodiment, since the load distribution information 1001 includes at least the information of the file stored in the cache memory in each node, the load distribution taking the access speed into consideration is effective. Can be done

【0091】また、一実施の形態によれば、図4(a)
を参照して説明したように、選択された負荷分散方式に
対応する所定の条件に合致するか否かにより点数をノー
ド毎に合計し、合計点数に基づいて、複数のノードのう
ち合計点数が最も高いノードへアクセス要求を転送する
ようにしたので、所定の条件をきめ細かく設定すること
により、スケーラビリティをさらに高めることができ
る。
According to one embodiment, FIG.
As described with reference to the above, the points are totaled for each node depending on whether or not a predetermined condition corresponding to the selected load distribution method is met, and based on the total points, the total points among a plurality of nodes are calculated. Since the access request is transferred to the highest node, the scalability can be further improved by setting the predetermined condition in detail.

【0092】以上本発明にかかる一実施の形態について
図面を参照して詳述してきたが、具体的な構成例はこの
一実施の形態に限られるものではなく、本発明の要旨を
逸脱しない範囲の設計変更等があっても本発明に含まれ
る。
Although the embodiment of the present invention has been described in detail with reference to the drawings, a specific configuration example is not limited to this embodiment and a range that does not depart from the gist of the present invention. Even if there is a change in the design, the present invention is included in the present invention.

【0093】例えば、前述した一実施の形態において
は、図1に示したファイルサーバ300の機能を実現す
るためのファイルアクセス制御プログラムを図11に示
したコンピュータ読み取り可能な記録媒体1500に記
録して、この記録媒体1500に記録されたファイルア
クセス制御プログラムを同図に示したコンピュータ14
00に読み込ませ、実行することにより、ファイルアク
セス制御に関する一連の処理を実行するようにしてもよ
い。
For example, in the above-described embodiment, the file access control program for realizing the function of the file server 300 shown in FIG. 1 is recorded on the computer-readable recording medium 1500 shown in FIG. The file access control program recorded on the recording medium 1500 is stored in the computer 14 shown in FIG.
A series of processes related to file access control may be executed by causing the file to be read and executed.

【0094】コンピュータ1400は、上記ファイルア
クセス制御プログラムを実行するCPU1410と、キ
ーボード、マウス等の入力装置1420と、各種データ
を記憶するROM(Read Only Memory)1430と、演
算パラメータ等を記憶するRAM(Random Access Memo
ry)1440と、記録媒体1500からファイルアクセ
ス制御プログラムを読み取る読取装置1450と、ディ
スプレイ、プリンタ等の出力装置1460と、各部を接
続するバス1470とから構成されている。
The computer 1400 includes a CPU 1410 for executing the file access control program, an input device 1420 such as a keyboard and a mouse, a ROM (Read Only Memory) 1430 for storing various data, and a RAM (RAM) for storing operation parameters and the like. Random Access Memo
ry) 1440, a reading device 1450 that reads a file access control program from the recording medium 1500, an output device 1460 such as a display or a printer, and a bus 1470 connecting each unit.

【0095】CPU1410は、読取装置1450を経
由して記録媒体1500に記録されているファイルアク
セス制御プログラムを読み込んだ後、ファイルアクセス
制御プログラムを実行することにより、前述した、ファ
イルアクセス制御に関する一連の処理を実行する。な
お、記録媒体1500には、光ディスク、フロッピー
(登録商標)ディスク、ハードディスク等の可搬型の記
録媒体が含まれることはもとより、ネットワークのよう
にデータを一時的に記録保持するような伝送媒体も含ま
れる。
The CPU 1410 reads the file access control program recorded on the recording medium 1500 via the reading device 1450, and executes the file access control program to execute a series of processes related to the file access control described above. Execute Note that the recording medium 1500 includes not only a portable recording medium such as an optical disk, a floppy (registered trademark) disk, and a hard disk, but also a transmission medium such as a network for temporarily recording and holding data. It is.

【0096】(付記1)コンピュータを、クライアント
からのアクセス要求に応じてファイルにそれぞれアクセ
スされ、アクセス毎に少なくとも負荷分散情報を出力す
る複数のノード、前記アクセス要求がある毎に前記負荷
分散情報に基づいて、前記複数のノードのうち所定の条
件を満たすノードへ当該アクセス要求を転送する負荷分
散手段、として機能させるためのファイルアクセス制御
プログラム。 (付記2)前記コンピュータを、前記負荷分散情報が入
力される毎に、前記負荷分散情報を格納するテーブルを
更新する更新手段として機能させることを特徴とする付
記1に記載のファイルアクセス制御プログラム。 (付記3)前記コンピュータを、所定時間毎に、前記テ
ーブルに格納された負荷分散情報に応じて複数の負荷分
散方式の中から所定の負荷分散方式を選択する選択手段
として機能させ、前記負荷分散手段は、前記選択手段に
より選択された負荷分散方式に基づいて、当該ノードへ
前記アクセス要求を転送することを特徴とする付記2に
記載のファイルアクセス制御プログラム。 (付記4)前記複数のノードのそれぞれは、当該ファイ
ルに関するファイル情報に前記負荷分散情報を付加した
応答情報を前記負荷分散手段へ出力し、前記負荷分散手
段は、前記応答情報から前記負荷分散情報を削除し、当
該ファイル情報を当該クライアントへ転送することを特
徴とする付記1〜3のいずれか一つに記載のファイルア
クセス制御プログラム。 (付記5)前記負荷分散情報には、少なくとも、ノード
における負荷率、ファイルアクセス数の情報が含まれて
いることを特徴とする付記1〜4のいずれか一つに記載
のファイルアクセス制御プログラム。 (付記6)前記負荷分散情報には、少なくとも、各ノー
ドにおけるキャッシュメモリに格納されているファイル
の情報が含まれていることを特徴とする付記1〜5のい
ずれか一つに記載のファイルアクセス制御プログラム。 (付記7)前記負荷分散手段は、前記選択手段により選
択された負荷分散方式に対応する所定の条件に合致する
か否かにより点数をノード毎に合計し、合計点数に基づ
いて、複数のノードのうち合計点数が最も高いノードへ
前記アクセス要求を転送することを特徴とする付記3〜
5のいずれか一つに記載のファイルアクセス制御プログ
ラム。 (付記8)クライアントからのアクセス要求に応じてフ
ァイルにそれぞれアクセスされ、アクセス毎に少なくと
も負荷分散情報を出力する複数のノードと、前記アクセ
ス要求がある毎に前記負荷分散情報に基づいて、前記複
数のノードのうち所定の条件を満たすノードへ当該アク
セス要求を転送する負荷分散手段と、を備えたことを特
徴とするファイルアクセス制御装置。 (付記9)所定時間毎に、前記負荷分散情報を格納する
テーブルに格納された負荷分散情報に応じて複数の負荷
分散方式の中から所定の負荷分散方式を選択する選択手
段を備え、前記負荷分散手段は、前記選択手段により選
択された負荷分散方式に基づいて、当該ノードへ前記ア
クセス要求を転送することを特徴とする付記8に記載の
ファイルアクセス制御装置。 (付記10)クライアントからのアクセス要求に応じて
ファイルにそれぞれアクセスされ、アクセス毎に少なく
とも負荷分散情報を複数のノードからそれぞれ出力させ
る負荷分散情報出力工程と、前記アクセス要求がある毎
に前記負荷分散情報に基づいて、前記複数のノードのう
ち所定の条件を満たすノードへ当該アクセス要求を転送
する負荷分散工程と、を含むことを特徴とするファイル
アクセス制御方法。 (付記11)所定時間毎に、前記負荷分散情報を格納す
るテーブルに格納された負荷分散情報に応じて複数の負
荷分散方式の中から所定の負荷分散方式を選択する選択
工程を含み、前記負荷分散工程では、前記選択工程で選
択された負荷分散方式に基づいて、当該ノードへ前記ア
クセス要求を転送することを特徴とする付記10に記載
のファイルアクセス制御方法。
(Supplementary Note 1) A plurality of nodes each of which accesses a file in response to an access request from a client and outputs at least load distribution information for each access, A file access control program for functioning as a load distribution unit for transferring the access request to a node satisfying a predetermined condition among the plurality of nodes based on the plurality of nodes. (Supplementary note 2) The file access control program according to Supplementary note 1, wherein the computer is caused to function as updating means for updating a table storing the load balancing information every time the load balancing information is input. (Supplementary Note 3) The computer causes the computer to function as a selection unit that selects a predetermined load distribution method from a plurality of load distribution methods at predetermined time intervals according to the load distribution information stored in the table. The file access control program according to claim 2, wherein the means transfers the access request to the node based on the load distribution method selected by the selection means. (Supplementary Note 4) Each of the plurality of nodes outputs response information obtained by adding the load distribution information to file information regarding the file to the load distribution unit, and the load distribution unit outputs the load distribution information from the response information. 3. The file access control program according to any one of supplementary notes 1 to 3, wherein the file information is transferred to the client. (Supplementary note 5) The file access control program according to any one of Supplementary notes 1 to 4, wherein the load balancing information includes at least information of a load factor and a number of file accesses in the node. (Supplementary note 6) The file access according to any one of Supplementary notes 1 to 5, wherein the load balancing information includes at least information of a file stored in a cache memory in each node. Control program. (Supplementary Note 7) The load distribution unit sums up the points for each node based on whether a predetermined condition corresponding to the load distribution method selected by the selection unit is met, and based on the total points, a plurality of nodes are provided. Wherein the access request is transferred to a node having the highest total score among the nodes.
5. The file access control program according to any one of 5. (Supplementary Note 8) A plurality of nodes each of which accesses a file in response to an access request from a client and outputs at least load balancing information for each access, and the plurality of nodes each time the access request is made based on the load balancing information. A load distribution means for transferring the access request to a node satisfying a predetermined condition among the nodes. (Supplementary Note 9) The apparatus further includes a selection unit that selects a predetermined load distribution method from a plurality of load distribution methods according to the load distribution information stored in the table storing the load distribution information at predetermined time intervals. 9. The file access control device according to claim 8, wherein the distribution unit transfers the access request to the node based on the load distribution method selected by the selection unit. (Supplementary Note 10) A load balancing information output step in which a file is accessed in response to an access request from a client, and at least load balancing information is output from each of a plurality of nodes for each access, A load distribution step of transferring the access request to a node satisfying a predetermined condition among the plurality of nodes based on information. (Supplementary Note 11) The method further includes a selecting step of selecting a predetermined load distribution method from a plurality of load distribution methods according to load distribution information stored in a table storing the load distribution information at predetermined time intervals. The file access control method according to claim 10, wherein in the distribution step, the access request is transferred to the node based on the load distribution method selected in the selection step.

【0097】[0097]

【発明の効果】以上説明したように、本発明によれば、
クライアントからアクセス要求がある毎にノードからそ
れぞれ出力される負荷分散情報に基づいて、複数のノー
ドのうち所定の条件を満たすノードへ当該アクセス要求
を転送し負荷分散を実現するようにしたので、複数のク
ライアント間で複数のノードにおけるファイルを共有す
る際の多様なアクセスパターンに対して複雑な設定をす
ることなく、スケーラビリティおよびノード側の処理効
率を高めることができるという効果を奏する。
As described above, according to the present invention,
Since the access request is transferred to a node satisfying a predetermined condition among a plurality of nodes based on the load distribution information output from the node each time an access request is issued from the client, the load distribution is realized. The scalability and the processing efficiency on the node side can be improved without making complicated settings for various access patterns when files are shared by a plurality of nodes between clients.

【0098】また、本発明によれば、ノードより負荷分
散情報が入力される毎に、負荷分散情報を格納するテー
ブルを更新するようにしたので、リアルタイムなノード
の状況に応じて、負荷分散を行うことができるという効
果を奏する。
Further, according to the present invention, the table for storing the load distribution information is updated every time the load distribution information is input from the node, so that the load distribution can be performed in accordance with the status of the node in real time. This has the effect that it can be performed.

【0099】また、本発明によれば、所定時間毎に、テ
ーブルに格納された負荷分散情報に応じて複数の負荷分
散方式の中から所定の負荷分散方式を選択し、選択され
た負荷分散方式に基づいて、当該ノードへアクセス要求
を転送するようにしたので、多様なアクセスパターンに
対して柔軟に負荷分散の対応をとることができるという
効果を奏する。
Further, according to the present invention, a predetermined load distribution method is selected from a plurality of load distribution methods in accordance with the load distribution information stored in the table at predetermined time intervals, and the selected load distribution method is selected. , The access request is transferred to the relevant node, so that it is possible to flexibly cope with various access patterns and load distribution.

【0100】また、本発明によれば、ファイル情報に負
荷分散情報を付加した応答情報から負荷分散情報を削除
し、当該ファイル情報を当該クライアントへ転送するよ
うにしたので、クライアントに対して特別な設定を必要
とすることなく、スケーラビリティおよびノード側の処
理効率を高めることができるという効果を奏する。
Further, according to the present invention, the load distribution information is deleted from the response information obtained by adding the load distribution information to the file information, and the file information is transferred to the client. There is an effect that scalability and processing efficiency on the node side can be improved without the need for setting.

【0101】また、本発明によれば、負荷分散情報に、
少なくとも、ノードにおける負荷率、ファイルアクセス
数の情報が含まれているため、負荷率、アクセス数を考
慮した負荷分散を効率的に行うことができるという効果
を奏する。
Further, according to the present invention, the load balancing information includes
Since at least information on the load ratio and the number of file accesses in the node is included, it is possible to achieve an effect that the load can be efficiently distributed in consideration of the load ratio and the number of accesses.

【0102】また、本発明によれば、負荷分散情報に、
少なくとも、各ノードにおけるキャッシュメモリに格納
されているファイルの情報が含まれているため、アクセ
ス速度を考慮した負荷分散を効果的に行うことができる
という効果を奏する。
According to the present invention, the load balancing information includes:
Since at least the information of the file stored in the cache memory in each node is included, it is possible to effectively perform the load distribution in consideration of the access speed.

【0103】また、本発明によれば、選択手段により選
択された負荷分散方式に対応する所定の条件に合致する
か否かにより点数をノード毎に合計し、合計点数に基づ
いて、複数のノードのうち合計点数が最も高いノードへ
アクセス要求を転送するようにしたので、所定の条件を
きめ細かく設定することにより、スケーラビリティをさ
らに高めることができるという効果を奏する。
Further, according to the present invention, the points are totaled for each node depending on whether a predetermined condition corresponding to the load distribution method selected by the selecting means is met, and a plurality of nodes are calculated based on the total points. Since the access request is transferred to the node having the highest total score, the scalability can be further improved by setting the predetermined conditions finely.

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

【図1】本発明にかかる一実施の形態の構成を示すブロ
ック図である。
FIG. 1 is a block diagram showing a configuration of an embodiment according to the present invention.

【図2】同一実施の形態におけるファイル共有要求情報
700の一例を示す図である。
FIG. 2 is a diagram showing an example of file sharing request information 700 in the same embodiment.

【図3】同一実施の形態における各種点数テーブルを示
す図である。
FIG. 3 is a diagram showing various score tables in the same embodiment.

【図4】同一実施の形態における各種統計テーブルを示
す図である。
FIG. 4 is a diagram showing various statistical tables in the same embodiment.

【図5】同一実施の形態における各種統計テーブルを示
す図である。
FIG. 5 is a diagram showing various statistical tables in the same embodiment.

【図6】同一実施の形態における各種情報を示す図であ
る。
FIG. 6 is a diagram showing various information in the same embodiment.

【図7】同一実施の形態における負荷分散方式選択処理
を説明するフローチャートである。
FIG. 7 is a flowchart illustrating a load distribution method selection process according to the same embodiment.

【図8】図1に示した負荷分散部400の動作を説明す
るフローチャートである。
FIG. 8 is a flowchart illustrating an operation of the load distribution unit 400 illustrated in FIG.

【図9】図8に示したファイル共有要求処理を説明する
フローチャートである。
FIG. 9 is a flowchart illustrating a file sharing request process shown in FIG. 8;

【図10】図8に示したファイル共有応答処理を説明す
るフローチャートである。
FIG. 10 is a flowchart illustrating a file sharing response process illustrated in FIG. 8;

【図11】同一実施の形態の変形例の構成を示すブロッ
ク図である。
FIG. 11 is a block diagram showing a configuration of a modified example of the same embodiment.

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

1001 〜100n クライアント 200 外部ネットワーク 300 ファイルサーバ 400 負荷分散部 401 外部ネットワークインタフェース 402 制御部 403 記憶部 6000 〜600m ノード 602 データ統合部 603 ファイル共有処理部 604 負荷監視部 605 ファイル処理部 607 ディスク 608 キャッシュメモリ 609 キャッシュ制御部 610 ファイル入出力部100 1 to 100 n client 200 external network 300 file server 400 load distribution unit 401 external network interface 402 control unit 403 storage unit 600 0 to 600 m node 602 data integration unit 603 file sharing processing unit 604 load monitoring unit 605 file processing unit 607 Disk 608 Cache memory 609 Cache control unit 610 File input / output unit

Claims (10)

【特許請求の範囲】[Claims] 【請求項1】 コンピュータを、 クライアントからのアクセス要求に応じてファイルにそ
れぞれアクセスされ、アクセス毎に少なくとも負荷分散
情報を出力する複数のノード、 前記アクセス要求がある毎に前記負荷分散情報に基づい
て、前記複数のノードのうち所定の条件を満たすノード
へ当該アクセス要求を転送する負荷分散手段、 として機能させるためのファイルアクセス制御プログラ
ム。
1. A computer comprising: a plurality of nodes each of which accesses a file in response to an access request from a client and outputs at least load balancing information for each access; And a load distribution means for transferring the access request to a node satisfying a predetermined condition among the plurality of nodes.
【請求項2】 前記コンピュータを、前記負荷分散情報
が入力される毎に、前記負荷分散情報を格納するテーブ
ルを更新する更新手段として機能させることを特徴とす
る請求項1に記載のファイルアクセス制御プログラム。
2. The file access control according to claim 1, wherein the computer functions as updating means for updating a table storing the load balancing information every time the load balancing information is input. program.
【請求項3】 前記コンピュータを、所定時間毎に、前
記テーブルに格納された負荷分散情報に応じて複数の負
荷分散方式の中から所定の負荷分散方式を選択する選択
手段として機能させ、前記負荷分散手段は、前記選択手
段により選択された負荷分散方式に基づいて、当該ノー
ドへ前記アクセス要求を転送することを特徴とする請求
項2に記載のファイルアクセス制御プログラム。
3. The computer according to claim 1, wherein said computer functions as a selecting means for selecting a predetermined load distribution method from a plurality of load distribution methods at predetermined time intervals according to the load distribution information stored in said table. 3. The file access control program according to claim 2, wherein the distribution unit transfers the access request to the node based on the load distribution method selected by the selection unit.
【請求項4】 前記複数のノードのそれぞれは、当該フ
ァイルに関するファイル情報に前記負荷分散情報を付加
した応答情報を前記負荷分散手段へ出力し、前記負荷分
散手段は、前記応答情報から前記負荷分散情報を削除
し、当該ファイル情報を当該クライアントへ転送するこ
とを特徴とする請求項1〜3のいずれか一つに記載のフ
ァイルアクセス制御プログラム。
4. Each of the plurality of nodes outputs response information obtained by adding the load distribution information to file information on the file to the load distribution unit, and the load distribution unit outputs the load distribution information from the response information. The file access control program according to any one of claims 1 to 3, wherein the information is deleted and the file information is transferred to the client.
【請求項5】 前記負荷分散情報には、少なくとも、ノ
ードにおける負荷率、ファイルアクセス数の情報が含ま
れていることを特徴とする請求項1〜4のいずれか一つ
に記載のファイルアクセス制御プログラム。
5. The file access control according to claim 1, wherein the load distribution information includes at least information of a load factor and a number of file accesses in the node. program.
【請求項6】 前記負荷分散情報には、少なくとも、各
ノードにおけるキャッシュメモリに格納されているファ
イルの情報が含まれていることを特徴とする請求項1〜
5のいずれか一つに記載のファイルアクセス制御プログ
ラム。
6. The load distribution information according to claim 1, wherein at least information of a file stored in a cache memory of each node is included.
5. The file access control program according to any one of 5.
【請求項7】 前記負荷分散手段は、前記選択手段によ
り選択された負荷分散方式に対応する所定の条件に合致
するか否かにより点数をノード毎に合計し、合計点数に
基づいて、複数のノードのうち合計点数が最も高いノー
ドへ前記アクセス要求を転送することを特徴とする請求
項3〜5のいずれか一つに記載のファイルアクセス制御
プログラム。
7. The load distribution means sums up points for each node depending on whether a predetermined condition corresponding to the load distribution method selected by the selection means is met, and a plurality of points are calculated based on the total points. The file access control program according to any one of claims 3 to 5, wherein the access request is transferred to a node having the highest total score among the nodes.
【請求項8】 クライアントからのアクセス要求に応じ
てファイルにそれぞれアクセスされ、アクセス毎に少な
くとも負荷分散情報を出力する複数のノードと、 前記アクセス要求がある毎に前記負荷分散情報に基づい
て、前記複数のノードのうち所定の条件を満たすノード
へ当該アクセス要求を転送する負荷分散手段と、 を備えたことを特徴とするファイルアクセス制御装置。
8. A plurality of nodes each of which accesses a file in response to an access request from a client and outputs at least load balancing information for each access; and And a load distribution means for transferring the access request to a node satisfying a predetermined condition among the plurality of nodes.
【請求項9】 所定時間毎に、前記負荷分散情報を格納
するテーブルに格納された負荷分散情報に応じて複数の
負荷分散方式の中から所定の負荷分散方式を選択する選
択手段を備え、前記負荷分散手段は、前記選択手段によ
り選択された負荷分散方式に基づいて、当該ノードへ前
記アクセス要求を転送することを特徴とする請求項8に
記載のファイルアクセス制御装置。
9. A method for selecting a predetermined load distribution method from a plurality of load distribution methods in accordance with load distribution information stored in a table storing the load distribution information at predetermined time intervals, comprising: 9. The file access control device according to claim 8, wherein the load distribution unit transfers the access request to the node based on the load distribution method selected by the selection unit.
【請求項10】 クライアントからのアクセス要求に応
じてファイルにそれぞれアクセスされ、アクセス毎に少
なくとも負荷分散情報を複数のノードからそれぞれ出力
させる負荷分散情報出力工程と、 前記アクセス要求がある毎に前記負荷分散情報に基づい
て、前記複数のノードのうち所定の条件を満たすノード
へ当該アクセス要求を転送する負荷分散工程と、 を含むことを特徴とするファイルアクセス制御方法。
10. A load distribution information output step in which a file is accessed in response to an access request from a client, and at least load distribution information is output from each of a plurality of nodes for each access; A load distribution step of transferring the access request to a node satisfying a predetermined condition among the plurality of nodes based on the distribution information.
JP2001182450A 2001-06-15 2001-06-15 File access control program, file access control device, and file access control method Expired - Fee Related JP4001727B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001182450A JP4001727B2 (en) 2001-06-15 2001-06-15 File access control program, file access control device, and file access control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001182450A JP4001727B2 (en) 2001-06-15 2001-06-15 File access control program, file access control device, and file access control method

Publications (2)

Publication Number Publication Date
JP2002373102A true JP2002373102A (en) 2002-12-26
JP4001727B2 JP4001727B2 (en) 2007-10-31

Family

ID=19022548

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001182450A Expired - Fee Related JP4001727B2 (en) 2001-06-15 2001-06-15 File access control program, file access control device, and file access control method

Country Status (1)

Country Link
JP (1) JP4001727B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007317183A (en) * 2006-05-16 2007-12-06 Thomson Licensing Network data storage system
JP2014089506A (en) * 2012-10-29 2014-05-15 Nec Corp Node device, cluster system, fail-over method and program
JP2015526821A (en) * 2012-08-20 2015-09-10 キャメロン,ドナルド,ケヴィン Processing resource allocation

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007317183A (en) * 2006-05-16 2007-12-06 Thomson Licensing Network data storage system
JP2015526821A (en) * 2012-08-20 2015-09-10 キャメロン,ドナルド,ケヴィン Processing resource allocation
JP2014089506A (en) * 2012-10-29 2014-05-15 Nec Corp Node device, cluster system, fail-over method and program

Also Published As

Publication number Publication date
JP4001727B2 (en) 2007-10-31

Similar Documents

Publication Publication Date Title
US11836135B1 (en) Method and system for transparent database query caching
US7177874B2 (en) System and method for generating and processing results data in a distributed system
WO2017084393A1 (en) Content distribution method, virtual server management method, cloud platform and system
US20040186832A1 (en) System and method for controlling processing in a distributed system
US20040181522A1 (en) Shared memory router system and method for node communication in a distributed system
JP5741150B2 (en) Relay device, relay program, and relay method
JP2009528624A (en) Providing cache query results based on part of a query
JP2005539289A (en) Transparent request routing for partitioned application services
JPH10320337A (en) Distributed data management method
JP4806462B2 (en) Peer-to-peer gateway
JP2003030079A (en) Contents sharing set and software program to be performed by devices constituting the same
KR20120062845A (en) Chunked downloads over a content delivery network
JP2000187609A (en) Method for retrieving requested object and recording device
JP2004172917A (en) Packet retrieving device, packet process retrieving method, and program
JPWO2004063928A1 (en) Database load reduction system and load reduction program
CN101640623A (en) Method and equipment for searching resource in peer-to-peer network
JP5845877B2 (en) Information processing apparatus, data control method, and data control program
US20040181524A1 (en) System and method for distributed processing in a node environment
EP2348686A1 (en) Information processing device, method and computer program for decide an address
JP2002373102A (en) File access control program, file access controller and file access control method
WO2020153053A1 (en) Database management service providing system
JP2004046372A (en) Distributed system, resource allocation method, program, and recording medium with which resource allocation program is recorded
JP6607044B2 (en) Server device, distributed file system, distributed file system control method, and program
KR102503958B1 (en) Apparatus for placing query in distributed networks environment and method thereof
KR20030014513A (en) Meshod and System of Sharing Client Data For Distributing Load of Server

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070522

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070723

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20070814

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070815

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100824

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110824

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120824

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120824

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130824

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees