JP2002123414A - Method and device for managing version - Google Patents

Method and device for managing version

Info

Publication number
JP2002123414A
JP2002123414A JP2000316606A JP2000316606A JP2002123414A JP 2002123414 A JP2002123414 A JP 2002123414A JP 2000316606 A JP2000316606 A JP 2000316606A JP 2000316606 A JP2000316606 A JP 2000316606A JP 2002123414 A JP2002123414 A JP 2002123414A
Authority
JP
Japan
Prior art keywords
version number
version
registered
specified
assigned
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
JP2000316606A
Other languages
Japanese (ja)
Other versions
JP2002123414A5 (en
Inventor
Yaichi Nishino
八市 西野
Junya Mochizuki
淳也 望月
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP2000316606A priority Critical patent/JP2002123414A/en
Publication of JP2002123414A publication Critical patent/JP2002123414A/en
Publication of JP2002123414A5 publication Critical patent/JP2002123414A5/ja
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a method and a device for managing version by which an object can be registered with an arbitrary version number and the version number is prevented from being mismatched. SOLUTION: When a request accepting part 51 accepts the registering request of an object together with the designation of a version number, an attribute information reference part 52 refers to the version numbers of existent objects, a version determining part 53 performs processing of version number determination so as to keep the consistency of version number, and an attribute information updating part 54 sets the attribute of the object so that the object of the latest version can become only one.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、バージョン管理
方法および装置に関し、特に、登録するオブジェクトに
整合のとれたバージョン番号を付与して管理するバージ
ョン管理方法および装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a version management method and apparatus, and more particularly, to a version management method and apparatus for managing a registered object by assigning a consistent version number to the registered object.

【0002】[0002]

【従来の技術】図面や文書、データ等のオブジェクト
は、同じキー属性(キーとして設定したもの他に名前等
を利用することもできる)をもつものをオブジェクト群
として扱い、それぞれにバージョン番号(版数)が付与
されて管理される。
2. Description of the Related Art Objects such as drawings, documents, and data have the same key attributes (names can be used in addition to those set as keys) and are treated as an object group. Number) is assigned and managed.

【0003】このようなバージョン番号を管理する技術
としては、特開平7−152633号公報記載の「版数
管理方式」や特開平11−143752号公報記載の
「版管理・構成管理方法および装置および版管理・構成
管理プログラムを記録したコンピュータ読み取り可能な
記録媒体」等がある。
[0003] Techniques for managing such version numbers include a "version number management method" described in JP-A-7-152633 and a "version management / configuration management method and apparatus described in JP-A-11-143752. And a computer-readable recording medium on which a version management / configuration management program is recorded.

【0004】一般に、バージョン番号は、図8(a)に
示すように、オブジェクトの登録順にバージョン番号が
1から順に付与される。したがって、バージョン5のオ
ブジェクトを予め登録し、その後にバージョン1のオブ
ジェクトを登録するといったことができなかった。
Generally, as shown in FIG. 8A, version numbers are assigned in order from 1 in the order of registration of objects. Therefore, it was not possible to register a version 5 object in advance and then register a version 1 object.

【0005】このため、バージョン3の図面とバージョ
ン4の図面を同時に別の設計者が作成していた場合、バ
ージョン4の図面が先に完成しても、バージョン3の図
面の登録の後でなければこれを登録することはできなか
った。バージョン4の図面を先に登録したい場合には、
まず、図8(b)に示すように、ダミーの図面をバージ
ョン3として登録し、続けて、図8(c)に示すよう
に、バージョン4の図面を登録する。そして、バージョ
ン3の図面が完成した後に、ダミーの図面と完成した図
面とを差し替えることで、図8(d)に示すような登録
状態とすることになる。
[0005] For this reason, when a version 3 drawing and a version 4 drawing are simultaneously created by another designer, even if the version 4 drawing is completed first, it must be registered after the version 3 drawing is registered. If this could not be registered. If you want to register version 4 drawings first,
First, as shown in FIG. 8 (b), a dummy drawing is registered as version 3, and subsequently, as shown in FIG. 8 (c), a version 4 drawing is registered. Then, after the drawing of version 3 is completed, by replacing the dummy drawing with the completed drawing, the registration state as shown in FIG. 8D is obtained.

【0006】このように、オブジェクトをバージョン番
号の順番を無視して登録するには、煩雑な処理が必要と
なる。このため、オブジェクトに対して任意のバージョ
ン番号を設定可能とすることも提案されているが、この
場合には、図8(e)に示すように同一のバージョン番
号のオブジェクトが複数登録されてしまうことがあり、
結果として、最新バージョンの管理を含むオブジェクト
の管理が困難となってしまうことが考えられる。
In order to register an object ignoring the order of version numbers, complicated processing is required. For this reason, it has been proposed that an arbitrary version number can be set for an object, but in this case, a plurality of objects having the same version number are registered as shown in FIG. Sometimes
As a result, it may be difficult to manage objects including the latest version.

【0007】ここで、従来のバージョン管理の流れを説
明する。図9は、従来のオブジェクト登録時のバージョ
ン管理の流れを示すフローチャートである。
Here, a flow of the conventional version management will be described. FIG. 9 is a flowchart showing the flow of version management at the time of conventional object registration.

【0008】オブジェクトの登録に際しては、まず、登
録するオブジェクトのキー属性値を受け取る(ステップ
501)。ここで、キー属性値がNULL(空白)であ
った場合には(ステップ502でYES)、当該オブジ
ェクトをバージョン番号無しで登録する(ステップ50
3)。
When registering an object, first, a key attribute value of the object to be registered is received (step 501). If the key attribute value is NULL (blank) (YES in step 502), the object is registered without a version number (step 50).
3).

【0009】一方、キー属性値がNULLでなかった場
合(ステップ502でNO)、同一のキー属性値の既存
オブジェクトから最大バージョンのバージョン数を求め
る(ステップ504)。ここで、最大バージョンのオブ
ジェクトが存在しない、つまり、同一のキー属性の既存
オブジェクトが存在しない場合には(ステップ505で
NO)、当該オブジェクトをバージョン番号「1」で登
録し(ステップ506)、登録したオブジェクトに最新
バージョンである旨を示す最新バージョンフラグ属性を
セットし(ステップ507)、オブジェクトの登録処理
を終了する。
On the other hand, if the key attribute value is not NULL (NO in step 502), the number of the maximum version is determined from the existing objects having the same key attribute value (step 504). Here, if the object of the maximum version does not exist, that is, if there is no existing object having the same key attribute (NO in step 505), the object is registered with the version number “1” (step 506) and registered. The latest version flag attribute indicating that the object is the latest version is set (step 507), and the object registration processing ends.

【0010】また、ステップ504で最大バージョンを
求めた結果、最大バージョンの既存オブジェクトが存在
した場合には(ステップ505でYES)、「最大バー
ジョン+1」のバージョン番号で当該オブジェクトを登
録し(ステップ508)、最大バージョンの既存オブジ
ェクトにセットされている最新バージョンフラグ属性を
リセットした後に(ステップ509)、登録したオブジ
ェクトに最新バージョンである旨を示す最新バージョン
フラグ属性をセットし(ステップ507)、オブジェク
トの登録処理を終了する。
If the maximum version is found in step 504 and an existing object of the maximum version exists (YES in step 505), the object is registered with a version number of "maximum version + 1" (step 508). ), After resetting the latest version flag attribute set in the existing object of the maximum version (step 509), setting the latest version flag attribute indicating the latest version to the registered object (step 507), The registration processing ends.

【0011】図10は、従来のオブジェクトのキー属性
値変更時のバージョン管理の流れを示すフローチャート
である。
FIG. 10 is a flow chart showing a flow of version management when changing a key attribute value of a conventional object.

