Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3761911B2 - File server and file management method - Google Patents
[go: Go Back, main page]

JP3761911B2 - File server and file management method - Google Patents

File server and file management method Download PDF

Info

Publication number
JP3761911B2
JP3761911B2 JP19902894A JP19902894A JP3761911B2 JP 3761911 B2 JP3761911 B2 JP 3761911B2 JP 19902894 A JP19902894 A JP 19902894A JP 19902894 A JP19902894 A JP 19902894A JP 3761911 B2 JP3761911 B2 JP 3761911B2
Authority
JP
Japan
Prior art keywords
file
source file
version
source
information
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.)
Expired - Fee Related
Application number
JP19902894A
Other languages
Japanese (ja)
Other versions
JPH0844608A (en
Inventor
久美子 菊野
彰子 三上
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP19902894A priority Critical patent/JP3761911B2/en
Publication of JPH0844608A publication Critical patent/JPH0844608A/en
Application granted granted Critical
Publication of JP3761911B2 publication Critical patent/JP3761911B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

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

Description

【0001】
【産業上の利用分野】
本発明は、ファイルサーバおよびファイル管理方法に関し、特にファイルのバージョンを管理するファイルサーバおよびファイル管理方法に関する。
【0002】
【従来の技術】
従来、ソフトウェアの分散開発環境下におけるソースファイルのバージョン管理システムとして、独立したEWS(エンジニアリングワークステーション)をLAN(ローカルエリアネットワーク)に多数接続し、共同してプログラム開発を行なうものが知られており、例えば、分散型の開発環境におけるファイル管理方式として特開平4−280342号公報(ワークステーション計算機のプログラム管理方法)に記載されたものがある。
【0003】
このファイル管理方式では、ファイルサーバーである計算機が各EWSとLANで接続されていて、ファイルサーバのマスタファイル装置と各EWSの各々に独立したファイル装置との間で、指定したファイルについて日付等のバージョンに関する情報を比較し、マスターファイルで更新されている最新ファイルのみをLANを介して取り出すことによりすべてのEWSのファイル装置の同名のソースファイルが最新バージョンに更新され、内容が同じになるようにされていた。
【0004】
【発明が解決しようとする課題】
しかしながら、すべてのファイル装置のソースファイルを揃えるために、同名のソースファイルの内容は最新バージョンに全て更新されてしまうので、一部のEWSのファイル装置に最新ではない任意のバージョンのソースファイルを持つことができないといった問題があった。
【0005】
また、ファイルサーバにネットワークを介して接続されているすべてのEWSからソースファイルを取り出して更新することができるが、開発者以外の一部の操作者に対しても、ソースファイルを公開しているようなネットワークのソフトウェアにおいては、開発者と操作者とを区別したソースファイルの管理を行なうことができず、セキュリティに問題があった。
【0006】
さらに、ソースファイルをファイルサーバから取り出して変更を加えている間に、別の操作者が同じ名前のソースファイルを更新してファイルサーバ上のソースファイルの内容を書き変えた場合、更新されたことが操作者に知らされないとその変更途中のソースファイルのバージョンが最新のものであるかどうかわからなくなってしまい、混乱を招く結果となる。
【0007】
そこで、本発明は、ワークステーションのファイル装置に任意のバージョンのソースファイルを持つことができ、開発者と操作者を区別してセキュリティを保証でき、操作者はソースファイルが更新されたことを知ることができるファイルサーバおよびファイル管理方法を提供することを目的とする。
【0008】
【課題を解決するための手段】
上記目的を達成するために、本発明のファイルサーバは、ネットワークを介して、ファイルを管理するファイルサーバと複数のワークステーションとが接続されたファイル管理システムにおけるファイルサーバであって新バージョンのソースファイルと、該ソースファイルの各バージョン間の差分情報を含む変更履歴とを格納する格納手段と、前記ワークステーションから前記ソースファイルの取り出し要求がなされると、前記格納手段で格納されている最新バージョンのソースファイルと変更履歴とに基づいて、該要求されたバージョンのソースファイルを生成し、該生成されたソースファイルとそのバージョン情報とを該ワークステーションへ送信するファイル取り出し手段と、前記ワークステーションから更新要求とともにソースファイルと当該ソースファイルを前記ファイル取り出し手段で取り出したときのバージョン情報とを受信すると、当該受信したバージョン情報と前記格納手段に格納されている最新バージョンとを比較し、前記比較の結果、当該格納手段に格納されている最新バージョンのソースファイルが既に更新済みであると判断した場合は前記ワークステーションに対して既に更新されていることを通知し、一方、前記比較の結果、当該格納手段に格納されている最新バージョンのソースファイルが更新済みでないと判断した場合は、当該受信したソースファイルと前記格納手段に格納されている最新バージョンのソースファイルとの間の差分情報を抽出して前記格納手段に格納し、且つ前記格納手段に格納されている最新バージョンのソースファイルを当該受信したソースファイルで置き換えるファイル更新手段とを有することを特徴とする。
本発明のファイル管理方法は、ネットワークを介して複数のワークステーションと接続された、ファイルを管理するファイルサーバにおけるファイル管理方法であって、最新バージョンのソースファイルと、該ソースファイルの各バージョン間の差分情報を含む変更履歴とを格納し、前記ワークステーションから前記ソースファイルの取り出し要求がなされると、前記格納されている最新バージョンのソースファイルと変更履歴とに基づいて、該要求されたバージョンのソースファイルを生成し、該生成されたソースファイルとそのバージョン情報とを該ワークステーションへ送信し、前記ワークステーションから更新要求とともにソースファイルと当該ソースファイルを取り出したときのバージョン情報とを受信すると、当該受信したバージョン情報と前記格納されている最新バージョンとを比較し、前記比較の結果、当該格納されている最新バージョンのソースファイルが既に更新済みであると判断した場合は前記ワークステーションに対して既に更新されていることを通知し、一方、前記比較の結果、当該格納されている最新バージョンのソースファイルが更新済みでないと判断した場合は、当該受信したソースファイルと前記格納されている最新バージョンのソースファイルとの間の差分情報を抽出して格納し、且つ前記格納されている最新バージョンのソースファイルを当該受信したソースファイルで置き換えることを特徴とする。
【0019】
【実施例】
つぎに、本発明のファイルサーバおよびファイル管理方法の実施例について説明する。本実施例のファイル管理システムは情報処理システムに適用される。
【0020】
[第1実施例]
図1は情報処理システムの構成を示すブロック図である。図において、1はファイルサーバ、2はファイルサーバのファイル装置でソースファイル3、バージョン、差分情報などの変更履歴4が保存される。5はLANネットワーク、6a〜6nはファイルサーバ1とLANネットワーク5を介して接続されているワークステーション(EWS)、7a〜7nはそれぞれワークステーション6a〜6nのファイル装置である。
【0021】
図2と図3および図4とはファイルサーバ1およびワークステーション6aの処理機能を示す説明図である。図2はファイルの取り出し処理機能を示す。
【0022】
ファイルの取出し処理機能は、ワークステーション6aから必要なソースファイルの取り出し要求をネットワーク5を介してファイルサーバ1に入力する処理Aと、ファイルサーバ1で指定された名前、バージョンのソースファイルをファイル装置2から生成する処理Bと、ネットワーク5を介してこれらの生成されたファイルをワークステーション(EWS)6aに送信し、ファイル装置7aにソースファイル34とバージョン等の情報ファイル35を入力する処理Cと、取り出したソースファイルのファイル名とユーザ名をファイル装置2の変更履歴ファイル4に登録する処理Dとから構成される。
【0023】
また、図3および図4はファイルの更新処理機能を示す。ファイルを更新する処理機能は、ワークステーション(EWS)6aからのソースファイルの更新要求をネットワーク5を介してファイルサーバ1に入力する処理Eと、ファイル名をチェックし、ファイルサーバ1のソースファイルのバージョンがすでに更新されていて、修正前のバージョンよりも新しくなっている場合、エラーをEWS6aに送信する処理Fと、ファイルサーバ1の最新ソースファイルと更新するファイル114の差分を抽出する処理Gと、ファイル装置2にこのソースファイルを最新バージョンとして更新し、その変更履歴情報を登録する処理Hとからなる。
【0024】
以上示した構成を有する情報処理システムのデータ管理動作について図2と図3および図4とを参照しながら説明する。
【0025】
[ファイルの取出し処理]
まず、EWS6aから取り出すソースファイル名とバージョンを入力すると(ステップS21、S22)、入力されたデータはEWS6aのファイル送受信手段23から送信され、ネットワーク5を介してファイルサーバ1のファイル送受信手段24に入力される。ファイルサーバ1はファイル装置2に該当する名前のソースファイルが有るか無いかをチェックする(ステップS25)。
【0026】
該当するソースファイル名が存在しない場合はネットワーク5を介してEWS6aにエラーメッセージを送る(ステップS26、S27)。該当するソースファイルが存在する場合は、バージョンのチェックを行なう(ステップS28、S29)。
【0027】
バージョンの指定がない場合、ファイル装置2から最新バージョンのソースファイルを取り出す(ステップS30)。バージョンの指定がある場合は、ファイル装置2から最新バージョンのソースファイル3と、指定バージョンでの差分情報を変更履歴ファイル4から取り出し、指定バージョンのソースファイルを生成する(ステップS31)。
【0028】
ソースファイルのファイルサーバ1上での領域、バージョン情報を記録した情報ファイルを生成する(ステップS32)。ソースファイルとステップS32で生成した情報ファイルとをネットワーク5を介してEWS6aに送信し、EWS6a上にソースファイル35とサーバ情報ファイル36をファイル装置7aに保存する(ステップS33,S34)。また、ソースファイルを取り出したユーザ名とそのファイル名を変更履歴ファイル4に登録する(ステップS37)。
【0029】
[ファイルの更新処理]
EWS6aで更新するソースファイル名が入力されると(ステップS100、S101)、更新するソースファイル113の中にソースファイルをファイルサーバ1から取り出したときに生成された、ファイルサーバ1上での情報ファイル104があるかどうかをチェックする(ステップS102)。
【0030】
情報ファイル104がないときは更新しない。情報ファイル104があるときは、更新要求がEWS6aのファイル送受信手段105からネットワーク5を介してファイルサーバ1のファイル送受信手段106に入力される(ステップS103)。
【0031】
ファイルサーバ1はファイル装置2に該当する名前のソースファイルがあるか否かをチェックする(ステップS107)。
【0032】
該当するソースファイルが存在しない場合はネットワーク5を介してEWS6aにエラーメッセージを送る(ステップS108、S109)。該当するソースファイルが存在する場合はバージョンの比較を行ない、すでに更新が行なわれていないかどうかをチェックする(ステップS110、S111)。更新されていた場合、EWS6aにエラーを送信する(ステップS112)。
【0033】
一方、更新されていない場合、EWS6aが更新するファイル113をネットワーク5を介して送信したソースファイル114とファイルサーバ1上の最新バージョンのソースファイルとから差分117を抽出する(ステップS115)。差分117がない場合、更新は行なわない(ステップS116)。
【0034】
差分117がある場合、ソースファイル114をファイル装置2の最新バージョンに置き換え、差分117を変更履歴ファイル4に記録する(ステップS118)。変更履歴ファイル4から、このソースファイルを取り出しているユーザ名を検索し、更新が行われたことを通知する(ステップS119)。
【0035】
図5はユーザと開発者とを区別する処理を示すフローチャートである。まず、EWS6aからの取出しまたは更新要求をネットワーク5を介してファイルサーバ1に入力すると(ステップS201)、ファイルサーバ1は開発者と一般ユーザを区別する環境変数を解析する(ステップS202)。この環境変数の解析から開発者と一般ユーザを判断し(ステップS203)、一般ユーザの場合はユーザ名登録ファイル208に登録されているか否かを判断する(ステップS204)。
【0036】
ユーザ名が登録されていない場合はエラーとする(ステップS206)。登録ユーザに取り出しのみを許可し(ステップS205)、開発者に取り出しと更新の両方を許可する(ステップS207)。
【0037】
[第2実施例]
つぎに、第2実施例のファイル管理システムおよびその管理方法について説明する。前記第1実施例のファイル管理システムでは、開発者にソースファイルの更新および取出し許可を与え、登録されている一般ユーザにはユーザ名登録ファイルを参照してソースファイルの取り出し許可のみを一様に与えていた。ソースファイルの操作には更新、取り出しの他に新規登録や削除などファイル自体の変更があるが、これらを全ての開発者およびユーザに許可を与えると混乱を引き起こすので、一部の開発者を区別して許可を与える必要がある。この方法について図面を参照して詳細に説明する。尚、前記第1実施例と同一の構成部分については同一の番号を付している。
【0038】
第2実施例のファイル管理システムの処理機能は、ワークステーション(EWS)からの取り出し、更新、新規登録などの要求をネットワークを介してファイルサーバに入力する処理と、登録ファイルを検索する処理と、登録名の有無を判断する処理と、登録ファイルに名前がないときエラーを出力する処理と、ユーザレベルを判断する処理と、ユーザのレベル判断に応じて許可を与える処理とから構成される。
【0039】
図6は新規登録などの処理ルーチンを示すフローチャートである。まず、EWS6aからの取り出し、更新、新規登録などの要求をネットワーク5を介してファイルサーバ1に入力すると(ステップS401)、ユーザ情報登録ファイル409から要求を出したユーザの情報を検索する(ステップS402)。このユーザ情報登録ファイル409には、ソースファイルの更新、取り出し、新規登録などのソースファイル自体の操作の許可をレベル1、ソースファイルの更新、取り出しの許可をレベル2、ソースファイルの取り出しのみの許可をレベル3とし、各レベルに該当するユーザ名が記録されている。
【0040】
ステップS402では、検索した結果から登録ユーザ名の有無を判断する(ステップS403)。ここで、ユーザ情報登録ファイル409に登録されていない場合はエラーメッセージを出して終了する(ステップS404)。ユーザ情報登録ファイル409に登録されている場合は、ユーザ情報登録ファイルに登録されているユーザレベルの判断を行なう(ステップS405)。
【0041】
ユーザレベルが1のとき、ソースファイルの更新、取り出し、新規登録などを許可する(ステップS406)。ユーザレベルが2のとき、ソースファイルの更新、取り出しを許可する(ステップS407)。ユーザレベルが3のとき、ソースファイルの取り出しを許可する(ステップS408)。
【0042】
【発明の効果】
本発明によれば、操作者はソースファイルが更新されたことを容易に知ることができる。また、ソースファイルをサーバより取り出して変更を加えている途中で、ファイルサーバのソースファイルが別のユーザによって更新された場合に、更新されたことがソースファイルを取り出したユーザに通知されると、各ユーザは変更途中のソースファイルのバージョンが最新のものであるかどうかを把握することができる。
また、ソースファイルをバージョンに応じて管理することができる。したがって、各ワークステーションは任意のバージョンのソースファイルをファイルサーバから取り出すことができる。また、分散型開発環境に適用する場合にも、ファイルサーバはソースファイルと変更履歴を管理することになるので、各ワークステーションは必要なソースファイルのみをネットワークを介して更新したり、取り出せばよく、各ワークステーションに附属するファイル装置の領域を節減できる。
【0043】
また、バージョン情報などが記録された情報ファイルによりワークステーションの操作者はソースファイルのバージョンなどを知ることができる。また、ソースファイルの更新はファイルサーバのみで行なって、すべてのワークステーションのソースファイルを更新する必要をなくすことで、ワークステーション毎にバージョンの異なるソースファイルを取り出し、保持することができる。
【0044】
さらに、ワークステーションから最新バージョンのソースファイルを更新して、その変更履歴を追加できる。
【0045】
また、ソースファイルの内容を更新できる開発者とそれ以外の操作者とを区別してセキュリティを保証できる。また、ネットワークでファイルサーバと接続されている各ワークステーションの中で、開発者とユーザを区別できるので、開発者のみが更新を行ない、登録されているユーザのみ取り出しが許可されるというように設定できる。
【図面の簡単な説明】
【図1】情報処理システムの構成を示すブロック図である。
【図2】ファイルサーバ1およびワークステーション6aのファイルの取出し処理機能を示す説明図である。
【図3】ファイルサーバ1およびワークステーション6aのファイルの更新処理機能を示す説明図である。
【図4】図3につづく、ファイルサーバ1およびワークステーション6aのファイルの更新処理機能を示す説明図である。
【図5】ユーザと開発者とを区別する処理を示すフローチャートである。
【図6】新規登録などの処理ルーチンを示すフローチャートである。
【符号の説明】
1 … ファイルサーバ
2 … ファイル装置
3 … ソースファイル
4 … 変更履歴ファイル
5 … LANネットワーク
6a〜6n … ワークステーション
7a〜7n … ファイル装置
[0001]
[Industrial application fields]
The present invention relates to a file server and a file management method, and more particularly to a file server and a file management method for managing file versions.
[0002]
[Prior art]
Conventionally, as a version control system for source files in a distributed software development environment, many independent EWSs (engineering workstations) are connected to a LAN (local area network) and programs are jointly developed. For example, as a file management method in a distributed development environment, there is one described in JP-A-4-280342 (program management method for workstation computer).
[0003]
In this file management method, a computer as a file server is connected to each EWS via a LAN, and a date, etc., is specified for a specified file between a master file device of the file server and a file device independent of each EWS. Compare the information about the version and retrieve only the latest file updated in the master file via LAN so that the source file with the same name in all EWS file devices is updated to the latest version and the contents are the same It had been.
[0004]
[Problems to be solved by the invention]
However, in order to make the source files of all the file devices uniform, the contents of the source file with the same name are all updated to the latest version, so some EWS file devices have arbitrary versions of source files that are not the latest. There was a problem that I couldn't.
[0005]
In addition, source files can be extracted and updated from all EWSs connected to the file server via the network, but the source files are also open to some operators other than developers. In such network software, source files cannot be managed separately for developers and operators, and there is a problem in security.
[0006]
In addition, if another operator updates the source file with the same name and rewrites the contents of the source file on the file server while the source file is retrieved from the file server and changes are made, If the operator is not informed, it will not be possible to know whether the version of the source file being changed is the latest version, resulting in confusion.
[0007]
Therefore, the present invention can have an arbitrary version of the source file in the workstation file device, can guarantee security by distinguishing between the developer and the operator, and the operator knows that the source file has been updated. An object of the present invention is to provide a file server and a file management method capable of managing the file .
[0008]
[Means for Solving the Problems]
To achieve the above object, the file server of the present invention, via a network, a file server in the file management system file server and a plurality of workstations connected for managing files, the latest version of the A storage unit that stores a source file and a change history that includes difference information between versions of the source file, and the latest stored in the storage unit when a request to retrieve the source file is made from the workstation. A file retrieval means for generating the requested version of the source file based on the version of the source file and the change history, and transmitting the generated source file and its version information to the workstation; Source with update request from When the file and the version information when the source file is extracted by the file extraction unit are received, the received version information is compared with the latest version stored in the storage unit, and as a result of the comparison, the storage is performed. If it is determined that the latest version of the source file stored in the means has already been updated, the workstation is notified that the source file has already been updated, while the result of the comparison is stored in the storage means. If it is determined that the latest version of the source file is not updated, the storage means extracts the difference information between the received source file and the latest version of the source file stored in the storage means. And the latest version of the source file stored in the storage means And having a file updating means for replacing the source file that the received.
The file management method of the present invention is a file management method in a file server for managing files connected to a plurality of workstations via a network, and includes the latest version of a source file and each version of the source file. A change history including difference information is stored, and when the source file retrieval request is made from the workstation, the requested version of the requested version is based on the stored latest version of the source file and the change history. When generating a source file, transmitting the generated source file and its version information to the workstation , and receiving the source file and the version information when the source file is extracted together with an update request from the workstation, The received bar If the version information is compared with the latest stored version, and it is determined that the source file of the latest stored version has already been updated as a result of the comparison, it is already updated to the workstation. On the other hand, if it is determined as a result of the comparison that the stored latest version of the source file has not been updated, the received source file and the stored latest version of the source file Difference information with respect to the file is extracted and stored, and the stored latest version of the source file is replaced with the received source file .
[0019]
【Example】
Next, embodiments of the file server and the file management method of the present invention will be described. The file management system of this embodiment is applied to an information processing system.
[0020]
[First embodiment]
FIG. 1 is a block diagram showing the configuration of the information processing system. In the figure, 1 is a file server, 2 is a file device of a file server, and a change history 4 such as a source file 3, version, and difference information is stored. Reference numeral 5 denotes a LAN network, 6a to 6n are workstations (EWS) connected to the file server 1 via the LAN network 5, and 7a to 7n are file devices of the workstations 6a to 6n, respectively.
[0021]
2, 3 and 4 are explanatory diagrams showing the processing functions of the file server 1 and the workstation 6a. FIG. 2 shows a file retrieval processing function.
[0022]
The file extraction processing function includes a process A for inputting a required source file extraction request from the workstation 6a to the file server 1 via the network 5, and a name and version of the source file designated by the file server 1 as a file device. 2 and the process C for transmitting these generated files to the workstation (EWS) 6a via the network 5 and inputting the source file 34 and the information file 35 such as the version to the file device 7a. And processing D for registering the file name and user name of the extracted source file in the change history file 4 of the file device 2.
[0023]
3 and 4 show a file update processing function. The processing function for updating the file includes processing E for inputting a source file update request from the workstation (EWS) 6a to the file server 1 via the network 5, checking the file name, and checking the source file of the file server 1. If the version has already been updated and is newer than the version before correction, the process F for sending an error to the EWS 6a, and the process G for extracting the difference between the latest source file of the file server 1 and the file 114 to be updated And processing H for updating the source file to the file device 2 as the latest version and registering the change history information.
[0024]
The data management operation of the information processing system having the above-described configuration will be described with reference to FIG. 2, FIG. 3, and FIG.
[0025]
[File retrieval processing]
First, when a source file name and version to be extracted from the EWS 6a are input (steps S21 and S22), the input data is transmitted from the file transmission / reception means 23 of the EWS 6a and input to the file transmission / reception means 24 of the file server 1 via the network 5. Is done. The file server 1 checks whether or not there is a source file having a name corresponding to the file device 2 (step S25).
[0026]
If the corresponding source file name does not exist, an error message is sent to the EWS 6a via the network 5 (steps S26 and S27). If the corresponding source file exists, the version is checked (steps S28 and S29).
[0027]
If the version is not specified, the latest version of the source file is taken out from the file device 2 (step S30). If the version is specified, the latest version of the source file 3 and the difference information in the specified version are taken out of the change history file 4 from the file device 2 to generate the specified version of the source file (step S31).
[0028]
An information file recording the source file area and version information on the file server 1 is generated (step S32). The source file and the information file generated in step S32 are transmitted to the EWS 6a via the network 5, and the source file 35 and the server information file 36 are stored in the file device 7a on the EWS 6a (steps S33 and S34). Further, the user name from which the source file has been taken out and its file name are registered in the change history file 4 (step S37).
[0029]
[File update processing]
When the source file name to be updated by the EWS 6a is input (steps S100 and S101), the information file on the file server 1 generated when the source file is extracted from the file server 1 in the source file 113 to be updated. It is checked whether there is 104 (step S102).
[0030]
When there is no information file 104, it is not updated. If the information file 104 exists, an update request is input from the file transmission / reception means 105 of the EWS 6a to the file transmission / reception means 106 of the file server 1 via the network 5 (step S103).
[0031]
The file server 1 checks whether there is a source file having a name corresponding to the file device 2 (step S107).
[0032]
If the corresponding source file does not exist, an error message is sent to the EWS 6a via the network 5 (steps S108 and S109). If the corresponding source file exists, the versions are compared to check whether the update has already been performed (steps S110 and S111). If it has been updated, an error is transmitted to the EWS 6a (step S112).
[0033]
On the other hand, if not updated, the difference 117 is extracted from the source file 114 transmitted through the network 5 and the latest version of the source file 114 on the file server 1 (step S115). If there is no difference 117, the update is not performed (step S116).
[0034]
If there is a difference 117, the source file 114 is replaced with the latest version of the file device 2, and the difference 117 is recorded in the change history file 4 (step S118). The user name from which the source file has been extracted is searched from the change history file 4 to notify that the update has been performed (step S119).
[0035]
FIG. 5 is a flowchart showing processing for distinguishing between a user and a developer. First, when a retrieval or update request from the EWS 6a is input to the file server 1 via the network 5 (step S201), the file server 1 analyzes an environment variable that distinguishes a developer from a general user (step S202). From the analysis of the environment variable, the developer and the general user are determined (step S203), and in the case of the general user, it is determined whether or not the user is registered in the user name registration file 208 (step S204).
[0036]
If the user name is not registered, an error is assumed (step S206). Only the registered user is permitted to retrieve (step S205), and the developer is permitted to retrieve and update (step S207).
[0037]
[Second Embodiment]
Next, a file management system and a management method thereof according to the second embodiment will be described. In the file management system of the first embodiment, the developer is given permission to update and retrieve the source file, and the registered general user is only allowed to retrieve the source file by referring to the user name registration file. Was giving. In addition to updating and retrieving source files, there are changes in the file itself, such as new registration and deletion, but giving permission to all developers and users causes confusion, so some developers are restricted. It is necessary to give permission separately. This method will be described in detail with reference to the drawings. The same components as those in the first embodiment are given the same numbers.
[0038]
The processing function of the file management system according to the second embodiment includes a process of inputting a request for retrieval, update, new registration, etc. from the workstation (EWS) to the file server via the network, a process of searching for a registered file, The process includes a process for determining the presence / absence of a registered name, a process for outputting an error when there is no name in the registered file, a process for determining a user level, and a process for granting permission according to the user's level determination.
[0039]
FIG. 6 is a flowchart showing a processing routine such as new registration. First, when a request for retrieval, update, new registration, etc. from the EWS 6a is input to the file server 1 via the network 5 (step S401), information on the user who issued the request is retrieved from the user information registration file 409 (step S402). ). In this user information registration file 409, the level of permission for operations on the source file itself such as update, extraction, and new registration of the source file is level 1, the level of permission for update and extraction of the source file is level 2, and only permission for extraction of the source file Is level 3, and user names corresponding to each level are recorded.
[0040]
In step S402, the presence / absence of a registered user name is determined from the search result (step S403). If it is not registered in the user information registration file 409, an error message is output and the process ends (step S404). If it is registered in the user information registration file 409, the user level registered in the user information registration file is determined (step S405).
[0041]
When the user level is 1, update, extraction, new registration, etc. of the source file are permitted (step S406). When the user level is 2, update and extraction of the source file are permitted (step S407). When the user level is 3, extraction of the source file is permitted (step S408).
[0042]
【The invention's effect】
According to the present invention, the operator can easily know that the source file has been updated. In addition, when the source file of the file server is updated by another user while the source file is being extracted from the server and changed, when the user who has extracted the source file is notified of the update, Each user can grasp whether or not the version of the source file being changed is the latest version.
In addition, source files can be managed according to versions. Thus, each workstation can retrieve any version of the source file from the file server. Also, when applied to a distributed development environment, the file server manages source files and change history, so each workstation only needs to update or retrieve only the necessary source files via the network. The area of the file device attached to each workstation can be saved.
[0043]
Further, the operator of the workstation can know the version of the source file from the information file in which version information is recorded. In addition, the source file is updated only by the file server, and it is not necessary to update the source files of all the workstations, so that source files having different versions can be extracted and held for each workstation.
[0044]
In addition, the latest version of the source file can be updated from the workstation and its change history added.
[0045]
In addition, security can be guaranteed by distinguishing between developers who can update the contents of source files and other operators. Also, in each workstation connected to the file server over the network, it is possible to distinguish between developers and users, so that only developers can update and only registered users are allowed to retrieve it can.
[Brief description of the drawings]
FIG. 1 is a block diagram illustrating a configuration of an information processing system.
FIG. 2 is an explanatory diagram showing file extraction processing functions of the file server 1 and the workstation 6a.
FIG. 3 is an explanatory diagram showing file update processing functions of the file server 1 and the workstation 6a.
FIG. 4 is an explanatory diagram illustrating file update processing functions of the file server 1 and the workstation 6a, continued from FIG. 3;
FIG. 5 is a flowchart showing processing for distinguishing between a user and a developer.
FIG. 6 is a flowchart showing a processing routine such as new registration.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 ... File server 2 ... File apparatus 3 ... Source file 4 ... Change history file 5 ... LAN network 6a-6n ... Workstation 7a-7n ... File apparatus

