JP2995718B2 - Document history management device - Google Patents
Document history management deviceInfo
- Publication number
- JP2995718B2 JP2995718B2 JP4106455A JP10645592A JP2995718B2 JP 2995718 B2 JP2995718 B2 JP 2995718B2 JP 4106455 A JP4106455 A JP 4106455A JP 10645592 A JP10645592 A JP 10645592A JP 2995718 B2 JP2995718 B2 JP 2995718B2
- Authority
- JP
- Japan
- Prior art keywords
- version
- update
- mark area
- unit
- document
- 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
Links
Landscapes
- Document Processing Apparatus (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Description
【0001】[0001]
【産業上の利用分野】本発明は、コンピュータを用いて
作成された文書の更新履歴を管理する文書履歴管理装置
に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a document history management device for managing an update history of a document created using a computer.
【0002】[0002]
【従来の技術】近年、ソフトウェア仕様書や説明書やコ
ンピュータプログラムなどの文書を共同で作成またはレ
ビューするために、コンピュータを利用することが多く
なってきた。このように共同で文書を作成するに際して
は、他者が文書を変更した箇所を把握することが必要と
なる。2. Description of the Related Art In recent years, computers have been increasingly used to collaboratively create or review documents such as software specifications, manuals, and computer programs. When collaboratively creating a document in this way, it is necessary to know where another person has modified the document.
【0003】このような目的で用いる従来の文書履歴管
理装置として、例えば、ソフトウェア−プラクティス&
イクスペリエンス15,7(1985年7月)637頁
〜654頁のRCS−履歴管理のためのシステム(RC
S−A System for Version Co
ntrol,Software−Practice&E
xperience 15,7(July 198
5),637−654)に記載されたものがある。As a conventional document history management apparatus used for such a purpose, for example, software-practice &
Experience, 15, 7 (July 1985) pp. 637-654 RCS-System for History Management (RC
SA System for Version Co
ntrol, Software-Practice & E
xperience 15,7 (Jully 198
5), 637-654).
【0004】この従来の文書履歴管理装置は、図6のよ
うに、入力部31と、文書履歴管理部32と、文書抽出
部33と、差分作成部34とを備えている。入力部31
には、使用者の操作により、文書を識別する文書識別子
と、更新前のバージョンを識別する更新前バージョン識
別子と、参照したいバージョンを識別する参照バージョ
ン識別子とが入力される。文書履歴管理部32は、文書
識別子と、この文書識別子で識別される文書とを関連付
け、また文書のバージョンと、そのバージョンを識別す
るバージョン識別子とを関連付けて管理する。文書抽出
部33は、入力部31に入力された文書識別子で識別さ
れる文書のバージョンのうち、更新前バージョン識別子
で識別される更新前バージョンと、参照バージョン識別
子で識別される参照バージョンとを、文書履歴管理部3
2から抽出する。差分作成部34は、文書抽出部33に
より抽出された更新前バージョンを参照バージョンに更
新するための更新差分情報を作成する。As shown in FIG. 6, the conventional document history management device includes an input unit 31, a document history management unit 32, a document extraction unit 33, and a difference creation unit 34. Input unit 31
, A document identifier for identifying a document, a pre-update version identifier for identifying a pre-update version, and a reference version identifier for identifying a version to be referenced are input by a user operation. The document history management unit 32 associates a document identifier with a document identified by the document identifier, and associates and manages a document version with a version identifier identifying the version. The document extraction unit 33, among the versions of the document identified by the document identifier input to the input unit 31, the pre-update version identified by the pre-update version identifier and the reference version identified by the reference version identifier, Document history management unit 3
Extract from 2. The difference creation unit 34 creates update difference information for updating the pre-update version extracted by the document extraction unit 33 to a reference version.
【0005】このような従来の文書履歴管理装置におい
ては、先ず使用者すなわち文書参照者が、差分を得たい
更新前バージョンの更新前バージョン識別子と、参照バ
ージョンの参照バージョン識別子と、これらの文書の文
書識別子とを入力部31に入力する。このとき、文書識
別子にはファイル名などを用い、更新前バージョン識別
子や参照バージョン識別子にはそれぞれのバージョンの
バージョン番号を用いる。これにより文書抽出部33
が、入力部31に入力された文書識別子で識別される文
書のバージョンのうち、更新前バージョン識別子で識別
される更新前バージョンと、参照バージョン識別子で識
別される参照バージョンとを、文書履歴管理部32から
抽出する。これにより差分作成部34が、文書抽出部3
3により抽出された更新前バージョンと参照バージョン
とを比較し、更新前バージョンと参照バージョンとの相
違箇所である更新差分情報を作成する。In such a conventional document history management device, first, a user, that is, a document referrer, pre-update version identifier of a pre-update version to obtain a difference, a reference version identifier of a reference version, and a reference version identifier of these documents. The document identifier is input to the input unit 31. At this time, a file name or the like is used as a document identifier, and a version number of each version is used as a pre-update version identifier or a reference version identifier. Thereby, the document extracting unit 33
Of the document version identified by the document identifier input to the input unit 31, the pre-update version identified by the pre-update version identifier, and the reference version identified by the reference version identifier, Extract from 32. As a result, the difference creation unit 34
3. The pre-update version extracted in step 3 is compared with the reference version, and update difference information that is a difference between the pre-update version and the reference version is created.
【0006】[0006]
【発明が解決しようとする課題】しかしながら上記従来
の構成では、差分作成部34によりバージョンを更新し
たときの差分を取り出すので、1回の更新による相違箇
所がその更新後のバージョン内で占める位置を求めるの
は容易であるものの、その後更に1回以上の更新がなさ
れたときに、第1回目の更新による相違箇所が2回目の
更新以降のバージョン内で占める位置を求めるのは容易
でないという問題があった。However, in the above-described conventional configuration, the difference when the version is updated by the difference creating unit 34 is extracted, so that the difference occupied by the single update in the updated version is determined. Although it is easy to find, when one or more updates are made thereafter, it is not easy to find the position where the difference due to the first update occupies in the version after the second update. there were.
【0007】本発明はかかる事情に鑑みて成されたもの
であり、任意回の更新による相違箇所がそれ以降の任意
回の更新を行ったバージョン内で占める位置を指示でき
る文書履歴管理装置を提供することを目的とする。The present invention has been made in view of the above circumstances, and provides a document history management device capable of indicating a position where a difference caused by an arbitrary update is occupied in a version after an arbitrary update. The purpose is to do.
【0008】[0008]
【課題を解決するための手段】請求項1の発明は、文書
を更新する過程で生成される複数のバージョンのうち、
使用者により指示された検索条件に合致する第1の更新
前バージョンと、使用者により指示された検索条件に合
致する1回以上の更新で前記第1の更新前バージョンに
更新される前のバージョンである第2の更新前バージョ
ンとの相違箇所を、使用者により指示された参照バージ
ョン中に表す構成としたことを特徴としている。According to the first aspect of the present invention, a plurality of versions generated in a process of updating a document are provided.
A first pre-update version that matches the search condition specified by the user, and a version before being updated to the first pre-update version by one or more updates that match the search condition specified by the user Is characterized in that a difference from the second pre-update version is represented in a reference version specified by the user.
【0009】請求項2の発明は、文書を更新する過程で
生成される複数のバージョンと、各バージョンの属性と
を関係付けて管理する文書履歴管理部と、前記複数のバ
ージョンのうち使用者により指示された検索条件に合致
する第1の更新前バージョンと、使用者により指示され
た検索条件に合致する1回以上の更新で前記第1の更新
前バージョンに更新される前のバージョンである第2の
更新前バージョンとを、前記文書履歴管理部から抽出す
る更新前バージョン検索部と、この更新前バージョン検
索部により抽出された第1の更新前バージョンにおける
前記第2の更新前バージョンと第1の更新前バージョン
との相違箇所を表す第1のマーク領域を作成する更新マ
ーク領域作成部と、前記複数のバージョンのうち使用者
により指示された参照バージョンを前記文書履歴管理部
から抽出する参照バージョン抽出部と、前記更新マーク
領域作成部により作成された第1のマーク領域に基づい
て、前記参照バージョン抽出部により抽出された参照バ
ージョンにおける前記第2の更新前バージョンと第1の
更新前バージョンとの相違箇所を表す第2のマーク領域
を作成するマーク領域更新部と、このマーク領域更新部
により作成された第2のマーク領域で示される部分を強
調して前記参照バージョンを出力するマーク領域強調出
力部とを備えたことを特徴としている。According to a second aspect of the present invention, there is provided a document history management unit for managing a plurality of versions generated in a process of updating a document by associating the attributes of each version with each other. A first pre-update version that matches the instructed search condition and a version before being updated to the first pre-update version by one or more updates that match the search condition instructed by the user; The pre-update version search unit extracts the pre-update version 2 from the document history management unit, and the second pre-update version and the first pre-update version in the first pre-update version extracted by the pre-update version search unit. An update mark area creating unit for creating a first mark area representing a difference from the version before update of the plurality of versions; A reference version extraction unit that extracts a reference version from the document history management unit; and a reference version extraction unit that extracts the reference version extracted by the reference version extraction unit based on the first mark area created by the update mark area creation unit. And a mark area updating unit that creates a second mark area representing a difference between the pre-update version 2 and the first pre-update version, and a part indicated by the second mark area created by the mark area updating unit. And a mark area emphasis output section that outputs the reference version by emphasizing the reference version.
【0010】請求項3の発明は、文書を更新する過程で
生成される複数のバージョンと、各バージョンの属性
と、各バージョンにおけるそのバージョンに付けられた
目印である第1のマーク領域とを関係付けて管理する文
書履歴管理部と、前記複数のバージョンのうち使用者に
より指示された検索条件に合致する第1の更新前バージ
ョンと、その第1の更新前バージョンに対応する前記第
1のマーク領域とを、前記文書履歴管理部から抽出する
更新前バージョン検索部と、前記複数のバージョンのう
ち使用者により指示された参照バージョンを前記文書履
歴管理部から抽出する参照バージョン抽出部と、前記更
新前バージョン検索部により抽出された第1のマーク領
域に基づいて、前記参照バージョン抽出部により抽出さ
れた参照バージョンにおける前記第1のマーク領域の箇
所を表す第2のマーク領域を作成するマーク領域更新部
と、このマーク領域更新部により作成された第2のマー
ク領域で示される部分を強調して前記参照バージョンを
出力するマーク領域強調出力部とを備えたことを特徴と
している。According to a third aspect of the present invention, a plurality of versions generated in a process of updating a document, attributes of each version, and a first mark area which is a mark attached to the version in each version are related. A document history management unit to be attached and managed, a first pre-update version that matches a search condition specified by a user among the plurality of versions, and the first mark corresponding to the first pre-update version A pre-update version search unit that extracts an area from the document history management unit; a reference version extraction unit that extracts a reference version specified by a user among the plurality of versions from the document history management unit; The reference version extracted by the reference version extraction unit based on the first mark area extracted by the previous version search unit A mark area updating unit for creating a second mark area representing the location of the first mark area in the first mark area; and a reference mark indicating a portion indicated by the second mark area created by the mark area updating unit. And a mark area emphasis output section that outputs
【0011】[0011]
【作用】請求項1の発明においては、文書を更新する過
程で生成される複数のバージョンのうち、使用者により
指示された検索条件に合致する第1の更新前バージョン
と、使用者により指示された検索条件に合致する1回以
上の更新で第1の更新前バージョンに更新される前のバ
ージョンである第2の更新前バージョンとの相違箇所
を、使用者により指示された参照バージョン中に表す。According to the first aspect of the present invention, of a plurality of versions generated in the process of updating a document, a first pre-update version that matches a search condition specified by a user and a version specified by the user. The difference from the second pre-update version, which is the version before being updated to the first pre-update version by one or more updates that match the search condition, is indicated in the reference version specified by the user. .
【0012】請求項2の発明において、文書履歴管理部
は、文書を更新する過程で生成される複数のバージョン
と、各バージョンの属性とを関係付けて管理する。更新
前バージョン検索部は、複数のバージョンのうち使用者
により指示された検索条件に合致する第1の更新前バー
ジョンと、使用者により指示された検索条件に合致する
1回以上の更新で第1の更新前バージョンに更新される
前のバージョンである第2の更新前バージョンとを、文
書履歴管理部から抽出する。更新マーク領域作成部は、
更新前バージョン検索部により抽出された第1の更新前
バージョンにおける第2の更新前バージョンと第1の更
新前バージョンとの相違箇所を表す第1のマーク領域を
作成する。参照バージョン抽出部は、複数のバージョン
のうち使用者により指示された参照バージョンを文書履
歴管理部から抽出する。マーク領域更新部は、更新マー
ク領域作成部により作成された第1のマーク領域に基づ
いて、参照バージョン抽出部により抽出された参照バー
ジョンにおける第2の更新前バージョンと第1の更新前
バージョンとの相違箇所を表す第2のマーク領域を作成
する。マーク領域強調出力部は、マーク領域更新部によ
り作成された第2のマーク領域で示される部分を強調し
て参照バージョンを出力する。In the invention according to claim 2, the document history management unit manages a plurality of versions generated in the process of updating the document in association with attributes of each version. The pre-update version search unit includes a first pre-update version that matches a search condition specified by a user among a plurality of versions, and a first pre-update version that matches one or more updates that match a search condition specified by a user. A second pre-update version, which is a version before being updated to the pre-update version, is extracted from the document history management unit. The update mark area creation unit,
A first mark area representing a difference between the second pre-update version and the first pre-update version in the first pre-update version extracted by the pre-update version search unit is created. The reference version extraction unit extracts, from the document history management unit, a reference version designated by the user among the plurality of versions. The mark area updating unit is configured to compare a second pre-update version and a first pre-update version in the reference version extracted by the reference version extracting unit based on the first mark area created by the update mark area creating unit. A second mark area representing the difference is created. The mark area emphasizing output section outputs a reference version by emphasizing a portion indicated by the second mark area created by the mark area updating section.
【0013】請求項3の発明において、文書履歴管理部
は、文書を更新する過程で生成される複数のバージョン
と、各バージョンの属性と、各バージョンにおけるその
バージョンに付けられた目印である第1のマーク領域と
を関係付けて管理する。更新前バージョン検索部は、複
数のバージョンのうち使用者により指示された検索条件
に合致する第1の更新前バージョンと、その第1の更新
前バージョンに対応する第1のマーク領域とを、文書履
歴管理部から抽出する。参照バージョン抽出部は、複数
のバージョンのうち使用者により指示された参照バージ
ョンを文書履歴管理部から抽出する。マーク領域更新部
は、更新前バージョン検索部により抽出された第1のマ
ーク領域に基づいて、参照バージョン抽出部により抽出
された参照バージョンにおける第1のマーク領域の箇所
を表す第2のマーク領域を作成する。マーク領域強調出
力部は、マーク領域更新部により作成された第2のマー
ク領域で示される部分を強調して参照バージョンを出力
する。[0013] In the third aspect of the present invention, the document history management unit includes a plurality of versions generated in the process of updating the document, attributes of each version, and a first mark indicating the version. Is managed in association with the mark area. The pre-update version search unit stores a first pre-update version that matches a search condition specified by a user among a plurality of versions, and a first mark area corresponding to the first pre-update version in a document. Extracted from the history management unit. The reference version extraction unit extracts, from the document history management unit, a reference version designated by the user among the plurality of versions. The mark area updating unit is configured to, based on the first mark area extracted by the pre-update version search unit, generate a second mark area representing the location of the first mark area in the reference version extracted by the reference version extracting unit. create. The mark area emphasizing output section outputs a reference version by emphasizing a portion indicated by the second mark area created by the mark area updating section.
【0014】[0014]
【実施例】以下、本発明の実施例を図面を用いて詳細に
説明する。 (実施例1)図1は本発明の実施例1における文書履歴
管理装置の構成図で、この文書履歴管理装置は、検索条
件入力部1と、文書履歴管理部2と、更新前バージョン
検索部3と、参照バージョン抽出部4と、マーク領域更
新装置5とを備えており、マーク領域更新装置5は、更
新マーク領域作成部6と、マーク領域更新部7と、マー
ク領域強調出力部8とを備えている。検索条件入力部1
には、使用者の操作により、文書を識別する文書識別子
(以下簡単のため文書識別子をファイル名とする)と、
ファイル名で識別される文書のバージョンを識別するバ
ージョン識別子(以下簡単のためバージョン識別子をバ
ージョン番号とする)であり、かつ参照したいバージョ
ンを表す参照バージョン番号と、バージョンを検索する
ための更新者名や更新日時や更新目的などからなる更新
前バージョン検索条件とが入力される。文書履歴管理部
2は、ファイル名の文書のバージョンと、バージョン番
号と、更新者名や更新日時や更新目的などからなるバー
ジョンの属性との組を1つ0上管理する。更新前バージ
ョン検索部3は、検索条件入力部1に入力されたファイ
ル名と更新前バージョン検索条件とに基づいて、検索条
件に合致する第1の更新前バージョンと、1回の更新で
第1の更新前バージョンとなる前の第2の更新前バージ
ョンとを文書履歴管理部2から抽出する。参照バージョ
ン抽出部4は、検索条件入力部1に入力されたファイル
名と参照バージョン番号とに基づいて、該当する参照バ
ージョンを文書履歴管理部2から抽出する。更新マーク
領域作成部6は、更新前バージョン検索部3により抽出
された第1の更新前バージョンと第2の更新前バージョ
ンとの相違箇所の第1の更新前バージョンにおける位置
である第1のマーク領域を作成する。マーク領域更新部
7は、更新マーク領域作成部6により作成された第1の
マーク領域が参照バージョン抽出部4により抽出された
参照バージョンの中で占める位置となる第2のマーク領
域を作成する。すなわちマーク領域更新部7は、更新前
バージョン検索部3により抽出された第2の更新前バー
ジョンと第1の更新前バージョンとの相違箇所が参照バ
ージョン抽出部4により抽出された参照バージョン内で
占める位置となる第2のマーク領域を作成する。マーク
領域強調出力部8は、参照バージョン抽出部4により抽
出された参照バージョンの中で、マーク領域更新部7に
より作成された第2のマーク領域の部分を反転や下線や
色付けなどで強調してディスプレイやプリンタやファイ
ルなどに出力する。Embodiments of the present invention will be described below in detail with reference to the drawings. (Embodiment 1) FIG. 1 is a block diagram of a document history management device according to a first embodiment of the present invention. The document history management device includes a search condition input unit 1, a document history management unit 2, and a pre-update version search unit. 3, a reference version extraction unit 4, and a mark area update unit 5. The mark area update unit 5 includes an update mark area creation unit 6, a mark area update unit 7, a mark area enhancement output unit 8, It has. Search condition input section 1
Includes a document identifier for identifying a document (hereinafter, the document identifier is referred to as a file name for simplicity) by a user operation,
A version identifier that identifies the version of the document identified by the file name (hereinafter, the version identifier is referred to as a version number for simplicity), a reference version number indicating the version to be referred to, and an updater name for searching for the version And a pre-update version search condition including an update date and time, an update purpose, and the like. The document history management unit 2 manages one set of a document version having a file name, a version number, and a version attribute including an updater name, an update date, an update purpose, and the like. Based on the file name input to the search condition input unit 1 and the pre-update version search condition, the pre-update version search unit 3 determines the first pre-update version that matches the search condition and the first pre-update version in one update. A second pre-update version before the pre-update version is extracted from the document history management unit 2. The reference version extraction unit 4 extracts a corresponding reference version from the document history management unit 2 based on the file name and the reference version number input to the search condition input unit 1. The update mark area creation unit 6 is a first mark that is a position in the first pre-update version of a difference between the first pre-update version and the second pre-update version extracted by the pre-update version search unit 3. Create an area. The mark area updating unit 7 creates a second mark area where the first mark area created by the update mark area creating unit 6 occupies in the reference version extracted by the reference version extracting unit 4. That is, the mark area update unit 7 occupies a difference between the second pre-update version extracted by the pre-update version search unit 3 and the first pre-update version in the reference version extracted by the reference version extraction unit 4. A second mark area to be a position is created. The mark area emphasis output unit 8 emphasizes the second mark area created by the mark area update unit 7 by inversion, underlining, coloring, or the like in the reference version extracted by the reference version extraction unit 4. Output to a display, printer, file, etc.
【0015】次に上記文書履歴管理装置の動作につい
て、図2のフローチャートを参照しながら説明する。先
ず使用者すなわち文書参照者が、参照したい文書Tのフ
ァイル名“TEXT”と、文書Tの第1の更新前バージ
ョンを検索するための更新前バージョン検索条件“更新
者=鈴木&更新日付>=1992年1月1日”と、第1
の更新前バージョンの更新箇所がどの部分になるかを確
認するためのバージョンである文書Tの参照バージョン
の参照バージョン番号(例えば最新バージョンのバージ
ョン番号“38”)とを検索条件入力部1に入力する
(ステップS1)。次に更新前バージョン検索部3が、
更新前バージョン検索条件に合致した文書Tの第1の更
新前バージョン(バージョン番号“19,20,24,
31,36”)と、1回更新されて第1の更新前バージ
ョンになる前の第2の更新前バージョン(バージョン番
号“18,19,23,30,35”)とを文書履歴管
理部2から抽出する(ステップS2)。次に参照バージ
ョン抽出部4が、ファイル名“TEXT”の参照バージ
ョン番号“38”の参照バージョンを文書履歴管理部2
から抽出する(ステップS3)。次に更新マーク領域作
成部6が、更新前バージョン検索部3により抽出された
第1の更新前バージョンとそれに対応する第2の更新前
バージョンとの組が存在するか否かを判断し(ステップ
S4)、存在すればその組を1つ取り出し、第1の更新
前バージョン(例えばバージョン番号=24)と第2の
更新前バージョン(例えばバージョン番号=23)との
相違箇所が第1の更新前バージョン内で占める位置とな
る第1のマーク領域(“5行目の後ろが削除箇所,10
行目〜19行目が追加箇所”)を作成する(ステップS
5)。なお図3において、左側の網目部と矢印部とが第
1の更新前バージョンにおける変更箇所を示している。
次にマーク領域更新部7が、第1の更新前バージョン
(バージョン番号=24)から参照バージョン(バージ
ョン番号=38)への変更箇所の情報(“3行目後ろに
4行追加,12行目〜14行目を6行の内容に変更”)
をdiffなどの2つのファイルの相違箇所を作成する
コマンドを用いて作成し(ステップS6)、その変更箇
所の情報を用いて、更新マーク領域作成部6により作成
された第1のマーク領域を更新し、第2のマーク領域
(“9行目の後ろが削除箇所,14行目〜15行目が追
加箇所,22行目〜26行目が追加箇所”)を作成する
(ステップS7)。なお図3において、右側の網目部と
矢印部とが参照バージョンにおける第1の更新前バージ
ョンの更新箇所を示している。以上のステップS4から
ステップS7までの動作は、第1の更新前バージョンと
それに対応する第2の更新前バージョンとの組が存在す
る間は1組ずつ繰り返され、組が存在しなくなれば、マ
ーク領域強調出力部8が、文書Tの参照バージョン(バ
ージョン番号=38)を画面表示し、マーク領域更新部
7により作成された全ての第2のマーク領域について、
削除箇所については削除された行間に“→”の印を入
れ、行の追加ならば追加された行の範囲を反転表示して
(ステップS8)、このルーチンを終了する。Next, the operation of the document history management device will be described with reference to the flowchart of FIG. First, the user, that is, the document referrer, wants to refer to the file name “TEXT” of the document T and the pre-update version search condition “updater = Suzuki & update date> ==” to search for the first pre-update version of the document T. January 1, 1992 "
The reference version number of the reference version of the document T (for example, the version number “38” of the latest version), which is the version for confirming the update location of the version before the update, is input to the search condition input unit 1. (Step S1). Next, the pre-update version search unit 3
The first pre-update version of the document T that matches the pre-update version search condition (version numbers “19, 20, 24,
31, 36 ") and the second pre-update version (version number" 18, 19, 23, 30, 35 ") before being updated once to become the first pre-update version. (Step S2) Next, the reference version extraction unit 4 extracts the reference version of the reference version number "38" of the file name "TEXT" from the document history management unit 2.
(Step S3). Next, the update mark area creation unit 6 determines whether or not there is a pair of the first pre-update version extracted by the pre-update version search unit 3 and the corresponding second pre-update version (step). S4) If one exists, take out one of the set, and determine the difference between the first pre-update version (eg, version number = 24) and the second pre-update version (eg, version number = 23) before the first update. The first mark area occupying the position within the version (“the deleted part after the fifth line, 10
Lines to 19 are added (“S”) (step S)
5). Note that, in FIG. 3, a mesh portion and an arrow portion on the left side indicate changed portions in the first pre-update version.
Next, the mark area updating unit 7 outputs information on the location of the change from the first pre-update version (version number = 24) to the reference version (version number = 38) (“4 lines added after the 3rd line, 12th line Change the 14th line to 6 lines ")
Is created using a command for creating a difference between two files such as diff (step S6), and the first mark area created by the update mark area creating unit 6 is updated using the information on the changed location. Then, a second mark area ("the deleted portion after the ninth line, the added portion from the 14th to 15th lines, and the added portion from the 22nd to 26th lines") is created (step S7). In FIG. 3, the mesh on the right side and the arrow indicate the update location of the first pre-update version in the reference version. The above operations from step S4 to step S7 are repeated one by one as long as a pair of the first pre-update version and the corresponding second pre-update version exists. The region emphasis output unit 8 displays the reference version (version number = 38) of the document T on the screen, and for all the second mark regions created by the mark region update unit 7,
For the deleted portion, a mark "→" is inserted between the deleted lines, and if a line is added, the range of the added line is highlighted (step S8), and this routine ends.
【0016】このように、文書に対して任意回数の更新
が行われても、任意回目の更新箇所がそれ以降の任意の
バージョンにおいて占める位置情報である第2のマーク
領域を作成することができるので、容易に他者による更
新位置を確認することができることから、他者の更新を
踏まえて自分の文書作成を行うことができる。また、最
新のバージョンにおける文書の共著者ごとの更新箇所を
調べることにより、共著者ごとの著作範囲や著作量を確
認することができる。As described above, even if the document is updated an arbitrary number of times, the second mark area, which is the positional information that the updated portion occupies in an arbitrary version thereafter, can be created. Therefore, since the update position by another person can be easily confirmed, the user can create his / her own document based on the update of the other person. Also, by examining the updated portion of the document for each co-author in the latest version, it is possible to confirm the scope and amount of work for each co-author.
【0017】また、更新前バージョン検索条件により参
照者が未参照のバージョンを抽出することにより、参照
者が前回文書を参照したとき以降に更新された部分を容
易に見分けることができる。また、文書履歴管理部2に
持たせたバージョンの更新者名や更新時のコメントなど
のバージョンの属性を第2のマーク領域に持たせること
により、更新者ごとに強調の形式や色を変えるなどし
て、更新箇所の更新者の特定を容易にしたり、更新意図
を他者に知らせることができ、共同編集作業に役立てる
ことができる。[0017] In addition, by extracting a version that has not been referred by the referrer according to the pre-update version search condition, it is possible to easily identify a portion that has been updated since the referrer referred to the document last time. Also, by giving the attribute of the version, such as the name of the person who updated the version stored in the document history management unit 2 and the comment at the time of updating, to the second mark area, the format and color of emphasis can be changed for each updater. As a result, the updater of the update location can be easily specified, or the update intention can be notified to another person, which can be used for collaborative editing work.
【0018】なお文書履歴管理部2は、VMSのように
ファイル名にバージョン番号を付けて(TEXT:1,
TEXT:2,…,TEXT:38)管理しても、SC
CSのように初期バージョンと各バージョンとの間の差
分で管理しても、RCSのように最新バージョンと各バ
ージョンとの間の差分で管理してもよい。また上記実施
例1では、更新位置の単位を行単位にしたが、行単位で
2つのファイルの相違箇所を指摘するdiffの代わり
に、文字単位やパラグラフ単位で2つのファイルの相違
箇所を指摘するプログラムを用いて、文字単位やパラグ
ラフ単位で更新箇所の指摘を行ってもよい。The document history management unit 2 attaches a version number to a file name like VMS (TEXT: 1,
TEXT: 2, TEXT: 38) Even if managed, SC
It may be managed by the difference between the initial version and each version like CS, or may be managed by the difference between the latest version and each version like RCS. In the first embodiment, the update position is set in units of lines. However, instead of diff that points out differences between two files in units of lines, differences in two files are pointed out in units of characters or paragraphs. A program may be used to indicate the update location in character units or paragraph units.
【0019】また上記実施例1では、第2の更新前バー
ジョンが、1回の更新で第1の更新前バージョンに更新
される前のバージョンである例について説明したが、第
2の更新前バージョンは、使用者により指示された検索
条件に合致する2回以上の更新で第1の更新前バージョ
ンに更新される前のバージョンであってもよい。 (実施例2)図4は本発明の実施例2における文書履歴
管理装置の構成図で、この文書履歴管理装置は、検索条
件入力部11と、文書履歴管理部12と、更新前バージ
ョン検索部13と、参照バージョン抽出部14と、マー
ク領域更新装置15とを備えており、マーク領域更新装
置15は、マーク領域更新部17と、マーク領域強調出
力部18とを備えている。検索条件入力部11には、使
用者の操作により、文書を識別する文書識別子(以下簡
単のため文書識別子をファイル名とする)と、ファイル
名で識別される文書のバージョンを識別するバージョン
識別子(以下簡単のためバージョン識別子をバージョン
番号とする)であり、かつ参照したいバージョンを表す
参照バージョン番号と、バージョンを検索するための更
新者名や更新日時や更新目的などからなる更新前バージ
ョン検索条件とが入力される。文書履歴管理部12は、
ファイル名の文書を更新する過程で得られるバージョン
と、バージョン番号と、バージョンに付けられた第1の
マーク領域や更新者名や更新日時や更新目的などからな
るバージョンの属性との組を複数管理する。更新前バー
ジョン検索部13は、検索条件入力部11に入力された
ファイル名と更新前バージョン検索条件とに基づいて、
検索条件に合致する第1の更新前バージョンと、バージ
ョンの属性に含まれる第1のマーク領域とを文書履歴管
理部2から抽出する。参照バージョン抽出部14は、検
索条件入力部11に入力されたファイル名と参照バージ
ョン番号とに基づいて、該当する参照バージョンを文書
履歴管理部12から抽出する。マーク領域更新部17
は、更新前バージョン検索部13により検索された第1
の更新前バージョンの第1のマーク領域が参照バージョ
ン抽出部14により抽出された参照バージョン内で占め
る位置となる第2のマーク領域を作成する。マーク領域
強調出力部18は、参照バージョン抽出部14により抽
出された参照バージョンの中で、マーク領域更新部17
により作成された第2のマーク領域の部分を反転や下線
や色付けなどで強調してディスプレイやプリンタやファ
イルなどに出力する。Further, in the first embodiment, an example has been described in which the second pre-update version is a version before being updated to the first pre-update version by one update. May be a version before being updated to the first pre-update version by two or more updates that match the search condition specified by the user. (Embodiment 2) FIG. 4 is a block diagram of a document history management device according to a second embodiment of the present invention. This document history management device includes a search condition input unit 11, a document history management unit 12, and a pre-update version search unit. 13, a reference version extraction unit 14, and a mark area update unit 15. The mark area update unit 15 includes a mark area update unit 17 and a mark area enhancement output unit 18. The search condition input unit 11 includes a document identifier for identifying a document (hereinafter, the document identifier is referred to as a file name for simplicity) and a version identifier (for the sake of simplicity) identifying a version of the document identified by the file name. In the following, the version identifier is referred to as a version number for simplicity), and a reference version number indicating a version to be referred to, and a pre-update version search condition including an updater name for searching the version, an update date and time, and an update purpose. Is entered. The document history management unit 12
A plurality of pairs of a version obtained in the process of updating the document with the file name, a version number, and a version attribute including a first mark area assigned to the version, an updater name, an update date, an update purpose, and the like are managed. I do. The pre-update version search unit 13 is configured to perform a search based on the file name input to the search condition input unit 11 and the pre-update version search condition.
A first pre-update version that matches the search condition and a first mark area included in the version attribute are extracted from the document history management unit 2. The reference version extraction unit 14 extracts a corresponding reference version from the document history management unit 12 based on the file name and the reference version number input to the search condition input unit 11. Mark area updating unit 17
Is the first version searched by the pre-update version search unit 13.
A second mark area is created in which the first mark area of the pre-update version is occupied in the reference version extracted by the reference version extraction unit 14. The mark area emphasis output section 18 outputs the mark area update section 17 in the reference version extracted by the reference version extraction section 14.
Is emphasized by inversion, underlining, coloring, or the like, and output to a display, a printer, a file, or the like.
【0020】上記文書履歴管理装置の動作について、図
5のフローチャートを参照しながら説明する。先ず使用
者すなわち文書参照者が、参照したい文書Tのファイル
名“TEXT”と、文書Tの第1の更新前バージョンを
検索するための更新前バージョン検索条件“更新者=鈴
木&更新日付>=1992年1月1日”と、第1の更新
前バージョンのマーク領域がどの部分になるかを確認す
るためのバージョンである文書Tの参照バージョンの参
照バージョン番号(例えば最新バージョンのバージョン
番号“38”)とを検索条件入力部11に入力する(ス
テップS11)。次に更新前バージョン検索部13が、
更新前バージョン検索条件に合致した文書Tの第1の更
新前バージョン(バージョン番号“19,20,24,
31,36”)と、これら各バージョンに対応する第1
のマーク領域とを文書履歴管理部12から抽出する(ス
テップS12)。次に参照バージョン抽出部14が、フ
ァイル名“TEXT”の参照バージョン番号“38”の
参照バージョンを文書履歴管理部12から抽出する(ス
テップS13)。さらに更新前バージョン検索部13
が、ステップS12で検索した第1の更新前バージョン
とそれに対応する第1のマーク領域との組が存在するか
否かを判断し(ステップS14)、存在すればその組を
1つ取り出し、第1の更新前バージョン(バージョン番
号=24)から参照バージョン(バージョン番号=3
8)への変更箇所の情報(“3行目後ろに4行追加,1
2行目〜14行目を6行の内容に変更”)をdiffな
どの2つのファイルの相違箇所を作成するコマンドを用
いて作成する(ステップS15)。さらにマーク領域更
新部17が、ステップS15で作成した変更箇所の情報
を用いて第1のマーク領域(“5行目〜7行目,10行
目〜19行目が追加箇所”)を更新し、第2のマーク領
域(“9行目〜11行目,14行目〜15行目,22行
目〜26行目”)を作成する(ステップS16)。以上
のステップS14からステップS16までの動作は、第
1の更新前バージョンとそれに対応する第1のマーク領
域との組が存在する間は1組ずつ繰り返され、組が存在
しなくなれば、マーク領域強調出力部8が、文書Tの参
照バージョン(バージョン番号=38)を画面表示し、
マーク領域更新部7により作成された全ての第2のマー
ク領域について、指定された行の範囲を反転表示して
(ステップS17)、このルーチンを終了する。The operation of the document history management device will be described with reference to the flowchart of FIG. First, the user, that is, the document referrer, wants to refer to the file name “TEXT” of the document T and the pre-update version search condition “updater = Suzuki & update date> ==” to search for the first pre-update version of the document T. January 1, 1992 "and the reference version number of the reference version of the document T, which is the version for confirming the mark area of the first pre-update version (for example, the version number" 38 of the latest version "). ") Is input to the search condition input unit 11 (step S11). Next, the pre-update version search unit 13
The first pre-update version of the document T that matches the pre-update version search condition (version numbers “19, 20, 24,
31, 36 ") and the first corresponding to these versions
Are extracted from the document history management unit 12 (step S12). Next, the reference version extraction unit 14 extracts the reference version of the reference version number “38” of the file name “TEXT” from the document history management unit 12 (Step S13). Furthermore, the version search unit 13 before updating
Determines whether there is a pair of the first pre-update version searched in step S12 and the corresponding first mark area (step S14), and if so, retrieves one of the pair, From the pre-update version (version number = 24) to the reference version (version number = 3)
8) Information of the changed part (“4 lines added after the 3rd line, 1
Change the second to fourteenth lines to the contents of six lines ") using a command, such as diff, for creating a difference between the two files (step S15). Further, the mark area updating unit 17 performs step S15. The first mark area ("the fifth to seventh lines and the tenth to nineteenth lines are additional parts") is updated using the information of the changed part created in step (2), and the second mark area ("line 9 to line 9") is updated. (Steps S16 to S16). The operations from step S14 to step S16 are the same as those of the first pre-update version. While the corresponding pair with the first mark area exists, the set is repeated one by one. When the pair no longer exists, the mark area emphasis output unit 8 displays the reference version (version number = 38) of the document T on the screen. Display,
With respect to all the second mark areas created by the mark area updating unit 7, the designated line range is highlighted (step S17), and this routine ends.
【0021】このように、更新者が特に重要だと思う更
新位置をマーク領域で指定しておくことにより、ただの
更新位置だけでなく特別な更新箇所を指摘することがで
きる。As described above, by specifying the update position that the updater considers particularly important in the mark area, not only the update position but also a special update position can be pointed out.
【0022】[0022]
【発明の効果】以上説明したように本発明によれば、文
書を更新する過程で生成される複数のバージョンのう
ち、使用者により指示された検索条件に合致する第1の
更新前バージョンと、使用者により指示された検索条件
に合致する1回以上の更新で前記第1の更新前バージョ
ンに更新される前のバージョンである第2の更新前バー
ジョンとの相違箇所を、使用者により指示された参照バ
ージョン中に表す構成としたので、任意回の更新による
相違箇所がそれ以降の任意回の更新を行ったバージョン
内で占める位置を指示できる。すなわち、過去のバージ
ョンの更新箇所がその後の任意のバージョンの中でどの
位置になるかを強調して文書の参照者に示すことが可能
となり、文書の更新位置を確認する手間を省くことがで
きる。また、任意のバージョンにマーク領域として目印
を入れておくことにより、その後任意回数の更新が行わ
れても、目印を追跡することができる。また、様々な条
件に合った更新箇所や目印を参照することにより、共同
で膨大な量の文書を作成し推稿する際にも、他者や自分
の変更箇所や目印を踏まえて自分の文書作成の参考にす
ることができる。As described above, according to the present invention, of a plurality of versions generated in the process of updating a document, a first pre-update version that matches a search condition specified by a user; The user specifies the difference from the second pre-update version, which is the version before being updated to the first pre-update version by one or more updates that match the search condition specified by the user. Since the configuration is expressed in the reference version, the difference occupied by the arbitrary number of updates can be designated as the position occupied in the version after the arbitrary number of subsequent updates. In other words, it is possible to emphasize the position of the update location of the past version in any subsequent version and indicate it to the document reference person, and it is possible to save the trouble of confirming the update position of the document. . In addition, by placing a mark as a mark area in an arbitrary version, the mark can be tracked even if updating is performed an arbitrary number of times thereafter. In addition, by referring to updated parts and landmarks that meet various conditions, even when creating and drafting a huge amount of documents jointly, it is possible to make your own document based on others and your changed parts and landmarks. It can be a reference for creation.
【図1】本発明の実施例1における文書履歴管理装置の
構成図である。FIG. 1 is a configuration diagram of a document history management device according to a first embodiment of the present invention.
【図2】本発明の実施例1における文書履歴管理装置の
動作を説明するフローチャートである。FIG. 2 is a flowchart illustrating an operation of the document history management device according to the first embodiment of the present invention.
【図3】本発明の実施例1における文書履歴管理装置の
出力状態の説明図である。FIG. 3 is an explanatory diagram of an output state of the document history management device according to the first embodiment of the present invention.
【図4】本発明の実施例2における文書履歴管理装置の
構成図である。FIG. 4 is a configuration diagram of a document history management device according to a second embodiment of the present invention.
【図5】本発明の実施例2における文書履歴管理装置の
動作を説明するフローチャートである。FIG. 5 is a flowchart illustrating an operation of the document history management device according to the second embodiment of the present invention.
【図6】従来の文書履歴管理装置の構成図である。FIG. 6 is a configuration diagram of a conventional document history management device.
2 文書履歴管理部 3 更新前バージョン検索部 4 参照バージョン抽出部 5 マーク領域更新装置 6 更新マーク領域作成部 7 マーク領域更新部 8 マーク領域強調出力部 12 文書履歴管理部 13 更新前バージョン検索部 14 参照バージョン抽出部 15 マーク領域更新装置 17 マーク領域更新部 18 マーク領域強調出力部 2 Document history management unit 3 Pre-update version search unit 4 Reference version extraction unit 5 Mark area update unit 6 Update mark area creation unit 7 Mark area update unit 8 Mark area highlight output unit 12 Document history management unit 13 Pre-update version search unit 14 Reference version extraction unit 15 Mark area update unit 17 Mark area update unit 18 Mark area enhancement output unit
Claims (3)
バージョンのうち、使用者により指示された検索条件に
合致する第1の更新前バージョンと、使用者により指示
された検索条件に合致する1回以上の更新で前記第1の
更新前バージョンに更新される前のバージョンである第
2の更新前バージョンとの相違箇所を、使用者により指
示された参照バージョン中に表す構成としたことを特徴
とする文書履歴管理装置。1. A first pre-update version that matches a search condition specified by a user among a plurality of versions generated in a process of updating a document and a search condition specified by a user A configuration in which a difference from a second pre-update version, which is a version before being updated to the first pre-update version by one or more updates, is represented in a reference version specified by a user. Characteristic document history management device.
バージョンと、各バージョンの属性とを関係付けて管理
する文書履歴管理部と、 前記複数のバージョンのうち使用者により指示された検
索条件に合致する第1の更新前バージョンと、使用者に
より指示された検索条件に合致する1回以上の更新で前
記第1の更新前バージョンに更新される前のバージョン
である第2の更新前バージョンとを、前記文書履歴管理
部から抽出する更新前バージョン検索部と、 前記更新前バージョン検索部により抽出された第1の更
新前バージョンにおける前記第2の更新前バージョンと
第1の更新前バージョンとの相違箇所を表す第1のマー
ク領域を作成する更新マーク領域作成部と、 前記複数のバージョンのうち使用者により指示された参
照バージョンを前記文書履歴管理部から抽出する参照バ
ージョン抽出部と、 前記更新マーク領域作成部により作成された第1のマー
ク領域に基づいて、前記参照バージョン抽出部により抽
出された参照バージョンにおける前記第2の更新前バー
ジョンと第1の更新前バージョンとの相違箇所を表す第
2のマーク領域を作成するマーク領域更新部と、 前記マーク領域更新部により作成された第2のマーク領
域で示される部分を強調して前記参照バージョンを出力
するマーク領域強調出力部とを備えたことを特徴とする
文書履歴管理装置。2. A document history management unit for managing a plurality of versions generated in a process of updating a document in association with attributes of each version, and a search condition designated by a user among the plurality of versions. And a second pre-update version that is a version before being updated to the first pre-update version by one or more updates that match a search condition specified by the user. And a second pre-update version and a first pre-update version in the first pre-update version extracted by the pre-update version search section. An update mark area creating unit that creates a first mark area representing a difference between the reference version and a reference version designated by a user among the plurality of versions. A reference version extraction unit that extracts from the document history management unit; and a second update in the reference version extracted by the reference version extraction unit based on the first mark area created by the update mark area creation unit A mark area updating unit that creates a second mark area representing a difference between the previous version and the first pre-update version; and a part indicated by the second mark area created by the mark area updating unit. And a mark area emphasis output section for outputting the reference version.
バージョンと、各バージョンの属性と、各バージョンに
おけるそのバージョンに付けられた目印である第1のマ
ーク領域とを関係付けて管理する文書履歴管理部と、 前記複数のバージョンのうち使用者により指示された検
索条件に合致する第1の更新前バージョンと、その第1
の更新前バージョンに対応する前記第1のマーク領域と
を前記文書履歴管理部から抽出する更新前バージョン検
索部と、 前記複数のバージョンのうち使用者により指示された参
照バージョンを前記文書履歴管理部から抽出する参照バ
ージョン抽出部と、 前記更新前バージョン検索部により抽出された第1のマ
ーク領域に基づいて、前記参照バージョン抽出部により
抽出された参照バージョンにおける前記第1のマーク領
域の箇所を表す第2のマーク領域を作成するマーク領域
更新部と、 前記マーク領域更新部により作成された第2のマーク領
域で示される部分を強調して前記参照バージョンを出力
するマーク領域強調出力部とを備えたことを特徴とする
文書履歴管理装置。3. A document which manages a plurality of versions generated in a process of updating a document by associating a plurality of versions, attributes of each version, and a first mark area which is a mark attached to the version in each version. A history management unit; a first pre-update version that matches a search condition specified by a user among the plurality of versions;
A pre-update version search unit that extracts the first mark area corresponding to the pre-update version of the document from the document history management unit; and a reference version designated by a user among the plurality of versions to the document history management unit. A reference version extracting unit that extracts the first mark area from the reference version extracted by the reference version extracting unit based on the first mark area extracted by the pre-update version searching unit. A mark area updating section for creating a second mark area; and a mark area highlighting output section for enhancing the portion indicated by the second mark area created by the mark area updating section and outputting the reference version. A document history management device.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4106455A JP2995718B2 (en) | 1992-04-24 | 1992-04-24 | Document history management device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4106455A JP2995718B2 (en) | 1992-04-24 | 1992-04-24 | Document history management device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH05298313A JPH05298313A (en) | 1993-11-12 |
| JP2995718B2 true JP2995718B2 (en) | 1999-12-27 |
Family
ID=14434071
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP4106455A Expired - Fee Related JP2995718B2 (en) | 1992-04-24 | 1992-04-24 | Document history management device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2995718B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP3588507B2 (en) * | 1995-07-31 | 2004-11-10 | 株式会社東芝 | Information filtering device |
| JP5361266B2 (en) * | 2008-07-11 | 2013-12-04 | キヤノン株式会社 | Document management apparatus, system, and document management method |
-
1992
- 1992-04-24 JP JP4106455A patent/JP2995718B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPH05298313A (en) | 1993-11-12 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2986845B2 (en) | Document management method | |
| JP2001344276A (en) | Document search method and apparatus, and recording medium on which processing program is recorded | |
| JPS62194532A (en) | Processing target instruction pattern display device | |
| AU2005225130A1 (en) | Management and use of data in a computer-generated document | |
| JPH1097541A (en) | Document browsing support system and document processing system | |
| JP2995718B2 (en) | Document history management device | |
| JP2000076228A (en) | Automatic correction of document format | |
| JPS6378228A (en) | information retrieval device | |
| JP3166996B2 (en) | Comment giving method and document processing device | |
| JPH06243172A (en) | Electronic filing device | |
| JP2000081999A (en) | Document output system | |
| JP3225735B2 (en) | Information retrieval device | |
| JPH05307472A (en) | Program parts information reusing device | |
| JPH03105557A (en) | Method for adding information to document | |
| JP3444620B2 (en) | Filing system equipment | |
| JP2828078B2 (en) | Form creation support system | |
| JP3166995B2 (en) | Comment giving method and document processing device | |
| JP2002108875A (en) | Electronic manual unit and electronic manual change method | |
| JPH11272666A (en) | Document editing system, method, and recording medium | |
| JPH0237466A (en) | information processing system | |
| JP4109439B2 (en) | Processing device, recording medium, and program | |
| JP2861454B2 (en) | Text data display method | |
| JP2888458B2 (en) | File storage device | |
| JPH10207674A (en) | Device for supporting computer application operation | |
| JPH04158469A (en) | Document preparing device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| LAPS | Cancellation because of no payment of annual fees |