【0012】キー属性値の変更に際しては、まず、変更
する新しいキー属性値を受け取り(ステップ601)、
続いて、古いキー属性値を取得する(ステップ60
2)。
When changing a key attribute value, first, a new key attribute value to be changed is received (step 601).
Subsequently, the old key attribute value is obtained (step 60).
2).

【0013】ここで、取得した古いキー属性値がNUL
Lでない場合(ステップ603でNO)、対象のオブジ
ェクトが最新バージョン(古いキー属性値に対して)で
あれば(ステップ604でYES)、古いキー属性値の
次に新しいバージョンのオブジェクトに最新バージョン
フラグ属性をセットし(ステップ605)、対象のオブ
ジェクトが最新バージョンでなければ(ステップ604
でNO)、そのままで、古いキー属性値を削除する(ス
テップ606)。そして、対象オブジェクトに新しいキ
ー属性値と「最大バージョン+1」のバージョン番号、
最新バージョンフラグ属性を設定し(ステップ60
7)、オブジェクトのキー属性値変更処理を終了する。
Here, the acquired old key attribute value is NULL.
If it is not L (NO in step 603) and the target object is the latest version (for the old key attribute value) (YES in step 604), the latest version flag is added to the object of the new version next to the old key attribute value. The attribute is set (step 605), and if the target object is not the latest version (step 604)
NO), the old key attribute value is deleted as it is (step 606). Then, the new key attribute value and the “maximum version + 1” version number are assigned to the target object,
Set the latest version flag attribute (step 60)
7) The key attribute value change processing of the object is terminated.

【0014】一方、ステップ602で取得した古いキー
属性値がNULLであった場合には(ステップ603で
YES)、対象オブジェクトに新しいキー属性値と「最
大バージョン+1」のバージョン番号、最新バージョン
フラグ属性を設定し(ステップ607)、オブジェクト
のキー属性値変更処理を終了する。
On the other hand, if the old key attribute value acquired in step 602 is NULL (YES in step 603), the new key attribute value, the version number of “maximum version + 1”, the latest version flag attribute Is set (step 607), and the key attribute value change processing of the object is ended.

【0015】[0015]

【発明が解決しようとする課題】上述したように、従来
のバージョン管理では、オブジェクトに対して、その登
録順にバージョン番号を順番に付与して管理していたた
め、オブジェクトに対して任意のバージョン番号を付す
ことができなかった。また、オブジェクトに対して任意
にバージョン番号を付した場合、バージョン番号が重複
したり、最新のバージョンが不明となる等、オブジェク
トの管理に不都合が生じることになる。
As described above, in the conventional version management, objects are given version numbers in the order of registration and managed. Therefore, an arbitrary version number is assigned to an object. Could not be attached. In addition, if an object is arbitrarily assigned a version number, inconvenient management of the object occurs, for example, the version number is duplicated or the latest version is unknown.

【0016】そこで、この発明は、オブジェクトを任意
のバージョン番号で登録できるとともに、バージョン番
号に不整合が生じることを防止するバージョン管理方法
および装置を提供することを目的とする。
SUMMARY OF THE INVENTION It is an object of the present invention to provide a version management method and apparatus which can register an object with an arbitrary version number and prevent inconsistencies in version numbers.

【0017】[0017]

【課題を解決するための手段】上述した目的を達成する
ため、請求項1の発明は、登録されるオブジェクトにバ
ージョン番号を付与し、該オブジェクトを含むオブジェ
クト群を管理するバージョン管理方法において、オブジ
ェクトが登録される際に、該登録されるオブジェクトに
対して、バージョン番号の指定がある場合には、該指定
されたバージョン番号を該登録されるオブジェクトに付
与することを特徴とする。
According to one aspect of the present invention, there is provided a version management method for assigning a version number to a registered object and managing a group of objects including the object. Is registered, when a version number is specified for the registered object, the specified version number is assigned to the registered object.

【0018】また、請求項2の発明は、請求項1の発明
において、前記登録されるオブジェクトに対するバージ
ョン番号の指定がない場合には、既に登録されているオ
ブジェクト群のバージョン番号を付与することを特徴と
する。
According to a second aspect of the present invention, in the first aspect of the invention, when a version number is not specified for the registered object, a version number of an already registered object group is assigned. Features.

【0019】また、請求項3の発明は、請求項1または
2の発明において、前記オブジェクトは、該オブジェク
トの種別を示すキー属性を有し、前記バージョン番号
は、前記キー属性毎に用意された一連番号から付与され
ることを特徴とする。
According to a third aspect of the present invention, in the first or second aspect, the object has a key attribute indicating a type of the object, and the version number is prepared for each of the key attributes. It is characterized by being given from a serial number.

【0020】また、請求項4の発明は、請求項1乃至3
のいずれかの発明において、前記バージョン番号のうち
最大のバージョン番号が付与されたオブジェクトに対し
て、最新バージョン属性を設定することを特徴とする。
Further, the invention of claim 4 provides the invention according to claims 1 to 3
In any one of the inventions described above, the latest version attribute is set for an object to which a maximum version number is assigned among the version numbers.

【0021】また、請求項5の発明は、請求項1乃至3
のいずれかの発明において、前記指定されたバージョン
番号が既に登録されているオブジェクトのバージョン番
号と同一の場合には、オブジェクトの登録を行わずにエ
ラーを通知することを特徴とする。
Further, the invention of claim 5 provides the invention according to claims 1 to 3
In any one of the inventions described above, when the specified version number is the same as the version number of an already registered object, an error is notified without registering the object.

【0022】また、請求項6の発明は、請求項1乃至3
のいずれかの発明において、前記指定されたバージョン
番号が既に登録されているオブジェクトのバージョン番
号と同一の場合には、該バージョン番号が付与されてい
るオブジェクトに登録されるオブジェクトを上書きする
ことを特徴とする。
Further, the invention of claim 6 is the invention of claims 1 to 3
In the invention according to any one of the first to third aspects, when the specified version number is the same as the version number of an already registered object, the object registered in the object with the version number is overwritten. And

【0023】また、請求項7の発明は、請求項1乃至3
のいずれかの発明において、前記指定されたバージョン
番号が既に登録されているオブジェクトのバージョン番
号と同一の場合には、該登録されているオブジェクトに
付与されているバージョン番号のうち該指定されたバー
ジョン番号以上のものを全て上位にずらした後に、登録
されるオブジェクトにバージョン番号を付与することを
特徴とする。
Further, the invention of claim 7 is the invention of claims 1 to 3
In any one of the inventions described above, if the specified version number is the same as the version number of an already registered object, the specified version of the version numbers assigned to the registered object is After shifting all objects higher than the number to the higher order, a version number is assigned to the registered object.

【0024】また、請求項8の発明は、請求項1乃至3
のいずれかの発明において、前記指定されたバージョン
番号が既に登録されているオブジェクトのバージョン番
号と同一の場合には、予め若しくはオブジェクトの登録
時の指示に基づいて、オブジェクトの登録を行わずにエ
ラーを通知する処理と、指定されたバージョン番号が付
与されているオブジェクトに登録されるオブジェクトを
上書きする処理と、登録されているオブジェクトに付与
されているバージョン番号のうち指定されたバージョン
番号以上のものを全て上位にずらした後に登録されるオ
ブジェクトにバージョン番号を付与する処理とのうちの
いずれかの処理を実行することを特徴とする。
[0024] Further, the invention of claim 8 is based on claims 1 to 3.
In any of the inventions described above, if the specified version number is the same as the version number of an already registered object, an error occurs without registering the object in advance or based on an instruction at the time of registering the object. , The process of overwriting the object registered in the object with the specified version number, and the process of overwriting the specified version number among the version numbers assigned to the registered object And a process of assigning a version number to an object registered after all of the objects are shifted to the higher ranks.