Claims (10)

ネットワークを介して、ファイルを管理するファイルサーバと複数のワークステーションとが接続されたファイル管理システムにおけるファイルサーバであって
新バージョンのソースファイルと、該ソースファイルの各バージョン間の差分情報を含む変更履歴とを格納する格納手段と、
前記ワークステーションから前記ソースファイルの取り出し要求がなされると、前記格納手段で格納されている最新バージョンのソースファイルと変更履歴とに基づいて、該要求されたバージョンのソースファイルを生成し、該生成されたソースファイルとそのバージョン情報とを該ワークステーションへ送信するファイル取り出し手段と、
前記ワークステーションから更新要求とともにソースファイルと当該ソースファイルを前記ファイル取り出し手段で取り出したときのバージョン情報とを受信すると、当該受信したバージョン情報と前記格納手段に格納されている最新バージョンとを比較し、前記比較の結果、当該格納手段に格納されている最新バージョンのソースファイルが既に更新済みであると判断した場合は前記ワークステーションに対して既に更新されていることを通知し、一方、前記比較の結果、当該格納手段に格納されている最新バージョンのソースファイルが更新済みでないと判断した場合は、当該受信したソースファイルと前記格納手段に格納されている最新バージョンのソースファイルとの間の差分情報を抽出して前記格納手段に格納し、且つ前記格納手段に格納されている最新バージョンのソースファイルを当該受信したソースファイルで置き換えるファイル更新手段とを有することを特徴とするファイルサーバ
A file server in a file management system in which a file server for managing files and a plurality of workstations are connected via a network,
And source files of the latest version, and storage means for storing the change history, including the difference information between each version of the source file,
When a request to retrieve the source file is made from the workstation, the requested version of the source file is generated based on the latest version of the source file stored in the storage unit and the change history, and the generation is performed. A file retrieval means for transmitting the source file and its version information to the workstation ;
When receiving a source file and version information when the source file is retrieved by the file retrieval unit together with an update request from the workstation, the received version information is compared with the latest version stored in the storage unit. As a result of the comparison, if it is determined that the latest version of the source file stored in the storage means has already been updated, the workstation is notified that the source file has already been updated. As a result, if it is determined that the latest version of the source file stored in the storage means has not been updated, the difference between the received source file and the latest version of the source file stored in the storage means Information is extracted and stored in the storage means; File servers; and a file updating means for replacing the source file of the most recent version of the source file that the received stored in.
前記ファイル取り出し手段で送信されるバージョン情報は、該ソースファイルの格納領域と当該バージョン情報とを含む情報ファイルの形式で、前記生成されたソースファイルとともに送信されることを特徴とする請求項1に記載のファイルサーバ Version information transmitted in the file retrieval means, in the form of information file including a storage area and the version information of the source file, to claim 1, characterized in that it is transmitted together with the generated source files The listed file server . 前記ファイル取り出し手段は、更に、前記取り出し要求を行ったユーザ名を履歴ファイルに記録しておくことを特徴とする請求項1に記載のファイルサーバ。It said file retrieval means further file server of claim 1, wherein the recording the username from which the retrieval request to the history file. 前記ファイル更新手段は、前記格納手段に格納されている最新バージョンのソースファイルを当該受信したソースファイルで置き換えた場合、前記履歴ファイルに基づいて、同一のソースファイルを取り出している他のユーザを検索し、当該検索された他のユーザに当該ソースファイルが更新されたことを通知することを特徴とする請求項に記載のファイルサーバ The file update unit searches for another user who is extracting the same source file based on the history file when the latest version of the source file stored in the storage unit is replaced with the received source file . file server according to claim 3, and the source file to other users that are the search and notifies that it has been updated. 前記ファイルサーバは、ユーザ情報を登録したユーザ情報登録ファイルを有し、
前記ユーザ情報登録ファイルに基づいて、前記ソースファイルに対して、前記取り出し要求又は更新要求を行ったユーザの許可レベルを判断し、該許可レベルに応じて前記要求を許可するか否か判断することを特徴とする請求項1乃至のいずれかに記載のファイルサーバ
The file server has a user information registration file in which user information is registered,
Based on the user information registration file to the source file, determines the permission level of the user who made the retrieval request or an update request, to determine whether or not to permit the request in accordance with該許Allowed level The file server according to any one of claims 1 to 4 , wherein:
ネットワークを介して複数のワークステーションと接続された、ファイルを管理するファイルサーバにおけるファイル管理方法であって、
最新バージョンのソースファイルと、該ソースファイルの各バージョン間の差分情報を含む変更履歴とを格納し、
前記ワークステーションから前記ソースファイルの取り出し要求がなされると、前記格納されている最新バージョンのソースファイルと変更履歴とに基づいて、該要求されたバージョンのソースファイルを生成し、
該生成されたソースファイルとそのバージョン情報とを該ワークステーションへ送信し、
前記ワークステーションから更新要求とともにソースファイルと当該ソースファイルを取り出したときのバージョン情報とを受信すると、当該受信したバージョン情報と前記格納されている最新バージョンとを比較し、前記比較の結果、当該格納されている最新バー ジョンのソースファイルが既に更新済みであると判断した場合は前記ワークステーションに対して既に更新されていることを通知し、一方、前記比較の結果、当該格納されている最新バージョンのソースファイルが更新済みでないと判断した場合は、当該受信したソースファイルと前記格納されている最新バージョンのソースファイルとの間の差分情報を抽出して格納し、且つ前記格納されている最新バージョンのソースファイルを当該受信したソースファイルで置き換えることを特徴とするファイル管理方法。
A file management method in a file server for managing files connected to a plurality of workstations via a network,
Stores the latest version of the source file and a change history including difference information between each version of the source file,
When a request to retrieve the source file is made from the workstation, the requested version of the source file is generated based on the stored latest version of the source file and the change history,
Sending the generated source file and its version information to the workstation ;
When receiving the source file and the version information when the source file is taken out together with the update request from the workstation, the received version information is compared with the latest stored version, and as a result of the comparison, the storage is performed. is when the latest version of the source file has is determined to be already updated notification that has already been updated to the workstation, while the result of the comparison, the latest being the stored version If it is determined that the source file is not updated, the difference information between the received source file and the stored latest version of the source file is extracted and stored, and the stored latest version this to replace the source file in the source file that the received File management method according to claim.
前記送信されるバージョン情報は、該ソースファイルの格納領域と当該バージョン情報とを含む情報ファイルの形式で、前記生成されたソースファイルとともに送信されることを特徴とする請求項に記載のファイル管理方法。The file management according to claim 6 , wherein the transmitted version information is transmitted together with the generated source file in a format of an information file including a storage area of the source file and the version information. Method. 更に、前記取り出し要求を行ったユーザ名を履歴ファイルに記録しておくことを特徴とする請求項に記載のファイル管理方法。 Further, the file management method according to claim 6, wherein the recording the username from which the retrieval request to the history file. 前記格納されている最新バージョンのソースファイルを当該受信したソースファイルで置き換えた場合、前記履歴ファイルに基づいて、同一のソースファイルを取り出している他のユーザを検索し、当該検索された他のユーザに当該ソースファイルが更新されたことを通知することを特徴とする請求項に記載のファイル管理方法。 When the stored latest version of the source file is replaced with the received source file, the other user who has retrieved the same source file is searched based on the history file, and the searched other user the file management method according to claim 8 in which the source file and notifies that it has been updated. 前記ファイルサーバは、ユーザ情報を登録したユーザ情報登録ファイルを有し、
前記ユーザ情報登録ファイルに基づいて、前記ソースファイルに対して、前記取り出し要求又は更新要求を行ったユーザの許可レベルを判断し、該許可レベルに応じて前記要求を許可するか否か判断することを特徴とする請求項乃至のいずれかに記載のファイル管理方法。
The file server has a user information registration file in which user information is registered,
Based on the user information registration file to the source file, determines the permission level of the user who made the retrieval request or an update request, to determine whether to allow the request in accordance with該許friendly level the file management method according to any one of claims 6 to 9, wherein.
JP19902894A 1994-08-01 1994-08-01 File server and file management method Expired - Fee Related JP3761911B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19902894A JP3761911B2 (en) 1994-08-01 1994-08-01 File server and file management method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19902894A JP3761911B2 (en) 1994-08-01 1994-08-01 File server and file management method

