[go: up one dir, main page]

JPH07239808A - Distributed data management method - Google Patents

Distributed data management method

Info

Publication number
JPH07239808A
JPH07239808A JP6031476A JP3147694A JPH07239808A JP H07239808 A JPH07239808 A JP H07239808A JP 6031476 A JP6031476 A JP 6031476A JP 3147694 A JP3147694 A JP 3147694A JP H07239808 A JPH07239808 A JP H07239808A
Authority
JP
Japan
Prior art keywords
page
file
data
transfer
shadow
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP6031476A
Other languages
Japanese (ja)
Inventor
Toshiaki Iguchi
俊秋 井口
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP6031476A priority Critical patent/JPH07239808A/en
Publication of JPH07239808A publication Critical patent/JPH07239808A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Transfer Between Computers (AREA)
  • Computer And Data Communications (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Multi Processors (AREA)

Abstract

(57)【要約】 【目的】 分散データ管理システムにおいて、ページ単
位による必要最小限のファイル転送によりファイル転送
効率の向上を図ることを目的とする。 【構成】 サーバ計算機10において、ページ単位によ
る必要最小限のファイル転送を実現するオンデマンドペ
ージ転送手段10b、複数ページをブロック化して必要
最小回数のファイル転送を実現するブロックページ転送
手段10c、実ファイルのページ内容を低解像度イメー
ジデータに変換し高速なファイル転送を実現するシャド
ウページ転送手段10d、サーバファイルへの書込みを
ページ単位で効率良く制御するための遅延ページ転送手
段10fと遅延ページ書込み手段10gとから構成され
ている。
(57) [Summary] [Purpose] The purpose of the distributed data management system is to improve file transfer efficiency by minimum required file transfer in page units. In the server computer 10, an on-demand page transfer means 10b that realizes a minimum required file transfer in page units, a block page transfer means 10c that realizes a minimum required number of file transfers by dividing a plurality of pages into blocks, and an actual file. Shadow page transfer means 10d for converting the contents of the page into low-resolution image data to realize high-speed file transfer, a delayed page transfer means 10f and a delayed page writing means 10g for efficiently controlling writing to the server file in page units. It consists of and.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は、分散ネットワーク上
に接続されたクライアント計算機とサーバ計算機間でフ
ァイル転送を行なう分散データ管理方式に関するもので
ある。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a distributed data management system for transferring files between a client computer and a server computer connected on a distributed network.

【0002】[0002]

【従来の技術】図1は分散データ管理システムのシステ
ム構成を示す図である。また、図6に従来システムにお
けるブロック図を示す。図6において、10はCPU、
メモリ及び大容量二次記憶装置から構成されるサーバ計
算機であり、20及び30はサーバ計算機に対し各種サ
ービスを要求するクライアント計算機であり、データ伝
送路40及び50を介してサーバ計算機10に接続され
ている。ここで伝送路40はローカルエリアネットワー
クであり、伝送路50は広域通信網であるワイドエリア
ネットワークである。従来から、データ伝送路を通じて
ネットワーク接続された計算機間でファイル転送を行う
場合は、1ファイルをファイル転送の最小単位とし、フ
ァイル内の特定ページへのアクセスは1ファイル全体を
転送した後に行っていた。
2. Description of the Related Art FIG. 1 is a diagram showing a system configuration of a distributed data management system. FIG. 6 shows a block diagram of the conventional system. In FIG. 6, 10 is a CPU,
A server computer composed of a memory and a large-capacity secondary storage device, 20 and 30 are client computers requesting various services to the server computer, and connected to the server computer 10 via data transmission paths 40 and 50. ing. Here, the transmission line 40 is a local area network, and the transmission line 50 is a wide area network which is a wide area communication network. Conventionally, when a file is transferred between computers connected to a network via a data transmission path, one file is the minimum unit of file transfer, and access to a specific page in the file is performed after transferring the entire file. .

【0003】例えば、図6に示すように、サーバ計算機
10上にあるファイル11内の特定ページをクライアン
ト計算機20に取り出す場合は、まずサーバ計算機10
のファイル転送手段10h及び伝送手段10aにより、
伝送路40を通じてクライアント計算機20に1ファイ
ル分の全データを転送する。クライアント計算機20で
は、伝送手段20aとファイル転送手段20cにより1
ファイル分の全データをファイル22として受け取る。
この後、ページアクセス手段20dにより1ファイル分
のデータから特定のページデータを取り出して処理して
いた。
For example, as shown in FIG. 6, when a specific page in a file 11 on the server computer 10 is taken out to the client computer 20, first, the server computer 10 is selected.
The file transfer means 10h and the transmission means 10a of
All data for one file is transferred to the client computer 20 through the transmission line 40. In the client computer 20, the transmission means 20a and the file transfer means 20c are used to
All data for a file is received as a file 22.
After that, the page access means 20d took out specific page data from the data for one file and processed it.

【0004】また、サーバ計算機10のファイル11内
の特定ページを、クライアント計算機20上のファイル
22内の特定のページと置き換える場合においても、図
6の各手段により特定ページを含む1ファイル全体の転
送を行うことにより1ファイル全体を置き換えていた。
Further, even when a specific page in the file 11 of the server computer 10 is replaced with a specific page in the file 22 on the client computer 20, the transfer of the entire one file including the specific page is performed by each means shown in FIG. The entire file was replaced by executing.

【0005】[0005]

【発明が解決しようとする課題】従来のファイル転送方
式は以上のように構成されていたので、通常のファイル
データの運用においては、実際に必要とされるデータは
ファイル全体の一部分であることの方が多いにも拘ら
ず、1ファイルをデータ転送の最小単位として必要部分
を含むファイル全体を転送しなければならず、このため
伝送路のトラヒック量が増加しネットワーク上における
データ伝送効率が悪く、またファイルの内容を高速に参
照できないという問題があった。
Since the conventional file transfer method is configured as described above, in the normal operation of file data, the data actually required is a part of the entire file. Despite the large number of files, one file must be transferred as the minimum unit of data transfer, and the entire file including the necessary part must be transferred. Therefore, the traffic volume of the transmission path increases, and the data transmission efficiency on the network deteriorates. There was also a problem that the contents of the file could not be referenced at high speed.

【0006】この発明は上記のような問題点を解消する
ためになされたもので、分散ネットワーク上に構成され
た計算機間におけるデータ転送量、及び転送頻度を極力
抑え、応答時間の向上を図った効率の良い分散データ管
理方式を提供することを目的とする。
The present invention has been made in order to solve the above-mentioned problems, and the amount of data transfer and the transfer frequency between computers configured on a distributed network are suppressed as much as possible to improve the response time. The purpose is to provide an efficient distributed data management method.

【0007】[0007]

【課題を解決するための手段】第1の発明に係わる分散
データ管理方式は、サーバ計算機において、サーバ計算
機上の実ファイルデータをページ単位で管理する実ファ
イルストア管理手段と、クライアント計算機からのファ
イルアクセス要求に対して該アクセス要求箇所を含むペ
ージ単位でのデータ転送を行なうためのデマンドページ
転送手段と、を備え、クライアント計算機は、サーバ計
算機に対するページデータ転送要求手段を備えるように
したものである。
DISCLOSURE OF THE INVENTION A distributed data management system according to a first invention is, in a server computer, a real file store management means for managing real file data on the server computer in page units, and a file from a client computer. A demand page transfer means for performing data transfer in page units including the access request portion in response to an access request, and the client computer is provided with page data transfer requesting means for the server computer. .

【0008】また、第2の発明に係わる分散データ管理
方式は、第1の発明におけるサーバ計算機において、ク
ライアント計算機よりアクセス要求のあったページデー
タを含んで成る複数ページをデータ伝送路の伝送バッフ
ァサイズに基づいてブロック化して一括転送するブロッ
クページ転送手段、を備えるようにしたものである。
In the distributed data management system according to the second invention, in the server computer according to the first invention, a plurality of pages including page data requested to be accessed by the client computer are transmitted in a transmission buffer size of a data transmission path. Block page transfer means for performing block transfer in batch based on the above.

【0009】また、第3の発明に係わる分散データ管理
方式は、第1の発明におけるサーバ計算機において、サ
ーバ計算機上の実ファイルデータを低解像度のイメージ
データに変換したシャドウページファイル格納手段と、
シャドウページファイルデータを管理するシャドウファ
イル管理手段と、サーバ計算機上のシャドウファイルを
ページ単位で転送するシャドウページ転送手段と、を備
えるようにしたものである。
A distributed data management system according to the third invention is, in the server computer according to the first invention, shadow page file storage means for converting real file data on the server computer into low resolution image data,
A shadow file management means for managing the shadow page file data and a shadow page transfer means for transferring the shadow file on the server computer in page units are provided.

【0010】また、第4の発明に係わる分散データ管理
方式は、第1の発明、または第2の発明、または第3の
発明におけるサーバ計算機において、クライアント計算
機上のページデータ管理要素からなるキャッシュファイ
ルストア手段とクライアント計算機からの書き込み要求
に対し前記キャッシュファイルストア手段に書き込み対
象ファイル名とページ番号と書き込みページデータの格
納先情報を設定する遅延ページ転送手段と、前記キャッ
シュファイルストア手段に蓄積されたクライアント計算
機からの書き込み要求をある契機により起動されて実フ
ァイルデータとしてページ単位に書き出すための遅延ペ
ージ書き込み手段と、を備えるようにしたものである。
A distributed data management system according to the fourth invention is a server computer according to the first invention, the second invention or the third invention, wherein a cache file comprising page data management elements on a client computer. In response to a write request from the store means and the client computer, a delayed page transfer means for setting the write target file name, page number and storage destination information of the write page data in the cache file store means, and the cache file store means A delay page writing means is activated for a write request from the client computer at a certain timing and writes out as page data as real file data.

【0011】[0011]

【作用】この発明によれば、必要とされるページのみを
転送するようにし、また参照を目的としたページは低解
像度のデータからなるシャドウページとして転送できる
ようにしたのでファイル転送量を抑えることができる。
また、指定ページの前後のページを予めブロックページ
として事前に転送できるようにしたのでファイル転送回
数を抑えることができる。更に、サーバファイルの遅延
書き込みにより、ページ転送とファイル書き込みを独立
して動作するようにしたので、ページ更新処理に対する
見かけ上の応答時間の短縮を図ることができる。
According to the present invention, only required pages are transferred, and pages for reference can be transferred as shadow pages composed of low resolution data, so that the file transfer amount can be suppressed. You can
Further, since pages before and after the designated page can be transferred in advance as block pages, the number of file transfers can be suppressed. Further, since the page transfer and the file write are independently operated by the delayed writing of the server file, the apparent response time to the page update processing can be shortened.

【0012】[0012]

【実施例】【Example】

実施例1.以下、この発明の一実施例を図について説明
する。図2は分散データ管理システムのブロック図で、
11は実ファイルをページ単位で管理している実ファイ
ルストア、12は実ファイルのページ内容を低解像度イ
メージデータに変換してシャドウページデータで管理す
るシャドウファイルストア、13は実ファイルの更新を
ページ単位で一括して行えるようにするため更新元ペー
ジを管理するキャッシュファイルストアである。また、
図3(a)は実ファイルストア11の論理構造を示した
図である。同図において、110はファイルヘッダ、1
11はページ管理部、112はアクセス管理部、113
は1ページ分のファイルであるデータをページ単位に分
割した実ファイルページである。図3(b)は実ファイ
ルストア11を構成するアクセス制御部112の論理構
造を示す図である。同図において、1121はファイル
を構成するどのページにアクセス要求があったかを示す
アクセスページ番号、1122はアクセス要求が共用
(S)モードであるか、排他(X)モードであるかを示
すアクセスモード情報、1123はファイルアクセス要
求を発行したクライアント計算機を識別するための識別
番号(クライアントID)である。
Example 1. An embodiment of the present invention will be described below with reference to the drawings. 2 is a block diagram of a distributed data management system,
Reference numeral 11 is a real file store that manages real files in page units, 12 is a shadow file store that converts page contents of real files into low-resolution image data and manages them with shadow page data, and 13 is a page for updating real files. It is a cache file store that manages update source pages so that they can be collectively performed in units. Also,
FIG. 3A is a diagram showing the logical structure of the real file store 11. In the figure, 110 is a file header, 1
11 is a page management unit, 112 is an access management unit, 113
Is an actual file page obtained by dividing data, which is a file for one page, into page units. FIG. 3B is a diagram showing the logical structure of the access control unit 112 which constitutes the actual file store 11. In the figure, reference numeral 1121 is an access page number indicating which page in the file has an access request, and 1122 is access mode information indicating whether the access request is in the shared (S) mode or the exclusive (X) mode. Reference numeral 1123 is an identification number (client ID) for identifying the client computer that issued the file access request.

【0013】図4はシャドウファイルストア12の論理
構造を示す図である。同図において、121は実ファイ
ルのファイル名、122は実ファイルのページ番号、1
23はシャドウページのアクセス頻度を示すアクセス回
数、124はシャドウページの格納位置を示すシャドウ
ページポインタ、125は1ページ分のシャドウファイ
ルであるシャドウページデータである。
FIG. 4 is a diagram showing the logical structure of the shadow file store 12. In the figure, 121 is the file name of the real file, 122 is the page number of the real file, 1
Reference numeral 23 is the number of accesses indicating the access frequency of the shadow page, 124 is a shadow page pointer indicating the storage position of the shadow page, and 125 is shadow page data which is a shadow file for one page.

【0014】図5はキャッシュファイルストア13の論
理構造を示す図である。同図において、131は実ファ
イルのファイル名、132は実ファイルのページ番号、
133は書き込み要求があったクライアント計算機を識
別するための識別番号、134はクライアント計算機か
らのアクセス要求があった時刻を示すスタンプ情報、1
35は書き込み元ページデータ21のアドレスを示すア
ドレスポインタである。
FIG. 5 is a diagram showing the logical structure of the cache file store 13. In the figure, 131 is the file name of the real file, 132 is the page number of the real file,
133 is an identification number for identifying the client computer that has made a write request, 134 is stamp information indicating the time when an access request was made from the client computer, 1
Reference numeral 35 is an address pointer indicating the address of the write source page data 21.

【0015】次にこのシステムにおいてファイル転送を
行う場合の動作を、オンデマンドページ転送、ブロック
ページ転送、シャドウページ転送、遅延ページ転送の各
ケースについて説明する。まず、オンデマンドページ転
送について図2及び図3に基づいて説明する。 <ステップ1>クライアント計算機20より「オンデマ
ンドページ転送要求」がサーバ計算機10に発行される
と、オンデマンドページ転送手段10bが実ファイルス
トア11のファイルヘッダ110をチェックし、該当フ
ァイルであることを確認した後、ページ管理部111を
参照し、転送要求のあったページの格納位置を求める。 <ステップ2>次に、アクセス制御部112のアクセス
ページ番号1121を調べ、転送要求ページ番号と同じ
ページ番号がないかチェックする。 <ステップ3>同じページ番号がなければ、アクセスペ
ージ番号1121に転送要求のあったページ番号を、ア
クセスモード1122に当ページが共用(S)か排他
(X)のいずれのモードでアクセスされたかを、更にク
ライアントID1123にクライアント計算機の識別番
号を設定し、要求ページデータ113を伝送手段10a
を介してクライアント計算機20にファイル転送する。 <ステップ4>最後にファイル転送が終了した時点で、
転送要求ページに対応して<ステップ3>で設定したア
クセスページ番号1121、アクセスモード1122、
クライアントID1123の各情報をアクセス制御部1
12のエントリーから削除する。 <ステップ5>一方、上記<ステップ3>においてアク
セス制御部112内に既に転送要求ページ番号と同じペ
ージ番号が存在すれば、該ページはそれ以前に既に他ク
ライアント計算機からの転送要求があったと考えられる
のでアクセスモード1122を調べ、クライアント計算
機からのアクセスが共用(S)モードであれば上記と同
様にファイル転送を行う。 <ステップ6>他方、アクセスモード1122が排他
(X)モードであれば、ページ転送要求拒否の応答を要
求のあったクライアント計算機20に返す。
Next, the operation of file transfer in this system will be described for each case of on-demand page transfer, block page transfer, shadow page transfer, and delayed page transfer. First, the on-demand page transfer will be described with reference to FIGS. 2 and 3. <Step 1> When an “on-demand page transfer request” is issued from the client computer 20 to the server computer 10, the on-demand page transfer means 10b checks the file header 110 of the real file store 11 and confirms that the file is a corresponding file. After the confirmation, the page management unit 111 is referred to obtain the storage location of the page for which the transfer is requested. <Step 2> Next, the access page number 1121 of the access control unit 112 is checked to see if there is the same page number as the transfer request page number. <Step 3> If there is no same page number, the page number for which the transfer request is made is made to the access page number 1121 and the access mode 1122 is used in the shared (S) or exclusive (X) mode. Further, the identification number of the client computer is set in the client ID 1123, and the request page data 113 is transmitted by the transmission means 10a.
The file is transferred to the client computer 20 via the. <Step 4> At the end of file transfer,
The access page number 1121, access mode 1122 set in <step 3> corresponding to the transfer request page,
The information of the client ID 1123 is added to the access control unit 1
Delete from 12 entries. <Step 5> On the other hand, if the same page number as the transfer request page number already exists in the access control unit 112 in the above <Step 3>, it is considered that the page has already received a transfer request from another client computer. Therefore, the access mode 1122 is checked, and if the access from the client computer is the shared (S) mode, the file transfer is performed as described above. <Step 6> On the other hand, if the access mode 1122 is the exclusive (X) mode, a page transfer request rejection response is returned to the client computer 20 that made the request.

【0016】実施例2.次にブロックページ転送につい
て図2及び図3に基づいて説明する。ブロックページ転
送手段10cはオンデマンドページ転送手段10bより
呼び出されるものであり、上記オンデマンドページ転送
においてクライアント計算機20からのページ転送要求
のオプションとして「先読み」指定が指示されていた時
に動作する。 <ステップ1>ブロックページ転送手段10cは、転送
要求ページのサイズと伝送手段10aの転送バッファサ
イズ(図示せず)を比較し、転送バッファに余裕のある
場合ページ管理部111から次ページのページ格納位置
とページサイズを求める。次ページのサイズと転送バッ
ファの余裕サイズを再度比較し、転送バッファに余裕が
なくなるまで同様の処理を繰り返す。 <ステップ2>転送バッファがフルになった時点でオン
デマンドページ転送の時と同様アクセス制御部112に
所定の情報を設定し、伝送手段10aを介してクライア
ント計算機20にファイル転送する。ブロックページ転
送は、多数のページから構成され、かつ各ページサイズ
が小さいようなファイルを転送する時に有効である。
Example 2. Next, the block page transfer will be described with reference to FIGS. The block page transfer means 10c is called by the on-demand page transfer means 10b, and operates when "prefetch" is designated as an option of the page transfer request from the client computer 20 in the on-demand page transfer. <Step 1> The block page transfer means 10c compares the size of the transfer request page with the transfer buffer size (not shown) of the transmission means 10a, and if there is a free transfer buffer, the page management unit 111 stores the next page. Find position and page size. The size of the next page is compared again with the size of the transfer buffer margin, and the same processing is repeated until the transfer buffer has no space. <Step 2> When the transfer buffer becomes full, predetermined information is set in the access control unit 112 as in the case of on-demand page transfer, and a file is transferred to the client computer 20 via the transmission means 10a. The block page transfer is effective when transferring a file composed of a large number of pages and each page size is small.

【0017】また、上記実施例においては次ページ(ペ
ージ番号の大きい方)をブロック化する方法について述
べたが、今回転送要求のあったページと前回の転送要求
ページを比較し、前ページ(ページ番号の小さい方へ)
をブロック化するか、後ページ(ページ番号の大きい方
へ)をブロック化するかを自動決定する処理や、さらに
は転送要求ページの前・後のページをブロック化する処
理をブロックページ転送手段10cで行うようにしても
よい。この実施例によれば、データアクセス要求のあっ
た指定ページの前後のページを1かたまりのブロックペ
ージとして一括して事前に転送できるので、ファイル転
送頻度を抑え、これによるクライアント計算機、及びサ
ーバ計算機におけるオーバヘッド処理を削減できるとい
う効果がある。
In the above embodiment, the method of blocking the next page (the one with the larger page number) has been described. The page for which the transfer request this time is compared with the previous transfer request page, and the previous page (page To the one with a smaller number)
Block page transfer means 10c performs a process of automatically determining whether to block a subsequent page (to a larger page number), or a process of blocking a page before and after a transfer request page. May be performed in. According to this embodiment, the pages before and after the designated page for which the data access request is made can be collectively transferred in advance as one block block, so that the file transfer frequency can be suppressed and the client computer and the server computer can be controlled by this. This has the effect of reducing overhead processing.

【0018】実施例3.次にシャドウページ転送につい
て、図2及び図4に基づいて説明する。 <ステップ1>クライアント計算機20より「シャドウ
ページ転送要求」がサーバ計算機10に発行されると、
シャドウページ転送手段10dがシャドウファイルスト
ア12のファイル名121とページ番号122をチェッ
クし、要求ページの有無をチェックする。 <ステップ2>該当ページがあれば、アクセス回数12
3をカウントアップし、シャドウページポインタ124
からシャドウページデータ125を取り出し、伝送手段
10aを介してクライアント計算機20にファイル転送
する。この時、ファイル名121とページ番号122を
シャドウページ転送手段10dの内部に記憶しておく。 <ステップ3>該当ページがない場合は、自動的にシャ
ドウファイル管理手段10eが呼び出され、シャドウフ
ァイルストア12に該当ページのシャドウページデータ
を作成する。この時、シャドウファイル管理手段10e
は、シャドウファイルストア12の空レコードエリアに
シャドウページ転送要求のあったページのファイル名と
そのページ番号を、ファイル名121とページ番号12
2に設定し、実ファイルストア11の該当ページデータ
113を読み込み、ページデータの内容を低解像度イメ
ージデータに変換し、シャドウページデータ125に格
納する。またシャドウページデータ125の位置を示す
アドレスをシャドウポインタ124に設定し、アクセス
回数123にゼロを設定する。以降の動作は該当ページ
がある場合と同様である。 <ステップ4>「シャドウページ転送要求」に引き続き
「実ページ転送要求」がクライアント計算機20より発
行された場合は、シャドウページ転送手段10dに記憶
したファイル名とページ番号により、オンデマンドペー
ジ転送手段10bを呼び出し実ファイルのファイル転送
を行う。また、上記実施例においては、シャドウページ
の転送と実ページの転送を、別々の転送要求に基づいて
シャドウページ転送手段10dとオンデマンドページ転
送手段10bにて行ったが、ひとつの転送要求に基づき
シャドウページ転送手段10dのみでシャドウページと
実ページを同時に転送する構成としてもよい。
Example 3. Next, the shadow page transfer will be described with reference to FIGS. <Step 1> When the client computer 20 issues a “shadow page transfer request” to the server computer 10,
The shadow page transfer means 10d checks the file name 121 and the page number 122 of the shadow file store 12 to check whether there is a requested page. <Step 2> If there is a corresponding page, access count is 12
3 is incremented, and the shadow page pointer 124
The shadow page data 125 is extracted from the file and transferred to the client computer 20 via the transmission means 10a. At this time, the file name 121 and the page number 122 are stored inside the shadow page transfer means 10d. <Step 3> If there is no corresponding page, the shadow file management means 10e is automatically called to create shadow page data of the corresponding page in the shadow file store 12. At this time, the shadow file management means 10e
Shows the file name and page number of the page for which a shadow page transfer request is made in the empty record area of the shadow file store 12, the file name 121 and the page number 12
2, the corresponding page data 113 of the actual file store 11 is read, the content of the page data is converted into low resolution image data, and the low resolution image data is stored in the shadow page data 125. An address indicating the position of the shadow page data 125 is set in the shadow pointer 124, and the access count 123 is set to zero. Subsequent operations are the same as when there is a corresponding page. <Step 4> When the “real page transfer request” is issued from the client computer 20 subsequent to the “shadow page transfer request”, the on-demand page transfer means 10b is determined by the file name and page number stored in the shadow page transfer means 10d. To transfer the actual file. Further, in the above-described embodiment, the shadow page transfer and the real page transfer are performed by the shadow page transfer means 10d and the on-demand page transfer means 10b based on different transfer requests, but based on one transfer request. The shadow page transfer means 10d alone may transfer the shadow page and the real page at the same time.

【0019】また、シャドウファイル管理手段10e
は、システム稼働中に起動されるだけでなく、システム
稼働前に起動することもできる。すなわち、シャドウフ
ァイル管理手段10eは、シャドウファイルストア12
のファイル名121とページ番号122が設定されてい
るものに対して、実ファイルストア11の該当ページ1
13を読み込み、ページの内容を低解像度イメージデー
タに変換し、シャドウページデータ125に格納する。
そして、シャドウページデータ125の位置を示すアド
レスをシャドウポインタ124に設定する。このように
システム使用に先だって事前にシャドウファイル管理手
段10eにより一括してシャドウファイルストア12を
作成しておくこともできる。
The shadow file management means 10e
Can be started not only while the system is running, but also before the system is running. That is, the shadow file management means 10e is used by the shadow file store 12
Corresponding to the page 1 of the real file store 11 for the file name 121 and the page number 122 of
13 is read, the contents of the page are converted into low resolution image data and stored in the shadow page data 125.
Then, the address indicating the position of the shadow page data 125 is set in the shadow pointer 124. In this way, the shadow file store 12 can be collectively created by the shadow file management means 10e in advance before using the system.

【0020】また、システム稼働中にシャドウページ転
送要求がクライアント計算機20より発行され、シャド
ウファイルストア12に該当シャドウページデータがな
い時には、サーバ計算機10においてシャドウページ転
送手段10dから強制的にシャドウファイル管理手段1
0eが呼び出され、要求ページのシャドウファイルが即
時に作成される。(オンデマンドシャドウページ作成)
更に、シャドウファイル管理手段10eは、シャドウフ
ァイルストア12のアクセス回数123をチェックし、
アクセス回数がゼロであるものや規定値以下のものはア
クセス頻度が低いとみなし自動的に削除する。ここで、
アクセス頻度チェックは定期的または指定時に行い、こ
れによりシャドウファイルストア12のスペース(記憶
領域)を有効利用している。以上のように、この実施例
によれば1ファイルを構成するページ単位による必要最
小限のファイル転送を可能とし、参照のみの目的でアク
セスされるページに対してはデータ量を削減した低解像
度のデータからなるシャドウページとして転送できるよ
うにしたので、ネットワーク上のファイル転送量を抑え
ることができるという効果がある。
When a shadow page transfer request is issued from the client computer 20 while the system is operating and there is no corresponding shadow page data in the shadow file store 12, the shadow page transfer means 10d in the server computer 10 forcibly manages the shadow file. Means 1
0e is called and the shadow file of the requested page is immediately created. (Create on-demand shadow page)
Further, the shadow file management means 10e checks the access count 123 of the shadow file store 12,
If the access frequency is zero or the access frequency is less than the specified value, the access frequency is considered to be low and it is automatically deleted. here,
The access frequency check is performed regularly or at a designated time, thereby effectively using the space (storage area) of the shadow file store 12. As described above, according to this embodiment, it is possible to transfer the minimum necessary files in units of pages forming one file, and to reduce the data amount for a page accessed for the purpose of reference only, a low resolution. Since it can be transferred as a shadow page consisting of data, there is an effect that the file transfer amount on the network can be suppressed.

【0021】実施例4.次に、遅延ページ転送につい
て、図2及び図5に基づいて説明する。 <ステップ1>クライアント計算機20より「遅延ペー
ジ転送要求」がサーバ計算機10に発行されると、遅延
ページ転送手段10fがキャッシュファイルストア13
にファイル名131と、ページ番号132と、要求元ク
ライアント計算機を識別するためのクライアントID1
33を設定する。 <ステップ2>次に、クライアント計算機20より書き
込みページデータ21の格納位置を示すアドレスがサー
バ計算機10に転送される。遅延ページ転送手段10f
はこの格納位置アドレスをキャッシュファイルストア1
3のページポインタ135に設定するとともに、その時
の時刻をタイムスタンプ134に設定し、書き込み要求
の完了応答をクライアント計算機20に返す。 <ステップ3>キャッシュファイルストア13に蓄積さ
れた書き込み要求は、一定時間間隔或いはキャッシュフ
ァイル・フル等の条件により動作する遅延ページ書き込
み手段10gにより処理される。遅延ページ書き込み手
段10gは、キャッシュファイルストア13のファイル
名131とページ番号132を調べ、これと同じファイ
ル名・ページ番号がキャッシュファイルストアの他のエ
ントリーに登録されていないかチェックする。 <ステップ4>同じものが登録されていなければ、クラ
イアントID133とページポインタ135により、伝
送手段10aを介してクライアント計算機20上のペー
ジデータ21を読み込み、サーバ計算機上の実ファイル
ストア11上の該当ページに書き込む。 <ステップ5>同じファイル名・ページ番号が他にもあ
った場合は、タイムスタンプ134の時刻の新しい方の
ページデータ21を<ステップ4>と同様な処理により
実ファイルストア11に書き込む。キャッシュファイル
ストア13の全てのレコードに対する処理が終了するま
で<ステップ4>、<ステップ5>の処理を繰り返す。
以上のように、この実施例によれば、遅延書き込み機能
を実現することにより、クライアント計算機と、サーバ
計算機間のページデータ転送処理と、サーバ計算機上で
のファイルへの書き込み処理を独立して動作させるよう
にしたので、ページデータの更新処理要求に対する応答
時間の短縮を図ることができるという効果を奏する。
Example 4. Next, the delayed page transfer will be described with reference to FIGS. <Step 1> When the client computer 20 issues a “delayed page transfer request” to the server computer 10, the delayed page transfer means 10f causes the cache file store 13 to operate.
File name 131, page number 132, and client ID 1 for identifying the requesting client computer
Set 33. <Step 2> Next, the address indicating the storage position of the write page data 21 is transferred from the client computer 20 to the server computer 10. Delayed page transfer means 10f
Stores this storage location address in cache file store 1
No. 3 is set in the page pointer 135, the time at that time is set in the time stamp 134, and the completion response of the write request is returned to the client computer 20. <Step 3> The write request accumulated in the cache file store 13 is processed by the delay page writing means 10g which operates under a constant time interval or conditions such as cache file full. The delayed page writing unit 10g checks the file name 131 and the page number 132 of the cache file store 13 and checks whether the same file name and page number are registered in another entry of the cache file store. <Step 4> If the same is not registered, the page data 21 on the client computer 20 is read via the transmission means 10a by the client ID 133 and the page pointer 135, and the corresponding page on the real file store 11 on the server computer. Write in. <Step 5> If there is another file name / page number that is the same, the page data 21 with the latest time of the time stamp 134 is written to the real file store 11 by the same process as in <Step 4>. The processing of <step 4> and <step 5> is repeated until the processing for all the records in the cache file store 13 is completed.
As described above, according to this embodiment, by implementing the delayed write function, the page data transfer process between the client computer and the server computer and the file write process on the server computer operate independently. Since this is done, there is an effect that the response time to the page data update processing request can be shortened.

【0022】[0022]

【発明の効果】以上のように、この発明によれば1ファ
イルを構成するページ単位による必要最小限のファイル
転送を可能とし、参照のみの目的でアクセスされるペー
ジに対してはデータ量を削減した低解像度のデータから
なるシャドウページとして転送できるようにしたので、
ネットワーク上のファイル転送量を抑えることができる
という効果がある。また、データアクセス要求のあった
指定ページの前後のページを1かたまりのブロックペー
ジとして一括して事前に転送できるようにしたので、フ
ァイル転送頻度を抑え、これによるクライアント計算
機、及びサーバ計算機におけるオーバヘッド処理を削減
できるという効果がある。更に、遅延書き込み機能を実
現することにより、クライアント計算機とサーバ計算機
間のページデータ転送処理と、サーバ計算機上でのファ
イルへの書き込み処理を独立して動作させるようにした
ので、ページデータの更新処理要求に対する応答時間の
短縮を図ることができるという効果を奏する。
As described above, according to the present invention, it is possible to transfer the minimum required files in units of pages that make up one file, and reduce the data amount for pages accessed only for reference. Since it can be transferred as a shadow page consisting of low resolution data,
This has the effect of reducing the amount of file transfer on the network. In addition, the pages before and after the specified page for which a data access request is made can be collectively transferred in advance as one block page, so the file transfer frequency is suppressed and the overhead processing in the client computer and the server computer is thereby suppressed. There is an effect that can be reduced. Furthermore, by implementing the delayed write function, the page data transfer process between the client computer and the server computer and the file write process on the server computer can be operated independently, so the page data update process This has the effect of shortening the response time to a request.

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

【図1】この発明の一実施例を示すシステム構成図。FIG. 1 is a system configuration diagram showing an embodiment of the present invention.

【図2】この発明の一実施例を示すブロック図。FIG. 2 is a block diagram showing an embodiment of the present invention.

【図3】この発明の一実施例における実ファイルストア
の論理構造図。
FIG. 3 is a logical structure diagram of a real file store according to an embodiment of the present invention.

【図4】この発明の一実施例におけるシャドウファイル
ストアの論理構造図。
FIG. 4 is a logical structure diagram of a shadow file store according to an embodiment of the present invention.

【図5】この発明の一実施例におけるキャッシュファイ
ルストアの論理構造図。
FIG. 5 is a logical structural diagram of a cache file store according to an embodiment of the present invention.

【図6】従来のファイル転送方式を示すブロック図。FIG. 6 is a block diagram showing a conventional file transfer method.

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

10 サーバ計算機 10a 伝送手段 10b オンデマンドページ転送手段 10c ブロックページ転送手段 10d シャドウページ転送手段 10e シャドウファイル管理手段 10f 遅延ページ転送手段 10g 遅延ページ書き込み手段 11 実ファイルストア 12 シャドウファイルストア 13 キャッシュファイルストア 20 クライアント計算機 30 クライアント計算機 40 データ伝送路(ローカルエリアネットワーク) 50 データ伝送路(ワイドエリアネットワーク) 10 server computer 10a transmission means 10b on-demand page transfer means 10c block page transfer means 10d shadow page transfer means 10e shadow file management means 10f delayed page transfer means 10g delayed page writing means 11 real file store 12 shadow file store 13 cache file store 20 Client computer 30 Client computer 40 Data transmission line (local area network) 50 Data transmission line (wide area network)

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 ネットワーク上に分散配置されサービス
要求を行なうクライアント計算機とクライアント計算機
からのサービス要求を処理するサーバ計算機からなる分
散データ管理システムにおいて、 前記サーバ計算機は、 サーバ計算機上の実ファイルデータをページ単位で管理
する実ファイルストア管理手段と、 クライアント計算機からのファイルアクセス要求に対し
て該アクセス要求箇所を含むページ単位でのデータ転送
を行なうデマンドページ転送手段と、を備え前記クライ
アント計算機は、 サーバ計算機に対するページデータ転送要求手段、 を備えたことを特徴とする分散データ管理方式。
1. A distributed data management system comprising client computers distributed on a network for requesting a service and a server computer processing a service request from the client computer, wherein the server computer stores real file data on the server computer. The client computer includes a real file store management unit that manages in page units, and a demand page transfer unit that transfers data in page units including the access request location in response to a file access request from the client computer. A distributed data management method characterized by comprising means for requesting page data transfer to a computer.
【請求項2】 サーバ計算機は、 クライアント計算機よりアクセス要求のあったページデ
ータを含んで成る複数ページをデータ伝送路の伝送バッ
ファサイズに基づいてブロック化して一括転送するブロ
ックページ転送手段、 を備えたことを特徴とする請求項第1項記載の分散デー
タ管理方式。
2. The server computer comprises block page transfer means for batch-transferring a plurality of pages including page data requested to be accessed by the client computer, based on the transmission buffer size of the data transmission path. The distributed data management system according to claim 1, characterized in that.
【請求項3】 サーバ計算機は、 サーバ計算機上の実ファイルデータを低解像度のイメー
ジデータに変換したシャドウページファイル格納手段
と、 シャドウページファイルデータを管理するシャドウファ
イル管理手段と、 サーバ計算機上のシャドウファイルをページ単位で転送
するシャドウページ転送手段と、 を備えることによりクライアント計算機からの高速読み
出し要求を可能としたことを特徴とする請求項第1項記
載の分散データ管理方式。
3. A server computer, a shadow page file storage means for converting real file data on the server computer into low resolution image data, a shadow file management means for managing shadow page file data, and a shadow on the server computer. The distributed data management system according to claim 1, wherein a high speed read request from a client computer is made possible by comprising a shadow page transfer means for transferring a file in page units.
【請求項4】 サーバ計算機は、 クライアント計算機上のページデータ管理要素からなる
キャッシュファイルストア手段と、 クライアント計算機からの書き込み要求に対し前記キャ
ッシュファイルストア手段に書き込み対象ファイル名と
ページ番号と書き込みページデータの格納先情報を設定
する遅延ページ転送手段と、 前記キャッシュファイルストア手段に蓄積されたクライ
アント計算機からの書き込み要求をある契機により起動
されて実ファイルデータとしてページ単位に書き出すた
めの遅延ページ書き込み手段と、 を備えたことを特徴とする請求項第1項、または第2
項、または第3項記載のデータ管理方式。
4. The server computer comprises a cache file store means comprising page data management elements on the client computer, and a file name, page number and write page data to be written in the cache file store means in response to a write request from the client computer. A delay page transfer means for setting storage destination information of the cache file, and a delay page writing means for writing the write request from the client computer stored in the cache file store means for each page as real file data, which is activated by a certain trigger. 2. The method according to claim 1 or 2, characterized in that
The data management method according to item 3 or item 3.
JP6031476A 1994-03-01 1994-03-01 Distributed data management method Pending JPH07239808A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6031476A JPH07239808A (en) 1994-03-01 1994-03-01 Distributed data management method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6031476A JPH07239808A (en) 1994-03-01 1994-03-01 Distributed data management method

Publications (1)

Publication Number Publication Date
JPH07239808A true JPH07239808A (en) 1995-09-12

Family

ID=12332324

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6031476A Pending JPH07239808A (en) 1994-03-01 1994-03-01 Distributed data management method

Country Status (1)

Country Link
JP (1) JPH07239808A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09102796A (en) * 1995-10-03 1997-04-15 Sharp Corp Terminal device of electronic mail delivery system
JPH09218816A (en) * 1996-02-08 1997-08-19 Toshiba Corp File transfer method
JPH09231121A (en) * 1996-02-20 1997-09-05 Fuji Xerox Co Ltd Document storage device
JPH10111788A (en) * 1996-10-03 1998-04-28 Fuji Electric Co Ltd Data transfer time compression method and apparatus
JPH11288391A (en) * 1998-04-03 1999-10-19 Sharp Corp File transfer system and file transfer method
JP2000267973A (en) * 1999-03-19 2000-09-29 Pfu Ltd File information posting method and computer-readable recording medium
JP2004524613A (en) * 2001-01-26 2004-08-12 インターナショナル・ビジネス・マシーンズ・コーポレーション Distributed multicast caching method and apparatus
CN100364266C (en) * 2004-07-23 2008-01-23 北京数码大方科技有限公司 Mixed distribution file management warehouse storage system and correlation method
JP2008282072A (en) * 2007-05-08 2008-11-20 Matsushita Electric Ind Co Ltd Content holding apparatus, information processing method, and program
JP2008310436A (en) * 2007-06-12 2008-12-25 Mizuho Information & Research Institute Inc Receipt management system, receipt management method, and receipt management program
WO2015049719A1 (en) * 2013-10-01 2015-04-09 株式会社日立製作所 Storage system and storage method

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09102796A (en) * 1995-10-03 1997-04-15 Sharp Corp Terminal device of electronic mail delivery system
JPH09218816A (en) * 1996-02-08 1997-08-19 Toshiba Corp File transfer method
JPH09231121A (en) * 1996-02-20 1997-09-05 Fuji Xerox Co Ltd Document storage device
JPH10111788A (en) * 1996-10-03 1998-04-28 Fuji Electric Co Ltd Data transfer time compression method and apparatus
JPH11288391A (en) * 1998-04-03 1999-10-19 Sharp Corp File transfer system and file transfer method
JP2000267973A (en) * 1999-03-19 2000-09-29 Pfu Ltd File information posting method and computer-readable recording medium
JP2004524613A (en) * 2001-01-26 2004-08-12 インターナショナル・ビジネス・マシーンズ・コーポレーション Distributed multicast caching method and apparatus
CN100364266C (en) * 2004-07-23 2008-01-23 北京数码大方科技有限公司 Mixed distribution file management warehouse storage system and correlation method
JP2008282072A (en) * 2007-05-08 2008-11-20 Matsushita Electric Ind Co Ltd Content holding apparatus, information processing method, and program
JP2008310436A (en) * 2007-06-12 2008-12-25 Mizuho Information & Research Institute Inc Receipt management system, receipt management method, and receipt management program
WO2015049719A1 (en) * 2013-10-01 2015-04-09 株式会社日立製作所 Storage system and storage method
US9477426B2 (en) 2013-10-01 2016-10-25 Hitachi, Ltd. Storage system and storage method

Similar Documents

Publication Publication Date Title
US6883068B2 (en) Methods and apparatus for implementing a chche replacement scheme
US6389510B1 (en) Method and apparatus for caching web-based information
US6047356A (en) Method of dynamically allocating network node memory&#39;s partitions for caching distributed files
US5893097A (en) Database management system and method utilizing a shared memory
CN110555001B (en) Data processing method, device, terminal and medium
US9575927B2 (en) RDMA-optimized high-performance distributed cache
US8868831B2 (en) Caching data between a database server and a storage system
US7234006B2 (en) Generalized addressing scheme for remote direct memory access enabled devices
EP0843267A2 (en) Processing multiple database transactions in the same process to reduce process overhead and redundant retrieval from database servers
JP3324572B2 (en) Information processing apparatus and recording medium recording program to be executed by computer
JPH1185710A (en) Server device and file management method
US20020178176A1 (en) File prefetch contorol method for computer system
JPH07239808A (en) Distributed data management method
US6782444B1 (en) Digital data storage subsystem including directory for efficiently providing formatting information for stored records
WO1998026352A1 (en) Method of file pre-read control in computer system
US5900009A (en) System and method for accessing records in a cache slot which are associated with a current owner storage element or at least one previous owner storage element
CN111796772A (en) Cache management method, cache node and distributed storage system
JP3736305B2 (en) Disk cache system and disk cache control method
CN119271618B (en) A method and system for implementing an RDMA network card request queue
JPH04313126A (en) File input/output system for decentralized file system
US5802557A (en) System and method for caching information in a digital data storage subsystem
CN116132532A (en) A message processing method, device and electronic equipment
JP2001256098A (en) Control method of cache in proxy server
US7421536B2 (en) Access control method, disk control unit and storage apparatus
CN110209343B (en) Data storage method, device, server and storage medium