【0025】また、請求項9の発明は、請求項3の発明
において、既に登録されているオブジェクトに対して前
記キー属性の変更が行われる際に、該変更されるオブジ
ェクトに対してバージョン番号の指定がある場合には、
該指定されたバージョン番号を該変更されるオブジェク
トに付与し、該変更されるオブジェクトに対するバージ
ョン番号の指定がない場合には、既に登録されているオ
ブジェクト群のバージョン番号を参照して該変更される
オブジェクトに最大のバージョン番号を付与することを
特徴とする。
According to a ninth aspect of the present invention, in the third aspect of the present invention, when the key attribute is changed for an already registered object, the version number of the version number is assigned to the changed object. If specified
The specified version number is assigned to the object to be changed, and if no version number is specified for the object to be changed, the object is changed with reference to the version number of the already registered object group. It is characterized in that the object is given the maximum version number.

【0026】また、請求項10の発明は、登録されるオ
ブジェクトにバージョン番号を付与し、該オブジェクト
を含むオブジェクト群を管理するバージョン管理装置に
おいて、オブジェクトが登録される際に、該登録される
オブジェクトに対するバージョン番号の指定を受け付け
る受付手段と、既に登録されているオブジェクト群のバ
ージョン番号を参照する属性参照手段と、前記受付手段
が受け付けたバージョン番号の指定と前記属性参照手段
が参照したバージョン番号とに基づいて登録されるオブ
ジェクトに付与するバージョン番号を決定し、該決定し
たバージョン番号を該登録されるオブジェクトに付与す
るバージョン番号決定手段とを具備し、前記バージョン
番号決定手段は、前記受付手段がバージョン番号の指定
を受け付けた場合には、該指定されたバージョン番号を
登録されるオブジェクトに付与することを特徴とする。
According to a tenth aspect of the present invention, in a version management apparatus for assigning a version number to a registered object and managing an object group including the object, when the object is registered, the registered object Receiving means for receiving the specification of the version number for the object, attribute reference means for referring to the version number of the already registered object group, specification of the version number received by the receiving means, and the version number referred to by the attribute reference means Version number determining means for determining a version number to be assigned to an object to be registered based on the above, and assigning the determined version number to the registered object. When the specification of the version number is accepted It is characterized by imparting to the objects that are registered with the specified version numbers.

【0027】また、請求項11の発明は、請求項10の
発明において、前記バージョン番号決定手段は、前記受
付手段がバージョン番号の指定を受け付けなかった場合
には、前記属性参照手段が参照したバージョン番号を登
録されるオブジェクトに付与することを特徴とする。
According to an eleventh aspect of the present invention, in the tenth aspect of the present invention, the version number determining means, if the receiving means does not receive the specification of the version number, the version referred to by the attribute referring means. A number is given to the registered object.

【0028】また、請求項12の発明は、請求項10ま
たは11の発明において、前記オブジェクトは、該オブ
ジェクトの種別を示すキー属性を有し、前記バージョン
番号決定手段は、前記キー属性毎に用意された一連番号
から登録されるオブジェクトに付与するバージョン番号
を決定することを特徴とする。
According to a twelfth aspect of the present invention, in the tenth or eleventh aspect, the object has a key attribute indicating a type of the object, and the version number determining means prepares the key attribute for each of the key attributes. It is characterized in that a version number to be assigned to an object to be registered is determined from the registered serial number.

【0029】また、請求項13の発明は、請求項10乃
至12のいずれかの発明において、前記属性参照手段が
参照したバージョン番号に基づいて、最大のバージョン
番号が付与されたオブジェクトに対して最新バージョン
属性を設定する属性設定手段をさらに具備することを特
徴とする。
According to a thirteenth aspect of the present invention, in the invention according to any one of the tenth to twelfth aspects, based on the version number referred to by the attribute reference means, the object having the maximum version number is An attribute setting means for setting a version attribute is further provided.

【0030】また、請求項14の発明は、請求項10乃
至12のいずれかの発明において、前記バージョン番号
決定手段は、前記指定されたバージョン番号が既に登録
されているオブジェクトのバージョン番号と同一の場合
には、オブジェクトの登録を行わずにエラーを通知する
ことを特徴とする。
According to a fourteenth aspect of the present invention, in any one of the tenth to twelfth aspects of the invention, the version number determining means includes the same version number as the version number of an object whose registered version number has already been registered. In this case, an error is notified without registering the object.

【0031】また、請求項15の発明は、請求項10乃
至12のいずれかの発明において、前記バージョン番号
決定手段は、前記指定されたバージョン番号が既に登録
されているオブジェクトのバージョン番号と同一の場合
には、該バージョン番号が付与されているオブジェクト
に登録されるオブジェクトを上書きすることを特徴とす
る。
[0031] According to a fifteenth aspect of the present invention, in any one of the tenth to twelfth aspects, the version number deciding means is the same as the version number of the object in which the specified version number is already registered. In this case, the object registered in the object with the version number is overwritten.

【0032】また、請求項16の発明は、請求項10乃
至12のいずれかの発明において、前記バージョン番号
決定手段は、前記指定されたバージョン番号が既に登録
されているオブジェクトのバージョン番号と同一の場合
には、該登録されているオブジェクトに付与されている
バージョン番号のうち該指定されたバージョン番号以上
のものを全て上位にずらした後に、登録されるオブジェ
クトにバージョン番号を付与することを特徴とする。
According to a sixteenth aspect of the present invention, in any one of the tenth to twelfth aspects of the invention, the version number deciding means is the same as the version number of the object in which the specified version number is already registered. In this case, the version number is assigned to the registered object after shifting all of the version numbers assigned to the registered object that are equal to or higher than the designated version number to the higher order. I do.

【0033】また、請求項17の発明は、請求項10乃
至12のいずれかの発明において、前記バージョン番号
決定手段は、前記指定されたバージョン番号が既に登録
されているオブジェクトのバージョン番号と同一の場合
には、予め若しくはオブジェクトの登録時の指示に基づ
いて、オブジェクトの登録を行わずにエラーを通知する
処理と、指定されたバージョン番号が付与されているオ
ブジェクトに登録されるオブジェクトを上書きする処理
と、登録されているオブジェクトに付与されているバー
ジョン番号のうち指定されたバージョン番号以上のもの
を全て上位にずらした後に、登録されるオブジェクトに
バージョン番号を付与する処理とのうちのいずれかの処
理を実行することを特徴とする。
According to a seventeenth aspect of the present invention, in any one of the tenth to twelfth aspects of the invention, the version number determining means is configured to determine that the specified version number is the same as the version number of an already registered object. In this case, a process of notifying an error without registering an object in advance or based on an instruction at the time of registering an object, and a process of overwriting an object registered in an object having a specified version number And shifting the version number assigned to the registered object higher than the specified version number, and then assigning a version number to the registered object. Processing is performed.

【0034】また、請求項18の発明は、請求項12の
発明において、前記バージョン番号決定手段は、既に登
録されているオブジェクトに対して前記キー属性の変更
が行われる際に、前記受付手段がバージョン番号の指定
を受け付けた場合には、該指定されたバージョン番号を
変更されるオブジェクトに付与し、前記受付手段がバー
ジョン番号の指定を受け付けなかった場合には、前記属
性参照手段が参照したバージョン番号に基づいて最大の
バージョン番号を変更されるオブジェクトに付与するこ
とを特徴とする。
In a preferred embodiment of the present invention, when the key attribute is changed for an object that has already been registered, the accepting means sets the version number. If the specification of the version number is received, the specified version number is added to the object to be changed. If the receiving unit does not receive the specification of the version number, the version referred to by the attribute reference unit is used. The maximum version number is assigned to the object to be changed based on the number.

【0035】[0035]

【発明の実施の形態】以下、この発明に係るバージョン
管理方法および装置の一実施の形態について、添付図面
を参照して詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of a version management method and apparatus according to the present invention will be described below in detail with reference to the accompanying drawings.

【0036】図1は、この発明を適用したオブジェクト
管理装置の構成を示すブロック図である。同図に示すよ
うに、オブジェクト管理装置は、要求処理部1とオブジ
ェクト管理部2、オブジェクトデータベース3、属性情
報データベース4、バージョン管理部5を具備して構成
される。
FIG. 1 is a block diagram showing a configuration of an object management apparatus to which the present invention is applied. As shown in FIG. 1, the object management apparatus includes a request processing unit 1, an object management unit 2, an object database 3, an attribute information database 4, and a version management unit 5.

【0037】要求処理部1は、図示しないクライアント
から発せられるオブジェクトの登録や属性の変更等の処
理要求を受け付け、その要求の内容に従って、オブジェ
クト管理部2やバージョン管理部5に処理を依頼する。
The request processing unit 1 receives a processing request from an unillustrated client, such as registration of an object or change of an attribute, and requests the object management unit 2 and the version management unit 5 to perform processing according to the contents of the request.

【0038】オブジェクト管理部2は、要求処理部1か
らの依頼を受け、オブジェクトをオブジェクトデータベ
ース3に登録したり、登録したオブジェクトの属性情報
等を属性情報データベース4に登録する。また、要求処
理部1若しくはバージョン管理部5からの依頼により、
属性情報データベース4に登録した属性情報の参照や更
新を行う。
The object management unit 2 receives the request from the request processing unit 1 and registers the object in the object database 3 and registers attribute information and the like of the registered object in the attribute information database 4. Also, upon request from the request processing unit 1 or the version management unit 5,
Reference and update of attribute information registered in the attribute information database 4 are performed.

【0039】オブジェクトデータベース3と属性情報デ
ータベース4は、それぞれオブジェクトとその属性情報
を格納する。また、ここではオブジェクトデータベース
3と属性情報データベース4を別の構成としているが、
同一の構成としてもよい。属性情報データベース4で
は、属性情報を表形式として管理してもよく、オブジェ
クト指向データベースのように表形式をとらずに管理し
てもよい。なお、オブジェクトの属性情報は、必ずしも
データベースで管理する必要はなく、テキストファイル
等を利用して管理してもよい。
The object database 3 and the attribute information database 4 store objects and their attribute information, respectively. Further, here, the object database 3 and the attribute information database 4 have different configurations.
The configuration may be the same. In the attribute information database 4, the attribute information may be managed in a table format, or may be managed without taking a table format as in an object-oriented database. The attribute information of the object does not necessarily need to be managed in a database, but may be managed using a text file or the like.

【0040】バージョン管理部5は、この発明を適用し
た部分で、要求処理部1からの依頼を受け、登録するオ
ブジェクトのバージョン番号の決定やオブジェクト間の
バージョン番号の整合性をとる等の処理を行う。
The version management unit 5 is a part to which the present invention is applied. Upon receiving a request from the request processing unit 1, the version management unit 5 determines a version number of an object to be registered, and performs consistency processing of the version number between objects. Do.

【0041】ここで、バージョン管理部5の詳細を説明
する。図2は、バージョン管理部5の構成を示すブロッ
ク図である。
Here, the details of the version management section 5 will be described. FIG. 2 is a block diagram showing the configuration of the version management unit 5.

【0042】同図に示すように、バージョン管理部5
は、要求処理部1からの依頼を受け付ける依頼受付部5
1と、オブジェクト管理部2を介して属性情報データベ
ース4に格納されている属性情報を参照する属性情報参
照部52、依頼受付部1が受け付けた依頼と属性情報参
照部52が参照した属性情報に基づいて、オブジェクト
のバージョン番号や最新バージョンを決定するバージョ
ン決定部53、バージョン決定部53が決定したバージ
ョン番号等に基づいて属性情報データベース4に格納さ
れている属性情報をオブジェクト管理部2を介して更新
する属性情報更新部54を具備して構成される。
As shown in FIG.
Is a request receiving unit 5 that receives a request from the request processing unit 1
1, an attribute information reference unit 52 that references attribute information stored in the attribute information database 4 via the object management unit 2, a request received by the request reception unit 1, and attribute information referred to by the attribute information reference unit 52. A version determining unit 53 for determining the version number and the latest version of the object based on the attribute information stored in the attribute information database 4 based on the version number and the like determined by the version determining unit 53 via the object management unit 2. An attribute information updating unit 54 for updating is provided.

【0043】このバージョン管理部5では、従来のもの
と同様に新たに登録されたオブジェクトのバージョン番
号を最大に決定する他に(図3(a)参照)、既存のオ
ブジェクトのバージョン番号とは不連続になるバージョ
ン番号の付与(図3(b)参照)、最新バージョンより
も下位のバージョン番号の付与(図3(c)参照)、最
新バージョンのオブジェクトが削除された場合の最新バ
ージョンの更新(図3(d)参照)等が可能となる。
The version management unit 5 determines the version number of a newly registered object to the maximum as in the conventional one (see FIG. 3 (a)), and is different from the version number of the existing object. Assignment of consecutive version numbers (see FIG. 3B), assignment of lower version numbers than the latest version (see FIG. 3C), and updating of the latest version when the latest version of the object is deleted (see FIG. 3C) FIG. 3D) becomes possible.

【0044】ここで、図4乃至6を参照して、オブジェ
クト登録時のバージョン管理について説明する。図4乃
至6は、オブジェクト登録時のバージョン管理部5の動
作の流れを示すフローチャートである。
Here, with reference to FIGS. 4 to 6, version management at the time of object registration will be described. 4 to 6 are flowcharts showing the operation flow of the version management unit 5 when registering an object.

【0045】オブジェクトの登録に際しては、まず、依
頼受付部51が要求処理部1から依頼とともに登録する
オブジェクトのキー属性値と指定バージョン番号を受け
取る(ステップ101)。
In registering an object, first, the request receiving unit 51 receives a key attribute value and a specified version number of an object to be registered together with a request from the request processing unit 1 (step 101).

【0046】ここで、キー属性値がNULL(空白)で
あった場合には(ステップ102でYES)、バージョ
ン決定部53は、バージョン番号を付与しないことを決
定し、オブジェクト管理部2が当該オブジェクトをバー
ジョン番号無しでオブジェクトデータベース3に登録す
る(ステップ103)。
If the key attribute value is NULL (blank) (YES in step 102), the version determining unit 53 determines that no version number is assigned, and the object management unit 2 Is registered in the object database 3 without a version number (step 103).

【0047】また、キー属性値がNULLでなく(ステ
ップ102でNO)、登録するオブジェクトに対してバ
ージョン番号が指定されていない場合には(ステップ1
04でNO)、未指定処理を行う(ステップ105)。
If the key attribute value is not NULL (NO in step 102) and no version number is specified for the object to be registered (step 1)
04 (NO), an unspecified process is performed (step 105).

【0048】未指定処理は、属性情報参照部52がオブ
ジェクト管理部2を介して属性情報データベースを参照
して、同一のキー属性値の既存オブジェクトから最大バ
ージョンのバージョン数を求める(ステップ151)。
その結果、最大バージョンのオブジェクトが存在しな
い、つまり、同一のキー属性の既存オブジェクトが存在
しない場合には(ステップ152でNO)、バージョン
決定部53は、当該オブジェクトのバージョン番号を
「1」に決定し、これを受けたオブジェクト管理部2が
当該オブジェクトをバージョン番号「1」で登録する
(ステップ153)。そして、属性情報更新部54がオ
ブジェクト管理部2を介して、登録したオブジェクトに
最新バージョンである旨を示す最新バージョンフラグ属
性をセットし(ステップ154)、オブジェクトの登録
処理を終了する。最新バージョンフラグ属性のセット
は、属性情報データベース4に格納される属性情報に対
して行われる。
In the unspecified process, the attribute information reference unit 52 refers to the attribute information database via the object management unit 2 and obtains the maximum version number from existing objects having the same key attribute value (step 151).
As a result, when the object of the maximum version does not exist, that is, when there is no existing object having the same key attribute (NO in step 152), the version determination unit 53 determines the version number of the object to “1”. Then, the object management unit 2 receiving this registers the object with the version number “1” (step 153). Then, the attribute information updating unit 54 sets the latest version flag attribute indicating the latest version to the registered object via the object management unit 2 (step 154), and ends the object registration processing. The latest version flag attribute is set for the attribute information stored in the attribute information database 4.

【0049】また、ステップ151で最大バージョンを
求めた結果、最大バージョンの既存オブジェクトが存在
した場合には(ステップ152でYES)、バージョン
決定部53は、当該オブジェクトのバージョン番号を
「最大バージョン+1」のバージョン番号に決定し、こ
れを受けたオブジェクト管理部2が当該オブジェクトを
バージョン番号「最大バージョン+1」で登録する(ス
テップ155)。そして、属性情報更新部54がオブジ
ェクト管理部2を介して、最大バージョンの既存オブジ
ェクトにセットされている最新バージョンフラグ属性を
リセットした後に(ステップ156)、登録したオブジ
ェクトに最新バージョンである旨を示す最新バージョン
フラグ属性をセットし(ステップ154)、オブジェク
トの登録処理を終了する。
If the maximum version of the existing object is found as a result of obtaining the maximum version in step 151 (YES in step 152), the version determining unit 53 sets the version number of the object to “maximum version + 1”. And the object management unit 2 having received the version number registers the object with the version number “maximum version + 1” (step 155). Then, after the attribute information updating unit 54 resets the latest version flag attribute set in the maximum version of the existing object via the object management unit 2 (step 156), the registered object indicates that it is the latest version. The latest version flag attribute is set (step 154), and the object registration processing ends.

【0050】一方、キー属性値がNULLでなく(ステ
ップ102でNO)、登録するオブジェクトに対してバ
ージョン番号が指定されている場合には(ステップ10
4でYES)、属性情報参照部52がオブジェクト管理
部2を介して属性情報データベースを参照し、その結
果、既存のオブジェクトに指定されたバージョン番号と
同一のものが存在すれば(ステップ106でYES)、
後述する重複処理を行い(ステップ107)、存在しな
ければ(ステップ106でNO)、バージョン決定部5
3は、当該オブジェクトのバージョン番号を指定された
番号に決定し、これを受けたオブジェクト管理部2が当
該オブジェクトを指定されたバージョン番号で登録する
(ステップ108)。
On the other hand, if the key attribute value is not NULL (NO in step 102) and a version number is specified for the object to be registered (step 10).
(YES in step 106), the attribute information reference unit 52 refers to the attribute information database via the object management unit 2, and as a result, if there is an existing object having the same version number as the specified version number (YES in step 106). ),
The duplication process described later is performed (step 107).
3, the object management unit 2 determines the version number of the object to be the specified number, and registers the object with the specified version number (step 108).

【0051】このとき、既存のオブジェクトのバージョ
ン番号に対し、指定されたバージョン番号が最大となら
ない場合には(ステップ109でNO)、そのまま登録
処理を終了するが、指定されたバージョン番号が最大と
なる場合には(ステップ109でYES)、属性情報更
新部54がオブジェクト管理部2を介して、既存の最大
バージョンのオブジェクトにセットされている最新バー
ジョンフラグ属性をリセットし、登録したオブジェクト
に最新バージョンである旨を示す最新バージョンフラグ
属性をセットし(ステップ110)、オブジェクトの登
録処理を終了する。
At this time, if the specified version number does not become the maximum with respect to the version number of the existing object (NO in step 109), the registration process is terminated as it is, but the specified version number becomes the maximum. If so (YES in step 109), the attribute information updating unit 54 resets the latest version flag attribute set in the object of the existing maximum version via the object management unit 2, and updates the registered object with the latest version. Is set (step 110), and the object registration process ends.

【0052】さて、重複処理では、予め設定された方法
若しくは要求毎に指定された方法により重複したバージ
ョン番号に対する処理を行う。
In the duplication process, a process is performed on a duplicated version number by a preset method or a method designated for each request.

【0053】まず、エラー処理が設定若しくは指定され
た場合には(ステップ171でYES)、オブジェクト
の登録は行わずに要求処理部1にエラーを通知して(ス
テップ172)、処理を終了する。
First, when the error processing is set or designated (YES in step 171), the error is notified to the request processing section 1 without registering the object (step 172), and the processing ends.

【0054】また、上書き処理が設定若しくは指定され
た場合には(ステップ171でNO、ステップ173で
YES)、バージョン決定部53は、オブジェクト管理
部2に対して指定されたバージョン番号のオブジェクト
に登録するオブジェクトを上書きさせ(ステップ17
4)、処理を終了する。このとき、上書きにより最新バ
ージョンが変化することはないため、最新バージョンフ
ラグ属性の変更は行わない。
When the overwriting process is set or designated (NO in step 171 and YES in step 173), the version determining unit 53 registers the object with the version number designated in the object managing unit 2. Object to be overwritten (step 17
4), end the process. At this time, since the latest version does not change due to overwriting, the latest version flag attribute is not changed.

【0055】また、バージョン変更が設定若しくは指定
された場合には(ステップ171でNO、ステップ17
3でNO)、バージョン決定部53の指示により属性情
報更新部54が指定されたバージョンより上位バージョ
ンの全てのオブジェクトに対して、そのバージョン番号
を「1」だけ加算した番号に変更し(ステップ17
5)、バージョン決定部53は、当該オブジェクトのバ
ージョン番号を指定された番号に決定し、これを受けた
オブジェクト管理部2が当該オブジェクトを指定された
バージョン番号で登録する(ステップ176)。この場
合にも、バージョン変更処理により最新バージョンが変
化することはないため、最新バージョンフラグ属性の変
更は行わない。
When the version change is set or designated (NO in step 171, step 17
(NO in 3), the attribute information updating unit 54 changes the version number of all the objects of the higher version than the specified version to “1” by adding “1” to all the objects by the instruction of the version determining unit 53 (step 17)
5) The version determining unit 53 determines the version number of the object to be the specified number, and the object management unit 2 receiving this determines the object with the specified version number (step 176). Also in this case, since the latest version does not change by the version change process, the latest version flag attribute is not changed.

【0056】次に、図7を参照して、オブジェクトのキ
ー属性値変更時のバージョン管理について説明する。図
7は、オブジェクトのキー属性値変更時のバージョン管
理部5の動作の流れを示すフローチャートである。
Next, referring to FIG. 7, a description will be given of version management when changing the key attribute value of an object. FIG. 7 is a flowchart showing the flow of the operation of the version management unit 5 when changing the key attribute value of the object.

【0057】キー属性値の変更に際しては、まず、依頼
受付部51が要求処理部1から変更する新しいキー属性
値とバージョン番号を受け取り(ステップ201)、続
いて、属性情報参照部52がオブジェクト管理部2を介
して属性情報データベース4から対象のオブジェクトの
古いキー属性値を取得する(ステップ202)。
To change the key attribute value, first, the request receiving unit 51 receives a new key attribute value and a new version number to be changed from the request processing unit 1 (step 201). The old key attribute value of the target object is acquired from the attribute information database 4 via the unit 2 (Step 202).

【0058】ここで、取得した古いキー属性値がNUL
Lでない場合(ステップ203でNO)、対象のオブジ
ェクトが最新バージョン(古いキー属性値に対して)で
あれば(ステップ204でYES)、属性情報更新部5
4が、次に新しいバージョン(古いキー属性値の)のオ
ブジェクトに最新バージョンフラグ属性をセットし(ス
テップ205)、対象のオブジェクトが最新バージョン
でなければそのままで(ステップ204でNO)、古い
キー属性値を削除する(ステップ206)。そして、属
性情報更新部54が、対象オブジェクトに新しいキー属
性値を設定し(ステップ207)、その後、バージョン
番号の調整処理を行う(ステップ208)。
Here, the acquired old key attribute value is NULL.
If it is not L (NO in step 203), if the target object is the latest version (for the old key attribute value) (YES in step 204), the attribute information updating unit 5
4 sets the latest version flag attribute to the next newest version of the object (with the old key attribute value) (step 205), and if the target object is not the latest version (NO in step 204), the old key attribute The value is deleted (step 206). Then, the attribute information updating unit 54 sets a new key attribute value for the target object (Step 207), and then performs version number adjustment processing (Step 208).

【0059】なお、バージョン番号の調整処理は、先に
説明したステップ101以降の処理と同一であるので、
ここでの説明は省略する。ただし、ステップ103、1
08、153、155、176において、「オブジェク
トを登録」は「オブジェクトの属性を変更」に読み替え
るものとする。また、ステップ110、115の「登録
オブジェクト」を「属性変更対象のオブジェクト」読み
替えるものとする。
The process of adjusting the version number is the same as the process after step 101 described above.
The description here is omitted. However, steps 103, 1
In 08, 153, 155, and 176, “register object” should be read as “change attribute of object”. In addition, it is assumed that “registered object” in steps 110 and 115 is replaced with “object whose attribute is to be changed”.

【0060】一方、ステップ202で取得した古いキー
属性値がNULLであった場合には(ステップ203で
YES)、対象オブジェクトに新しいキー属性値を設定
し(ステップ207)、その後、バージョン番号の調整
処理を行う(ステップ208)。
On the other hand, if the old key attribute value obtained in step 202 is NULL (YES in step 203), a new key attribute value is set for the target object (step 207), and thereafter, the version number is adjusted. Processing is performed (step 208).

【0061】なお、オブジェクトの移動や複写といった
処理の説明は省略するが、いずれの処理も上述のオブジ
ェクトの登録とキー属性値の変更の処理を組み合わせる
ことにより実現が可能な処理である。また、オブジェク
トを削除する場合は、対象のオブジェクトが最新バージ
ョンでなければ、そのまま削除を行い、対象のオブジェ
クトが最新バージョンの場合には、次に新しいバージョ
ンのオブジェクトに最新バージョンフラグ属性をセット
し、対象のオブジェクトを削除する。
Although descriptions of processes such as object movement and copying are omitted, any process can be realized by combining the above-described process of registering an object and changing the key attribute value. Also, when deleting an object, if the target object is not the latest version, delete the object as it is. If the target object is the latest version, set the latest version flag attribute to the next new version of the object, Delete the target object.

【0062】ところで、バージョン決定部53は、様々
な種類のバージョン番号に対応し、これを決定する。バ
ージョン番号としては、1から始まる数字や0から始ま
る数字の他、予め順序を決定しているアルファベット等
の記号を用いることができる。数字によるバージョン番
号は、1,2,3...といった整数のみならず、1.
1,1.2,1.2.1,1.2.2...のように、
主になるバージョンから枝葉のように派生するマイナー
バージョンを含むことも可能である。
By the way, the version determining unit 53 determines and determines various types of version numbers. As the version number, in addition to a number starting from 1 and a number starting from 0, symbols such as alphabets whose order is determined in advance can be used. The numerical version numbers are 1, 2, 3,. . . Not only integers such as 1.
1, 1.2, 1.2.1, 1.2.2. . . like,
It is possible to include minor versions that derive like branches and leaves from the main version.

【0063】また、数字と記号を併せ、1.1,1.1
a,1.1b,1.2のようなバージョン管理体系を処
理することも可能である。
In addition, by combining numbers and symbols, 1.1, 1.1
It is also possible to process version control systems such as a, 1.1b, 1.2.

【0064】さらに、マイナーバージョンを含む場合
に、バージョン番号の変更を行う際には(ステップ17
5等を参照)、指定されたバージョン番号の末端までの
バージョンが同じオブジェクトに対してのみ、バージョ
ン番号の変更を行う。例えば、1.2,1.2.1,
1.2.1.1,1.2.2,1.2.2.1のバージ
ョン番号のオブジェクトが存在する状態で、新たに1.
2.1のバージョン番号のオブジェクトを登録すると、
1.2.1は1.2.2に変更され、1.2.1.1は
1.2.2.1に変更されるが、1.2.2,1.2.
2.1に対する変更は行わない。
Further, when the version number is changed when a minor version is included (step 17).
5), the version number is changed only for objects having the same version up to the end of the specified version number. For example, 1.2, 1.2.1,
In the state where the objects with the version numbers of 1.2.1.1, 1.2.
Registering an object with version number 2.1,
1.2.1 is changed to 1.2.2 and 1.2.1.1 is changed to 1.2.2.1, but 1.2.2, 1.2.
No changes to 2.1 will be made.

【0065】なお、上述の実施例では、特に言及してい
ないが、バージョン番号を決定する際のキー属性値は、
複数の属性値を組にして用いることができる。
In the above embodiment, although not particularly mentioned, the key attribute value for determining the version number is:
A plurality of attribute values can be used as a set.

【0066】また、バージョン管理を、論理的なオブジ
ェクト(キャビネットやフォルダ、バインダ等)を単位
として行うこともでき、例えば、フォルダ内等に含まれ
るファイル群のみを対象としてバージョン管理を行うこ
ともできる。
Further, version management can be performed in units of logical objects (cabinet, folder, binder, etc.). For example, version management can be performed only for a group of files included in a folder or the like. .

【0067】[0067]

【発明の効果】以上説明したように、この発明によれ
ば、オブジェクトの登録要求をバージョン番号の指定と
ともに受け付けた際に、既存のオブジェクトのバージョ
ン番号を参照してバージョン番号の整合性を保つように
処理を行うとともに、最新バージョンのオブジェクトが
唯一となるようにオブジェクトの属性を設定するように
構成したので、最新バージョンのオブジェクトを登録し
た後に、旧バージョンのオブジェクトを登録することが
でき、その際にバージョン番号や、最新バージョンのオ
ブジェクトを識別する情報を利用者側で設定する必要が
ない。
As described above, according to the present invention, when an object registration request is received together with the specification of a version number, the version number of the existing object is referred to maintain the consistency of the version numbers. And the attribute of the object is set so that the latest version of the object is the only one.After registering the latest version of the object, the old version of the object can be registered. It is not necessary for the user to set the version number and information for identifying the latest version of the object.

【0068】また、常に、バージョン番号の整合性を維
持しているため、バージョンの整合性を利用したアプリ
ケーションが存在するシステムであっても、当該アプリ
ケーションを変更する必要はない。
Further, since the consistency of the version numbers is always maintained, it is not necessary to change the application even in a system in which an application using the consistency of the version exists.

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

【図1】この発明を適用したオブジェクト管理装置の構
成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of an object management device to which the present invention has been applied.

【図2】バージョン管理部5の構成を示すブロック図で
ある。
FIG. 2 is a block diagram showing a configuration of a version management unit 5;

【図3】バージョンの管理例を示した図である。FIG. 3 is a diagram showing an example of version management.

【図4】オブジェクト登録時のバージョン管理部5の動
作の流れを示すフローチャート(1)である。
FIG. 4 is a flowchart (1) showing a flow of an operation of a version management unit 5 at the time of object registration.

【図5】オブジェクト登録時のバージョン管理部5の動
作の流れを示すフローチャート(2)である。
FIG. 5 is a flowchart (2) showing a flow of the operation of the version management unit 5 at the time of object registration.

【図6】オブジェクト登録時のバージョン管理部5の動
作の流れを示すフローチャート(3)である。
FIG. 6 is a flowchart (3) showing the flow of the operation of the version management unit 5 at the time of object registration.

【図7】オブジェクトのキー属性値変更時のバージョン
管理部5の動作の流れを示すフローチャートである。
FIG. 7 is a flowchart illustrating a flow of an operation of a version management unit 5 when a key attribute value of an object is changed.