Publications (2)

Publication Number Publication Date
JPH0844608A JPH0844608A (en) 1996-02-16
JP3761911B2 true JP3761911B2 (en) 2006-03-29

Family

ID=16400920

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19902894A Expired - Fee Related JP3761911B2 (en) 1994-08-01 1994-08-01 File server and file management method

Country Status (1)

Country Link
JP (1) JP3761911B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100414406B1 (en) * 2001-08-09 2004-01-14 주식회사 핸디소프트 Workflow System Capable of Version Management of Documents and the Method of Version Management of Documents Using the Same
JP2004139442A (en) * 2002-10-18 2004-05-13 Toyota Motor Corp Information terminal device, operation control method of information terminal device, specific information storage program, storage medium storing specific information storage program, predetermined information change program, terminal operation program, storage medium storing terminal operation program, and center
JP4491269B2 (en) * 2004-04-22 2010-06-30 株式会社日立製作所 Storage system and file management apparatus
JP4708057B2 (en) * 2005-03-25 2011-06-22 富士通株式会社 File update program and file update method

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS628247A (en) * 1985-07-04 1987-01-16 Nec Corp Control system for security of data
JPH02224155A (en) * 1989-02-27 1990-09-06 Nec Corp History data reproducing system for information processing system
JPH04112322A (en) * 1990-09-03 1992-04-14 Fujitsu Ltd Library control system in cooperation of ews and host
JPH04188343A (en) * 1990-11-22 1992-07-06 Nec Software Ltd Data update informing method in data analysis system data base
JPH04294433A (en) * 1991-03-22 1992-10-19 Nec Corp Computer system
JPH05257765A (en) * 1992-03-16 1993-10-08 Fujitsu Ltd Database management system
JPH0651961A (en) * 1992-07-28 1994-02-25 Chubu Nippon Denki Software Kk Version managing system in program collection/delivery system

