JP2006260212A - File edition management system, file registration server, file edition management method, and program - Google Patents
File edition management system, file registration server, file edition management method, and program Download PDFInfo
- Publication number
- JP2006260212A JP2006260212A JP2005077190A JP2005077190A JP2006260212A JP 2006260212 A JP2006260212 A JP 2006260212A JP 2005077190 A JP2005077190 A JP 2005077190A JP 2005077190 A JP2005077190 A JP 2005077190A JP 2006260212 A JP2006260212 A JP 2006260212A
- Authority
- JP
- Japan
- Prior art keywords
- file
- difference
- version
- management information
- client
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
本発明は、版管理されたファイルを配布する方法に関する。 The present invention relates to a method for distributing a version-managed file.
従来、ファイル版管理システムでは、サーバにてファイルの版管理を行い、クライアントからの要求などの必要に応じて、サーバからクライアントへ最新ファイルをダウンロードしていた。これにより、クライアントは更新されたプログラムやデータなどのファイルを、ネットワークを介して取得することができる。 Conventionally, in a file version management system, file version management is performed on a server, and the latest file is downloaded from the server to the client as required by the client. As a result, the client can acquire files such as updated programs and data via the network.
従来のファイル版管理システムでは、ファイルのバージョン情報や更新日時情報などの管理情報を元に履歴テーブルを作成しておき、この履歴が更新されたファイルをダウンロード対象としていた(例えば、特許文献1参照)。 In a conventional file version management system, a history table is created based on management information such as file version information and update date / time information, and a file whose history has been updated is a download target (see, for example, Patent Document 1). ).
図9は、従来のファイル版管理システムの構成を示すブロック図である。図9を参照すると、従来のファイル版管理システムは、ファイル登録サーバ80およびファイル管理サーバ81を有している。ファイル登録サーバ80およびファイル配布サーバ81はネットワーク82に接続されている。また、ネットワーク82にはクライアント83が接続されている。
FIG. 9 is a block diagram showing the configuration of a conventional file version management system. Referring to FIG. 9, the conventional file version management system has a
ファイル登録サーバ80は、作成されたファイルあるいは更新されたファイルの登録処理を行う。
The
ファイル配布サーバ81は、ファイル登録サーバ80により登録されたファイルを格納し、クライアント83からの要求に応じてファイルをクライアント83にダウンロードする。
The
クライアント83は、ファイル版管理システムより所望のファイルを取得し、格納する。
The
図10は、従来のファイル登録サーバの構成を示すブロック図である。図10を参照すると、ファイル登録サーバ80は、ファイル登録部84およびファイル転送部85を有している。
FIG. 10 is a block diagram showing a configuration of a conventional file registration server. Referring to FIG. 10, the
ファイル登録部84は、登録対象であるファイルの管理情報を作成し、ファイル転送部85に与える。管理情報には、バージョン情報および更新日時情報が含まれている。
The
ファイル転送部85は、ファイル登録部84から与えられたファイルおよびその管理情報をファイル配布サーバ81に転送する。
The
図11は、従来のファイル配布サーバの構成を示すブロック図である。図11を参照すると、ファイル配布サーバ81は、ファイル格納部86およびクライアント要求受付部87を有している。
FIG. 11 is a block diagram showing a configuration of a conventional file distribution server. Referring to FIG. 11, the
ファイル格納部86は、ファイル登録サーバ80から受信したファイルおよびその管理情報を格納する。
The
クライアント要求受付部87は、クライアント83からの要求を受け付け、その要求に応じて、ファイル格納部86により予め格納されたファイルまたは管理情報をクライアント83に転送する。
The client
図12は、従来のクライアントの構成を示すブロック図である。図12を参照すると、クライアント83は、ダウンロード要求部88、ファイル取得部89、管理情報読取部90、管理情報比較判定部91、転送終了判定部92、およびファイル格納部93を有している。
FIG. 12 is a block diagram showing the configuration of a conventional client. Referring to FIG. 12, the
ダウンロード要求部88は、所望のファイルのダウンロードを要求する。
The
ファイル取得部89は、ダウンロード要求部88の要求したファイルの管理情報をファイル配布サーバ81から取得して管理情報読取部90に与える。また、ファイル取得部89は、管理情報比較判定部91から依頼されたファイルをファイル配布サーバ81からダウンロードして取得してファイル格納部93に格納する。
The
管理情報読取部90は、ファイル取得部80がファイル配布サーバ81から取得した管理情報を読み取る。
The management
管理情報比較判定部91は、予めダウンロードによりファイル格納部93に格納されたファイルの管理情報を記録しており、管理情報読取部90にて管理情報が読み取られると、その管理情報と予め記録しておいた管理情報とを比較し、比較結果からダウンロードの要否を判定する。それら管理情報が一致すれば、ファイル配布サーバ81にある最新版のファイルが既にクライアント83自身のファイル格納部93にあるのでダウンロードは不要である。管理情報が一致しなければ、最新版のファイルがファイル格納部93にないので、ダウンロードが必要である。ダウンロードが必要であれば、管理情報比較判定部91は、ファイル取得部89にファイルの転送依頼を発する。
The management information comparison /
転送終了判定部92は、ファイル取得部89にてダウンロードされているファイルの末尾を判定し、末尾を検出するとファイル取得部89にダウンロードを終了させる。
The transfer
ファイル格納部93は、ファイル取得部89によりダウンロードされたファイルを格納する。
The
以上の構成を有する従来のファイル版管理システムの動作を以下に説明する。 The operation of the conventional file version management system having the above configuration will be described below.
まず、ファイル登録サーバ80がダウンロード対象のファイルの管理情報を作成し、ファイル配布サーバ81にファイルおよび管理情報を登録する。クライアント83においてダウンロード要求があると、クライアント83はファイル配布サーバ81から管理情報を取得し、予め自身に記録されている管理情報と比較してダウンロードの要否を判定する。そして、クライアント83は、判定結果に基づき、ファイル配布サーバ81からファイルをダウンロードし、格納する。
従来のファイル版管理システムでは、管理情報の比較から必要がなければダウンロードを行わないことで無駄なダウンロードを防止している。しかし、管理情報の比較からファイルのダウンロードが必要な場合にはファイル全体をダウンロードしており、ファイルサイズが大きければダウンロードに時間がかかっていた。 In the conventional file version management system, useless downloads are prevented by not performing a download unless it is necessary from a comparison of management information. However, the entire file is downloaded when the file needs to be downloaded from the comparison of management information, and if the file size is large, the download takes time.
また、ダウンロードに時間がかかるのでファイル配布サーバ81から同時に複数のクライアント83へファイルを転送することとなる場合があり、そのため、ファイル配布サーバ80の負荷が増大することがあった。また、その場合、ファイル配布サーバ81の性能(CPU,メモリ容量)以上には対応できないので、クライアント83はファイルのダウンロードが正常にできなかったり、非常に長い時間がかかったりすることがあった。
In addition, since it takes time to download, the
従来、中央局からの複数の基地局にプログラムをダウンロードする通信システムにおいて、中央局から最新のプログラムと1世代前のプログラムとの差分を転送し、基地局にて、予め自身の有する1世代前のプログラムと中央局から転送された差分とから最新のプログラムを作成する技術が提案されている(例えば、特開平11−242588号公報)。 Conventionally, in a communication system in which a program is downloaded from a central station to a plurality of base stations, the difference between the latest program and the previous generation program is transferred from the central station, and the base station previously owns the previous generation. A technique for creating the latest program from the above program and the difference transferred from the central office has been proposed (for example, Japanese Patent Laid-Open No. 11-242588).
しかし、クライアント83からの要求に応じてファイルを転送するファイル版管理システムでは、最新のファイルと既にダウンロードしたファイルの間には複数世代の差が生じる可能性が高い。その場合、特開平11−242588号公報に記載された技術では、ファイル全体を転送する必要があり、ダウンロードに長い時間がかかることとなる。
However, in a file version management system that transfers a file in response to a request from the
本発明の目的は、ダウンロード時間を短縮したファイル版管理システムを提供することである。 An object of the present invention is to provide a file version management system that shortens the download time.
上記目的を達成するために、本発明のファイル版管理システムは、
ファイルの版を管理しており要求に応じて最新版のファイルをクライアントに提供するファイル版管理システムであって、
前記ファイルが更新されると、過去の全ての版のファイルの各々と最新版のファイルとの差分を抽出し、過去の版毎の差分ファイルを作成するファイル登録サーバと、
前記ファイル登録サーバにより作成された前記差分ファイルを受けて格納しており、前記クライアントから、既に該クライアントの有する過去の版を明示したダウンロード要求を受けると、該明示された過去の版と前記最新版との差分ファイルを該クライアントに送るファイル配布サーバとを有している。
In order to achieve the above object, the file version management system of the present invention provides:
A file version management system that manages file versions and provides clients with the latest version on demand.
When the file is updated, a file registration server that extracts a difference between each of all past versions of the file and the latest version of the file, and creates a difference file for each past version;
The differential file created by the file registration server is received and stored, and when a download request specifying the past version of the client is received from the client, the specified past version and the latest A file distribution server for sending a difference file with the version to the client.
本発明によれば、更新されたファイルの登録が要求されると、ファイル登録サーバが差分ファイルを作成してファイル配布サーバに登録し、クライアントからファイルのダウンロードの要求があると、ファイル配布サーバが差分ファイルをクライアントに転送するので、ダウンロード時間を短縮することができる。 According to the present invention, when registration of an updated file is requested, the file registration server creates a difference file and registers it in the file distribution server. When a file download request is received from the client, the file distribution server Since the difference file is transferred to the client, the download time can be shortened.
また、前記ファイル登録サーバは、更新時に差分ファイルを作成するか否かを規定した更新ポリシーを前記ファイルに対して予め設定しており、前記ファイルが更新されたとき、前記更新ポリシーを参照して差分ファイルを作成すると規定されている場合にのみ前記差分ファイルを作成し、差分ファイルを作成すると規定されていない場合には前記差分ファイルを作成することなく更新された前記ファイルそのものを前記ファイル配布サーバに送ることとしてもよい。 In addition, the file registration server sets in advance an update policy that defines whether or not to create a difference file at the time of update, and refers to the update policy when the file is updated. The file distribution server creates the difference file only when it is specified to create a difference file, and updates the file itself without creating the difference file when it is not specified to create a difference file. It may be sent to.
これによれば、ファイル登録サーバが、ファイルの更新ポリシーとして、差分ファイルを作成するか否かを定め、ファイル更新時には、それに従って差分バイナリファイルを転送するか、更新されたファイルそのものを転送するかを判断するので、ファイル毎に差分ファイルを作成するか否か適切な方法を選択し、システムの負荷を軽減することができる。 According to this, the file registration server determines whether or not to create a differential file as a file update policy, and when updating a file, whether to transfer the differential binary file or to transfer the updated file itself Therefore, it is possible to reduce the system load by selecting an appropriate method for determining whether to create a difference file for each file.
本発明によれば、更新されたファイルの登録が要求されると、ファイル登録サーバが差分ファイルを作成してファイル配布サーバに登録し、クライアントからファイルのダウンロードの要求があると、ファイル配布サーバが差分ファイルをクライアントに転送するので、ダウンロード時間を短縮することができる。 According to the present invention, when registration of an updated file is requested, the file registration server creates a difference file and registers it in the file distribution server. When a file download request is received from the client, the file distribution server Since the difference file is transferred to the client, the download time can be shortened.
本発明を実施するための形態について図面を参照して詳細に説明する。 Embodiments for carrying out the present invention will be described in detail with reference to the drawings.
図1は、本実施形態のファイル版管理システムの構成を示すブロック図である。図1を参照すると、ファイル版管理システムは、ファイル登録サーバ10およびファイル管理サーバ11を有している。ファイル登録サーバ10およびファイル配布サーバ11はネットワーク12に接続されている。また、ネットワーク12にはクライアント13が接続されている。
FIG. 1 is a block diagram showing the configuration of the file version management system of this embodiment. Referring to FIG. 1, the file version management system includes a
ファイル登録サーバ10は、作成されたファイルあるいは更新されたファイルの登録処理を行う。その際、ファイルが新規作成されたものか、更新されたものかによりファイル登録処理の内容が異なる。
The
ファイルが新規作成されたときには、ファイル登録サーバ10は、そのファイルの管理情報を作成し、そのファイルと管理情報を自身に格納すると共にファイル配布サーバ11に送る。
When a new file is created, the
一方、ファイルが更新されたとき、ファイル登録サーバ10は、その更新された最新のファイルと自身の格納している過去の版のファイルとの差分を抽出して差分バイナリファイルを作成し、さらにその管理情報を更新する。そして、ファイル登録サーバ10は、最新のファイルと更新した管理情報とを自身に格納すると共に、最新のファイルと、作成した差分バイナリファイルと、更新した管理情報とをファイル配布サーバ11に送る。
On the other hand, when the file is updated, the
なお、ファイル登録サーバ10に過去の複数版のファイルが格納されている場合、ファイル登録サーバ10は、過去の複数版のファイル毎に最新のファイルとの差分を抽出し、複数の差分バイナリファイルを作成し、ファイル配布サーバ11に送る。
In addition, when a plurality of past versions of files are stored in the
管理情報は、バージョン情報や作成日時などファイルの版を示す情報を含んでおり、またファイルおよび差分バイナリファイルの格納先アドレスを含んでもよい。 The management information includes information indicating the version of the file such as version information and creation date and time, and may also include storage destination addresses of the file and the differential binary file.
ファイル配布サーバ11は、ファイル登録サーバ10により登録されたファイルまたは差分バイナリファイルを格納し、クライアント13からの要求に応じてファイルをクライアント13にダウンロードする。クライアント13の要求したファイルが一度も更新されていないものであれば、ファイル配布サーバ11は、予め登録されているファイル全体をクライアント13に転送する。一方、クライアント13の要求したファイルが更新されたものであれば、ファイル配布サーバ11は、そのクライアント13の有する版と最新版との差分バイナリファイルをクライアント13に送る。また、クライアント13の要求したファイルが更新されたものであるがクライアント13が過去のいずれの版のファイルも有していなければ、ファイル配布サーバ11は、最新版のファイル全体をクライアント13に送る。
The
クライアント13は、ファイル版管理システムのファイル配布サーバ11にアクセスして所望のファイルを取得し、格納する。その際、クライアント13は、ファイル配布サーバ11より所望のファイルの管理情報を取得し、所望のファイルの最新版が自身の有する版と異なれば、自身の有する版と最新版との差分バイナリファイルを取得する。そして、取得した差分バイナリファイルと、自身の有する版のファイルとから最新版のファイルを作成して自身に格納する。
The
図2は、ファイル登録サーバの構成を示すブロック図である。図2を参照すると、ファイル登録サーバ10は、ファイル登録部14、ファイル転送部15、差分バイナリ抽出部16、およびファイル格納部17を有している。
FIG. 2 is a block diagram showing the configuration of the file registration server. Referring to FIG. 2, the
ファイル登録部14は、与えられた登録対象であるファイルの管理情報を作成あるいは更新し、ファイル転送部15に与える。また、ファイル登録部14は、管理情報を作成するとき、そのファイルの更新ポリシーを設定する。更新ポリシーは、そのファイルの更新時に、差分バイナリファイルを作成するか否かを定めたものである。
The
処理負荷およびネットワークの負荷を考慮して、差分バイナリファイルを作成してそれをダウンロードするよりも、ファイルそのものをダウンロードした方がシステムとして好ましい場合が考えられる。そのようなファイルには更新ポリシーとして差分バイナリファイルを作成しないと規定することとしてもよい。例えば、更新時にファイルのほぼ全体が変更されるようなファイル、サイズが小さく全体をダウンロードしても短時間で済むファイルなどについて差分バイナリファイルを作成しないとすることが考えられる。また、ファイル登録部14は、ファイルを登録しようとするユーザの指示に基づいて更新ポリシーを決定することとしてもよく、一定サイズ以上のファイルについて差分バイナリファイルを作成するものとして更新ポリシーを作成することとしてもよい。
Considering the processing load and network load, it may be preferable for the system to download the file itself rather than creating a differential binary file and downloading it. Such a file may be defined as not creating a differential binary file as an update policy. For example, it is conceivable that a differential binary file is not created for a file in which almost the entire file is changed at the time of update, or a file that is small in size and can be downloaded in a short time. Further, the
また、ファイル登録部14は、登録対象のファイルが新規のものであれば、そのファイルをファイル転送部15に与える。一方、登録対象のファイルが更新されたものであれば、そのファイルの更新ポリシーを参照し、差分バイナリファイル作成対象であれば、差分バイナリファイルの作成を差分バイナリ抽出部16に指示する。
In addition, if the file to be registered is a new file, the
ファイル転送部15は、ファイル登録部14から与えられたファイルおよびその管理情報をファイル配布サーバ11に転送する。また、ファイル登録部14の指示により差分バイナリ抽出部16が差分バイナリファイルを作成していれば、ファイル転送部15は、その差分バイナリファイルもファイル配布サーバ11に転送する。
The
差分バイナリ抽出部16は、ファイル登録部14の指示に従って、差分バイナリファイル作成対象のファイルの差分バイナリファイルを作成する。その際、差分バイナリファイル抽出部16は、ファイル登録部14から与えられた最新版のファイルと、予め格納されている過去の版のファイルを比較し、差分バイナリファイルを作成する。過去の版のファイルが複数ある場合、差分バイナリファイル抽出部16は、過去の版毎に複数の差分バイナリファイルを作成する。
The differential
ファイル格納部17は、ファイル登録部14に与えられたファイルを格納する。これにより過去の版のファイルが全て格納されることとなる。過去の版のファイルは、差分バイナリ抽出部16が差分バイナリファイルを作成するときに利用される。
The
図3は、ファイル配布サーバの構成を示すブロック図である。図3を参照すると、ファイル配布サーバ11は、ファイル格納部18およびクライアント要求受付部19を有している。
FIG. 3 is a block diagram showing the configuration of the file distribution server. Referring to FIG. 3, the
ファイル格納部18は、ファイル登録サーバ10から受信したファイル、差分バイナリファイル、およびその管理情報を格納する。
The
クライアント要求受付部19は、クライアント13からの要求を受け付け、その要求に応じて、ファイル格納部18により予め格納されたファイル、差分バイナリまたは管理情報をクライアント13に転送する。
The client
図4は、クライアントの構成を示すブロック図である。図4を参照すると、クライアント13は、ダウンロード要求部20、ファイル取得部21、管理情報読取部22、管理情報比較判定部23、転送終了判定部24、ファイル格納部25、および差分バイナリ統合部26を有している。
FIG. 4 is a block diagram showing the configuration of the client. Referring to FIG. 4, the
ダウンロード要求部20は、所望のファイルのダウンロードを要求する。
The
ファイル取得部21は、ダウンロード要求部20の要求したファイルの管理情報をファイル配布サーバ11から取得して管理情報読取部22に与える。また、ファイル取得部21は、管理情報比較判定部23から依頼されたファイルをファイル配布サーバ11からダウンロードして取得する。ファイル配布サーバ11からファイルを取得するとき、ファイル取得部21は、既に取得済の過去の版数をファイル配布サーバ11に通知する。これはファイル配布サーバ11からクライアント13へ最新版のファイル全体を送るか差分バイナリファイルを送るか、また過去のどの版との差分バイナリファイルを送るかを判断するためである。
The
取得されるファイルは最新版のファイル全体の場合と差分バイナリファイルの場合がある。取得したファイルが最新のファイルの全体であれば、ファイル取得部21は、それをファイル格納部25に格納する。一方、取得したファイルが差分バイナリファイルであれば、ファイル取得部21は、それを差分バイナリ統合部26に送り、最新版のファイルの作成を指示する。
The acquired file may be the latest version of the entire file or a differential binary file. If the acquired file is the entire latest file, the
管理情報読取部22は、ファイル取得部21がファイル配布サーバ11から取得した管理情報を読み取る。
The management
管理情報比較判定部23は、予めダウンロードによりファイル格納部25に格納されたファイルの管理情報を記録しており、管理情報読取部22にて管理情報が読み取られると、その管理情報と予め記録しておいた管理情報とを比較し、比較結果からダウンロードの要否を判定する。それら管理情報が一致すれば、ファイル配布サーバ11にある最新版のファイルが既にクライアント13自身のファイル格納部25にあるのでダウンロードは不要である。管理情報が一致しなければ、最新版のファイルがファイル格納部25にないので、ダウンロードが必要である。ダウンロードが必要であれば、管理情報比較判定部23は、ファイル取得部21にファイルの転送依頼を発する。
The management information comparison /
転送終了判定部24は、ファイル取得部21にてダウンロードされているファイルの末尾を判定し、末尾を検出するとファイル取得部21にダウンロードを終了させる。
The transfer
ファイル格納部25は、ファイル取得部21によりダウンロードされたファイルを格納する。
The
差分バイナリ統合部26は、ファイル取得部21から差分バイナリファイルを受けて最新版のファイルの作成を指示されると、過去の版のファイルと差分バイナリファイルとから最新のファイルを作成し、ファイル格納部25に格納する。
When the difference
以上の構成を有する本実施形態のファイル版管理システムの動作を以下に説明する。図5は、ファイル版管理システムの動作を説明するための図である。 The operation of the file version management system of the present embodiment having the above configuration will be described below. FIG. 5 is a diagram for explaining the operation of the file version management system.
まず、ファイル登録サーバ10の動作について説明する。
First, the operation of the
図5を参照すると、まず、ファイル登録サーバ10のファイル登録部14は、配布対象のファイル111を与えられると、そのファイル111の管理情報112を作成する(ステップA1)。
Referring to FIG. 5, first, when the
図6は、管理情報の一例を示す図である。図6を参照すると、管理情報には、ファイル名、格納先アドレス、バージョン(版数)、ファイルサイズ、作成日時、更新履歴、差分バイナリ格納先アドレス、差分バイナリサイズが含まれている。 FIG. 6 is a diagram illustrating an example of management information. Referring to FIG. 6, the management information includes a file name, a storage destination address, a version (version number), a file size, a creation date / time, an update history, a differential binary storage destination address, and a differential binary size.
このとき、ファイル111が新規に作成されたファイルであれば、管理情報112も新規に作成される。作成された管理情報112と新規ファイル111はファイル転送部15に送られる(ステップA2)。管理情報112を作成するとき、ファイル登録部14は、そのファイル111の更新ポリシーも決定する。この更新ポリシーは任意のタイミングで変更可能としてもよい。更新ポリシーは、そのファイルが更新されるときに差分バイナリファイルを作成するか否かを規定する。
At this time, if the
一方、ファイル111が以前に作成されていたファイルの更新であれば、管理情報112も以前に作成されているので、その管理情報112が更新される。ファイル登録部14は、そのファイルの更新ポリシーが差分バイナリファイルを作成すると規定されていれば、差分バイナリ抽出部16に差分バイナリファイルの作成を指示する(ステップB1)。差分バイナリ抽出部16は、過去の版のファイル114を取り出し(ステップB2)、最新版と過去の版の差分バイナリファイル113を作成してファイル転送部15に送る(ステップB3)。
On the other hand, if the
新規作成のファイル、あるいは更新されたファイルおよび差分バイナリファイルと管理情報とを受けると、ファイル転送部15は、それらをファイル配布サーバ11に送るとともに(ステップC1)、新規作成あるいは更新された最新のファイルをファイル格納部17に格納する(ステップC2)。これが次回以降には過去のファイルとして利用されることとなる。
Upon receiving the newly created file, or the updated file, the differential binary file, and the management information, the
次に、ファイル配布サーバ11の動作について説明する。
Next, the operation of the
ファイル配布サーバ11のファイル格納部18は、ファイル登録サーバ10から新規ファイル111または差分バイナリファイル113と管理情報112を受けると、それらを新規ファイル212または差分バイナリファイル213と管理情報211として格納する(ステップD1)。このとき、各ファイルは管理情報にて指定された格納先アドレスに格納される。通常、更新ファイルは既存のフィアルに上書きされることとなる。
Upon receiving the
また、ファイル配布サーバ11のクライアント要求受付部19は、クライアント13からファイルあるいは管理情報の転送を要求されると、それを取り出して(ステップD2)、クライアントに転送する(ステップD3)。ファイルの転送を要求された場合、クライアント要求受付部19は、そのファイルの差分バイナリファイル213があるか否かを判断し、差分バイナリファイルがあればそれをクライアント13に送り、無ければファイル212そのものをクライアント13に送る。差分バイナリファイルを転送する場合、クライアント要求受付部19は、クライアント13から通知された、クライアント13の有する過去の版数と最新版との差分バイナリファイルを送る。
Further, when the
次に、クライアント13の動作について説明する。
Next, the operation of the
クライアント13は、ファイル取得の要求が発生すると、まず、ダウンロード対象とされるファイルの取得状況を確認するために、ファイル取得部21からファイル配布サーバ11に管理情報の転送を要求し、管理情報を取得する(ステップE1)。ダウンロード対象は複数ファイルであってもよく、その場合、管理情報は複数ファイル分の一覧となっている。
When a file acquisition request is generated, the
ファイル取得部21にて管理情報が取得されると、管理情報読取部22がそれを読み取る(ステップE2)。次に、管理情報比較判定部23がその管理情報と過去にダウンロードした既存ファイルの管理情報とを比較する(ステップE3)。それらの管理情報にてファイルの版数が一致しなければダウンロードが必要なので、管理情報比較判定部23は、ダウンロード要求部20にファイルのダウンロードを依頼する(ステップE4)。
When management information is acquired by the
管理情報が複数ファイル分の一覧の場合、管理情報比較判定部23は、ダウンロードが必要なファイルのリストを作成し、そのリストに基づきファイルのダウンロードを依頼する。図7は、ダウンロードが必要なファイルの一覧を示すリストの一例である。図7を参照すると、一例として、ダウンロードが必要な複数ファイルのファイル名およびその他の情報が示されている。
When the management information is a list of a plurality of files, the management information comparison /
ダウンロード要求部20がファイル取得部21に指示し(ステップE5)、ファイル取得部21がファイル配布サーバ11にファイルの転送を要求する(ステップE6)。ファイルの転送を要求するとき、ファイル取得部21は、クライアント13に既に格納されている過去の版数をファイル配布サーバ11に通知する。ファイル配布サーバ11からファイルが転送されてくると、転送終了判定部24はそのファイル転送を監視し(ステップE7)、転送が終了するとファイル取得部21に取得処理の終了を指示する(ステップE8)。
The
ファイル配布サーバ11からは、ファイルそのものが転送されてくる場合と、差分バイナリファイルが転送されてくる場合とがある。ファイルそのものが転送されてきた場合には、ファイル取得部21で取得されたファイルをファイル格納部25が格納する(ステップE9)。差分バイナリファイル313が転送されてきた場合、差分バイナリ統合部26は、取得された差分バイナリファイル313と、以前にダウンロードした過去の版のファイル315と統合して最新版のファイル314を作成し、格納する(ステップE10)。
From the
図8は、本実施形態のファイル版管理システムの動作例を説明するための図である。図8を参照すると、ファイル登録サーバ10は、過去の版のファイル401と最新版のファイル402の差分403を抽出する。それらはファイル配布サーバ11にアップロードされ、格納される。ファイル配布サーバ11は、過去の版のファイル401を有しているクライアント13aには差分403のみを送り、ファイル401を有しないクライアント13bには最新版のファイル402を送る。
FIG. 8 is a diagram for explaining an operation example of the file version management system of the present embodiment. Referring to FIG. 8, the
以上説明したように、本実施形態のファイル版管理システムによれば、更新されたファイルの登録が要求されると、ファイル登録サーバ10が差分バイナリファイルを作成してファイル配布サーバ11に登録し、クライアント13からファイルのダウンロードの要求があると、ファイル配布サーバ11が差分バイナリファイルをクライアント13に転送するので、ダウンロード時間を短縮することができる。
As described above, according to the file version management system of this embodiment, when registration of an updated file is requested, the
また、本実施形態のファイル版管理システムでは、ファイル登録サーバ10が、ファイルの更新ポリシーとして、差分バイナリファイルを作成するか否かを定め、更新時には、それに従って、差分バイナリファイルを転送するか、更新されたファイルそのものを転送するかを判断するので、ファイル毎に適切な方法を選択し、システムの負荷を軽減することができる。
In the file version management system of the present embodiment, the
本実施形態のファイル版管理システムの具体的な実施例を示す。本実施形態のファイル版管理システムは、プログラム、データ、テキストなどファイルの種類によらず適用可能である。ここではオンラインゲームをクライアントに送信するシステムに適用する例を示す。 The specific example of the file version management system of this embodiment is shown. The file version management system of the present embodiment can be applied regardless of the file type such as a program, data, and text. Here, an example in which the present invention is applied to a system that transmits an online game to a client is shown.
オンラインゲームでは、プログラムや地形データなどの内容が日々更新されており、クライアントは、更新されたファイル群をサービス利用前に取得する必要がある。しかし、ユーザのパーソナルコンピュータであるクライアントはユーザの都合により不定期にサーバに接続するので、個々のクライアントの各々でダウンロード済のファイルの版数が揃っていないのが通常である。 In online games, contents such as programs and terrain data are updated daily, and the client needs to acquire an updated file group before using the service. However, since the client, which is the user's personal computer, connects to the server irregularly for the convenience of the user, the version of the downloaded file is usually not available for each individual client.
ユーザは、サービスを利用したいときにサーバに接続するので、サービス利用開始前のダウンロード時間は短いことが好ましい。本実施形態のシステムは、このような場合にダウンロード時間を短縮し、ユーザの利便性を向上させることができる。 Since the user connects to the server when he / she wants to use the service, the download time before starting the use of the service is preferably short. In such a case, the system of the present embodiment can shorten the download time and improve the convenience for the user.
なお、本実施形態のファイル登録サーバ10、ファイル配布サーバ11、およびクライアント13は、コンンピュータが記録装置に格納しているソフトウェアプログラムを実行することにより実現されるものであってもよい。
Note that the
10 ファイル登録サーバ
11 ファイル管理サーバ
12 ネットワーク
13、13a、13b クライアント
14 ファイル登録部
15 ファイル転送部
16 差分バイナリ抽出部
17 ファイル格納部
18 ファイル格納部
19 クライアント要求受付部
20 ダウンロード要求部
21 ファイル取得部
22 管理情報読取部
23 管理情報比較判定部
24 転送終了判定部
25 ファイル格納部
26 差分バイナリ統合部
111、114、212、312 ファイル
112、211、311 管理情報
113、213、313、314、315 差分バイナリファイル
401、402 ファイル
403 差分
A1〜A2、B1〜B3、C1〜C2、D1〜D3、E1〜E10 ステップ
DESCRIPTION OF
Claims (8)
前記ファイルが更新されると、過去の全ての版のファイルの各々と最新版のファイルとの差分を抽出し、過去の版毎の差分ファイルを作成するファイル登録サーバと、
前記ファイル登録サーバにより作成された前記差分ファイルを受けて格納しており、前記クライアントから、既に該クライアントの有する過去の版を明示したダウンロード要求を受けると、該明示された過去の版と前記最新版との差分ファイルを該クライアントに送るファイル配布サーバとを有するファイル版管理システム。 A file version management system that manages file versions and provides clients with the latest version on demand.
When the file is updated, a file registration server that extracts a difference between each of all past versions of the file and the latest version of the file, and creates a difference file for each past version;
The differential file created by the file registration server is received and stored, and when a download request specifying the past version of the client is received from the client, the specified past version and the latest A file version management system comprising a file distribution server for sending a difference file with a version to the client.
前記ファイルが更新されると該ファイルの版を示す管理情報を作成するファイル登録部と、
過去の全ての版のファイルの各々と最新版のファイルとの差分を抽出し、過去の版毎の差分ファイルを作成する差分抽出部と、
前記ファイル登録部の作成した前記管理情報と前記差分抽出部の作成した前記差分ファイルを、該管理情報および該差分ファイルを前記クライアントに提供するファイル配布サーバに転送するファイル転送部とを有するファイル登録サーバ。 A file registration server that manages file versions and registers files in a file version management system that provides clients with the latest version files upon request.
A file registration unit that creates management information indicating a version of the file when the file is updated;
A difference extraction unit that extracts a difference between each of all past versions of the file and the latest version of the file, and creates a difference file for each of the past versions;
File registration having the management information created by the file registration unit and the difference file created by the difference extraction unit, the file transfer unit for transferring the management information and the difference file to a file distribution server that provides the client server.
前記ファイルが更新されるとファイル登録手段が前記ファイルの版を示す管理情報を作成するステップと、
差分抽出手段が過去の全ての版のファイルの各々と最新版のファイルとの差分を抽出し、過去の版毎の差分ファイルを作成するステップと、
ファイル転送手段が前記管理情報と前記差分ファイルを格納部に転送するステップとを有するファイル版管理方法。 A file version management method for managing the file version on the server and providing the client with the latest version file upon request.
When the file is updated, file registration means creates management information indicating the version of the file;
A step of extracting a difference between each of all past versions of the file and the latest version and creating a difference file for each past version;
A file version management method, comprising: a file transfer unit that transfers the management information and the difference file to a storage unit.
前記ファイルが更新されたとき、前記更新ポリシーにて差分ファイルを作成すると規定されている場合にのみ前記差分抽出手段が前記差分ファイルを作成し、
差分ファイルを作成すると規定されていない場合には前記差分ファイルを作成することなく更新された前記ファイルそのものを前記ファイル転送手段が前記格納部に送る、請求項5記載のファイル版管理方法。 The file registration means sets in advance an update policy for the file that defines whether to create a difference file at the time of update,
When the file is updated, the difference extraction unit creates the difference file only when the update policy stipulates that a difference file be created.
6. The file version management method according to claim 5, wherein if the difference file is not defined to be created, the file transfer means sends the updated file itself to the storage unit without creating the difference file.
コンピュータを、
前記ファイルが更新されると該ファイルの版を示す管理情報を作成するファイル登録手段と、
過去の全ての版のファイルの各々と最新版のファイルとの差分を抽出し、過去の版毎の差分ファイルを作成する差分抽出手段と、
前記ファイル登録手段の作成した前記管理情報と前記差分抽出手段の作成した前記差分ファイルを、該管理情報および該差分ファイルを格納部に転送するファイル転送手段として機能させるためのファイル版管理プログラム。 A file version management program for causing a computer to manage file versions and to provide clients with the latest version files upon request,
Computer
File registration means for creating management information indicating the version of the file when the file is updated;
A difference extracting means for extracting a difference between each of all past versions of the file and the latest version of the file, and creating a difference file for each of the past versions;
A file version management program for causing the management information created by the file registration means and the difference file created by the difference extraction means to function as a file transfer means for transferring the management information and the difference file to a storage unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005077190A JP2006260212A (en) | 2005-03-17 | 2005-03-17 | File edition management system, file registration server, file edition management method, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005077190A JP2006260212A (en) | 2005-03-17 | 2005-03-17 | File edition management system, file registration server, file edition management method, and program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2006260212A true JP2006260212A (en) | 2006-09-28 |
Family
ID=37099387
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005077190A Pending JP2006260212A (en) | 2005-03-17 | 2005-03-17 | File edition management system, file registration server, file edition management method, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2006260212A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015026349A (en) * | 2013-07-29 | 2015-02-05 | エヌ・ティ・ティ・コムウェア株式会社 | Electronic file management device, electronic file management system, electronic file management method, and electronic file management program |
JP2019101917A (en) * | 2017-12-06 | 2019-06-24 | クラリオン株式会社 | Updating apparatus, and updating system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH10105036A (en) * | 1996-09-26 | 1998-04-24 | Nec Corp | Teaching material data base device |
JPH10143407A (en) * | 1996-11-08 | 1998-05-29 | Nippon Telegr & Teleph Corp <Ntt> | Information providing system |
WO2000033193A1 (en) * | 1998-11-30 | 2000-06-08 | Hitachi, Ltd. | Method, apparatus and system for delivering information and recording medium |
JP2005011218A (en) * | 2003-06-20 | 2005-01-13 | Matsushita Electric Ind Co Ltd | Contents transmitter, contents receiver and contents distribution system using them |
-
2005
- 2005-03-17 JP JP2005077190A patent/JP2006260212A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH10105036A (en) * | 1996-09-26 | 1998-04-24 | Nec Corp | Teaching material data base device |
JPH10143407A (en) * | 1996-11-08 | 1998-05-29 | Nippon Telegr & Teleph Corp <Ntt> | Information providing system |
WO2000033193A1 (en) * | 1998-11-30 | 2000-06-08 | Hitachi, Ltd. | Method, apparatus and system for delivering information and recording medium |
JP2005011218A (en) * | 2003-06-20 | 2005-01-13 | Matsushita Electric Ind Co Ltd | Contents transmitter, contents receiver and contents distribution system using them |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015026349A (en) * | 2013-07-29 | 2015-02-05 | エヌ・ティ・ティ・コムウェア株式会社 | Electronic file management device, electronic file management system, electronic file management method, and electronic file management program |
JP2019101917A (en) * | 2017-12-06 | 2019-06-24 | クラリオン株式会社 | Updating apparatus, and updating system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7584470B2 (en) | Method and system for peer-to-peer software distribution with a package builder | |
CN110474940B (en) | Request scheduling method, device, electronic equipment and medium | |
US20080320003A1 (en) | Scaling network services using dns | |
US20100228795A1 (en) | Download management of discardable files | |
JP2009518757A (en) | Method and system for maintaining up-to-date data of wireless devices | |
US20140067990A1 (en) | Method for accessing a content item in a cloud storage system, and a corresponding cloud broker, cloud cache agent and client application | |
KR20130026908A (en) | Local apparatus based on cloud and method for reading and storing file | |
JP2007004604A (en) | File location management method, terminal, and file location management server | |
US20240289273A1 (en) | Nft systems, methods, and structures | |
JP5596617B2 (en) | Network printing system client device, print data generation server, and image forming apparatus | |
KR101666064B1 (en) | Apparatus for managing data by using url information in a distributed file system and method thereof | |
EP2281284A1 (en) | Game user apparatus | |
KR101638689B1 (en) | System and method for providing client terminal to user customized synchronization service | |
JP2002189594A (en) | Automatic latest version setting system and automatic setting method | |
JP2006260212A (en) | File edition management system, file registration server, file edition management method, and program | |
JP4487186B2 (en) | Data acquisition program | |
US20110153848A1 (en) | Information processing device, communication system, control method and control program | |
US10171554B2 (en) | Distributing subscriber data in a mobile data network | |
JP3872965B2 (en) | File transfer system, server device, file transfer method, file transfer program | |
JP2007086924A (en) | Software distribution system, server, control method for server, and program | |
EP2034420A1 (en) | A method and an apparatus for operating right | |
JP4935879B2 (en) | Karaoke network system | |
JP2010186420A (en) | Information processing system and control program | |
JP2010511222A (en) | Peer management server and peer management method in P2P system | |
JP2005275620A (en) | Portable electronic instrument, electronic processing system, and electronic processing method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20090224 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20090311 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20090508 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20090805 |