【図8】従来のバージョンの管理例を示した図である。FIG. 8 is a diagram showing an example of conventional version management.

【図9】従来のオブジェクト登録時のバージョン管理の
流れを示すフローチャートである。
FIG. 9 is a flowchart showing a flow of version management at the time of conventional object registration.

【図10】従来のオブジェクトのキー属性値変更時のバ
ージョン管理の流れを示すフローチャートである。
FIG. 10 is a flowchart showing a flow of version management when changing a key attribute value of a conventional object.

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

1 要求処理部 2 オブジェクト管理部 3 オブジェクトデータベース 4 属性情報データベース 5 バージョン管理部 51 依頼受付部 52 属性情報参照部 53 バージョン決定部 54 属性情報更新部 1 request processing unit 2 object management unit 3 object database 4 attribute information database 5 version management unit 51 request reception unit 52 attribute information reference unit 53 version determination unit 54 attribute information update unit

Claims (18)

【特許請求の範囲】[Claims] 【請求項1】 登録されるオブジェクトにバージョン番
号を付与し、該オブジェクトを含むオブジェクト群を管
理するバージョン管理方法において、 オブジェクトが登録される際に、該登録されるオブジェ
クトに対して、バージョン番号の指定がある場合には、
該指定されたバージョン番号を該登録されるオブジェク
トに付与することを特徴とするバージョン管理方法。
1. A version management method for assigning a version number to an object to be registered and managing an object group including the object, wherein when an object is registered, a version number of the object is registered. If specified
A version management method, wherein the specified version number is assigned to the registered object.
【請求項2】 前記登録されるオブジェクトに対するバ
ージョン番号の指定がない場合には、既に登録されてい
るオブジェクト群のバージョン番号を付与することを特
徴とする請求項1記載のバージョン管理方法。
2. The version management method according to claim 1, wherein when no version number is specified for the registered object, a version number of an already registered object group is assigned.
【請求項3】 前記オブジェクトは、 該オブジェクトの種別を示すキー属性を有し、 前記バージョン番号は、 前記キー属性毎に用意された一連番号から付与されるこ
とを特徴とする請求項1または2記載のバージョン管理
方法。
3. The object according to claim 1, wherein the object has a key attribute indicating a type of the object, and the version number is assigned from a serial number prepared for each key attribute. The described version control method.
【請求項4】 前記バージョン番号のうち最大のバージ
ョン番号が付与されたオブジェクトに対して、最新バー
ジョン属性を設定することを特徴とする請求項1乃至3
のいずれかに記載のバージョン管理方法。
4. The apparatus according to claim 1, wherein a latest version attribute is set for an object to which a maximum version number is assigned among the version numbers.
Version control method described in any of the above.
【請求項5】 前記指定されたバージョン番号が既に登
録されているオブジェクトのバージョン番号と同一の場
合には、オブジェクトの登録を行わずにエラーを通知す
ることを特徴とする請求項1乃至3のいずれかに記載の
バージョン管理方法。
5. The method according to claim 1, wherein when the specified version number is the same as the version number of an already registered object, an error is notified without registering the object. Version control method described in any of them.
【請求項6】 前記指定されたバージョン番号が既に登
録されているオブジェクトのバージョン番号と同一の場
合には、該バージョン番号が付与されているオブジェク
トに登録されるオブジェクトを上書きすることを特徴と
する請求項1乃至3のいずれかに記載のバージョン管理
方法。
6. When the specified version number is the same as the version number of an already registered object, the object registered in the object with the version number is overwritten. The version management method according to claim 1.
【請求項7】 前記指定されたバージョン番号が既に登
録されているオブジェクトのバージョン番号と同一の場
合には、該登録されているオブジェクトに付与されてい
るバージョン番号のうち該指定されたバージョン番号以
上のものを全て上位にずらした後に、登録されるオブジ
ェクトにバージョン番号を付与することを特徴とする請
求項1乃至3のいずれかに記載のバージョン管理方法。
7. When the specified version number is the same as the version number of an already registered object, the specified version number is equal to or more than the specified version number among the version numbers assigned to the registered object. 4. The version management method according to claim 1, wherein a version number is assigned to a registered object after all objects are shifted to a higher order.
【請求項8】 前記指定されたバージョン番号が既に登
録されているオブジェクトのバージョン番号と同一の場
合には、予め若しくはオブジェクトの登録時の指示に基
づいて、 オブジェクトの登録を行わずにエラーを通知する処理
と、 指定されたバージョン番号が付与されているオブジェク
トに登録されるオブジェクトを上書きする処理と、 登録されているオブジェクトに付与されているバージョ
ン番号のうち指定されたバージョン番号以上のものを全
て上位にずらした後に、登録されるオブジェクトにバー
ジョン番号を付与する処理とのうちのいずれかの処理を
実行することを特徴とする請求項1乃至3のいずれかに
記載のバージョン管理方法。
8. When the specified version number is the same as the version number of an already registered object, an error is notified without registering the object in advance or based on an instruction at the time of registering the object. Processing, overwriting the object registered in the object with the specified version number, and processing all the version numbers assigned to the registered object that are higher than the specified version number. 4. The version management method according to claim 1, wherein, after shifting to a higher rank, one of a process of assigning a version number to a registered object is executed.
【請求項9】 既に登録されているオブジェクトに対し
て前記キー属性の変更が行われる際に、該変更されるオ
ブジェクトに対してバージョン番号の指定がある場合に
は、該指定されたバージョン番号を該変更されるオブジ
ェクトに付与し、該変更されるオブジェクトに対するバ
ージョン番号の指定がない場合には、既に登録されてい
るオブジェクト群のバージョン番号を参照して該変更さ
れるオブジェクトに最大のバージョン番号を付与するこ
とを特徴とする請求項3記載のバージョン管理方法。
9. When the key attribute is changed for an already registered object, if a version number is specified for the object to be changed, the specified version number is changed. When a version number is assigned to the object to be changed and no version number is specified for the object to be changed, the maximum version number is assigned to the object to be changed by referring to the version numbers of the already registered objects. 4. The version management method according to claim 3, wherein the method is provided.
【請求項10】 登録されるオブジェクトにバージョン
番号を付与し、該オブジェクトを含むオブジェクト群を
管理するバージョン管理装置において、 オブジェクトが登録される際に、該登録されるオブジェ
クトに対するバージョン番号の指定を受け付ける受付手
段と、 既に登録されているオブジェクト群のバージョン番号を
参照する属性参照手段と、 前記受付手段が受け付けたバージョン番号の指定と前記
属性参照手段が参照したバージョン番号とに基づいて登
録されるオブジェクトに付与するバージョン番号を決定
し、該決定したバージョン番号を該登録されるオブジェ
クトに付与するバージョン番号決定手段とを具備し、 前記バージョン番号決定手段は、 前記受付手段がバージョン番号の指定を受け付けた場合
には、該指定されたバージョン番号を登録されるオブジ
ェクトに付与することを特徴とするバージョン管理装
置。
10. A version management apparatus which assigns a version number to an object to be registered and manages a group of objects including the object, when the object is registered, accepts designation of a version number for the registered object. Receiving means; attribute reference means for referring to a version number of an already registered object group; objects registered based on the specification of the version number received by the receiving means and the version number referred to by the attribute reference means And a version number determining unit for determining the version number to be assigned to the registered object. The version number determining unit receives the specification of the version number by the receiving unit. If so, the designated Versioning apparatus characterized by imparting to the objects that are registered with the version number.
【請求項11】 前記バージョン番号決定手段は、 前記受付手段がバージョン番号の指定を受け付けなかっ
た場合には、前記属性参照手段が参照したバージョン番
号を登録されるオブジェクトに付与することを特徴とす
る請求項10記載のバージョン管理装置。
11. The method according to claim 11, wherein the version number determining unit, if the receiving unit does not receive the specification of the version number, assigns the version number referenced by the attribute referring unit to the registered object. The version management device according to claim 10.
【請求項12】 前記オブジェクトは、 該オブジェクトの種別を示すキー属性を有し、 前記バージョン番号決定手段は、 前記キー属性毎に用意された一連番号から登録されるオ
ブジェクトに付与するバージョン番号を決定することを
特徴とする請求項10または11記載のバージョン管理
装置。
12. The object has a key attribute indicating a type of the object, and the version number determining means determines a version number to be assigned to the registered object from a serial number prepared for each key attribute. 12. The version control device according to claim 10, wherein
【請求項13】 前記属性参照手段が参照したバージョ
ン番号に基づいて、最大のバージョン番号が付与された
オブジェクトに対して最新バージョン属性を設定する属
性設定手段をさらに具備することを特徴とする請求項1
0乃至12のいずれかに記載のバージョン管理装置。
13. An attribute setting means for setting an latest version attribute to an object to which a maximum version number is assigned based on a version number referred to by said attribute reference means. 1
The version management device according to any one of 0 to 12.
【請求項14】 前記バージョン番号決定手段は、 前記指定されたバージョン番号が既に登録されているオ
ブジェクトのバージョン番号と同一の場合には、オブジ
ェクトの登録を行わずにエラーを通知することを特徴と
する請求項10乃至12のいずれかに記載のバージョン
管理装置。
14. The method according to claim 1, wherein the version number determining unit notifies an error without registering the object when the specified version number is the same as the version number of the already registered object. The version management device according to claim 10, wherein
【請求項15】 前記バージョン番号決定手段は、 前記指定されたバージョン番号が既に登録されているオ
ブジェクトのバージョン番号と同一の場合には、該バー
ジョン番号が付与されているオブジェクトに登録される
オブジェクトを上書きすることを特徴とする請求項10
乃至12のいずれかに記載のバージョン管理装置。
15. The version number determining means, if the specified version number is the same as the version number of an already registered object, deletes the object registered in the object to which the version number is assigned. 11. An overwriting method.
13. The version management device according to any one of claims 12 to 12.
【請求項16】 前記バージョン番号決定手段は、 前記指定されたバージョン番号が既に登録されているオ
ブジェクトのバージョン番号と同一の場合には、該登録
されているオブジェクトに付与されているバージョン番
号のうち該指定されたバージョン番号以上のものを全て
上位にずらした後に、登録されるオブジェクトにバージ
ョン番号を付与することを特徴とする請求項10乃至1
2のいずれかに記載のバージョン管理装置。
16. The version number determining means, when the specified version number is the same as the version number of an already registered object, the version number of the version number assigned to the registered object. 2. The system according to claim 1, wherein a version number is assigned to an object to be registered after all the objects having the specified version number or more are shifted to a higher order.
3. The version control device according to any one of 2.
【請求項17】 前記バージョン番号決定手段は、 前記指定されたバージョン番号が既に登録されているオ
ブジェクトのバージョン番号と同一の場合には、予め若
しくはオブジェクトの登録時の指示に基づいて、 オブジェクトの登録を行わずにエラーを通知する処理
と、 指定されたバージョン番号が付与されているオブジェク
トに登録されるオブジェクトを上書きする処理と、 登録されているオブジェクトに付与されているバージョ
ン番号のうち指定されたバージョン番号以上のものを全
て上位にずらした後に、登録されるオブジェクトにバー
ジョン番号を付与する処理とのうちのいずれかの処理を
実行することを特徴とする請求項10乃至12のいずれ
かに記載のバージョン管理装置。
17. If the specified version number is the same as the version number of an already registered object, the version number determining means registers the object in advance or based on an instruction at the time of registration of the object. Notifying the error without performing the process, overwriting the object registered in the object with the specified version number, and specifying the version number specified in the version number assigned to the registered object. 13. A process for assigning a version number to an object to be registered after shifting all objects having a version number or higher to a higher rank, and executing any one of the following processes. Version control device.
【請求項18】 前記バージョン番号決定手段は、 既に登録されているオブジェクトに対して前記キー属性
の変更が行われる際に、前記受付手段がバージョン番号
の指定を受け付けた場合には、該指定されたバージョン
番号を変更されるオブジェクトに付与し、前記受付手段
がバージョン番号の指定を受け付けなかった場合には、
前記属性参照手段が参照したバージョン番号に基づいて
最大のバージョン番号を変更されるオブジェクトに付与
することを特徴とする請求項12記載のバージョン管理
装置。
18. The version number determining means, when the key attribute is changed for an already registered object, when the receiving means receives specification of a version number, If the version number is given to the object to be changed, and the receiving unit does not receive the specification of the version number,
13. The version management apparatus according to claim 12, wherein a maximum version number is assigned to the object to be changed based on the version number referred to by the attribute reference unit.
JP2000316606A 2000-10-17 2000-10-17 Method and device for managing version Pending JP2002123414A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000316606A JP2002123414A (en) 2000-10-17 2000-10-17 Method and device for managing version

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000316606A JP2002123414A (en) 2000-10-17 2000-10-17 Method and device for managing version