Also Published As

Publication number Publication date
JPH0844608A (en) 1996-02-16

Similar Documents

Publication Publication Date Title
US8260815B2 (en) System and method for accessing non-compatible content repositories
US9256655B2 (en) Dynamic access of data
US6467088B1 (en) Reconfiguration manager for controlling upgrades of electronic devices
US7093246B2 (en) Automated updates of software and systems
JP3899795B2 (en) File management system and method
US20040088142A1 (en) System and method for managing configuration information for dispersed computing systems
JP2001209622A (en) System for managing constitution of data processor
EP1965333B1 (en) File server for translating user identifier
JP3307329B2 (en) Network configuration managed access system and method
CN101174270A (en) Method and apparatus to access heterogeneous configuration management database repositories
US20020059360A1 (en) Local-file-transfer method and local-file-transfer system for client-server system
EP1589691B1 (en) Method, system and apparatus for managing computer identity
JP3801524B2 (en) Automatic update system and automatic update method
US7536404B2 (en) Electronic files preparation for storage in a server
JP3761911B2 (en) File server and file management method
US6957347B2 (en) Physical device placement assistant
JPH11272471A (en) Software distribution system and recording medium recording program used for the software distribution system
JP2001216319A (en) Document management method, device for executing the method, and recording medium recording the processing program
JP2002116934A (en) Document management system
KR100434038B1 (en) the method and the system for management of component informations using a Repository
CN120705898B (en) Access control methods and electronic devices
EP1426865A2 (en) System and method for managing configuration information for dispersed computing systems
JP3635997B2 (en) Distribution information selection apparatus and method
US8433699B1 (en) Object identity and addressability
JPH0883223A (en) File management system

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050621

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050822

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: 20051220

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060112

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: 20090120

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20100120

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110120

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120120

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20130120

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20140120

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees