JP2006031249A - File management device, version number renumbering method and version number numbering program - Google Patents
File management device, version number renumbering method and version number numbering program Download PDFInfo
- Publication number
- JP2006031249A JP2006031249A JP2004207232A JP2004207232A JP2006031249A JP 2006031249 A JP2006031249 A JP 2006031249A JP 2004207232 A JP2004207232 A JP 2004207232A JP 2004207232 A JP2004207232 A JP 2004207232A JP 2006031249 A JP2006031249 A JP 2006031249A
- Authority
- JP
- Japan
- Prior art keywords
- version number
- attribute
- order
- version
- renumbering
- 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.)
- Withdrawn
Links
- 238000000034 method Methods 0.000 title claims abstract description 18
- 239000000284 extract Substances 0.000 claims description 4
- 238000002360 preparation method Methods 0.000 abstract description 2
- 238000010586 diagram Methods 0.000 description 8
- 238000000605 extraction Methods 0.000 description 7
- 230000001174 ascending effect Effects 0.000 description 6
- 230000008707 rearrangement Effects 0.000 description 5
- 230000004048 modification Effects 0.000 description 4
- 238000012986 modification Methods 0.000 description 4
- 238000003825 pressing Methods 0.000 description 3
- 238000004321 preservation Methods 0.000 description 2
- 102100039250 Essential MCU regulator, mitochondrial Human genes 0.000 description 1
- 101000813097 Homo sapiens Essential MCU regulator, mitochondrial Proteins 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
本発明は、文書や画像ファイルなどのオブジェクトにバージョン番号を付して管理するファイル管理装置およびそのバージョン番号再採番方法およびバージョン番号再採番プログラムに関し、特に、バージョン番号の管理体系の基準となるオブジェクトのキー属性の変更を可能にするとともに、該キー属性の変更に伴いバージョン番号の再採番を自動的に行うことができるようにしたファイル管理装置およびそのバージョン番号再採番方法およびバージョン番号再採番プログラムに関する。 The present invention relates to a file management apparatus that manages a document, an image file, and other objects with a version number, and a version number renumbering method and a version number renumbering program. File management apparatus, version number renumbering method, and version capable of changing the key attribute of an object and enabling automatic renumbering of the version number in accordance with the change of the key attribute Renumbering program.
一般に、文書や画像ファイルなどのオブジェクトに付与されたバージョン番号は、作成・更新が行われた順に自動的に付与される値であるため任意に変更することが出来ないように構成されている。 Generally, the version number assigned to an object such as a document or an image file is a value that is automatically assigned in the order of creation / update, so that it cannot be arbitrarily changed.
このため、バージョン番号の管理体系を変更したり、バージョン番号によるオブジェクトの並び替えを行ったりといったバージョン番号の操作を行うことができない。 For this reason, version number operations such as changing the version number management system or rearranging objects by version number cannot be performed.
オブジェクトの登録時に付与するバージョン番号を指定できるようにし、指定したバージョン番号が登録されているオブジェクトのバージョン番号と同一の場合にはバージョン番号の不整合が生じないように登録を行えないようにした従来技術として、特許文献1に開示されたものがある。
The version number assigned when registering an object can be specified, and if the specified version number is the same as the version number of the registered object, the registration cannot be performed so as not to cause inconsistency of the version number. As a prior art, there is one disclosed in
この特許文献1に開示された従来技術においては、最新バージョンのオブジェクトを登録した後に、旧バージョンのオブジェクトを登録することも可能である。
しかしながら、特許文献1に示された従来技術においては、手作業でバージョンの変更を行うオブジェクトを選択して再採番処理を繰り返して行わなければならないため再採番処理に膨大な作業工数必要になり、さらに既存オブジェクトの再採番を行うには一度、別の保存位置に取り出して再採番を行い、再度登録を行わなければならないためオブジェクトの移動に伴う作成日時や更新日時などの変更が発生し、既存のデータを利用できない場合があるという問題がある。
However, in the prior art disclosed in
そこで、本発明は、バージョン番号が付与されているオブジェクトが持つ属性値、作成日時や更新日時を変更することなく、新しい管理体系におけるバージョン番号に変更できるようにしたバージョン制御装置および方法およびプログラムを提供することを目的とする。 Therefore, the present invention provides a version control device, method, and program which can be changed to a version number in a new management system without changing the attribute value, creation date / time and update date / time of an object to which a version number is assigned. The purpose is to provide.
上記目的を達成するため、請求項1の発明は、文書や画像ファイルなどのオブジェクトの少なくとも1つの属性をバージョン番号の管理体系の基準となるキー属性として格納されたオブジェクトに対してバージョン番号を付して管理するファイル管理装置において、前記バージョン番号の管理体系の基準となる前記キー属性を変更するキー属性変更手段と、前記キー属性変更手段で変更したキー属性によるバージョン番号の順番を特定するオブジェクトの属性を指定する順属性指定手段と、前記キー属性変更手段で変更した前記キー属性を有するオブジェクトを抽出して、前記順属性指定手段により指定された順番でオブジェクトのバージョン番号を再採番するバージョン番号再採番手段とを具備することを特徴とする。
In order to achieve the above object, the invention of
また、請求項2の発明は、文書や画像ファイルなどのオブジェクトの少なくとも1つの属性をバージョン番号の管理体系の基準となるキー属性として格納されたオブジェクトに対してバージョン番号を付して管理するファイル管理装置のバージョン番号再採番方法において、前記バージョン番号の管理体系の基準となる前記キー属性をキー属性変更手段により変更し、前記キー属性変更手段で変更したキー属性によるバージョン番号の順番を特定するオブジェクトの属性を順属性指定手段により指定し、前記キー属性変更手段で変更した前記キー属性を有するオブジェクトを抽出して、前記順属性指定手段により指定された順番でオブジェクトのバージョン番号をバージョン番号再採番手段により再採番することを特徴とする。 According to a second aspect of the present invention, there is provided a file for managing at least one attribute of an object such as a document or an image file by assigning a version number to the object stored as a key attribute which is a standard of a version number management system. In the version number renumbering method of the management apparatus, the key attribute that is the basis of the version number management system is changed by the key attribute changing unit, and the order of the version number by the key attribute changed by the key attribute changing unit is specified The attribute of the object to be specified is specified by the order attribute specifying means, the object having the key attribute changed by the key attribute changing means is extracted, and the version number of the object is assigned in the order specified by the order attribute specifying means. It is characterized by renumbering by a renumbering means.
また、請求項3の発明は、文書や画像ファイルなどのオブジェクトの少なくとも1つの属性をバージョン番号の管理体系の基準となるキー属性として格納されたオブジェクトに対してバージョン番号を付して管理するファイル管理装置のバージョン番号再採番処理をコンピュータにより実行させるバージョン番号再採番プログラムであって、前記バージョン番号の管理体系の基準となる前記キー属性を変更する第1のステップと、前記第1のステップで変更したキー属性によるバージョン番号の順番を特定するオブジェクトの属性を指定する第2のステップと、前記第1のステップで変更した前記キー属性を有するオブジェクトを抽出して、前記第2のステップで指定された順番でオブジェクトのバージョン番号を再採番する第3のステップとを含むことを特徴とする。 According to a third aspect of the present invention, there is provided a file for managing at least one attribute of an object such as a document or an image file by assigning a version number to the object stored as a key attribute serving as a reference of a version number management system. A version number renumbering program for causing a computer to execute a version number renumbering process of a management apparatus, wherein the key attribute serving as a reference of the version number management system is changed, and the first step A second step of designating an attribute of an object for specifying the order of version numbers by the key attribute changed in the step; an object having the key attribute changed in the first step is extracted; and the second step The third step of renumbering object version numbers in the order specified in Characterized in that it comprises a.
本発明によれば、文書や画像ファイルなどのオブジェクトに付与された属性情報のうちキーとなる属性を指定し、バージョン番号の付与順序を示すオブジェクト属性に基づいて、該キーとなる属性を保持する当該オブジェクトにユニークなバージョン番号を再採番するように構成したので、すでにバージョン番号が付与された上記オブジェクトに対しても新たなバージョン番号管理体系で再採番を行うことが可能になるという効果を奏する。 According to the present invention, a key attribute is specified from attribute information assigned to an object such as a document or an image file, and the key attribute is held based on an object attribute indicating the order of assigning version numbers. Since it is configured so that a unique version number is renumbered to the object, it is possible to renumber the object already assigned a version number with a new version number management system. Play.
以下、本発明に係わるバージョン制御装置および方法の一実施例を添付図面を参照して詳細に説明する。 Hereinafter, an embodiment of a version control apparatus and method according to the present invention will be described in detail with reference to the accompanying drawings.
なお、本願発明のバージョン制御装置および方法およびプログラムは、文書、画像ファイル、ソースファイルなどに代表されるようなバージョンを管理する装置におけるバージョン番号の採番に適用可能であるが、以下に示す例では文書におけるバージョン番号の再採番について説明する。 Note that the version control device, method and program of the present invention can be applied to version number assignment in a device that manages versions such as documents, image files, source files, etc. Now, renumbering of version numbers in a document will be described.
図1は、本発明に係わるファイル管理装置によるバージョン番号再採番を行うシステム構成図である。 FIG. 1 is a system configuration diagram for performing version number renumbering by a file management apparatus according to the present invention.
図1には、操作情報入力部110、制御部120、テーブル制御部130、テーブル保存部140、オブジェクト保存部150、一時格納領域160を具備して構成される。
1 includes an operation
操作情報入力部110は、図3に示す画面を用いてバージョン番号の再採番を行う条件を入力する。入力される情報は、新たなバージョン管理体系のキーとなる属性である「キー属性項目」とバージョン番号の順番を指定する「順指定項目」があり、さらに「順指定項目」にはバージョン番号の順番を指定する属性である「順属性」とその並び方(昇順または降順)である「整列順」が入力でき、これらの情報にしたがってバージョン番号の再採番を行う。
The operation
制御部120は、抽出部121、並び替え部122、バージョン番号採番部123を具備して構成されており、バージョン番号が管理されたテーブルのバージョン番号の再採番を制御する。
The
抽出部121は、テーブル保存部140に保存されたオブジェクト情報格納テーブルから操作情報入力部110で入力したキー属性項目の組み合わせ(以下、「属性値セット」という))を重複なく抽出し、更に抽出した属性値セットに該当するオブジェクトIDをオブジェクト情報格納テーブルから取得する。
The
並び替え部122は、抽出部121で取得したオブジェクトIDを操作情報入力部110の順属性で指定した属性に基づいて昇順に整列する。
The
採番部123は、並び替え部122により整列されたオブジェクトIDに行番号をそれぞれ採番する。つまり、オブジェクトIDを3つ取得した場合には、昇順に整列されたオブジェクトID順に「1,2,3,・・・」と採番する。
The
以上に示した抽出部121と並び替え部122と採番部123の処理を抽出部121で抽出した属性値セットの数だけ繰り返し行う。
The processing of the
テーブル制御部130は、バージョン番号の再採番を行うオブジェクト情報格納テーブルの[バージョン番号]の項目を"空白"にし、そして採番部123によりバージョン番号が採番された後に、オブジェクト情報格納テーブルを更新する。
The
テーブル保存部140は、バージョン番号などのオブジェクト情報が管理されたオブジェクト情報格納テーブルを保存する。
The
オブジェクト保存部150は、文書や画像ファイルなどのオブジェクトの実体を保存する。
The
なお、テーブル保存部140とオブジェクト保存部150とをいっしょに管理するような構成にしてもよい。
The
一時格納領域160は、抽出部121と並び替え部122と採番部123の処理が行われる領域である。一時格納領域160に保存されたテーブルなどは、一連のバージョン番号の再採番が行われたのちに消去される。
The
このような構成によると、キー属性に指定した属性が持つ値によりバージョン番号の再採番を行うことができ、新たなバージョン番号管理体系の基で管理することが可能になる。 According to such a configuration, the version number can be renumbered according to the value of the attribute specified as the key attribute, and management can be performed based on a new version number management system.
図2は、本発明に係わるバージョン制御装置によりバージョン番号の再採番が行われる前の状態におけるテーブル構造を示す図である。 FIG. 2 is a diagram showing a table structure in a state before version number renumbering is performed by the version control apparatus according to the present invention.
図2において、バージョン番号管理状態を示すオブジェクト情報格納テーブルであり、キー属性として「属性1」が指定された管理体系のもとでバージョン番号の管理が行われている状態を示す。
FIG. 2 is an object information storage table showing a version number management state, and shows a state where version numbers are managed under a management system in which “
オブジェクト情報格納テーブルは、[オブジェクトID]を主キーとして昇順にソートが行われている。このとき、[オブジェクトID]が「111111」のレコードには[属性1]の値として「AAA」が、[属性2]の値として「BBB」が、さらに[作成日時]の値として「20031225130522」、[バージョン番号]の値として「1」が格納されている状態を示している。このような構成を[オブジェクトID]ごとにそれぞれ保持している。ここで属性の値として"空白"であるフィールドは、[オブジェクトID]の付与されたオブジェクトが当該属性を持たないかまたは、属性の値が"空白"であることを示している。 The object information storage table is sorted in ascending order using [object ID] as a primary key. At this time, the record with [object ID] “111111” has “AAA” as the value of [Attribute 1], “BBB” as the value of [Attribute 2], and “20031225130522” as the value of [Created Date / Time]. , “1” is stored as the value of [version number]. Such a configuration is held for each [object ID]. Here, the field having “blank” as the attribute value indicates that the object to which [object ID] is assigned does not have the attribute or that the attribute value is “blank”.
例えば、[オブジェクトID]が「222222」であるレコードの[属性3]の値が"空白"であるが、これは[オブジェクトID]が「222222」のオブジェクトには[属性3]という属性を保持していないか、または、[属性3]という属性を保持しているが値が"空白"であるかのいずれかを示していることになる。 For example, the value of [Attribute 3] of the record whose [Object ID] is “222222” is “blank”. This is because the object whose [Object ID] is “222222” has the attribute [Attribute 3]. This indicates that the attribute is [None] or [Attribute 3] is held but the value is "blank".
ここで"空白"とは、実際のデータベース構造においては「NULL」という値が格納されていることを示している。 Here, “blank” indicates that the value “NULL” is stored in the actual database structure.
以上のような構成を持つオブジェクト情報格納テーブルでは、[属性1]がバージョン番号の管理を行うキー属性として設定されており、該[属性1]によってグルーピングが行われ、[作成日時]の古いものから順にバージョン番号が付与されている。 In the object information storage table having the above configuration, [Attribute 1] is set as a key attribute for managing the version number, grouping is performed by the [Attribute 1], and [Created date] is old Version numbers are assigned in order.
図2に示す例では、[属性1]の値として「AAA」と「CCCC」の2つの値が示されており、まず[属性1]に「AAA」を持つオブジェクトID「111111」「222222」「333333」を同一のグループとして[作成日時]に基づいてバージョン番号を採番している。次に、[属性1]に「CCCC」を持つオブジェクトID「444444」〜「999999」についても同様にバージョン番号を採番している。 In the example shown in FIG. 2, two values of “AAA” and “CCCC” are shown as the values of [Attribute 1]. First, object IDs “111111” and “222222” having “AAA” in [Attribute 1]. “333333” is assigned to the same group, and a version number is assigned based on [creation date]. Next, version numbers are similarly assigned to object IDs “444444” to “999999” having “CCCC” in [Attribute 1].
図3は、本発明に係わるバージョン制御装置でバージョン番号の再採番を行う際の管理設定を変更するバージョン管理設定の変更画面を示す図である。 FIG. 3 is a diagram showing a version management setting change screen for changing the management setting when the version number is renumbered by the version control apparatus according to the present invention.
図3には、バージョン管理のキーとなる属性を設定するキー属性設定項目301、バージョン番号の順番を指定する順指定項目302、実行ボタン303、キャンセルボタン304を具備して構成される。
FIG. 3 includes a key
キー属性設定項目301は、新しい管理体系におけるバージョン番号を管理するキー属性を指定することができ、指定属性名称305、追加ボタン306、削除ボタン307を具備して構成される。例えば、図3に示すように指定属性名称305として「属性1」と「属性2」が指定されている場合には、これらの属性に基づいて新たなバージョン番号を再採番する。
The key
このときキー属性となる属性を追加するには、追加ボタン306を押下して表示される追加可能な属性の一覧から追加したい属性を選択する。また追加した属性を変更、削除するには削除ボタン307を押下して現在表示されている属性から削除したい属性を選択する。
At this time, to add an attribute to be a key attribute, an
これらの操作により新たな管理体系における属性を指定することができるようになる。 By these operations, attributes in a new management system can be specified.
順指定項目302は、上記キー属性設定項目301で指定したキー属性によるバージョン番号の順番を特定する項目であり、順属性指定項目308、指定ボタン309、整列順310を具備して構成される。
The
順属性指定項目308は、指定ボタン309を押下することによりバージョン番号の順番を特定するオブジェクトの属性を指定する。
An order
整列順310は、順属性指定項目308により指定された属性に基づいて整列順序である「昇順」「降順」のいずれかを選択する。
The
これらにより指定された各項目について実行ボタン303を押下することによりこれらの条件に基づいてバージョン番号の再採番を実行するトリガになる。またキャンセルボタン304を押下することにより取り消すことができる。
By pressing the
したがってそれぞれの使用用途に基づいて文書に付与された特別な属性についても一般的な属性と同様に取り扱いができ、バージョン番号のキー属性として指定することができるようになる。 Therefore, special attributes assigned to documents based on their respective usages can be handled in the same manner as general attributes, and can be designated as version number key attributes.
図4は、本発明に係わるバージョン制御装置によるオブジェクト情報格納テーブルの処理内容を示す図である。 FIG. 4 is a diagram showing the processing contents of the object information storage table by the version control apparatus according to the present invention.
図4において、図4(a)は、図2に示すオブジェクト情報格納テーブルにおける[バージョン番号]の項目すべてを"空白"にした状態を示したテーブル401である。図4(b)は、図4(a)に示すテーブル構造のうち図3に示したバージョン管理設定の変更画面300で設定したキー属性が持つ値の属性値セットを重複なく、抜き出したテーブル402である。図4(c)は、図4(b)で抜き出した属性値セットから一つの属性値セットを更に抜き出したテーブル403である。
In FIG. 4, FIG. 4A is a table 401 showing a state in which all items of [version number] in the object information storage table shown in FIG. FIG. 4B shows a table 402 extracted from the table structure shown in FIG. 4A without duplication of attribute value sets of values of the key attributes set on the version management setting
図4(a)に示すように図2のオブジェクト情報格納テーブルの[バージョン番号]の項目だけを"空白"にして新たなバージョン番号の採番を行う準備をしている。図4(b)に示す属性値セット単位で新たなバージョン番号を採番することになる。そして図4(c)で採番を行う属性値セットを指定していることになる。 As shown in FIG. 4 (a), only the [version number] item in the object information storage table of FIG. 2 is set to “blank” and preparations are made for assigning a new version number. A new version number is assigned for each attribute value set shown in FIG. In FIG. 4C, an attribute value set for numbering is designated.
このとき図4(b)に示すテーブルと図4(c)に示す1つの属性値セットを抜き出したテーブルは、再採番を行う時に一時的な領域に作成されるテーブルであってバージョン番号の再採番の処理が終了すると同時に消去される。これによりディスク容量の増加を防ぎ、データベーステーブルを操作しないので不整合状態になることをあらかじめ防ぐことができる。 At this time, the table shown in FIG. 4 (b) and the table extracted from one attribute value set shown in FIG. 4 (c) are tables created in a temporary area when renumbering is performed. It is deleted as soon as the renumbering process is completed. This prevents an increase in disk capacity and prevents inconsistency because the database table is not manipulated.
図5は、バージョン番号の採番を行うバージョン番号採番テーブルを示す図である。 FIG. 5 is a diagram showing a version number numbering table for assigning version numbers.
図5において、図4(c)に示す属性値セットに対して図4(a)に示す[バージョン番号]の項目を"空白"にしたオブジェクト情報格納テーブルからオブジェクトIDを抜き出して[行番号]の項目を付け加えたテーブルを示している。 In FIG. 5, the object ID is extracted from the object information storage table in which the item “version number” shown in FIG. 4A is “blank” for the attribute value set shown in FIG. A table with the item added is shown.
図5(a)は、図4(c)で属性1の値が「CCCC」であり、属性2の値が「DDDD」である属性値セットを持つオブジェクトID「444444」「666666」「999999」を抜き出して[行番号]の項目を[バージョン番号]の項目の右側に付与したテーブルである。
FIG. 5A shows an object ID “444444”, “666666”, “999999” having an attribute value set in which the value of
図5(b)は、図5(a)の[行番号]の項目にオブジェクトIDが「444444」である[行番号]の項目を”1”として順次、行の番号を付与したテーブルである。 FIG. 5B is a table in which the row number is sequentially assigned to the “row number” item in FIG. 5A with the “row number” item whose object ID is “444444” as “1”. .
このようにして[行番号]の項目に付与された値を図4(a)に示す[バージョン番号]の項目に更新し、これらの処理を図4(b)の各属性値セットに対して順次繰り返し行うことで新たなキー属性によって再採番を行うことができるようになる。 In this way, the value assigned to the item [line number] is updated to the item [version number] shown in FIG. 4A, and these processes are performed for each attribute value set shown in FIG. 4B. By sequentially repeating, renumbering can be performed with a new key attribute.
このとき、図4(b)や図4(c)と同様に一時領域に作成され、バージョン番号の再採番が行われて図2に示したオブジェクト情報格納テーブルの[バージョン番号]の項目に反映されると消去される。 At this time, it is created in the temporary area in the same manner as in FIG. 4B and FIG. 4C, and the version number is renumbered, and the [Version number] item in the object information storage table shown in FIG. It is erased when reflected.
上記処理により、指定した属性値セットを持つオブジェクトに対してバージョン番号の再採番を行うことができる。 Through the above processing, the version number can be renumbered for the object having the specified attribute value set.
なお、図5(a)に示すオブジェクト情報テーブルから抜き出す項目を[オブジェクトID]のほかに図3の順属性指定項目308で指定された項目についても同様に抜き出してもよい。
In addition to the [object ID], items extracted from the object information table shown in FIG. 5A may be extracted in the same manner for items specified in the order
例えば、順属性指定項目308が「作成日時」である場合には図4(a)に示すオブジェクト情報格納テーブルから[オブジェクトID]と[作成日時]の両項目を同時に抜き出し、図3の整列順310で指定した整列順序で整列するような構成にしてもよい。
For example, when the order
これは、作成されたオブジェクトの順番とデータベースを更新した順番が異なる場合においても図3に示す順属性指定項目308で指定した順に基づいてバージョン番号を再採番することが可能となる。この場合の例を図8に示している。
This makes it possible to renumber the version numbers based on the order specified in the order
以上図4(c)から図5(b)に示した処理を図4(b)で取り出した属性値セットの数だけ繰り返し行う。 The processes shown in FIGS. 4C to 5B are repeated as many times as the number of attribute value sets extracted in FIG. 4B.
これにより、図4(a)に示したオブジェクト情報格納テーブル401の"空白"である[バージョン番号]にバージョン番号を付与することができる。 As a result, the version number can be assigned to [version number] which is “blank” in the object information storage table 401 shown in FIG.
図6は、本発明に係わるバージョン制御装置によりバージョン番号の再採番が行われた状態のオブジェクト情報格納テーブルを示す図である。 FIG. 6 is a diagram showing an object information storage table in a state where the version number is renumbered by the version control apparatus according to the present invention.
図6において、図4(c)、図5(a)、図5(b)に示したテーブルの処理を図4(b)で取り出した属性値セットの数だけこの順序で繰り返し行い、バージョン番号の再採番を行った状態のテーブルを示している。 In FIG. 6, the processing of the tables shown in FIGS. 4C, 5A, and 5B is repeated in this order for the number of attribute value sets extracted in FIG. The table of the state which performed renumbering of is shown.
つまり、抜き出した属性値セットの数だけ更新を行うことでバージョン番号の再採番機能を実現できる。 That is, the version number renumbering function can be realized by updating the number of attribute value sets extracted.
次に、バージョン番号の再採番を行うまでの制御フローについて説明する。 Next, a control flow until the version number is renumbered will be described.
図7は、バージョン番号の再採番処理を示すフローチャートである。 FIG. 7 is a flowchart showing version number renumbering processing.
図7において、あらかじめオブジェクト情報が格納されたデータベースのテーブルである「オブジェクト情報格納テーブル」のバージョン番号を再採番するという指示により処理が開始され、バージョン番号の再採番時の管理体系におけるキーとなる属性であるキー属性を図3に示すバージョン管理設定の変更画面300を用いて指定する(S701)。このとき現状の管理体系におけるキー属性をデフォルト表示する。さらに、バージョン番号の順番を特定するオブジェクトの属性である順属性とその順属性によって整列する順序であえる整列順を指定する(S702)。
In FIG. 7, processing is started by an instruction to renumber the version number of the “object information storage table” which is a database table in which object information is stored in advance, and the key in the management system at the time of renumbering the version number The key attribute which is the attribute to be specified is designated using the version management setting
指定されて実行するとオブジェクト情報格納テーブルのバージョン番号の項目を"空白"(NULL)に設定し(S703)、指定されたキー属性における属性値セットをオブジェクト情報管理テーブルから重複なく、抜き出す(S704)。抜き出した属性値セットによる属性値セットテーブルを生成する(S705)。 When specified and executed, the item of the version number of the object information storage table is set to “blank” (NULL) (S703), and the attribute value set for the specified key attribute is extracted from the object information management table without duplication (S704). . An attribute value set table based on the extracted attribute value set is generated (S705).
さらに、以下に示すS706〜S710の処理を繰り返し行う。まず、生成された属性値セットテーブルから1組の属性値セットを抜き出して(S706)、その属性値セットに当てはまるオブジェクトIDをオブジェクト情報格納テーブルから取得する(S707)。 Further, the processes of S706 to S710 shown below are repeated. First, one attribute value set is extracted from the generated attribute value set table (S706), and an object ID corresponding to the attribute value set is obtained from the object information storage table (S707).
取得したオブジェクトIDごとに行番号の項目を設け(S708)、行番号の項目に行の番号を割り当てていき(S709)、バージョン番号の項目を"空白"にしたオブジェクト情報格納テーブルのバージョン番号の項目にオブジェクトIDに基づいた行番号をそれぞれ更新する(S710)。 A line number item is provided for each acquired object ID (S708), a line number is assigned to the line number item (S709), and the version number of the object information storage table with the version number item set to "blank" is set. The line number based on the object ID is updated in each item (S710).
そして、バージョン番号の再採番のキー属性を更新する(S711)。 Then, the key attribute for renumbering the version number is updated (S711).
図8は、図5に示すバージョン番号を採番するテーブルの変形例のテーブルを示す図である。 FIG. 8 is a diagram showing a table of a modification of the table for assigning the version numbers shown in FIG.
図8には、図4(a)に示すオブジェクト情報格納テーブルからバージョン番号の再採番を行う項目として[オブジェクトID]と図3で示した順属性指定項目308とを抜き出し、行番号を追加したテーブルを示している。
8 extracts [object ID] and the order
ここに示す例では、順属性指定項目308に「作成日時」が指定され、さらに「作成日時」の昇順に整列が行われた状態を示している。
In the example shown here, “created date / time” is designated in the order
これによって、作成されたオブジェクトの順番とデータベースを更新した順番が異なる場合においても図3に示す順属性指定項目308で指定した順に基づいて行番号項目に行の番号を採番することが可能となる。
As a result, even when the order of the created objects is different from the order in which the database is updated, it is possible to assign line numbers to the line number items based on the order designated by the order
以上に示す処理と構成により、既存のバージョン番号が付与されたオブジェクトが持つ作成日時、最終変更日時などの固有情報を変更することなく、所望の属性によるバージョン番号の再採番を行うことが可能になる。 With the processing and configuration shown above, it is possible to renumber version numbers according to the desired attributes without changing specific information such as the creation date and time and the last modification date and time of objects with existing version numbers. become.
従って、本発明を適用することにより、新規登録を行うオブジェクトに付与されるバージョン番号と既存のオブジェクトに付与されたバージョン番号とを新たなバージョン番号の管理体系の基で管理できるようになるという効果を期待できる。 Therefore, by applying the present invention, it is possible to manage the version number assigned to an object to be newly registered and the version number assigned to an existing object based on a new version number management system. Can be expected.
なお、上記フローチャートに示す処理は、コンピュータにより実行可能なバージョン制御プログラムによっても実現できる。 The processing shown in the flowchart can also be realized by a version control program that can be executed by a computer.
本発明は、上記し、且つ図面に示す実施例に限定することなく、その要旨を変更しない範囲内で適宜変形して実施できるものである。 The present invention is not limited to the embodiments described above and shown in the drawings, and can be implemented with appropriate modifications within the scope not changing the gist thereof.
本発明は、文書や画像ファイルなどのオブジェクトに付与された既存のバージョン番号を新たなバージョン番号管理体系のもとで管理できるようにしたバージョン制御装置および方法に適用可能であり、特に、オブジェクトに付与された属性のうちバージョン番号の再採番を行う際のキーとなる属性を指定することにより、該キーとなる属性を持つオブジェクト全てに対して新たなバージョン番号の管理体系の基で管理するのに有用である。 The present invention can be applied to a version control apparatus and method that can manage an existing version number assigned to an object such as a document or an image file under a new version number management system. By specifying the attribute that is the key when renumbering the version number among the assigned attributes, all objects having the key attribute are managed based on the new version number management system. Useful for.
110 操作情報入力部
120 制御部
121 抽出部
122 並び替え部
123 採番部
130 テーブル制御部
140 テーブル保存部
150 オブジェクト保存部
160 一時格納領域
DESCRIPTION OF
Claims (3)
前記バージョン番号の管理体系の基準となる前記キー属性を変更するキー属性変更手段と、
前記キー属性変更手段で変更したキー属性によるバージョン番号の順番を特定するオブジェクトの属性を指定する順属性指定手段と、
前記キー属性変更手段で変更した前記キー属性を有するオブジェクトを抽出して、前記順属性指定手段により指定された順番でオブジェクトのバージョン番号を再採番するバージョン番号再採番手段と
を具備することを特徴とするファイル管理装置。 In a file management apparatus for managing at least one attribute of an object such as a document or an image file by assigning a version number to an object stored as a key attribute serving as a reference of a version number management system,
Key attribute changing means for changing the key attribute which is a standard of the version number management system;
Order attribute specifying means for specifying the attribute of an object that specifies the order of version numbers by the key attribute changed by the key attribute changing means;
A version number renumbering unit that extracts an object having the key attribute changed by the key attribute changing unit and renumbers the version number of the object in the order specified by the order attribute specifying unit. A file management device characterized by the above.
前記バージョン番号の管理体系の基準となる前記キー属性をキー属性変更手段により変更し、
前記キー属性変更手段で変更したキー属性によるバージョン番号の順番を特定するオブジェクトの属性を順属性指定手段により指定し、
前記キー属性変更手段で変更した前記キー属性を有するオブジェクトを抽出して、前記順属性指定手段により指定された順番でオブジェクトのバージョン番号をバージョン番号再採番手段により再採番する
ことを特徴とするバージョン番号再採番方法。 Version number renumbering method for a file management apparatus for managing at least one attribute of an object such as a document or an image file by assigning a version number to an object stored as a key attribute which is a standard of a version number management system In
Change the key attribute that is the basis of the version number management system by the key attribute changing means,
The attribute of the object that specifies the order of the version number by the key attribute changed by the key attribute changing means is specified by the order attribute specifying means,
Extracting the object having the key attribute changed by the key attribute changing means, and renumbering the version number of the object by the version number renumbering means in the order specified by the order attribute specifying means, Version number renumbering method.
前記バージョン番号の管理体系の基準となる前記キー属性を変更する第1のステップと、
前記第1のステップで変更したキー属性によるバージョン番号の順番を特定するオブジェクトの属性を指定する第2のステップと、
前記第1のステップで変更した前記キー属性を有するオブジェクトを抽出して、前記第2のステップで指定された順番でオブジェクトのバージョン番号を再採番する第3のステップと
を含むことを特徴とするバージョン番号再採番プログラム。 Version number renumbering processing of a file management apparatus that manages at least one attribute of an object such as a document or an image file by assigning a version number to the object stored as a key attribute serving as a reference for the version number management system A version number renumbering program that causes a computer to execute
A first step of changing the key attribute serving as a basis of the version number management system;
A second step of designating an attribute of an object that specifies the order of version numbers according to the key attribute changed in the first step;
A third step of extracting an object having the key attribute changed in the first step and renumbering the version number of the object in the order specified in the second step. Version number renumbering program.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2004207232A JP2006031249A (en) | 2004-07-14 | 2004-07-14 | File management device, version number renumbering method and version number numbering program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2004207232A JP2006031249A (en) | 2004-07-14 | 2004-07-14 | File management device, version number renumbering method and version number numbering program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2006031249A true JP2006031249A (en) | 2006-02-02 |
| JP2006031249A5 JP2006031249A5 (en) | 2007-08-09 |
Family
ID=35897540
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2004207232A Withdrawn JP2006031249A (en) | 2004-07-14 | 2004-07-14 | File management device, version number renumbering method and version number numbering program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2006031249A (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2016035717A (en) * | 2014-08-04 | 2016-03-17 | 株式会社東芝 | Medical image management system, medical image observation apparatus, and medical image storage apparatus |
| CN106648679A (en) * | 2016-12-29 | 2017-05-10 | 南威软件股份有限公司 | Version management method of structural data |
| JP7601819B2 (en) | 2022-03-22 | 2024-12-17 | 株式会社オービック | Numbering device, numbering method, and numbering program |
-
2004
- 2004-07-14 JP JP2004207232A patent/JP2006031249A/en not_active Withdrawn
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2016035717A (en) * | 2014-08-04 | 2016-03-17 | 株式会社東芝 | Medical image management system, medical image observation apparatus, and medical image storage apparatus |
| CN106648679A (en) * | 2016-12-29 | 2017-05-10 | 南威软件股份有限公司 | Version management method of structural data |
| CN106648679B (en) * | 2016-12-29 | 2020-04-07 | 南威软件股份有限公司 | Version management method for structured data |
| JP7601819B2 (en) | 2022-03-22 | 2024-12-17 | 株式会社オービック | Numbering device, numbering method, and numbering program |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US20050165922A1 (en) | Device management apparatus and method | |
| JP2018036899A (en) | Manufacturing BOM editing support system, manufacturing BOM editing support method, and program | |
| US8145580B2 (en) | Data management apparatus and method for managing data elements using a plurality of metadata elements | |
| JP5186390B2 (en) | Method, system, and device for file system dump / restore by node numbering | |
| JPH07319820A (en) | Information processing system | |
| JP2006031249A (en) | File management device, version number renumbering method and version number numbering program | |
| JP4404930B2 (en) | Information processing apparatus, control method therefor, information processing system, program, and computer-readable recording medium | |
| JP3441155B2 (en) | Information management search device | |
| JP2016057722A (en) | DML search device | |
| US6965807B2 (en) | Equipment application calculating apparatus and equipment application calculating method | |
| JPH05108435A (en) | File list creation processing method | |
| CN109952573A (en) | System structure creates auxiliary device | |
| JP2005215857A (en) | Resource allocation system for solution business | |
| JP4266366B2 (en) | Image management method and image management program | |
| JPH0934906A (en) | Book management device | |
| JP2003242323A (en) | Conference room system and method of generating the same | |
| JP3143929B2 (en) | Data processing device | |
| JP2005267540A (en) | File search system, file searching method, and file searching program | |
| JP2002245065A (en) | Document processing apparatus, document processing method, program, and recording medium | |
| JP2002175110A (en) | Production planning device and storage medium | |
| JP4507227B2 (en) | File storage device and storage medium storing file management program | |
| JP2000163495A (en) | Workflow processing method, its execution device, and medium recording the processing program | |
| JP3889067B2 (en) | Document management apparatus and document management method | |
| JP2006163872A (en) | File classification program, file classification device and file classification method | |
| JP5788812B2 (en) | Tailoring device, tailoring method, and tailoring program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20070622 |
|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20070622 |
|
| A761 | Written withdrawal of application |
Free format text: JAPANESE INTERMEDIATE CODE: A761 Effective date: 20081016 |