Publications (2)

Publication Number Publication Date
JP2002123414A true JP2002123414A (en) 2002-04-26
JP2002123414A5 JP2002123414A5 (en) 2004-12-24

Family

ID=18795529

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000316606A Pending JP2002123414A (en) 2000-10-17 2000-10-17 Method and device for managing version

Country Status (1)

Country Link
JP (1) JP2002123414A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006318285A (en) * 2005-05-13 2006-11-24 Ricoh Co Ltd Document management apparatus
JP2008181350A (en) * 2007-01-25 2008-08-07 Fuji Xerox Co Ltd Information processing system, information processor and program
US8719691B2 (en) 2006-12-04 2014-05-06 Fuji Xerox Co., Ltd. Document providing system and computer-readable storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006318285A (en) * 2005-05-13 2006-11-24 Ricoh Co Ltd Document management apparatus
US8719691B2 (en) 2006-12-04 2014-05-06 Fuji Xerox Co., Ltd. Document providing system and computer-readable storage medium
JP2008181350A (en) * 2007-01-25 2008-08-07 Fuji Xerox Co Ltd Information processing system, information processor and program

Similar Documents

Publication Publication Date Title
US10901861B2 (en) Systems and methods of restoring a dataset of a database for a point in time
JP6521402B2 (en) Method for updating data table of KeyValue database and apparatus for updating table data
JP4255373B2 (en) Management and synchronization application for network file systems
JP5661188B2 (en) File system and data processing method
EP0917074A2 (en) Version and configuration management method and apparatus and computer-readable medium for recording associated program
US20200301882A1 (en) Determining differences between two versions of a file directory tree structure
JP5186390B2 (en) Method, system, and device for file system dump / restore by node numbering
WO2017028688A1 (en) Method, device and system for reading and writing files
CN104092726A (en) Automatic replacing method and apparatus of same-name file
CN114185991A (en) Method and related device for realizing data synchronization based on distributed database
JP2002049637A (en) Database management method, device and recording medium
CN113377763B (en) Database table switching method and device, electronic equipment and computer storage medium
CN111382142B (en) Database operation method, server and computer storage medium
JP2006031608A (en) Computer, storage system, file management method which computer performs, and program
JP2002123414A (en) Method and device for managing version
JP2000259473A (en) Database management system
JP2830826B2 (en) Distributed file synchronization system and method
JPH07210435A (en) Database managing device
KR101919816B1 (en) Consistency checking in database sharding environment
JPH0844609A (en) Data backup method
JP2006004024A (en) Program for execution by directory server
JP2000057040A (en) Distributed data management operation system
US11561958B2 (en) Information processing device and information processing system
JP2006252312A (en) Content management system and program used for the same
JP2003242007A (en) Device, method, and program for electronic data management, recording medium, and electronic data management system

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040122

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040122

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070613

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070626

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070820

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20071016