JP5407209B2 - Document management apparatus, document management program, and document management system - Google Patents

Document management apparatus, document management program, and document management system Download PDF

Info

Publication number
JP5407209B2
JP5407209B2 JP2008193246A JP2008193246A JP5407209B2 JP 5407209 B2 JP5407209 B2 JP 5407209B2 JP 2008193246 A JP2008193246 A JP 2008193246A JP 2008193246 A JP2008193246 A JP 2008193246A JP 5407209 B2 JP5407209 B2 JP 5407209B2
Authority
JP
Japan
Prior art keywords
document
information
registration
management
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2008193246A
Other languages
Japanese (ja)
Other versions
JP2010033227A (en
Inventor
節 國武
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Fujifilm Business Innovation Corp
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, Fujifilm Business Innovation Corp filed Critical Fuji Xerox Co Ltd
Priority to JP2008193246A priority Critical patent/JP5407209B2/en
Publication of JP2010033227A publication Critical patent/JP2010033227A/en
Application granted granted Critical
Publication of JP5407209B2 publication Critical patent/JP5407209B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Document Processing Apparatus (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Description

本発明は、文書管理装置、文書管理プログラム、及び文書管理システムに関する。   The present invention relates to a document management apparatus, a document management program, and a document management system.

電子文書に対して、その内容に関するコメントなどの付加情報を複数の利用者が付与する場合がある。例えば、複数の異なるユーザが共同で1つの文書を編集する場合、編集に携わる各ユーザがその文書に対して自己の編集部分に関するコメントなどを付加情報としてその文書に付与することが考えられる。電子文書に対して付与された付加情報は、例えば、その電子文書の改訂版の作成に用いられる。   There are cases where a plurality of users give additional information such as comments about the contents of an electronic document. For example, when a plurality of different users edit a document together, it is conceivable that each user who is involved in editing gives a comment or the like regarding his / her editing portion to the document as additional information. The additional information given to the electronic document is used to create a revised version of the electronic document, for example.

サーバに電子文書を登録するとともに、登録された文書に付与された付加情報をその文書と対応づけて管理するシステムが開発されている。例えば、特許文献1には、登録された文書の任意の領域に付された付加データを、その文書及びその付加データの作成者の情報と対応づけて管理する文書管理システムが開示されている。この文書管理システムのデータベースサーバは、クライアントコンピュータを用いたユーザからの要求に応じて、文書の参照、付加データの参照、登録、削除などの処理を行う。文書中の1つの領域に複数の付加データが登録されている場合に付加データの参照要求が行われると、登録された各付加データとその作成者とが対応づけられて一覧表示される。   A system for registering an electronic document in a server and managing additional information given to the registered document in association with the document has been developed. For example, Patent Document 1 discloses a document management system that manages additional data attached to an arbitrary area of a registered document in association with the information of the document and the creator of the additional data. The database server of this document management system performs processing such as document reference, additional data reference, registration, and deletion in response to a request from a user using a client computer. If a reference request for additional data is made when a plurality of additional data is registered in one area of the document, each registered additional data and its creator are displayed in a list in association with each other.

また例えば、特許文献2には、複数のユーザによって回覧される文書とその文書に付加された付加情報とを管理する文書管理装置であって、予め設定された回覧者のグループごとに文書の付加情報を管理する文書管理装置が開示されている。   Further, for example, Patent Document 2 discloses a document management apparatus that manages a document circulated by a plurality of users and additional information added to the document, and adds a document to each preset group of circulators. A document management apparatus for managing information is disclosed.

一方、文書に対する操作の履歴を表す情報を記録しておき、その操作履歴に関する情報を提供するシステムがある。例えば、特許文献3に記載のシステムでは、操作ID(識別子)が付与された文書に対してユーザが操作を行なうと、その操作結果の文書に対して新たな操作IDが付与され、操作前の文書の操作IDを親とし、操作結果の文書に付与された新たな操作IDを子とする派生関係が記録される。さらに、この派生関係と対応づけて、文書に対して行なわれた操作に関する属性情報が記録される。また、特許文献3に記載のシステムは、操作IDを指定した文書の閲覧要求をユーザから受けると、指定された操作IDを起点に派生関係を辿って得られる操作IDの文書の情報をユーザに提供する。   On the other hand, there is a system that records information representing an operation history for a document and provides information related to the operation history. For example, in the system described in Patent Document 3, when a user performs an operation on a document to which an operation ID (identifier) is assigned, a new operation ID is assigned to the document as the operation result. A derivation relationship in which the operation ID of the document is a parent and a new operation ID assigned to the operation result document is a child is recorded. Further, attribute information relating to the operation performed on the document is recorded in association with the derivation relationship. In addition, when the system described in Patent Document 3 receives a request to browse a document with an operation ID specified, the information about the document with the operation ID obtained by tracing the derivation relationship starting from the specified operation ID is sent to the user. provide.

特開2001−175650号公報JP 2001-175650 A 特開2007−58622号公報JP 2007-58622 A 特開2008−3846号公報JP 2008-3846 A

ところで、サーバに登録された電子文書をユーザが自己のクライアント端末にダウンロードし、当該クライアント端末に対して電子文書に対して編集を加えたり、付加情報を付与したりする場合がある。この場合、ユーザは、編集や付加情報の付与などを行った後の電子文書をサーバに登録する(アップロード)。各ユーザが自己のクライアント端末で電子文書の編集などを行なう場合、例えば、改訂版の電子文書がサーバに登録された後に、旧バージョンの電子文書(改訂前の電子文書)に対して編集やコメントの付加などが行われることがあり得る。このような旧バージョンの電子文書に対して行われる編集などの内容は、改訂版の電子文書をさらに改訂する際に考慮すべき内容である場合がある。   By the way, the user may download the electronic document registered in the server to his / her client terminal, and may edit the electronic document or give additional information to the client terminal. In this case, the user registers (uploads) the electronic document after editing, addition of additional information, and the like. When each user edits an electronic document on his / her client terminal, for example, after the revised electronic document is registered in the server, the old version of the electronic document (the electronic document before the revision) is edited or commented May be added. The contents such as editing performed on the old version of the electronic document may be contents to be considered when the revised version of the electronic document is further revised.

本発明は、電子文書の改訂版が登録された後に旧バージョンの電子文書に対して行なわれる操作に関する情報の検索を容易にすることを目的とする。   An object of the present invention is to facilitate retrieval of information related to operations performed on an old version of an electronic document after a revised version of the electronic document is registered.

請求項1に係る発明は、第1の文書を親とし前記第1の文書に対する操作の結果である第2の文書を子とする派生関係の情報を情報処理装置から受け取って記憶部に登録する登録部であって、さらに、前記第1の文書に対する操作の種類及び時刻を前記情報処理装置から受け取って、当該操作の種類及び時刻を前記第2の文書に対応づけて前記記憶部に登録する登録部と、前記記憶部に登録された派生関係群が表す木構造であって前記登録部が前記情報処理装置から受け取った派生関係の情報における前記第1の文書が属する木構造において、当該第1の文書が、当該木構造に含まれる文書のうち最新の改訂操作に対応づけられた文書である最新版文書に対して先祖に該当するか否かの判定を行う判定部と、前記判定部において前記第1の文書が前記最新版文書に対して前記木構造における先祖に該当すると判定された場合に、前記第1の文書に対する操作に関する情報を前記木構造における前記最新版文書に関連付けるための処理を行う処理部と、を備え、前記処理部は、前記判定部において前記第1の文書が前記最新版文書に対して前記木構造における先祖に該当すると判定された場合であって前記登録部が前記情報処理装置から前記派生関係の情報とともに受け取った前記操作の種類が応答操作に該当する場合に、前記関連付けるための処理を行う、ことを特徴とする文書管理装置である。 According to the first aspect of the present invention, information on a derivation relationship having the first document as a parent and the second document as a child as a result of the operation on the first document is received from the information processing apparatus and registered in the storage unit. A registration unit that further receives an operation type and time for the first document from the information processing apparatus, and registers the operation type and time in association with the second document in the storage unit; In a tree structure represented by a registration unit and a derivation relationship group registered in the storage unit, to which the first document in the derivation relationship information received by the registration unit from the information processing apparatus belongs, A determination unit that determines whether one document corresponds to an ancestor of the latest document that is a document associated with the latest revision operation among documents included in the tree structure; and the determination unit Said first sentence in A processing unit that performs processing for associating information related to the operation on the first document with the latest document in the tree structure when it is determined that the document corresponds to an ancestor in the tree structure with respect to the latest document. , And the processing unit determines that the determination unit determines that the first document corresponds to an ancestor in the tree structure with respect to the latest version document, and the registration unit receives from the information processing apparatus. In the document management apparatus, the association processing is performed when the type of operation received together with the derivation relationship information corresponds to a response operation .

請求項に係る発明は、請求項に係る発明において、前記関連付けるための処理は、前記登録部が前記情報処理装置から前記派生関係の情報とともに受け取った操作の種類の操作を前記最新版文書に対して行うことを利用者に促す情報を前記情報処理装置に対して出力する処理である。 The invention according to claim 2 is the invention according to claim 1 , wherein the processing for associating includes the operation of the type of operation received by the registration unit together with the information of the derivation relationship from the information processing apparatus. Is a process of outputting information prompting the user to perform to the information processing apparatus.

請求項に係る発明は、請求項に係る発明において、前記関連付けるための処理は、前記受け取った派生関係の情報における前記第2の文書が前記最新版文書の子であることを示す派生関係の情報を前記記憶部に登録する処理である。 According to a third aspect of the present invention, in the first aspect of the invention, the associating process is a derivation relationship indicating that the second document in the received derivation relationship information is a child of the latest document. Is registered in the storage unit.

請求項に係る発明は、請求項に係る発明において、前記関連付けるための処理は、前記受け取った派生関係の情報における前記第2の文書への参照情報を生成して前記記憶部に登録するとともに、前記最新版文書を親とし当該参照情報を子とする派生関係の情報を前記記憶部に登録する処理である。 According to a fourth aspect of the present invention, in the first aspect of the invention, the associating process generates reference information for the second document in the received derivation relation information and registers the reference information in the storage unit. In addition, it is a process of registering in the storage unit derivation relationship information having the latest document as a parent and the reference information as a child.

請求項に係る発明は、第1の文書を親とし前記第1の文書に対する操作の結果である第2の文書を子とする派生関係の情報を情報処理装置から受け取って記憶部に登録する登録ステップであって、さらに、前記第1の文書に対する操作の種類及び時刻を前記情報処理装置から受け取って、当該操作の種類及び時刻を前記第2の文書に対応づけて前記記憶部に登録する登録ステップと、前記記憶部に登録された派生関係群が表す木構造であって前記登録部が前記情報処理装置から受け取った派生関係の情報における前記第1の文書が属する木構造において、当該第1の文書が、当該木構造に含まれる文書のうち最新の改訂操作に対応づけられた文書である最新版文書に対して先祖に該当するか否かの判定を行う判定ステップと、前記判定ステップにおいて前記第1の文書が前記最新版文書に対して前記木構造における先祖に該当すると判定された場合に、前記第1の文書に対する操作に関する情報を前記木構造における前記最新版文書に関連付けるための処理を行う処理ステップと、をコンピュータに実行させ、前記処理ステップは、前記判定ステップにおいて前記第1の文書が前記最新版文書に対して前記木構造における先祖に該当すると判定された場合であって前記登録ステップにおいて前記情報処理装置から前記派生関係の情報とともに受け取った前記操作の種類が応答操作に該当する場合に、前記関連付けるための処理を行う、ことを特徴とする文書管理プログラムである。 The invention according to claim 5 receives information of a derivation relationship having the first document as a parent and the second document as a child as a result of the operation on the first document from the information processing apparatus, and registers the information in the storage unit. In the registration step, the operation type and time for the first document are received from the information processing apparatus, and the operation type and time are associated with the second document and registered in the storage unit. In the registration step and the tree structure represented by the derivation relation group registered in the storage unit, the tree part to which the first document in the derivation relation information received by the registration unit from the information processing apparatus belongs, 1 of the document, and the determination step to determine whether or not to correspond to the ancestral respect latest document is a document associated with the latest revision operation of the document included in the tree structure, the determination stearate If the first document determines that the first document corresponds to an ancestor in the tree structure with respect to the latest document, the information related to the operation on the first document is associated with the latest document in the tree structure. And the processing step is a case where it is determined in the determination step that the first document corresponds to an ancestor in the tree structure with respect to the latest version document. In the registration step, when the type of operation received together with the derivation relationship information from the information processing apparatus corresponds to a response operation, the association management process is performed .

請求項に係る発明は、情報処理装置と文書管理装置とを備え、前記情報処理装置は、第1の文書を親とし前記第1の文書に対する操作の結果である第2の文書を子とする派生関係の情報と、前記第1の文書に対する操作の種類及び時刻と、を前記文書管理装置に対して送信する送信部、を備え、前記文書管理装置は、前記情報処理装置から前記派生関係の情報を受け取って記憶部に登録する登録部であって、さらに、前記第1の文書に対する操作の種類及び時刻を前記情報処理装置から受け取って、当該操作の種類及び時刻を前記第2の文書に対応づけて前記記憶部に登録する登録部と、前記記憶部に登録された派生関係群が表す木構造であって前記登録部が前記情報処理装置から受け取った派生関係の情報における前記第1の文書が属する木構造において、当該第1の文書が、当該木構造に含まれる文書のうち最新の改訂操作に対応づけられた文書である最新版文書に対して先祖に該当するか否かの判定を行う判定部と、前記判定部において前記第1の文書が前記最新版文書に対して前記木構造における先祖に該当すると判定された場合に、前記第1の文書に対する操作に関する情報を前記木構造における前記最新版文書に関連付けるための処理を行う処理部と、を備え、前記処理部は、前記判定部において前記第1の文書が前記最新版文書に対して前記木構造における先祖に該当すると判定された場合であって前記登録部が前記情報処理装置から前記派生関係の情報とともに受け取った前記操作の種類が応答操作に該当する場合に、前記関連付けるための処理を行う、ことを特徴とする文書管理システムである。 An invention according to claim 6 includes an information processing device and a document management device, wherein the information processing device has the first document as a parent and a second document as a result of an operation on the first document as a child. A derivation relationship information, and a transmission unit that transmits to the document management device the operation type and time for the first document, and the document management device includes the derivation relationship from the information processing device. Is registered in the storage unit, and further receives the operation type and time for the first document from the information processing apparatus, and stores the operation type and time for the second document. A registration unit registered in the storage unit in association with the storage unit, and a tree structure represented by a derivation relationship group registered in the storage unit, wherein the registration unit receives the first information in the derivation relationship information received from the information processing apparatus. The document belongs to In the tree structure, a determination to determine whether or not the first document corresponds to an ancestor of the latest document that is a document associated with the latest revision operation among the documents included in the tree structure. And the determination unit determine that the first document corresponds to an ancestor in the tree structure with respect to the latest document, information about an operation on the first document is stored in the tree structure. e Bei a processing unit that performs processing for associating the plate document, wherein the processing unit, the determination in the above section first document is determined to correspond to an ancestor in the tree structure to the latest document when the registering unit even if the type of the operations received together with information on the derivation relationship from the information processing apparatus corresponds to response operation performs processing for associating the, the It is a document management system for the butterflies.

請求項1、、又はに係る発明によると、最新版の電子文書よりも古いバージョンの電子文書に対する操作を検知でき、最新版の電子文書よりも古いバージョンの電子文書に対して行なわれた操作に関する情報を最新版の電子文書と関連付けて管理でき、最新版の電子文書よりも古いバージョンの電子文書に対して行なわれた操作であって予め設定された種類の操作に関する情報を最新版の電子文書と関連付けて管理できる。 According to the invention according to claim 1, 5 or 6 , an operation on an electronic document whose version is older than the latest electronic document can be detected , and the operation is performed on an electronic document whose version is older than the latest electronic document. Information related to operations can be managed in association with the latest version of the electronic document, and information related to operations of a preset type that have been performed on versions of the electronic document older than the latest version of the electronic document Ru can be managed in association with the electronic document.

請求項に係る発明によると、最新版の電子文書よりも古いバージョンの電子文書に対する操作を行ったユーザに対して、その操作を最新版の電子文書に対して行うことを促すことができる。 According to the second aspect of the present invention, it is possible to prompt a user who has performed an operation on an electronic document whose version is older than the latest version of the electronic document to perform the operation on the latest version of the electronic document.

請求項に係る発明によると、最新版の電子文書よりも古いバージョンの電子文書に対する操作の結果の文書を、最新版の電子文書に対する操作結果の文書として管理できる。 According to the third aspect of the present invention, it is possible to manage a document as a result of an operation on an electronic document whose version is older than the latest version of an electronic document as an operation result document for the latest version of an electronic document.

請求項に係る発明によると、最新版の電子文書よりも古いバージョンの電子文書に対する操作の結果の文書を、最新版の電子文書に対する操作結果として登録された参照情報により取得できる。 According to the fourth aspect of the present invention, a document as a result of an operation on an electronic document whose version is older than the latest electronic document can be acquired from reference information registered as an operation result on the latest electronic document.

図1は、文書管理システムの概略構成の例を示すブロック図である。このシステムは、インターネットやローカル・エリア・ネットワーク等のネットワーク30を介して接続された文書管理サーバ10とクライアント端末20−1,20−2,・・・(以下、クライアント端末20と総称する)から構成される。   FIG. 1 is a block diagram illustrating an example of a schematic configuration of a document management system. This system includes a document management server 10 and client terminals 20-1, 20-2,... (Hereinafter collectively referred to as client terminal 20) connected via a network 30 such as the Internet or a local area network. Composed.

クライアント端末20について図2を用いて説明する。クライアント端末20は、ユーザが文書を操作するために用いる端末であり、パーソナルコンピュータ、デジタル複写機などがその一例である。クライアント端末20は、図2に示すように、文書操作部200及び登録処理部210を備える。   The client terminal 20 will be described with reference to FIG. The client terminal 20 is a terminal used by a user to operate a document, and examples thereof include a personal computer and a digital copying machine. As shown in FIG. 2, the client terminal 20 includes a document operation unit 200 and a registration processing unit 210.

文書操作部200は、文書に対する操作を実行する手段である。文書に対する操作には、例えば、文書の表示(ユーザから見れば「閲覧」)、編集、印刷出力、紙文書の読み取り、紙文書の複写、等がある。図では、文書操作部200を1つだけ示したが、それら個々の操作を別々の操作部(例えば、編集用のアプリケーション、読取制御用のアプリケーションなど)が担当してもよい。例えば、文書操作部200がワードプロセッサ等の電子文書を作成・編集するためのソフトウエアであれば、文書操作部200は、ユーザの指示に応じて電子文書を表示したり、電子文書に編集を加えたりする。文書操作部200は、文書に対して操作を行った場合、その操作の結果を表すID付き文書300を出力する。   The document operation unit 200 is means for executing an operation on a document. Examples of operations on a document include document display (“browsing” from the user's point of view), editing, printout, reading of a paper document, copying of a paper document, and the like. Although only one document operation unit 200 is shown in the figure, each of these operations may be handled by a separate operation unit (for example, an editing application, a reading control application, or the like). For example, if the document operation unit 200 is software for creating and editing an electronic document such as a word processor, the document operation unit 200 displays the electronic document according to a user instruction or edits the electronic document. Or When an operation is performed on a document, the document operation unit 200 outputs an ID-added document 300 that represents the result of the operation.

ID付き文書300は、図3に示すように、メタ情報310と文書内容320を含んだ電子文書である。文書内容320は、文書操作部200の操作の結果生成された文書の内容データである。文書操作部200が電子文書を作成・編集するためのソフトウエアであれば、文書内容320はそのソフトウエアによる編集の結果生成される文書ファイルである。また、文書操作部200が電子文書を印刷する装置であれば、文書内容320は、例えば、印刷される電子文書の内容データとすればよい。また、文書操作部200が紙文書をスキャンする装置又は紙文書を複写する装置であれば、文書内容320は、例えば、その紙文書を読み取って得られる画像データとすればよい。   The ID-added document 300 is an electronic document including meta information 310 and document content 320 as shown in FIG. The document content 320 is document content data generated as a result of the operation of the document operation unit 200. If the document operation unit 200 is software for creating and editing an electronic document, the document content 320 is a document file generated as a result of editing by the software. If the document operation unit 200 is an apparatus that prints an electronic document, the document content 320 may be content data of the electronic document to be printed, for example. If the document operation unit 200 is a device that scans a paper document or a device that copies a paper document, the document content 320 may be, for example, image data obtained by reading the paper document.

メタ情報310は、文書管理のための情報であり、管理ID312,親ID314,及びログ情報316を含む。   The meta information 310 is information for document management, and includes a management ID 312, a parent ID 314, and log information 316.

管理ID312は、当該ID付き文書300自体の一意な識別情報である。親ID314は、当該ID付き文書300の親のID付き文書の管理IDである。すなわち、本実施形態では、あるID付き文書と、このID付き文書に対して操作を加えた結果得られる新たなID付き文書とを、親と子の関係として取り扱う。第1のID付き文書を操作して第2のID付き文書が得られた場合、第1のID付き文書は第2のID付き文書の親であり、第2のID付き文書は第1のID付き文書の子である。したがって、例えば、管理ID「A」のID付き文書を文書操作部200で操作して、その結果得られた新たなID付き文書の管理IDが「B」である場合、後者のメタ情報310における管理ID312は「B」であり、親ID314は「A」である。このような親子の関係を、以下では「(管理IDの)派生関係」という。   The management ID 312 is unique identification information of the ID-added document 300 itself. The parent ID 314 is a management ID of the parent ID-added document of the ID-added document 300. That is, in this embodiment, a document with an ID and a new document with an ID obtained as a result of an operation performed on the document with the ID are handled as a relationship between a parent and a child. When the second ID-added document is obtained by operating the first ID-added document, the first ID-added document is the parent of the second ID-added document, and the second ID-added document is the first ID-added document. It is a child of an ID-added document. Therefore, for example, when a document with the management ID “A” is operated by the document operation unit 200 and the management ID of the new ID-added document obtained as a result is “B”, the latter meta information 310 The management ID 312 is “B”, and the parent ID 314 is “A”. Such a parent-child relationship is hereinafter referred to as a “(management ID) derivation relationship”.

なお、本システムに未登録の電子文書を新たに登録する操作を実行した場合や、未登録の紙文書をスキャン又は複写する操作を実行した場合(この場合、紙文書を読み取った画像を文書内容とするID付き文書が生成され、本システムに登録される)に生成されるID付き文書300では、親ID314は空(すなわち、親は存在しない)となる。   When an operation for newly registering an electronic document not registered in this system is performed, or when an operation for scanning or copying an unregistered paper document is performed (in this case, the image read from the paper document is used as the document content). In the ID-added document 300 that is generated), the parent ID 314 is empty (that is, the parent does not exist).

ログ情報316は、当該ID付き文書が生成された際の操作についての、各種のログ項目の情報である。ログ項目には、例えばその操作が行われた日時、その操作の種別、その操作を指示したユーザ(操作者)などがあるが、もちろんこれに限るものではない。操作の種別には、例えば登録(本システムに新規の文書を登録すること)、閲覧、編集、更新(更新版の登録)、印刷、スキャン、紙文書の複写、等がある。例えば、ユーザが文書操作部200を用いて第1のID付き文書に対して編集を加え、編集完了の指示を行った場合、その結果生成される第2のID付き文書のログ情報316は、編集完了の日時と、その編集を指示したユーザの識別情報と、操作の種別として「編集」と、を含んだものとなる。   The log information 316 is information of various log items regarding the operation when the ID-added document is generated. The log items include, for example, the date and time when the operation was performed, the type of the operation, and the user (operator) who instructed the operation, but are not limited thereto. The operation types include, for example, registration (registering a new document in this system), browsing, editing, updating (registering an updated version), printing, scanning, copying of a paper document, and the like. For example, when the user edits the first ID-added document using the document operation unit 200 and gives an instruction to complete editing, the log information 316 of the second ID-added document generated as a result is as follows. The date and time of editing completion, the identification information of the user who instructed the editing, and “edit” as the type of operation are included.

ここでログ情報316に組み込まれる操作の種別は、ログ記録の目的での分類に従った種別であり、文書操作部200が実行する操作の種別そのものでなくてもよい。例えば、文書操作部200が実行する複数の操作の種別を、同じ1つのログ記録目的の操作種別に対応づけてもよい。例えば、文書編集アプリケーション上でID付きの電子文書に編集を加え操作メニュー上で「更新版として登録」を指示した場合も、スキャナで管理ID付きの紙文書を読み取り読取制御用アプリケーションの操作メニュー上で「読み取った文書を承認版として登録」を指示した場合も、ログ情報316に組み込まれる操作種別の値は「更新」となる。   Here, the type of operation incorporated in the log information 316 is a type according to the classification for the purpose of log recording, and may not be the type of operation executed by the document operation unit 200 itself. For example, a plurality of types of operations executed by the document operation unit 200 may be associated with the same single log recording purpose operation type. For example, even when editing an electronic document with an ID on a document editing application and instructing “Register as update” on the operation menu, a paper document with a management ID is read by the scanner on the operation menu of the reading control application. Even when “Register the read document as an approved version” is instructed, the value of the operation type incorporated in the log information 316 is “update”.

なお、文書操作部200が、操作した文書を暗号化してもよい。この暗号化は、本システムに準拠した文書操作部200ならば、復号できるようなものとする。この場合、文書操作部200が出力するID付き文書300の文書内容320は、暗号化されることにより、本システムに準拠した文書操作部200でないと復号できなくなる。したがって、ID付き文書300が操作される場合には文書操作部200が用いられるので、文書操作部200がその操作を検知し、その操作の内容が文書操作部200から文書管理サーバ10に通知される。なお、文書内容320だけでなく、後述するメタ情報310(またはその一部)に対しても暗号化を施してもよい。   The document operation unit 200 may encrypt the operated document. This encryption can be decrypted by the document operation unit 200 compliant with the present system. In this case, the document content 320 of the ID-added document 300 output from the document operation unit 200 is encrypted, and can be decrypted only by the document operation unit 200 conforming to the present system. Therefore, since the document operation unit 200 is used when the ID-added document 300 is operated, the document operation unit 200 detects the operation, and the content of the operation is notified from the document operation unit 200 to the document management server 10. The Note that encryption may be applied not only to the document content 320 but also to meta information 310 (or a part thereof) described later.

図2の説明に戻り、文書操作部200は、操作結果として上述のようなID付き文書300を作成するために、ID割り当て部202及び派生関係組込部204を備える。ID割り当て部202は、操作結果のID付き文書300に一意な管理IDを付与する手段である。管理IDは、少なくとも本システム内で一意な識別情報である必要がある。例えば、操作の結果生成するID付き文書300(ただし管理ID312を除いたもの)のハッシュ値を求め、このハッシュ値をその文書300のID付き文書とすればよい。ハッシュ関数としてSHA-256(SHA-256はNISTがFIPS180-2で定めた256ビットのハッシュ値を持つ暗号学的ハッシュ関数である)などのような耐衝突性を持つ暗号学的ハッシュ関数を用いれば、実用上十分な一意性を持つ管理IDを生成することができる。もちろん、システム内で一意な管理IDを各クライアント端末20で生成する方法は、これに限らない。管理IDを、クライアント端末20固有の識別情報を含むものとすれば、システム内で一意な管理IDを各クライアント端末20で生成することができる。   Returning to the description of FIG. 2, the document operation unit 200 includes an ID assignment unit 202 and a derivation relationship incorporation unit 204 in order to create the ID-added document 300 as described above as an operation result. The ID assigning unit 202 is a unit that assigns a unique management ID to the operation result ID-added document 300. The management ID needs to be identification information unique at least in the present system. For example, the hash value of the ID-added document 300 (excluding the management ID 312) generated as a result of the operation may be obtained, and this hash value may be used as the ID-added document of the document 300. As the hash function, a cryptographic hash function having collision resistance such as SHA-256 (SHA-256 is a cryptographic hash function having a 256-bit hash value defined by NIST in FIPS180-2) is used. For example, it is possible to generate a management ID having sufficient uniqueness for practical use. Of course, the method for generating a unique management ID in the system at each client terminal 20 is not limited to this. If the management ID includes identification information unique to the client terminal 20, a management ID unique in the system can be generated at each client terminal 20.

派生関係組込部204は、操作結果の文書に対しID割り当て部202が割り当てた新たな管理ID312と、その操作の元になった親文書の管理IDである親ID314(新規登録の場合は、親IDは無し)と、その操作についてのログ情報316と、を含むメタ情報310を生成する。ここで、派生関係組込部204は、文書操作部200が実行する個々の操作の種別が、ログ記録目的上の操作種別のどれに対応するかを表す対応関係の情報を保持しており、この情報を用いることでログ情報316に組み込む操作種別の値を求める。そして、派生関係組込部204は、そのメタ情報310を操作結果の文書内容に付加することにより、操作後のID付き文書300を生成して出力する。   The derivation relationship incorporating unit 204 includes a new management ID 312 assigned by the ID assigning unit 202 to the operation result document, and a parent ID 314 that is the management ID of the parent document that is the source of the operation (in the case of new registration, And meta information 310 including log information 316 regarding the operation. Here, the derivation relationship incorporating unit 204 holds correspondence information indicating which of the operation types for log recording purposes each operation type executed by the document operation unit 200 corresponds to. By using this information, the value of the operation type incorporated in the log information 316 is obtained. Then, the derivation relationship incorporating unit 204 generates and outputs the post-operation ID-added document 300 by adding the meta information 310 to the operation result document content.

文書操作部200がアプリケーションソフトウエアである場合、ID割り当て部202及び派生関係組込部204は、そのソフトウエアに対して追加される、いわゆるプラグイン(plug-in)プログラムとして実現してもよい。   When the document operation unit 200 is application software, the ID assignment unit 202 and the derivation relationship incorporation unit 204 may be realized as a so-called plug-in program added to the software. .

登録処理部210は、文書操作部200が出力したID付き文書300を文書管理サーバ10に登録するための処理を実行する。このように各クライアント端末20が、自ら実行した操作の結果であるID付き文書300を文書管理サーバ10に登録することにより、文書管理サーバ10は各ID付き文書300間の派生関係を把握することができる。   The registration processing unit 210 executes processing for registering the ID-added document 300 output from the document operation unit 200 in the document management server 10. In this way, each client terminal 20 registers the ID-added document 300 that is the result of the operation performed by itself, in the document management server 10, so that the document management server 10 grasps the derivation relationship between the ID-added documents 300. Can do.

文書操作部200が操作の結果出力するID付き文書300は、通常の文書ファイルと同様、電子的にコピーしたり、電子メールに添付するなどの方法で他の人宛に送信したりすることができる。電子メール送信用のソフトウエアは、この例では本システムに準拠していないので、この送信操作はID付き文書には反映されず、したがって文書管理サーバ10にも記録されない。他の人からID付き文書300を受け取った人が、自分のクライアント端末20の文書操作部200を用いてそのID付き文書300を操作すると、その操作に応じて新たな管理IDを付与されたID付き文書が生成されることになる。   The ID-added document 300 output as a result of the operation by the document operation unit 200 may be electronically copied or transmitted to another person by a method such as attaching to an e-mail, like a normal document file. it can. The e-mail transmission software is not compliant with this system in this example, so this transmission operation is not reflected in the ID-added document, and is therefore not recorded in the document management server 10. When a person who has received an ID-added document 300 from another person operates the ID-added document 300 using the document operation unit 200 of his / her client terminal 20, an ID assigned a new management ID according to the operation. An attached document is generated.

また、文書操作部200が電子文書を印刷する場合、管理IDを生成し、その電子文書の印刷結果にその管理IDを埋め込んでもよい。管理IDの埋め込みは、例えば電子文書の印刷画像に、管理IDを示すコード画像を重畳する等の方法で行うことができる。また、用紙がRFID(Radio Frequency Identifier)タグを備えている場合、そのRFIDタグに管理IDを書き込んでもよい。このように印刷を行った場合、文書操作部200は、その管理IDや操作種別「印刷」等のメタ情報を含んだID付き文書を文書管理サーバ10に登録する。なお、ID付き文書を印刷した場合には、そのID付き文書の管理IDを親ID314として含んだID付き文書が生成される。印刷操作に対応するID付き文書には、印刷された画像を示すページ記述言語データやビットマップ画像データをなどの印刷データ、又は印刷された文書ファイルを、文書内容320として組み込んでもよい。   When the document operation unit 200 prints an electronic document, a management ID may be generated, and the management ID may be embedded in the print result of the electronic document. The management ID can be embedded by, for example, a method of superimposing a code image indicating the management ID on the print image of the electronic document. Further, when the paper has an RFID (Radio Frequency Identifier) tag, a management ID may be written on the RFID tag. When printing is performed in this manner, the document operation unit 200 registers an ID-added document including meta information such as the management ID and the operation type “print” in the document management server 10. When an ID-added document is printed, an ID-added document including the management ID of the ID-added document as the parent ID 314 is generated. In the ID-added document corresponding to the print operation, print data such as page description language data indicating a printed image or bitmap image data, or a printed document file may be incorporated as the document content 320.

また、管理IDが埋め込まれた紙文書を文書操作部200が読み取った場合、文書操作部200は、その読み取り操作に対して新たな管理IDを付与し、読み取り結果の画像を文書内容320として含んだID付き文書を生成して文書管理サーバ10に登録する。このID付き文書の親ID314には、紙文書から読み取った管理IDがセットされる。管理IDが埋め込まれた紙文書の複写の際には、上述した読み取り時と印刷時の処理が実行される。   When the document operation unit 200 reads a paper document in which the management ID is embedded, the document operation unit 200 assigns a new management ID to the reading operation, and includes an image of the reading result as the document content 320. The ID-added document is generated and registered in the document management server 10. The management ID read from the paper document is set in the parent ID 314 of the ID-added document. When copying a paper document in which a management ID is embedded, the above-described reading and printing processes are executed.

次に、文書管理サーバ10について説明する。文書管理サーバ10は、システム内の複数のクライアント端末20から送られてくるID付き文書300を蓄積し、蓄積した情報に基づきユーザに各種のサービスを提供する。図4に示すように、文書管理サーバ10は、文書DB(データベース)100,派生関係DB110,文書登録部130,及び要求処理部140を備える。   Next, the document management server 10 will be described. The document management server 10 accumulates ID-added documents 300 sent from a plurality of client terminals 20 in the system, and provides various services to the user based on the accumulated information. As shown in FIG. 4, the document management server 10 includes a document DB (database) 100, a derivation relationship DB 110, a document registration unit 130, and a request processing unit 140.

文書DB100は、クライアント端末20から送られてきたID付き文書300のうちの文書内容320を格納するデータベースである。文書DB100に格納された各文書内容320は、一意な内容IDにより管理してもよい。内容IDとしては、例えば当該文書内容の暗号学的ハッシュ関数によるハッシュ値を用いてもよいが、これに限定されるものではない。クライアント端末20が内容IDを付与してもよく、この場合、内容IDをメタ情報310に組み込んでもよい。また、内容IDの代わりに、その文書内容320を、当該文書内容に対応するID付き文書300の管理IDと対応づけて文書DB100に格納してもよい。   The document DB 100 is a database that stores the document content 320 of the ID-added document 300 sent from the client terminal 20. Each document content 320 stored in the document DB 100 may be managed by a unique content ID. As the content ID, for example, a hash value by a cryptographic hash function of the document content may be used, but the content ID is not limited to this. The client terminal 20 may give the content ID. In this case, the content ID may be incorporated in the meta information 310. Further, instead of the content ID, the document content 320 may be stored in the document DB 100 in association with the management ID of the ID-added document 300 corresponding to the document content.

文書登録部130は、クライアント端末20から受信したID付き文書の中の文書内容を文書DB100に、メタ情報を派生関係DB110に、それぞれ登録する。そのうち、メタ情報の登録を担当するのが派生関係登録部132である。   The document registration unit 130 registers the document contents in the ID-added document received from the client terminal 20 in the document DB 100 and the meta information in the derivation relationship DB 110. Among them, the derivation relationship registration unit 132 is in charge of registration of meta information.

文書登録部130は、さらに、登録制限判定部134及び登録制限処理部136を備える。登録制限判定部134は、文書管理サーバ10がクライアント端末20からID付き文書を受信したときに、当該ID付き文書が登録制限の対象であるか否かを判定する。本実施形態の例では、新しいバージョン(改訂版)の文書が文書管理サーバ10に登録された後に改訂版よりも古いバージョン(旧バージョン)のID付き文書に対して特定の操作種別の操作が行われた結果のID付き文書をクライアント端末20から受信したときに、当該ID付き文書は登録制限の対象であると判定される。登録制限処理部136は、登録制限判定部134の判定に用いられる判定条件と、登録制限の対象と判定されたID付き文書に対して実行される制限処理の内容を表す情報と、を含む登録制限情報を派生関係DB110に登録する。さらに、登録制限処理部136は、登録制限判定部134において登録制限の対象であると判定されたID付き文書に対して、設定された登録制限情報に従った制限処理を行う。登録制限判定部134及び登録制限処理部136の処理内容の例は後に詳述する。   The document registration unit 130 further includes a registration restriction determination unit 134 and a registration restriction processing unit 136. When the document management server 10 receives an ID-added document from the client terminal 20, the registration restriction determination unit 134 determines whether the ID-added document is subject to registration restriction. In the example of the present embodiment, after a new version (revised version) document is registered in the document management server 10, an operation of a specific operation type is performed on a document with an ID (old version) older than the revised version. When the ID-added document is received from the client terminal 20, the ID-added document is determined to be subject to registration restriction. The registration restriction processing unit 136 includes a determination condition used for the determination of the registration restriction determination unit 134 and information indicating the content of the restriction process executed for the ID-added document determined to be subject to registration restriction. The restriction information is registered in the derivation relation DB 110. Further, the registration restriction processing unit 136 performs a restriction process according to the set registration restriction information on the ID-added document that is determined to be subject to registration restriction by the registration restriction determination unit 134. Examples of processing contents of the registration restriction determination unit 134 and the registration restriction processing unit 136 will be described in detail later.

派生関係DB110は、文書管理サーバ10がクライアント端末20から受信したID付き文書300のうち、派生関係の情報を主としたメタ情報を蓄積するデータベースである。図5A及び図5Bに、派生関係DB110のデータ内容の一例を示す。図5Bは、派生関係DB110が図5Aの例の内容のデータを有する時点から一定時間が経過した時点での派生関係DB110のデータ内容の例を示す。図5A及び図5Bに示す各表における1行の情報が、1つのID付き文書300に対応するメタ情報レコードである。この例では、各ID付き文書300の管理IDに対応づけて、親ID、操作種別、操作者、操作日時、及び登録制限の各項目が登録されている。このうち、管理IDと親IDのペア以外の項目は、例示したものに限られない。管理目的上必要な項目を記録すればよい。また、操作種別、操作者、操作日時については既に説明した。登録制限の項目には、登録制限処理部136が設定する登録制限情報が格納される。登録制限情報は、あるID付き文書に対して改訂版のID付き文書を登録する操作(「改訂登録」操作)が行われたときに、旧バージョンのID付き文書に対応するレコードの登録制限の項目に設定される。   The derivation relation DB 110 is a database that accumulates meta information mainly including derivation relation information in the ID-added document 300 received by the document management server 10 from the client terminal 20. 5A and 5B show an example of data contents of the derivation relationship DB 110. FIG. FIG. 5B shows an example of the data content of the derivation relationship DB 110 when a certain time has elapsed since the derivation relationship DB 110 had the data of the example of FIG. 5A. One row of information in each table shown in FIGS. 5A and 5B is a meta information record corresponding to one ID-added document 300. In this example, items of parent ID, operation type, operator, operation date and time, and registration restriction are registered in association with the management ID of each ID-added document 300. Of these, items other than the management ID and parent ID pair are not limited to those illustrated. Items that are necessary for management purposes may be recorded. The operation type, the operator, and the operation date / time have already been described. In the registration restriction item, registration restriction information set by the registration restriction processing unit 136 is stored. The registration restriction information is a record restriction information for a record corresponding to an old version of an ID-added document when an operation for registering a revised ID-added document with respect to a certain ID-added document ("revision registration" operation) is performed. Set to the item.

例えば、派生関係DB110が図5Aの例の内容のデータを有する時点では、操作種別が「改訂登録」であるID付き文書の派生関係DB110への登録は行なわれておらず、派生関係DB110中のいずれのレコードの登録制限の項目にも値は設定されていない。図5Aに例示する状態の時点から一定時間経過後の状態を表す図5Bを参照すると、管理ID"Doc1"のレコードの登録制限の項目に、「子:応答,改訂登録:禁止」が設定されている。この登録制限情報は、ID付き文書"Doc1"の子であって操作種別が「応答」又は「改訂登録」であるID付き文書の文書管理サーバ10への登録を禁止することを表す。ここで、操作種別「応答」は、ID付き文書に対してコメントなどの付加情報を付与する操作を表す。また、この登録制限情報は、ID付き文書"Doc1"に対する「改訂登録」操作の結果のID付き文書"Doc5"をクライアント端末20から受信して管理ID"Doc5"のレコードが派生関係DB110に登録されたときに、文書登録部130の登録制限処理部136によって登録されたものである。   For example, at the time when the derivation relationship DB 110 has the data of the example of FIG. 5A, the ID-added document whose operation type is “revision registration” is not registered in the derivation relationship DB 110, and the derivation relationship DB 110 No value is set in the registration restriction item of any record. Referring to FIG. 5B showing a state after a lapse of a certain time from the state illustrated in FIG. 5A, “child: response, revision registration: prohibited” is set in the registration restriction item of the record of management ID “Doc1”. ing. This registration restriction information represents that registration of an ID-added document that is a child of the ID-added document “Doc1” and whose operation type is “response” or “revision registration” to the document management server 10 is prohibited. Here, the operation type “response” represents an operation for adding additional information such as a comment to the ID-added document. In addition, the registration restriction information includes the ID-added document “Doc5” as a result of the “revision registration” operation for the ID-added document “Doc1” from the client terminal 20, and the record of the management ID “Doc5” is registered in the derivation relation DB 110. Registered by the registration restriction processing unit 136 of the document registration unit 130.

なお、図5A及び図5Bに例示したメタ情報の項目は一例に過ぎない。例えば、この他にも、ID付き文書内の文書内容320を格納した、文書DB100内での格納場所を示すパス名を派生関係DB110に登録してもよい。文書DB100が、内容IDで文書内容320を検索する機能を持つものであれば、文書格納パスの代わりに内容IDをメタ情報レコードに登録してもよい。   The meta information items illustrated in FIGS. 5A and 5B are merely examples. For example, a path name indicating the storage location in the document DB 100 that stores the document content 320 in the ID-added document may be registered in the derivation relationship DB 110. If the document DB 100 has a function of searching the document content 320 by content ID, the content ID may be registered in the meta information record instead of the document storage path.

なお、図5A及び図5Bは派生関係DB110が管理するデータを内容の観点から表現したものにすぎず、具体的な表現形式或いはデータベース形式を規定するものではない。例えば、派生関係DB110は、一般的なリレーショナルデータベースとして構築することもできるし、管理IDを除くメタ情報を記述したXML(eXtensible Markup Language)文書を、管理IDをキーとして登録したデータベースとして構築することもできる。   5A and 5B are merely representations of data managed by the derivation relationship DB 110 from the viewpoint of contents, and do not define a specific representation format or database format. For example, the derivation relationship DB 110 can be constructed as a general relational database, or an XML (eXtensible Markup Language) document describing meta information excluding the management ID is constructed as a database in which the management ID is registered as a key. You can also.

図5Bに示す派生関係DB110のデータ内容は、図6のような木構造を成す。これは、管理IDをノードとし、管理ID間の親子関係をエッジとする木構造である。   The data content of the derivation relationship DB 110 shown in FIG. 5B has a tree structure as shown in FIG. This is a tree structure in which a management ID is a node and a parent-child relationship between management IDs is an edge.

要求処理部140は、クライアント端末20からの管理IDを含んだサービス要求に応じて、派生関係DB110を用いたサービスを提供する。要求処理部140が提供するサービスとしては、例えば、サービス要求中の管理IDに対応する文書の最新版を検索するサービスがある。また別の例として、サービス要求中の管理IDに対応する始祖(根)の文書又はその始祖についてのログ情報を提供するサービスを挙げることができる。また、別の例として、その管理IDの来歴、すなわち始祖からその管理IDまでに文書が経てきた操作の履歴(例えば誰がいつどんな操作をしたのかを示す情報のリスト)を提供するサービスもある。また、派生関係DB110に登録された属性項目についての検索条件の指定を受け付け、その検索条件を満足するID付き文書のリストを提供するサービスもある。このサービスに付随して、要求処理部140は、そのリストの中からユーザの所望するID付き文書の選択を受け付け、選択されたID付き文書を提供してもよい。なお、上述の最新版を検索するサービスは、「操作日時が最新である」という検索条件についての検索結果を提供するサービスと捉えることもできる。また、上述の始祖の文書の情報を提供するサービスは、「木構造の根に該当する文書」という条件についての検索結果を提供するサービスと捉えることができる。また、別の例として、派生関係DB110に基づきID付き文書群の派生関係を表す木構造の表示画面を提供し、その表示画面上でユーザの所望するID付き文書の選択を受け付け、選択されたID付き文書を提供するサービスもある。   The request processing unit 140 provides a service using the derivation relationship DB 110 in response to a service request including a management ID from the client terminal 20. As a service provided by the request processing unit 140, for example, there is a service for searching for the latest version of a document corresponding to the management ID in the service request. Another example is a service that provides log information about an ancestor (root) document corresponding to the management ID in the service request or the ancestor. As another example, there is a service that provides a history of the management ID, that is, a history of operations that the document has passed from the founder to the management ID (for example, a list of information indicating who performed what operation when). There is also a service that accepts specification of search conditions for attribute items registered in the derivation relationship DB 110 and provides a list of ID-added documents that satisfy the search conditions. Accompanying this service, the request processing unit 140 may accept selection of an ID-added document desired by the user from the list, and provide the selected ID-added document. The service for searching for the latest version described above can also be regarded as a service for providing a search result for a search condition “the operation date is the latest”. In addition, the service that provides information on the original document described above can be regarded as a service that provides a search result for the condition “document corresponding to the root of the tree structure”. As another example, a display screen having a tree structure representing a derivation relationship of an ID-added document group based on the derivation relationship DB 110 is provided, and selection of a document with an ID desired by the user is accepted and selected on the display screen. Some services provide ID-added documents.

サービス要求は、クライアント端末20に保持されたID付き文書に基づき発せられる。例えば、ユーザがクライアント端末20の文書操作部200によりID付き文書を開いた場合に、文書操作部200が、派生関係を用いたサービスのメニューを提供し、そのメニューの中からユーザが所望するサービスの指定を受け付ける。そして、そのID付き文書の管理IDと指定されたサービスを示すコードとを含むサービス要求を文書管理サーバ10の要求処理部140に送信する。このとき、ユーザ識別情報や操作日時などの属性項目についての検索条件を指定するユーザインタフェース画面を提供し、この画面を介して入力された検索条件を併せて要求処理部140に送信してもよい。また、管理IDと、サービスを示すコード、検索条件以外に、指示を行ったユーザの識別情報や、ユーザの入力した認証情報などといった他の情報を、クライアント端末20から要求処理部140に送信するようにしてもよい。   The service request is issued based on the ID-added document held in the client terminal 20. For example, when the user opens an ID-added document using the document operation unit 200 of the client terminal 20, the document operation unit 200 provides a service menu using the derivation relationship, and the service desired by the user from the menu is provided. The specification of is accepted. Then, a service request including the management ID of the document with ID and a code indicating the designated service is transmitted to the request processing unit 140 of the document management server 10. At this time, a user interface screen for designating search conditions for attribute items such as user identification information and operation date / time may be provided, and the search conditions input via this screen may be transmitted to the request processing unit 140 together. . Further, in addition to the management ID, the code indicating the service, and the search condition, other information such as the identification information of the instructing user and the authentication information input by the user is transmitted from the client terminal 20 to the request processing unit 140. You may do it.

また別の例として、ユーザによるサービスの指定を一つの「操作」と捉え、その「操作」に対して新たに管理IDを付与することも考えられる。この場合、指定されたサービスのコードを操作種別として含み、指定の際に用いられた元のID付き文書の管理IDを親IDとして含んだID付き文書を生成し、このID付き文書をサービス要求として文書管理サーバ10に送ってもよい。この場合、要求処理部140は、受け取ったID付き文書内の操作種別の情報に基づき提供すべきサービスを判定し、同じくID付き文書内の親IDを、派生関係を遡る処理の起点とする。   As another example, it may be considered that the designation of a service by the user is regarded as one “operation” and a new management ID is assigned to the “operation”. In this case, an ID-added document including the code of the specified service as the operation type, the management ID of the original ID-added document used in the specification as a parent ID is generated, and this ID-added document is requested as a service request. May be sent to the document management server 10. In this case, the request processing unit 140 determines a service to be provided based on the operation type information in the received ID-added document, and similarly uses the parent ID in the ID-added document as a starting point for the process of tracing the derivation relationship.

要求処理部140は、クライアント端末20からサービス要求を受けた場合、そのサービス要求中に指定された管理IDを起点に、派生関係DB110に登録された管理IDと親IDとの派生関係が構成する木を走査(トラバース)し、その走査の結果得られた情報を用いて、ユーザから要求されたサービスを実行する。   When the request processing unit 140 receives a service request from the client terminal 20, the derivation relationship between the management ID and the parent ID registered in the derivation relationship DB 110 is configured with the management ID specified in the service request as a starting point. The tree traverses the tree and uses the information obtained as a result of the scan to execute the service requested by the user.

以下、文書管理システムにおける各種の処理について詳しく説明する。   Hereinafter, various processes in the document management system will be described in detail.

まず、文書管理サーバ10がクライアント端末20からID付き文書300を受け取ったときの文書登録部130の処理の例を説明する。   First, an example of processing of the document registration unit 130 when the document management server 10 receives the ID-added document 300 from the client terminal 20 will be described.

図7は、文書登録部130の処理手順の一例を示すフローチャートである。   FIG. 7 is a flowchart illustrating an example of a processing procedure of the document registration unit 130.

クライアント端末20からID付き文書を受け取ると、文書登録部130は、まず、受け取ったID付き文書(以下、「処理対象のID付き文書」とも言う)の操作種別が新規登録であるか否かを判定する(ステップS10)。操作種別が新規登録であれば(ステップS10でYES)、処理対象のID付き文書のメタ情報を派生関係DB110に、文書内容を文書DB100に登録する(ステップS60)。操作種別が新規登録でなければ(ステップS10でNO)、文書登録部130の登録制限判定部134は、登録制限情報検索処理(ステップS20)を行う。   Upon receiving an ID-added document from the client terminal 20, the document registration unit 130 first determines whether the operation type of the received ID-added document (hereinafter also referred to as “processed ID-added document”) is new registration. Determine (step S10). If the operation type is new registration (YES in step S10), the meta information of the ID-added document to be processed is registered in the derivation relation DB 110, and the document content is registered in the document DB 100 (step S60). If the operation type is not new registration (NO in step S10), the registration restriction determination unit 134 of the document registration unit 130 performs registration restriction information search processing (step S20).

登録制限情報検索処理(ステップS20)が開始されると、登録制限判定部134は、図8に例示する手順の処理を開始する。図8を参照し、まず、処理対象のID付き文書のメタ情報中の親IDを注目IDとし(ステップS200)、次に、注目IDに対応するレコードを派生関係DB110から取得する(ステップS202)。そして、取得したレコードの登録制限の項目に登録制限情報が設定されているか否かを判定する(ステップS204)。この判定結果がYESであれば、設定されている登録制限情報を取得して検索結果とする(ステップS206)。その後、取得した登録制限情報において、処理対象のID付き文書の操作種別が制限対象であるか否かを判定する(ステップS208)。処理対象のID付き文書の操作種別が制限対象であれば(ステップS208でYES)、そのまま図8の例の手順の処理を終了し、処理対象のID付き文書の操作種別が制限対象でなければ(ステップS208でNO)、登録制限情報の検索結果をNULL(検索結果なし)とした上で(ステップS212)、図8の例の手順の処理を終了する。   When the registration restriction information search process (step S20) is started, the registration restriction determination unit 134 starts the process illustrated in FIG. Referring to FIG. 8, first, the parent ID in the meta information of the ID-added document to be processed is set as the attention ID (step S200), and then the record corresponding to the attention ID is acquired from the derivation relationship DB 110 (step S202). . Then, it is determined whether registration restriction information is set in the registration restriction item of the acquired record (step S204). If the determination result is YES, the set registration restriction information is acquired and used as a search result (step S206). Thereafter, it is determined whether or not the operation type of the ID-added document to be processed is a restriction target in the acquired registration restriction information (step S208). If the operation type of the ID-added document to be processed is a restriction target (YES in step S208), the processing of the procedure in the example of FIG. 8 is terminated as it is, and the operation type of the ID-added document to be processed is not the restriction target. (NO in step S208), the search result of the registration restriction information is set to NULL (no search result) (step S212), and the process of the procedure in the example of FIG.

注目IDのレコードの登録制限の項目に登録制限情報が設定されていない場合(ステップS204でNO)、このレコードの操作種別が新規登録又は改訂登録であるか否かを判定する(ステップS210)。この判定結果がYESであれば、登録制限情報の検索結果をNULLとし(ステップS212)、図8の例の手順の処理を終了する。一方、注目IDのレコードの操作種別が新規登録及び改訂登録のいずれでもない場合(ステップS210でNO)、注目IDのレコードの親IDの値を新たな注目IDとし(ステップS214)、処理はステップS202に戻る。   If registration restriction information is not set in the registration restriction item of the record of the attention ID (NO in step S204), it is determined whether or not the operation type of this record is new registration or revision registration (step S210). If this determination result is YES, the search result of registration restriction information is set to NULL (step S212), and the process of the procedure in the example of FIG. On the other hand, when the operation type of the record of the attention ID is neither new registration nor revision registration (NO in step S210), the value of the parent ID of the record of the attention ID is set as the new attention ID (step S214), and the process is step. Return to S202.

図8の例の手順において、ステップS202,S204,S210,S214を含むループ処理により、処理対象のID付き文書の親文書を起点として派生関係の木構造(図6の例参照)を「新規登録」操作のノード(根ノード)又は「改訂登録」操作のノードが現れるまで先祖方向に遡った経路上に含まれるノードに設定された登録制限情報の検索が行われる。   In the procedure of the example of FIG. 8, a loop structure including steps S202, S204, S210, and S214 is used to create a tree structure of derivation relationships (see the example of FIG. 6) starting from the parent document of the ID-added document to be processed. "Registration restriction information set in the nodes included in the route traced back to the ancestor direction is searched until a node for" operation "(root node) or a node for" revision registration "operation appears.

図8の例の手順の処理が終了すると、処理は図7のステップS20に戻る。再び図7を参照し、登録制限判定部134は、登録制限情報検索処理の検索結果がNULLであるか否かを判定する(ステップS30)。検索結果がNULLであれば(ステップS30でYES)、処理対象のID付き文書は登録制限の対象でないと判定され、処理はステップS40に進む。検索結果がNULLでなければ(ステップS30でNO)、処理対象のID付き文書は登録制限の対象であると判定され、登録制限処理部136により、検索結果の登録制限情報の内容に従った制限処理が行われる(ステップS70)。例えば、図5Bの例の表の管理ID"Doc1"のレコードの登録制限情報「子:応答,改訂登録:禁止」が検索結果である場合、この登録制限情報は、登録制限の対象である文書の文書管理サーバ10への登録を禁止する旨を表す。よって、この例では、処理対象のID付き文書について文書DB100及び派生関係DB110への登録を行わないことが制限処理となる。   When the process of the procedure in the example of FIG. 8 ends, the process returns to step S20 in FIG. Referring to FIG. 7 again, the registration restriction determination unit 134 determines whether the search result of the registration restriction information search process is NULL (step S30). If the search result is NULL (YES in step S30), it is determined that the ID-added document to be processed is not a registration restriction target, and the process proceeds to step S40. If the search result is not NULL (NO in step S30), it is determined that the ID-added document to be processed is a registration restriction target, and the registration restriction processing unit 136 performs restriction according to the content of the registration restriction information in the search result. Processing is performed (step S70). For example, if the registration restriction information “child: response, revision registration: prohibited” in the record of the management ID “Doc1” in the table of the example of FIG. 5B is a search result, this registration restriction information is a document that is subject to registration restriction. Represents that registration to the document management server 10 is prohibited. Therefore, in this example, the restriction process is that the ID-added document to be processed is not registered in the document DB 100 and the derivation relationship DB 110.

ステップS40では、文書登録部130は、処理対象のID付き文書の操作種別が改訂登録であるか否かを判定する。改訂登録でなければ(ステップS40でNO)、文書登録部130は、処理対象のID付き文書のメタ情報及び文書内容をそれぞれ派生関係DB110及び文書DB100に登録する(ステップS60)。改訂登録であれば(ステップS40でYES)、文書登録部130の登録制限処理部136は、登録制限情報設定処理を行う(ステップS50)。登録制限情報設定処理では、文書の派生関係の木構造において現在の処理対象のID付き文書(すなわち、最新版のID付き文書)に対して先祖に該当するノードのうち「新規登録」操作又は「改訂登録」操作のノードについて登録制限情報を設定する。   In step S40, the document registration unit 130 determines whether or not the operation type of the ID-added document to be processed is revision registration. If it is not revision registration (NO in step S40), the document registration unit 130 registers meta information and document contents of the ID-added document to be processed in the derivation relation DB 110 and the document DB 100, respectively (step S60). If it is revision registration (YES in step S40), the registration restriction processing unit 136 of the document registration unit 130 performs registration restriction information setting processing (step S50). In the registration restriction information setting process, in the tree structure of document derivation relationships, the “new registration” operation or “ Registration restriction information is set for the node of the “revision registration” operation.

図9に、登録制限情報設定処理(図7のステップS50)の手順の一例を示す。図9を参照し、登録制限情報設定処理が開始されると、まず、登録制限処理部136は、処理対象のID付き文書の親IDを注目IDとする(ステップS500)。次に、注目IDに対応するレコードを派生関係DB110から取得する(ステップS502)。そして、取得したレコードの操作種別が新規登録又は改訂登録であるか否かを判定する(ステップS504)。注目IDのレコードの操作種別が新規登録又は改訂登録である場合(ステップS504でYES)、登録制限処理部136は、派生関係DB110において注目IDのレコードに登録制限情報を設定し(ステップS506)、図9の例の手順の処理は終了する。この登録制限情報の内容は、例えば、システムの管理者などによって予め設定される。図5Bの例では、該当するレコードに対応するID付き文書の子として、操作種別が「応答」又は「改訂登録」であるID付き文書の登録を禁止する旨を表す情報が登録制限情報として設定される。   FIG. 9 shows an example of the procedure of the registration restriction information setting process (step S50 in FIG. 7). Referring to FIG. 9, when the registration restriction information setting process is started, first, the registration restriction processing unit 136 sets the parent ID of the ID-added document to be processed as the attention ID (step S500). Next, a record corresponding to the attention ID is acquired from the derivation relationship DB 110 (step S502). Then, it is determined whether or not the operation type of the acquired record is new registration or revision registration (step S504). When the operation type of the record of attention ID is new registration or revision registration (YES in step S504), the registration restriction processing unit 136 sets registration restriction information in the record of attention ID in the derivation relation DB 110 (step S506). The process of the procedure in the example of FIG. The contents of this registration restriction information are preset by, for example, a system administrator. In the example of FIG. 5B, information indicating that registration of an ID-added document whose operation type is “response” or “revision registration” is prohibited as registration restriction information as a child of the ID-added document corresponding to the corresponding record. Is done.

図9のステップS504において、注目IDのレコードの操作種別が新規登録及び改訂登録のいずれでもない場合、登録制限処理部136は、注目IDのレコード中の親IDの値を新たな注目IDとして設定し(ステップS508)、処理はステップS502に戻る。   In step S504 in FIG. 9, when the operation type of the record of attention ID is neither new registration nor revision registration, the registration restriction processing unit 136 sets the value of the parent ID in the record of attention ID as a new attention ID. Then (step S508), the process returns to step S502.

図9の例の手順において、ステップS502,S504,S508を含むループ処理により、処理対象のID付き文書の親文書を起点として派生関係の木構造を根ノードの方向に遡る経路上で最初に現れる「改訂登録」操作のノードに対応する派生関係DB110のレコードに登録制限情報が設定される。根ノードまで遡る経路上に「改訂登録」操作のノードが存在しない場合は、根ノード(操作種別は「新規登録」)に対応する派生関係DB110のレコードに登録制限情報が設定される。   In the procedure of the example of FIG. 9, the loop process including steps S502, S504, and S508 first appears on the path that goes from the parent document of the ID-added document to be processed to the root of the derivation relation tree structure in the direction of the root node. Registration restriction information is set in the record of the derivation relationship DB 110 corresponding to the node of the “revision registration” operation. If there is no “revision registration” operation node on the route going back to the root node, registration restriction information is set in the record of the derivation relationship DB 110 corresponding to the root node (operation type is “new registration”).

図9の例の登録制限情報設定処理が終了すると、図7のステップS60で、文書登録部130は、処理対象のID付き文書のメタ情報及び文書内容をそれぞれ派生関係DB110及び文書DB100に登録する。   When the registration restriction information setting process in the example of FIG. 9 is completed, in step S60 of FIG. 7, the document registration unit 130 registers the meta information and document content of the ID-added document to be processed in the derivation relationship DB 110 and the document DB 100, respectively. .

以上、図7〜図9を参照して説明した文書登録部130の処理の例によると、あるID付き文書の改訂版の文書(操作種別は「改訂登録」)が文書管理サーバ10に登録されるときに、文書の派生関係の木構造において、当該改訂版の文書の先祖に該当する「新規登録」操作の文書又は「改訂登録」操作の文書について登録制限情報が設定される。「改訂登録」操作の文書が文書管理サーバ10に登録された時点では、当該文書が属する派生関係の木構造において、当該文書が最新版の文書である。したがって、登録制限情報は、最新版の文書の先祖に該当する文書について設定されるものであると言える。そして、文書登録部130がID付き文書をクライアント端末20から受信したときには、当該文書の親文書を起点として派生関係の木構造を根ノードの方向に遡って登録制限情報を検索する。このとき、根ノードまで遡る経路上に登録制限情報の設定されていない「改訂登録」操作のノードがあれば、このノードは最新版の文書に対応するため、クライアント端末20から受信した文書は最新版の文書の子孫に該当し、登録制限の対象とならない。一方、根ノードまで遡る経路上に登録制限情報の設定されているノードが存在すれば、クライアント端末20から受信した文書は最新版の文書の先祖に該当する文書から派生した文書であり、登録制限の対象となる。   As described above, according to the processing example of the document registration unit 130 described with reference to FIGS. 7 to 9, a revised document (operation type is “revision registration”) of a certain ID-added document is registered in the document management server 10. In the tree structure of the document derivation relationship, registration restriction information is set for the document of the “new registration” operation or the document of the “revision registration” operation corresponding to the ancestor of the revised document. When a document for “revision registration” operation is registered in the document management server 10, the document is the latest version in the tree structure of the derivation relationship to which the document belongs. Therefore, it can be said that the registration restriction information is set for a document corresponding to an ancestor of the latest version of the document. When the document registration unit 130 receives an ID-added document from the client terminal 20, the registration restriction information is searched by tracing the tree structure of the derivation relationship starting from the parent document of the document toward the root node. At this time, if there is a “revision registration” operation node for which registration restriction information is not set on the route going back to the root node, this node corresponds to the latest version of the document, so the document received from the client terminal 20 is the latest. Corresponds to the descendants of the version document and is not subject to registration restrictions. On the other hand, if there is a node for which registration restriction information is set on the route going back to the root node, the document received from the client terminal 20 is a document derived from the document corresponding to the ancestor of the latest version of the document, and the registration restriction It becomes the object of.

以上より、図7〜図9を参照して説明した文書登録部130の処理の例によると、1つの「新規登録」操作の文書を根ノードとする木構造に含まれる文書のうち最新版の文書の先祖に該当する文書に対して特定の操作種別の操作を実行した結果の文書の登録は制限される。言い換えると、改訂版の文書が登録された後に、当該改訂版よりも古いバージョンのID付き文書に対して、登録制限情報において制限される操作種別(図5Bの例では、「応答」又は「改訂登録」)の操作が行われた結果として生成されたID付き文書は、登録制限の対象となる。   As described above, according to the processing example of the document registration unit 130 described with reference to FIGS. 7 to 9, the latest version of the documents included in the tree structure having one “new registration” operation document as a root node. Registration of a document as a result of executing an operation of a specific operation type for a document corresponding to an ancestor of the document is limited. In other words, after the revised document is registered, the operation type restricted in the registration restriction information for the ID-added document version older than the revised version (in the example of FIG. 5B, “response” or “revision”). The ID-added document generated as a result of the operation of “registration”) is subject to registration restriction.

以上、文書管理サーバ10の文書登録部130の処理の手順の例を説明した。以下、図5A、図5B及び図6を参照し、文書管理システムにおける文書操作の情報の登録の様子の具体例を説明する。   The example of the processing procedure of the document registration unit 130 of the document management server 10 has been described above. A specific example of how document operation information is registered in the document management system will be described below with reference to FIGS. 5A, 5B, and 6. FIG.

図5Aを参照し、まず、文書の「新規登録」操作がuserAのクライアント端末で実行される。「新規登録」操作は、文書管理サーバ10に未登録の文書(すなわち、管理IDを有していない文書)を当該サーバ10に登録するための操作である。この操作に応じて管理IDが"Doc1"、親IDが空、操作種別が「新規登録」であるメタ情報と、その文書の文書内容とを含むID付き文書"Doc1"がuserAのクライアント端末から文書管理サーバ10に送られる。これに応じ、文書管理サーバ10の文書登録部130は、図7の例の手順の処理を開始する。ID付き文書"Doc1"の操作種別は新規登録であるため、図7のステップS10からステップS60に進み、文書登録部130は、ID付き文書"Doc1"中の文書内容を文書DB100へ、メタ情報を派生関係DB110にそれぞれ登録する。その後、userAは、登録したID付き文書を他のユーザuserB,userC,userDに配布する。この配布は、例えば、電子メールにそのID付き文書を添付して各ユーザに送信することにより、行うことができる。   Referring to FIG. 5A, first, a “new registration” operation of a document is executed at the client terminal of userA. The “new registration” operation is an operation for registering a document not registered in the document management server 10 (that is, a document having no management ID) in the server 10. In response to this operation, the ID-added document “Doc1” including the meta information having the management ID “Doc1”, the parent ID is empty, and the operation type is “new registration” and the document content of the document is received from the client terminal of userA. It is sent to the document management server 10. In response to this, the document registration unit 130 of the document management server 10 starts processing of the procedure in the example of FIG. Since the operation type of the ID-added document “Doc1” is new registration, the process proceeds from step S10 in FIG. 7 to step S60, and the document registration unit 130 transfers the document contents in the ID-added document “Doc1” to the document DB 100 and meta information. Are registered in the derivation relationship DB 110, respectively. Thereafter, userA distributes the registered ID-added document to other users userB, userC, and userD. This distribution can be performed, for example, by attaching the ID-added document to an e-mail and transmitting it to each user.

その後、他のユーザuserBが自分のクライアント端末の文書操作部200でID付き文書"Doc1"に対してコメントの付加を行い、操作メニュー上で「応答(コメント付き文書の登録)」を指示する。クライアント端末20は、この「応答」操作の結果としてID付き文書"Doc2"を生成し、このID付き文書"Doc2"が文書管理サーバ10に送信される。このID付き文書のメタ情報における管理IDは"Doc2"であり親IDは"Doc1"である。また操作者はuserBであり、操作種別は「応答」である。また、ID付き文書"Doc1"に対してコメントを付加したことにより、文書内容320は、ID付き文書"Doc1"の文書内容から変化している。文書管理サーバ10は、受け取ったID付き文書の親IDの値から、当該文書"Doc2"が文書"Doc1"の子であることを認識する。文書管理サーバ10の文書登録部130において、ID付き文書"Doc2"を処理対象とする図7の例の手順の処理は、操作種別が「新規登録」でないことからステップS10からステップS20へ進み、処理対象の文書"Doc2"の親である文書"Doc1"に登録制限情報が設定されていないことから登録制限情報検索処理(図8)の検索結果はNULLとなり、図7のステップS30からステップS40へ進む。さらに、操作種別が「改訂登録」でないため、登録制限情報設定処理(ステップS50)が行われることなく、ID付き文書"Doc2"について、メタ情報は派生関係DB110に、文書内容は文書DB100に、それぞれ登録される。   Thereafter, another user userB adds a comment to the ID-added document “Doc1” using the document operation unit 200 of his / her client terminal, and instructs “response (register comment-added document)” on the operation menu. The client terminal 20 generates an ID-added document “Doc2” as a result of the “response” operation, and the ID-added document “Doc2” is transmitted to the document management server 10. The management ID in the meta information of the ID-added document is “Doc2” and the parent ID is “Doc1”. The operator is userB and the operation type is “response”. Further, by adding a comment to the ID-added document “Doc1”, the document content 320 is changed from the document content of the ID-added document “Doc1”. The document management server 10 recognizes that the document “Doc2” is a child of the document “Doc1” from the value of the parent ID of the received ID-added document. In the document registration unit 130 of the document management server 10, the processing of the procedure in the example of FIG. 7 for processing the ID-added document “Doc2” proceeds from step S10 to step S20 because the operation type is not “new registration”. Since the registration restriction information is not set in the document “Doc1” which is the parent of the document “Doc2” to be processed, the search result of the registration restriction information search process (FIG. 8) is NULL, and steps S30 to S40 in FIG. Proceed to Further, since the operation type is not “revision registration”, the registration restriction information setting process (step S50) is not performed, and the meta information of the ID-added document “Doc2” is stored in the derivation relation DB 110 and the document content is stored in the document DB 100. Each is registered.

なお、この操作の前にuserBのクライアント端末20内にあったID付き文書"Doc1"は、この操作に伴い、派生関係組込部204によりID付き文書"Doc2"に置き換えられる。この置き換え処理では、派生関係組込部204は、元のID付き文書"Doc1"のうち、メタ情報310の管理ID312を新たに発行したID"Doc2"へ変更すると共に、元の文書"Doc1"の管理ID"Doc1"を親ID314の値にセットする。また、派生関係組込部204は、ログ情報316中の操作種別の値を今回の操作の種別である「応答」に変更し、操作時刻の値をその応答の日時に変更し、操作者の値をuserBに変更する。さらに、文書内容320をコメント付加後の内容に変更する。   It should be noted that the ID-added document “Doc1” that was in the client terminal 20 of userB before this operation is replaced with the ID-added document “Doc2” by the derivation relationship incorporating unit 204 in accordance with this operation. In this replacement process, the derivation relationship incorporating unit 204 changes the management ID 312 of the meta information 310 among the original ID-added document “Doc1” to the newly issued ID “Doc2” and the original document “Doc1”. Management ID "Doc1" is set to the value of the parent ID 314. Further, the derivation relationship incorporating unit 204 changes the value of the operation type in the log information 316 to “response” which is the type of the current operation, changes the value of the operation time to the date and time of the response, and Change the value to userB. Further, the document content 320 is changed to the content after the comment is added.

このようにID付き文書"Doc1"に対する操作が実行されると、ID付き文書"Doc1"は、操作後のID付き文書"Doc2"に置き換えられる。したがって、その置き換えの後は、ID付き文書"Doc1"自体はそのクライアント端末20には存在せず、その代わりにID付き文書"Doc2"が存在することとなる。   When the operation for the ID-added document “Doc1” is executed in this way, the ID-added document “Doc1” is replaced with the post-operation ID-added document “Doc2”. Therefore, after the replacement, the ID-added document “Doc1” itself does not exist in the client terminal 20, but the ID-added document “Doc2” exists instead.

その後、userCが自分のクライアント端末20の文書操作部200によってID付き文書"Doc1"に対してコメントを付加し、操作メニュー上で「応答」を指示すると、クライアント端末20は、管理ID312の値が"Doc3"、親ID314の値が"Doc1"、操作種別の値が「応答」であるID付き文書"Doc3"を生成する。そして、クライアント端末20は、生成したID付き文書"Doc3"を「応答」操作の前のID付き文書"Doc1"と置き換えると共に、ID付き文書"Doc3"を文書管理サーバ10に登録する。コメントの付加により、文書内容はID付き文書"Doc1"の文書内容から変化している。文書管理サーバ10の文書登録部130では、ID付き文書"Doc3"を処理対象として図7の例の手順の処理が行われる。ID付き文書"Doc3"は、ID付き文書"Doc2"と同じ操作種別「応答」及び親ID"Doc1"を有するため、図7の例の処理は文書"Doc2"について上述した手順と同様に進んで、派生関係DB110には、管理ID"Doc3"のレコードが登録される。   Thereafter, when userC adds a comment to the ID-added document “Doc1” by the document operation unit 200 of his / her client terminal 20 and instructs “response” on the operation menu, the client terminal 20 has the value of the management ID 312. An ID-added document “Doc3” having “Doc3”, a parent ID 314 value of “Doc1”, and an operation type value of “response” is generated. The client terminal 20 replaces the generated ID-added document “Doc3” with the ID-added document “Doc1” before the “response” operation, and registers the ID-added document “Doc3” in the document management server 10. By adding a comment, the document content changes from the document content of the ID-added document “Doc1”. In the document registration unit 130 of the document management server 10, the process of the example of FIG. 7 is performed on the ID-added document “Doc3”. Since the ID-added document “Doc3” has the same operation type “response” and parent ID “Doc1” as the ID-added document “Doc2”, the processing in the example of FIG. 7 proceeds in the same manner as the procedure described above for the document “Doc2”. Thus, the record of the management ID “Doc3” is registered in the derivation relationship DB 110.

さらに、userAが、自己のクライアント端末20でID付き文書"Doc1"に対して「閲覧」操作を行うと、クライアント端末20は、閲覧の結果としてID付き文書"Doc4"を生成してID付き文書"Doc1"と置き換えると共に、文書管理サーバ10へ送信する。文書管理サーバ10の文書登録部130において、ID付き文書"Doc4"を処理対象とする図7の例の手順の処理は、その操作種別が「新規登録」及び「改訂登録」のいずれでもなく、かつ、ID付き文書"Doc4"の親であるID付き文書"Doc1"について登録制限情報が設定されていないため、ID付き文書"Doc2"について上述した手順と同様に処理が進む。派生関係DB110には、管理ID"Doc4"のレコードが登録される。図5Aの例の表は、この時点での派生関係DB110のデータ内容の例を示す。   Furthermore, when userA performs a “browsing” operation on the ID-added document “Doc1” on its own client terminal 20, the client terminal 20 generates an ID-added document “Doc4” as a result of browsing, and the ID-added document. It is replaced with “Doc1” and transmitted to the document management server 10. In the document registration unit 130 of the document management server 10, the processing of the procedure in the example of FIG. 7 for processing the ID-added document “Doc4” is neither “new registration” nor “revision registration”. In addition, since registration restriction information is not set for the ID-added document “Doc1” that is the parent of the ID-added document “Doc4”, the process proceeds in the same manner as the procedure described above for the ID-added document “Doc2”. In the derivation relationship DB 110, a record with a management ID “Doc4” is registered. The table in the example of FIG. 5A shows an example of data contents of the derivation relationship DB 110 at this time.

ID付き文書"Doc4"が文書管理サーバ10に登録された後、userAがクライアント端末20の文書操作部200によりID付き文書"Doc4"に対して編集を加えて新しいバージョンの文書を作成し、操作メニュー上で「改訂登録」を指示する。クライアント端末20は、この「改訂登録」操作の結果のID付き文書"Doc5"を生成し、文書管理サーバ10へ送信する。文書管理サーバ10の文書登録部130は、ID付き文書"Doc5"を処理対象として図7の例の手順の処理を行う。図7を参照し、ID付き文書"Doc5"の操作種別は新規登録でないため、ステップS10の判定の結果NOに進んで、登録制限情報検索処理(ステップS20)が行われる。この時点で、派生関係DB110は、図5Aの例のデータ内容を有する。ID付き文書"Doc5"の親であるID付き文書"Doc4"と、そのさらに親であるID付き文書"Doc1"(根ノード)には、いずれも登録制限情報が設定されていないため、登録制限情報検索処理(図8)の検索結果はNULLとなり、図7のステップS30からステップS40に進む。処理対象のID付き文書"Doc5"の操作種別は改訂登録であるため、登録制限情報設定処理(ステップS50,図9)が行われる。登録制限情報設定処理では、ID付き文書"Doc5"の親であるID付き文書"Doc4"から文書の派生関係の木構造(図6)を遡って現れる新規登録ノードに対応する派生関係DB110のレコード(管理ID"Doc1")について、登録制限情報が設定される。図5Bの例の表の管理ID"Doc1"のレコードは、この登録制限情報設定処理の結果のレコードの例を示す。登録制限情報設定処理が終了すると、図7のステップS60で、処理対象のID付き文書の管理ID"Doc5"のレコードが派生関係DB110に登録される。   After the ID-added document “Doc4” is registered in the document management server 10, userA edits the ID-added document “Doc4” by the document operation unit 200 of the client terminal 20 to create a new version of the document. Instruct "Revision registration" on the menu. The client terminal 20 generates an ID-added document “Doc5” as a result of the “revision registration” operation, and transmits it to the document management server 10. The document registration unit 130 of the document management server 10 performs the process of the example of FIG. 7 with the ID-added document “Doc5” as a processing target. Referring to FIG. 7, since the operation type of the ID-added document “Doc5” is not newly registered, the process proceeds to NO as a result of the determination in step S10, and registration restriction information search processing (step S20) is performed. At this point, the derivation relationship DB 110 has the data contents of the example of FIG. 5A. Since registration restriction information is not set for the ID-added document “Doc4” that is the parent of the ID-added document “Doc5” and the ID-added document “Doc1” (root node) that is the parent of the ID-added document “Doc5”. The search result of the information search process (FIG. 8) is NULL, and the process proceeds from step S30 to step S40 in FIG. Since the operation type of the ID-added document “Doc5” to be processed is revision registration, registration restriction information setting processing (step S50, FIG. 9) is performed. In the registration restriction information setting process, a record in the derivation relationship DB 110 corresponding to a new registration node that appears retroactively from the document derivation relationship tree structure (FIG. 6) from the ID-added document “Doc4” that is the parent of the ID-added document “Doc5”. Registration restriction information is set for (management ID “Doc1”). The record of management ID “Doc1” in the table of the example of FIG. 5B shows an example of a record as a result of the registration restriction information setting process. When the registration restriction information setting process is completed, the record of the management ID “Doc5” of the ID-added document to be processed is registered in the derivation relationship DB 110 in step S60 of FIG.

この時点で、ID付き文書"Doc5"は、新規登録されたID付き文書"Doc1"から派生する文書のうち、最新版の文書である。その後、この最新版のID付き文書"Doc5"をuserAから電子メールなどによって受け取ったuserB及びuserCは、それぞれ、自己のクライアント端末20において、ID付き文書"Doc5"に対してコメントを付加し、「応答」操作を行う。図5Bの管理ID"Doc6"及び"Doc7"のレコードは、それぞれ、userB及びuserCの各「応答」操作の結果のID付き文書に対応する。各ID付き文書"Doc6"及び"Doc7"をクライアント端末20から受け取ったときの文書管理サーバ10の文書登録部130における図7の例の手順の処理は、それぞれ同様の手順で進む。登録情報検索処理(ステップS20,図8)では、処理対象のID付き文書"Doc6"("Doc7")の親であるID付き文書"Doc5"に登録制限情報が設定されておらず、かつ、ID付き文書"Doc5"の操作種別が改訂登録であるため、図8においてステップS204,S210,S212の順に処理が進んで検索結果はNULLとなる。さらに、処理対象のID付き文書"Doc6"("Doc7")の操作種別は「応答」であるため、図7のステップS40の判定でNOに進み、登録制限情報設定処理(ステップS50)が行われることなく、当該管理ID"Doc6"("Doc7")のレコードが派生関係DB110に登録される。図5Bは、この時点での派生関係DB110のデータ内容の例である。   At this time, the ID-added document “Doc5” is the latest version of the documents derived from the newly registered ID-added document “Doc1”. After that, userB and userC who have received this latest version of the ID-added document “Doc5” from userA by e-mail or the like add a comment to the ID-added document “Doc5” in their client terminal 20, respectively. Perform a "response" operation. The records of management IDs “Doc6” and “Doc7” in FIG. 5B correspond to ID-added documents as a result of the “response” operations of userB and userC, respectively. The process of the example procedure of FIG. 7 in the document registration unit 130 of the document management server 10 when the ID-added documents “Doc6” and “Doc7” are received from the client terminal 20 proceeds in the same manner. In the registration information search process (step S20, FIG. 8), registration restriction information is not set in the ID-added document “Doc5” that is the parent of the ID-added document “Doc6” (“Doc7”) to be processed, and Since the operation type of the ID-added document “Doc5” is revision registration, the process proceeds in the order of steps S204, S210, and S212 in FIG. 8, and the search result is NULL. Furthermore, since the operation type of the ID-added document “Doc6” (“Doc7”) to be processed is “response”, the process proceeds to NO in the determination of step S40 in FIG. 7, and the registration restriction information setting process (step S50) is performed. Instead, the record of the management ID “Doc6” (“Doc7”) is registered in the derivation relationship DB 110. FIG. 5B is an example of the data contents of the derivation relationship DB 110 at this point.

以上で説明した具体例では、登録制限情報を用いた制限処理(図7のステップS70)は行われない。以下、制限処理が行われる場合の具体例を説明する。例えば、派生関係DB110に図5Bの例の内容のデータが登録されている場合に、ID付き文書"Doc1"に対して、userDが自己のクライアント端末20においてコメントを付加し、「応答」操作を行ったとする。この「応答」操作の結果としてuserDのクライアント端末20が生成したID付き文書"Doc8"(親IDは"Doc1")は、文書管理サーバ10へ送信される。文書管理サーバ10の文書登録部130が当該文書"Doc8"を処理対象として図7の例の手順の処理を行うと、登録制限情報検索処理(図7のステップS20,図8)の結果として、図5Bの管理ID"Doc1"のレコードに設定されている登録制限情報が取得される。この登録制限情報は、当該管理ID"Doc1"に対応する文書の子であって操作種別が「応答」であるID付き文書を文書管理サーバ10に登録することを禁止する旨を表す。登録制限処理部136は、この登録制限情報が表す内容に従って、ID付き文書"Doc8"に対応するレコードを派生関係DB110に登録しないよう派生関係登録部132に対して指示を出す。この指示の結果、ID付き文書"Doc8"のメタ情報の派生関係DB110への登録は行われない。さらに、ID付き文書"Doc8"の文書内容の文書DB100への登録も行なわれない。このとき、登録制限処理部136は、当該文書"Doc8"の送信元のクライアント端末20に対して、当該文書"Doc8"を文書管理サーバ10に登録しない旨を表す情報を返してもよい。   In the specific example described above, the restriction process (step S70 in FIG. 7) using the registration restriction information is not performed. Hereinafter, a specific example when the restriction process is performed will be described. For example, when the data of the example of FIG. 5B is registered in the derivation relationship DB 110, the userD adds a comment to the ID-added document “Doc1” at the client terminal 20 and performs a “response” operation. Suppose you went. The ID-added document “Doc8” (parent ID is “Doc1”) generated by the client terminal 20 of userD as a result of the “response” operation is transmitted to the document management server 10. When the document registration unit 130 of the document management server 10 performs the process of the example of FIG. 7 with the document “Doc8” as a processing target, as a result of the registration restriction information search process (steps S20 and FIG. 8 of FIG. 7), The registration restriction information set in the record with the management ID “Doc1” in FIG. 5B is acquired. This registration restriction information represents that registration of an ID-added document that is a child of the document corresponding to the management ID “Doc1” and whose operation type is “response” is prohibited from being registered in the document management server 10. The registration restriction processing unit 136 instructs the derivation relationship registration unit 132 not to register the record corresponding to the ID-added document “Doc8” in the derivation relationship DB 110 according to the contents represented by the registration restriction information. As a result of this instruction, the meta information of the ID-added document “Doc8” is not registered in the derivation relationship DB 110. Further, the document content of the ID-added document “Doc8” is not registered in the document DB 100. At this time, the registration restriction processing unit 136 may return information indicating that the document “Doc8” is not registered in the document management server 10 to the client terminal 20 that is the transmission source of the document “Doc8”.

また例えば、当該文書"Doc8"の親文書"Doc1"が属する派生関係の木構造に含まれる文書のうち最新版の文書であるID付き文書"Doc5"に対して「応答」操作を行うことをユーザに促す情報をクライアント端末20に送ってもよい。このように制限処理において最新版文書に対する操作の実行を促す情報をクライアント端末20に送信する場合、登録制限処理部136は、例えば、次のように最新版文書の管理IDを検索する。まず、登録制限情報検索処理により取得された登録制限情報が設定されているID付き文書(図8の手順の処理の終了時の注目IDに対応する文書。本例では、"Doc1")の子IDを検索する。子IDは、当該ID付き文書の管理IDの値を親IDとして有するレコードを派生関係DB110から抽出し、抽出したレコードの管理IDの値を取得することで得られる。本例では、登録制限情報が設定されている文書"Doc1"の子IDとして"Doc2","Doc3","Doc4"が得られる。そして、各子IDについて、図10に例示する子孫探索処理を行う。   Also, for example, the “response” operation is performed on the ID-added document “Doc5” which is the latest version of the documents included in the tree structure of the derivation relationship to which the parent document “Doc1” of the document “Doc8” belongs. Information prompting the user may be sent to the client terminal 20. In this way, when information that prompts execution of an operation on the latest document in the restriction process is transmitted to the client terminal 20, the registration restriction processing unit 136 searches for the management ID of the latest document as follows, for example. First, a child of an ID-added document in which registration restriction information acquired by the registration restriction information search process is set (a document corresponding to an attention ID at the end of the process of FIG. 8; in this example, “Doc1”) Search for an ID. The child ID is obtained by extracting a record having the management ID value of the ID-added document as a parent ID from the derivation relationship DB 110 and acquiring the management ID value of the extracted record. In this example, “Doc2”, “Doc3”, and “Doc4” are obtained as child IDs of the document “Doc1” for which registration restriction information is set. And the descendant search process illustrated in FIG. 10 is performed about each child ID.

図10を参照し、まず、登録制限処理部136は、当該子IDを注目IDとする(ステップS11)。次に、その注目IDに対応するレコードを派生関係DB110から取得し(ステップS12)、取得したレコードを中間結果リストに入れる(ステップS13)。その後、注目IDの子IDを検索し(ステップS14)、子IDが検索できたか否かを判定する(ステップS15)。子IDがあれば(ステップS15でYES)、それら各子IDについて、それぞれ、子孫探索処理(ステップS4)を再帰的に実行する。すべての子IDについての子孫探索処理が終了すると、当該注目IDについての処理が終了する。ステップS15で子IDがないと判定された場合も、当該注目IDについての処理は終了する。   Referring to FIG. 10, first, the registration restriction processing unit 136 sets the child ID as the attention ID (Step S11). Next, a record corresponding to the attention ID is acquired from the derivation relationship DB 110 (step S12), and the acquired record is put in the intermediate result list (step S13). Thereafter, the child ID of the attention ID is searched (step S14), and it is determined whether or not the child ID has been searched (step S15). If there is a child ID (YES in step S15), a descendant search process (step S4) is recursively executed for each child ID. When the descendant search process for all the child IDs ends, the process for the attention ID ends. Even when it is determined in step S15 that there is no child ID, the process for the attention ID is ended.

登録制限情報が設定されているID付き文書の子IDのすべてについて図10の例の子孫探索処理が終了すると、中間結果リストには、登録制限情報が設定されているID付き文書の子孫に該当する文書に対応するレコードが蓄積されている。中間結果リストに蓄積されたレコードであって操作種別が「改訂登録」であるレコードのうち操作日時が最新であるレコードの管理IDが最新版文書の管理IDである。   When the descendant search process in the example of FIG. 10 is completed for all the child IDs of the ID-added document for which registration restriction information is set, the intermediate result list corresponds to the descendants of the ID-added document for which registration restriction information is set. Records corresponding to the documents to be stored. The management ID of the record with the latest operation date / time among the records stored in the intermediate result list and whose operation type is “revision registration” is the management ID of the latest document.

図5Bを参照する本例では、図10の例の子孫探索処理の結果、中間結果リストには、管理ID"Doc2","Doc3","Doc4","Doc5","Doc6","Doc7"の各レコードが蓄積される。これらのレコードにおいて操作種別が「改訂登録」であるものは、管理ID"Doc5"のレコードのみであるため、"Doc5"が最新版文書の管理IDとして取得される。   In this example with reference to FIG. 5B, as a result of the descendant search process of the example of FIG. 10, the intermediate result list includes management IDs “Doc2”, “Doc3”, “Doc4”, “Doc5”, “Doc6”, “Doc7”. "Each record is accumulated. Of these records, the record whose operation type is “revision registration” is only the record with the management ID “Doc5”, so “Doc5” is acquired as the management ID of the latest version document.

制限処理の他の例では、最新版の文書の先祖に該当する文書に対して行なわれた操作結果のID付き文書を、最新版の文書の子として文書管理サーバ10に登録してもよい。図11に、この例の制限処理を表す登録制限情報が設定される場合の派生関係DB110のデータ内容の一例を示す。また、図12に、図11に例示するデータ内容における管理ID群がなす木構造を表す。   In another example of the restriction process, an ID-added document as a result of an operation performed on a document corresponding to an ancestor of the latest document may be registered in the document management server 10 as a child of the latest document. FIG. 11 shows an example of data contents of the derivation relationship DB 110 when registration restriction information representing restriction processing of this example is set. FIG. 12 shows a tree structure formed by the management ID group in the data content illustrated in FIG.

図11及び図12の例の文書の履歴を時系列順で簡単に説明する。まず、userAの「新規登録」操作によりID付き文書"Doc11"が文書管理サーバ10に登録される。この時点では、派生関係DB110の管理ID"Doc11"のレコードの登録制限の項目は空である。その後、userB,userCが順に文書"Doc11"に対する「応答」操作を行って、ID付き文書"Doc12","Doc13"(親IDは、いずれも"Doc11")が登録される。次に、userAが文書"Doc11"に対して「改訂登録」操作を行うことで、改訂版のID付き文書"Doc14"が生成されて文書管理サーバ10に登録される。このとき、文書"Doc14"の操作種別が「改訂登録」であるので、その親文書であって「新規登録」操作の文書である文書"Doc11"に対応する派生関係DB110のレコードに登録制限情報が設定される。図11を参照し、管理ID"Doc11"のレコードの登録制限の項目に設定される値は、「子:応答:最新版に移動、子:改訂登録:禁止」である。このうち、「子:応答:最新版に移動」の部分は、該当するレコードに対応するID付き文書に対する「応答」操作の結果のID付き文書について、最新版のID付き文書の子として派生関係DB110に登録することを表す。また、「子:改訂登録:禁止」の部分は、図5Bを参照する上述の例と同様に、該当するレコードに対応するID付き文書に対する「改訂登録」操作の結果のID付き文書の文書管理サーバ10への登録を禁止する旨を表す。なお、文書"Doc14"が文書管理サーバ10に登録された時点では、「新規登録」操作の文書"Doc11"から派生した文書のうち文書"Doc14"が最新版であり、管理ID"Doc14"のレコードには登録制限情報は設定されていない。   The history of the document in the example of FIGS. 11 and 12 will be briefly described in chronological order. First, the document “Doc11” with ID is registered in the document management server 10 by the “new registration” operation of userA. At this point, the registration restriction item for the record with the management ID “Doc11” in the derivation relationship DB 110 is empty. Thereafter, userB and userC sequentially perform a “response” operation to the document “Doc11”, and ID-added documents “Doc12” and “Doc13” (both parent IDs are “Doc11”) are registered. Next, when userA performs a “revision registration” operation on the document “Doc11”, the revised ID-added document “Doc14” is generated and registered in the document management server 10. At this time, since the operation type of the document “Doc14” is “revision registration”, the registration restriction information is registered in the record of the derivation relationship DB 110 corresponding to the document “Doc11” which is the parent document and the document of the “new registration” operation. Is set. Referring to FIG. 11, the value set in the registration restriction item of the record with management ID “Doc11” is “child: response: moved to latest version, child: revised registration: prohibited”. Of these, the “child: response: move to latest version” portion is derived as a child of the latest version of the ID-added document for the ID-added document as a result of the “response” operation for the ID-added document corresponding to the corresponding record. It represents registering in DB110. Further, the “child: revision registration: prohibition” portion is the document management of the ID-added document as a result of the “revision registration” operation for the ID-added document corresponding to the corresponding record, as in the above example referring to FIG. 5B. This indicates that registration to the server 10 is prohibited. At the time when the document “Doc14” is registered in the document management server 10, the document “Doc14” is the latest version among the documents derived from the document “Doc11” of the “new registration” operation, and the management ID “Doc14” Registration restriction information is not set for the record.

その後、文書"Doc14"に対する「応答」操作が各userB,userCによって行われ、各操作は最新版の文書に対する操作であるため、登録制限の対象とならず、各「応答」操作の結果の文書"Doc15","Doc16"が文書管理サーバ10に登録される。さらに、userAが現時点での最新版の文書"Doc14"に対して「改訂登録」操作を行うと、その結果として文書"Doc17"が生成されて文書管理サーバ10に登録される。文書"Doc17"は、新たな最新版文書である。文書"Doc17"の操作種別は「改訂登録」であることから、登録制限情報設定処理が行われ、文書"Doc17"の親文書であって操作種別が「改訂登録」である文書"Doc14"に対応する派生関係DB110のレコードに登録制限情報が設定される。管理ID"Doc14"のレコードに設定される登録制限情報の内容は、管理ID"Doc11"のレコードと同様である。   After that, a “response” operation for the document “Doc14” is performed by each of userB and userC, and each operation is an operation for the latest version of the document. “Doc15” and “Doc16” are registered in the document management server 10. Furthermore, when userA performs a “revision registration” operation on the latest version of the document “Doc14” at the current time, the document “Doc17” is generated and registered in the document management server 10 as a result. The document “Doc17” is a new latest document. Since the operation type of the document “Doc17” is “revision registration”, registration restriction information setting processing is performed, and the document “Doc14” which is the parent document of the document “Doc17” and the operation type is “revision registration” is processed. Registration restriction information is set in the corresponding record of the derivation relationship DB 110. The content of the registration restriction information set in the record with the management ID “Doc14” is the same as the record with the management ID “Doc11”.

さらに、図11の例の表において、管理ID"Doc17"のレコードが登録された後、userDのクライアント端末20において、ID付き文書"Doc11"(操作種別は「新規登録」)に対してコメントを付加する「応答」操作が行われたとする。この「応答」操作の結果としてuserDのクライアント端末20が生成した新たなID付き文書"Doc18"(親IDは"Doc11")を受け取ると、文書管理サーバ10の文書登録部130は、当該文書"Doc18"を処理対象として図7の例の手順の処理を開始する。このとき、登録制限情報検索処理(図7のステップS20、図8)の検索結果として、処理対象の文書"Doc18"の親である文書"Doc11"に対して設定されている登録制限情報「子:応答:最新版に移動、子:改訂登録:禁止」が取得される。この登録制限情報に従って、文書登録部130の登録制限処理部136は、制限処理(図7のステップS70)を行う。この制限処理において、処理対象の文書"Doc18"の操作種別は「応答」であることから、検索結果の登録制限情報のうち「子:応答:最新版に移動」の部分に従って、登録制限処理部136は、当該文書"Doc18"を最新版文書の子文書として派生関係DB110に登録する。そのために登録制限処理部136は、図10の例の手順の子孫探索処理を行って最新版文書の管理IDを検索する。図11を参照する本例において、最新版文書の管理IDは、登録制限情報検索処理により取得された登録制限情報が設定されている文書"Doc11"の子孫に該当する文書であって操作種別が「改訂登録」である文書"Doc14","Doc17"のうち、操作日時が最新である文書の管理ID"Doc17"である。最新版文書の管理ID"Doc17"を取得すると、登録制限処理部136は、ID付き文書"Doc18"("Doc11"に対する「応答」操作結果の文書)を最新版文書である"Doc17"の子文書として派生関係DB110に登録する。   Further, in the table of the example of FIG. 11, after the record of the management ID “Doc17” is registered, a comment is added to the ID-added document “Doc11” (operation type is “new registration”) in the client terminal 20 of userD. It is assumed that the “response” operation to be added is performed. When a new ID-added document “Doc18” (parent ID is “Doc11”) generated by the client terminal 20 of userD as a result of the “response” operation is received, the document registration unit 130 of the document management server 10 reads the document “ The processing of the procedure in the example of FIG. 7 is started with Doc18 ”as the processing target. At this time, as a search result of the registration restriction information search process (step S20 in FIG. 7, FIG. 8), the registration restriction information “child” set for the document “Doc11” that is the parent of the document “Doc18” to be processed. : Response: Move to latest version, Child: Revision registration: Prohibited ”is acquired. In accordance with the registration restriction information, the registration restriction processing unit 136 of the document registration unit 130 performs a restriction process (step S70 in FIG. 7). In this restriction process, since the operation type of the processing target document “Doc18” is “response”, the registration restriction processing unit according to the “child: response: move to latest version” portion of the registration restriction information of the search result In 136, the document “Doc18” is registered in the derivation relationship DB 110 as a child document of the latest version document. For this purpose, the registration restriction processing unit 136 performs descendant search processing in the procedure of the example of FIG. 10 to search for the management ID of the latest version document. In this example referring to FIG. 11, the management ID of the latest version document is a document corresponding to a descendant of the document “Doc11” in which the registration restriction information acquired by the registration restriction information search process is set, and the operation type is the operation type. Among the documents “Doc14” and “Doc17” which are “revision registration”, the management ID “Doc17” of the document whose operation date and time is the latest. When the management ID “Doc17” of the latest version document is acquired, the registration restriction processing unit 136 converts the ID-added document “Doc18” (the “response” operation result document for “Doc11”) to the child of “Doc17”, which is the latest version document. The document is registered in the derivation relationship DB 110 as a document.

図11の管理ID"Doc18"のレコードは、本例の制限処理によって登録されるレコードの例である。管理ID"Doc18"のレコードにおいて、親IDの値として、最新版文書の管理ID"Doc17"が設定される。また、操作種別は「応答」、操作者は当該操作を行ったuserDである。さらに、管理ID"Doc18"のレコードの「情報」の項目に、ID付き文書"Doc18"の実際の親文書が"Doc11"である旨を表す情報が登録される。図12は、図11の例の表で管理ID"Doc18"が派生関係DB110に登録された時点での派生関係が成す木構造の例を示す。以上で説明した制限処理により、旧バージョンの文書"Doc11"の子文書として生成された文書"Doc18"は、文書管理サーバ10において最新版文書"Doc17"の子文書として管理される。   The record of the management ID “Doc18” in FIG. 11 is an example of a record registered by the restriction process of this example. In the record of the management ID “Doc18”, the management ID “Doc17” of the latest version document is set as the value of the parent ID. The operation type is “response”, and the operator is userD who performed the operation. Further, information indicating that the actual parent document of the ID-added document “Doc18” is “Doc11” is registered in the “information” item of the record of the management ID “Doc18”. FIG. 12 shows an example of the tree structure formed by the derivation relationship at the time when the management ID “Doc18” is registered in the derivation relationship DB 110 in the table of the example of FIG. Through the restriction processing described above, the document “Doc18” generated as a child document of the old version document “Doc11” is managed as a child document of the latest version document “Doc17” in the document management server 10.

制限処理のさらに他の例では、旧バージョンの文書に対する操作結果のID付き文書を、制限処理が行われない場合の登録処理と同様に旧バージョンの文書の子文書として派生関係DB110に登録すると共に、当該子文書への参照情報を最新版のID付き文書の子文書として設定する。図13に、この例の制限処理が行われる場合の派生関係DB110のデータ内容の例を示す。図13の例の管理ID"Doc11"〜"Doc17"までの文書の操作の履歴は、図11に例示する履歴と同様である。管理ID"Doc11","Doc14"の各レコードに設定される登録制限情報の内容だけが異なる。図13の例の表において、管理ID"Doc11","Doc14"のレコードに設定された登録制限情報は、「子:応答:最新版に参照設定、子:改訂登録:禁止」である。このうち、「子:改訂登録:禁止」の部分は、図11の例と同様である。「子:応答:最新版に参照設定」の部分は、登録制限の対象であるID付き文書であって操作種別が「応答」である文書について、当該「応答」操作の実行対象であった文書(親文書)の子として派生関係DB110に登録すると共に、登録された当該文書への参照情報を最新版文書の子文書として登録することを表す。   In still another example of the restriction process, an ID-added document as an operation result for the old version document is registered in the derivation relationship DB 110 as a child document of the old version document, similarly to the registration process when the restriction process is not performed. The reference information for the child document is set as the child document of the latest version of the ID-added document. FIG. 13 shows an example of the data contents of the derivation relationship DB 110 when the restriction process of this example is performed. The operation history of the documents with the management IDs “Doc11” to “Doc17” in the example of FIG. 13 is the same as the history illustrated in FIG. Only the contents of the registration restriction information set in the records of the management IDs “Doc11” and “Doc14” are different. In the table of the example of FIG. 13, the registration restriction information set in the records of the management IDs “Doc11” and “Doc14” is “child: response: reference setting to latest version, child: revision registration: prohibited”. Among these, the “child: revision registration: prohibition” portion is the same as the example of FIG. The “child: response: reference setting for latest version” portion is a document that is an execution target of the “response” operation for a document with an ID that is subject to registration restriction and the operation type is “response”. This indicates that registration is made in the derivation relationship DB 110 as a child of (parent document), and reference information for the registered document is registered as a child document of the latest document.

本例の制限処理が行われる場合の文書登録部130の処理の具体例を以下に述べる。図11を参照して説明した上記の例と同様に、図13の例の表の管理ID"Doc11"〜"Doc17"までのレコードが派生関係DB110に登録されている時点で、useDが、ID付き文書"Doc11"に対してコメントを付加して「応答」操作を行ったとする。この「応答」操作の結果であるID付き文書"Doc18"を受け取った文書管理サーバ10において、登録制限情報検索処理(図7のステップS20、図8)の結果、当該文書"Doc18"の親である文書"Doc11"に設定された登録制限情報が取得される。当該文書"Doc18"の操作種別は「応答」であることから、取得した登録制限情報のうち「子:応答:最新版に参照設定」に従って制限処理(図7のステップS30)が行われる。本例の制限処理では、まず、登録制限処理部136は、ID付き文書"Doc18"のメタ情報を派生関係DB110に、文書内容を文書DB100に登録する。図13の管理ID"Doc18"のレコードは、このときに派生関係DB110に登録されたレコードの例である。管理ID"Doc18"のレコードにおいて、親IDは"Doc11"、操作種別は「応答」である。この登録処理は、登録制限処理の対象でないID付き文書の登録処理と同様である。さらに、登録制限処理部136は、派生関係DB110において、制限処理の対象であるID付き文書"Doc18"への参照情報を表すレコードを新たに生成する。当該新たなレコードの親IDの値としては、最新版文書の管理IDが設定される。最新版文書の管理IDは、例えば、図5B又は図11を参照する上記の例と同様に、図10に例示する手順の子孫探索処理を実行することで検索される。また、登録制限処理部136は、当該参照情報を表す新たなレコードの管理IDを生成し、生成した値を当該レコードの管理IDの値として設定する。例えば、クライアント端末20の文書操作部200のID割り当て部202と同様の処理を行うことで、登録制限処理部136は、新たな管理IDを生成する。図13の例の表の管理ID"Doc19"のレコードは、上述のように登録された新たなレコードの例である。管理ID"Doc19"のレコードにおいて、親IDの値は、最新版文書の管理ID"Doc17"に設定され、「参照情報」の項目には、登録制限の対象であるID付き文書"Doc18"の管理IDが登録されている。図14は、図13の例の表の派生関係が成す木構造の例を示す。   A specific example of processing of the document registration unit 130 when the restriction processing of this example is performed will be described below. Similar to the above example described with reference to FIG. 11, useD is set to ID when records from the management IDs “Doc11” to “Doc17” in the table of the example of FIG. 13 are registered in the derivation relationship DB 110. Assume that a comment is added to the attached document “Doc11” and a “response” operation is performed. In the document management server 10 that has received the ID-added document “Doc18” as a result of the “response” operation, as a result of the registration restriction information search process (step S20 in FIG. 7, FIG. 8), the document “Doc18” is the parent. The registration restriction information set for a document “Doc11” is acquired. Since the operation type of the document “Doc18” is “response”, restriction processing (step S30 in FIG. 7) is performed according to “child: response: reference setting to latest version” in the acquired registration restriction information. In the restriction process of this example, the registration restriction processing unit 136 first registers the meta information of the ID-added document “Doc18” in the derivation relation DB 110 and the document content in the document DB 100. The record with the management ID “Doc18” in FIG. 13 is an example of a record registered in the derivation relationship DB 110 at this time. In the record with the management ID “Doc18”, the parent ID is “Doc11” and the operation type is “response”. This registration process is similar to the registration process for ID-added documents that are not subject to the registration restriction process. Furthermore, the registration restriction processing unit 136 newly generates a record representing reference information for the ID-added document “Doc18” that is the target of restriction processing in the derivation relationship DB 110. As the value of the parent ID of the new record, the management ID of the latest document is set. The management ID of the latest version document is retrieved by executing the descendant search process of the procedure illustrated in FIG. 10 as in the above example referring to FIG. 5B or FIG. In addition, the registration restriction processing unit 136 generates a management ID of a new record representing the reference information, and sets the generated value as the management ID value of the record. For example, the registration restriction processing unit 136 generates a new management ID by performing the same processing as the ID assignment unit 202 of the document operation unit 200 of the client terminal 20. The record of the management ID “Doc19” in the table of the example of FIG. 13 is an example of a new record registered as described above. In the record of the management ID “Doc19”, the value of the parent ID is set to the management ID “Doc17” of the latest version document, and the “reference information” item includes the ID-added document “Doc18” subject to registration restriction. A management ID is registered. FIG. 14 shows an example of a tree structure formed by the derivation relationship of the table in the example of FIG.

なお、上述の文書登録部130の各種の処理の例では、制限処理(図7のステップS70)において、最新版文書の管理IDが必要となる度に、派生関係の木構造を走査して最新版文書の管理IDを検索する処理が行われる。他の例では、派生関係DB110において、文書の派生関係の木構造の根ノード(「新規登録」操作のノード)と関連付けて、その時点での最新版文書の管理IDを記憶しておいてもよい。この例の場合、例えば、操作種別が「改訂登録」であるID付き文書を派生関係DB110に登録するときに、当該ID付き文書の属する木構造の根ノードの文書の管理IDと関連付けて、当該「改訂登録」操作のID付き文書の管理IDを最新版文書の管理IDとして派生関係DB110に登録する。この例において、制限処理では、登録制限処理部136は、処理対象のID付き文書の親文書が属する木構造の根ノードに対応する派生関係DB110のレコードを参照して最新版文書の管理IDを取得する。   In the example of various processes of the document registration unit 130 described above, the tree structure of the derivation relationship is scanned and updated every time the management ID of the latest document is required in the restriction process (step S70 in FIG. 7). A process for searching the management ID of the version document is performed. In another example, the management ID of the latest version document at that time may be stored in the derivation relationship DB 110 in association with the root node of the tree structure of the document derivation relationship (the node of the “new registration” operation). Good. In the case of this example, for example, when registering an ID-added document whose operation type is “revision registration” in the derivation relationship DB 110, the ID is associated with the management ID of the document of the root node of the tree structure to which the ID-added document belongs. The management ID of the document with ID of the “revision registration” operation is registered in the derivation relationship DB 110 as the management ID of the latest version document. In this example, in the restriction process, the registration restriction processing unit 136 refers to the record in the derivation relation DB 110 corresponding to the root node of the tree structure to which the parent document of the ID-added document to be processed belongs, and sets the management ID of the latest version document. get.

以上、クライアント端末20からID付き文書を受け取った場合の文書管理サーバ10の文書登録部130の処理について説明した。次に、クライアント端末20からサービス要求を受けた場合に、文書管理サーバ10の要求処理部140が行う処理の例を説明する。以下では、サービス要求中で指定された管理IDに対応する文書又は当該文書から派生した文書に対して付加されたコメントに関する情報を提供することを要求するサービス要求に応じた処理の例を説明する。   The processing of the document registration unit 130 of the document management server 10 when receiving an ID-added document from the client terminal 20 has been described above. Next, an example of processing performed by the request processing unit 140 of the document management server 10 when a service request is received from the client terminal 20 will be described. In the following, an example of processing in response to a service request that requests to provide information related to a comment corresponding to a management ID specified in the service request or a document derived from the document will be described. .

図15を参照し、まず、要求処理部140は、クライアント端末20から受け取ったサービス要求から、指定文書の管理IDを取り出し、その管理IDを注目IDにセットする(ステップS1)。次に、要求処理部140は、派生関係DB110を参照し、注目IDの子IDを検索する(ステップS2)。派生関係DB110のうちその注目IDを「親ID」の値として持つレコードの「管理ID」が、注目IDの子IDである。そして、注目IDの子IDが存在するか否かを判定する(ステップS3)。注目IDの子IDが存在しない場合(ステップS3でNO)、要求処理部140は、「検索結果なし」を表す情報をサービス実行の結果としてクライアント端末20に返す(ステップS7)。注目IDの子IDが存在する場合(ステップS3でYES)、要求処理部140は、それら子IDごとに、図10を参照して説明した子孫探索処理を実行する。   Referring to FIG. 15, first, the request processing unit 140 extracts the management ID of the designated document from the service request received from the client terminal 20, and sets the management ID to the attention ID (step S1). Next, the request processing unit 140 refers to the derivation relationship DB 110 and searches for a child ID of the attention ID (step S2). “Management ID” of a record having the attention ID as the value of “parent ID” in the derivation relationship DB 110 is a child ID of the attention ID. Then, it is determined whether or not there is a child ID of the attention ID (step S3). When the child ID of the attention ID does not exist (NO in step S3), the request processing unit 140 returns information indicating “no search result” to the client terminal 20 as a result of the service execution (step S7). If there is a child ID of the attention ID (YES in step S3), the request processing unit 140 executes the descendant search process described with reference to FIG. 10 for each child ID.

注目IDのすべての子IDについてステップS4の子孫探索処理が終了すると、中間結果リストには、注目IDに対応する文書から派生した文書に対応するレコードが蓄積されていることになる。要求処理部140は、サービス要求において指定された検索条件を満たすレコードが中間結果リスト中に存在するか否かを判定する(ステップS5)。本例では、文書に対するコメントの付加に関連するレコードを抽出する検索条件がサービス要求において指定される。例えば、「操作種別が「応答」である」という検索条件が指定される。また例えば、文書登録部130において旧バージョンの文書に対する「応答」操作の結果の文書への参照情報を最新版文書の子として登録する制限処理を行う場合(図13参照)、検索条件を「『操作種別が「応答」である』又は『参照情報の項目の値がNULLでない』」と指定してもよい。検索条件を満たすレコードが存在する場合(ステップS5でYES)、要求処理部140は、検索条件を満たすレコードに対応する文書に含まれるコメント情報を検索結果として提供する(ステップS6)。例えば、要求処理部140は、対応する文書の文書内容から、コメント情報の部分を抽出して提供してもいいし、対応する文書の文書内容のすべてを提供してもよい。さらに、対応する文書の派生関係DB110のレコードの内容の一部又はすべてをクライアント端末20へ送ってもよい。また例えば、検索条件を満たすレコードとして、「応答」操作の文書への参照情報を含むレコード(例えば、図13の管理ID"Doc19"のレコード)を取得した場合、要求処理部140は、その参照情報が表す文書に含まれるコメント情報を検索結果として提供する。中間結果リスト内に検索条件を満たすレコードが存在しなかった場合(ステップS5でNO)、検索条件を満たす文書が見つからなかった旨を表す情報をクライアント端末20へ送る(ステップS7)。   When the descendant search process in step S4 is completed for all child IDs of the target ID, records corresponding to documents derived from the document corresponding to the target ID are stored in the intermediate result list. The request processing unit 140 determines whether or not a record satisfying the search condition specified in the service request exists in the intermediate result list (step S5). In this example, a search condition for extracting a record related to adding a comment to a document is specified in the service request. For example, a search condition “operation type is“ response ”” is specified. Further, for example, when the document registration unit 130 performs a restriction process for registering reference information to a document as a result of a “response” operation for an old version document as a child of the latest version document (see FIG. 13), the search condition is ““ The operation type may be “response” ”or“ the value of the reference information item is not NULL ”. If there is a record that satisfies the search condition (YES in step S5), the request processing unit 140 provides comment information included in the document corresponding to the record that satisfies the search condition as a search result (step S6). For example, the request processing unit 140 may extract and provide the comment information portion from the document content of the corresponding document, or may provide all of the document content of the corresponding document. Furthermore, part or all of the content of the record of the corresponding document derivation relationship DB 110 may be sent to the client terminal 20. Further, for example, when a record including reference information to the document of the “response” operation (for example, a record with the management ID “Doc19” in FIG. 13) is acquired as a record that satisfies the search condition, the request processing unit 140 refers to the reference Comment information included in the document represented by the information is provided as a search result. If no record satisfying the search condition exists in the intermediate result list (NO in step S5), information indicating that no document satisfying the search condition is found is sent to the client terminal 20 (step S7).

図7〜図14を参照して説明した文書登録部130の各種の例の処理では、ある「新規登録」操作の文書から派生した文書のうちの最新版の文書(最新の「改訂登録」操作の文書)に対し派生関係の木構造において先祖に該当する文書に対して、「改訂登録」操作又は「応答」操作が行われた場合、当該操作結果の文書は、文書管理サーバ10に登録されないか(図5B)、あるいは、最新版の文書の子を検索することで検索可能となるように文書管理サーバ10に登録される(図11、図13)。したがって、最新版の文書の登録の後に、当該最新版の文書が属する派生関係の木構造に含まれる文書に対して行われた操作に関する情報について、最新版の文書の先祖に該当する文書を検索することなく、最新版の文書の子孫に該当する文書を検索するだけで取得される。   In the processing of various examples of the document registration unit 130 described with reference to FIGS. 7 to 14, the latest version of documents derived from a document of a certain “new registration” operation (the latest “revision registration” operation). When a “revision registration” operation or a “response” operation is performed on a document corresponding to an ancestor in the tree structure of the derivation relationship, the operation result document is not registered in the document management server 10. (FIG. 5B), or registered in the document management server 10 so as to be searchable by searching the child of the latest version document (FIGS. 11 and 13). Therefore, after registering the latest version of the document, search for the document that corresponds to the ancestor of the latest version of the document for information about operations performed on the documents included in the tree structure of the derivation relationship to which the latest version of the document belongs. Without searching, it is obtained simply by searching for a document corresponding to a descendant of the latest version of the document.

以上に例示した例では、管理IDの発行は主に各クライアント端末20で行われていたが、この代わりに文書管理サーバ10がすべての管理IDを発行してもよい。この場合、クライアント端末20は、ID付き文書に対して操作を行った場合、操作前のID付き文書内の管理IDを親ID314として含み、更にその操作についてのログ情報316と操作後の文書内容320とを含み、管理ID312は空欄の文書データを生成し、文書管理サーバ10に送る。文書管理サーバ10は、受け取った文書データに対して新たな管理IDを付与し、この管理IDとその文書データとに含まれる情報を、文書DB100及び派生関係DB110に登録する。また、文書管理サーバ10は、付与した管理IDを当該文書データにセットすることによりID付き文書を生成し、これをクライアント端末20に返す。クライアント端末20は、操作前のID付き文書を、受け取ったID付き文書に置き換える。このように、文書管理サーバ10が管理IDを付与する構成でも、上述の各例の処理は同様に実行できる。   In the example illustrated above, the management ID is issued mainly at each client terminal 20, but instead, the document management server 10 may issue all the management IDs. In this case, when an operation is performed on the ID-added document, the client terminal 20 includes the management ID in the ID-added document before the operation as the parent ID 314, and further includes log information 316 about the operation and the document content after the operation. 320, the management ID 312 generates blank document data and sends it to the document management server 10. The document management server 10 assigns a new management ID to the received document data, and registers information included in the management ID and the document data in the document DB 100 and the derivation relationship DB 110. In addition, the document management server 10 generates an ID-added document by setting the assigned management ID in the document data, and returns it to the client terminal 20. The client terminal 20 replaces the ID-added document before the operation with the received ID-added document. As described above, even in the configuration in which the document management server 10 assigns the management ID, the processing of each example described above can be executed in the same manner.

また以上の例では、管理ID312、親ID314、ログ情報316、及び文書内容320を含んだID付き文書300がクライアント端末20に保存されたが、この代わりに、クライアント端末20は管理IDしか持たず、その他の情報は文書管理サーバ10に保存されるようにしてもよい。この場合、クライアント端末20で文書を操作する場合、その文書に対応する管理IDを文書管理サーバ10に送り、文書管理サーバ10からその文書を取得する。また、別の例として、クライアント端末20が保持するID付き文書300の中には管理ID312と文書内容320とが含まれ、親ID314及びログ情報316は含まれないようにしても良い。この場合、サーバがその管理ID312に対応づけて親ID314とログ情報316を持つようにすれば良い。   In the above example, the ID-added document 300 including the management ID 312, the parent ID 314, the log information 316, and the document content 320 is stored in the client terminal 20. Instead, the client terminal 20 has only the management ID. Other information may be stored in the document management server 10. In this case, when a document is operated on the client terminal 20, a management ID corresponding to the document is sent to the document management server 10, and the document is acquired from the document management server 10. As another example, the ID-added document 300 held by the client terminal 20 may include the management ID 312 and the document content 320, and may not include the parent ID 314 and the log information 316. In this case, the server may have a parent ID 314 and log information 316 in association with the management ID 312.

ここで、文書管理サーバ10が管理IDを付与する場合は、その取得の操作に対応する管理IDを文書管理サーバ10が生成し、その管理IDと文書とを対応づけてクライアント端末20に提供するとともに、その取得操作についてのログ情報(操作時刻や操作者など)と、元の管理ID(すなわち親ID)と、付与した管理IDとを派生関係DB110に記録する。クライアント端末20は、文書管理サーバ10に送信した管理IDを、受け取った管理IDに置き換えるとともに、受け取った文書を開く。ユーザは、開かれた文書に対して閲覧や編集などの操作を行う。クライアント端末20は、文書に対する操作が完了すると、操作後の文書を管理ID及び当該操作についてのログ情報とともに文書管理サーバ10に送る。文書管理サーバ10は、受け取った文書に対して新たな管理IDを付与して派生関係DB110に登録し、受け取った管理IDを親IDとして派生関係DB110に登録する。また、受け取ったログ情報及び操作後の文書を、派生関係DB110及び文書DB100に登録する。そして、文書管理サーバ10は、新たに付与した管理IDをクライアント端末20に返す。クライアント端末20は、元の管理IDを受け取った管理IDで置き換える。以上のような処理により、操作間の派生関係が文書管理サーバ10に蓄積されることになる。   When the document management server 10 assigns a management ID, the document management server 10 generates a management ID corresponding to the acquisition operation, and provides the management ID and the document to the client terminal 20 in association with each other. At the same time, log information (operation time, operator, etc.) about the acquisition operation, the original management ID (ie, parent ID), and the assigned management ID are recorded in the derivation relationship DB 110. The client terminal 20 replaces the management ID transmitted to the document management server 10 with the received management ID and opens the received document. The user performs operations such as browsing and editing on the opened document. When the operation on the document is completed, the client terminal 20 sends the document after the operation to the document management server 10 together with the management ID and log information about the operation. The document management server 10 assigns a new management ID to the received document and registers it in the derivation relationship DB 110, and registers the received management ID as a parent ID in the derivation relationship DB 110. Also, the received log information and the document after the operation are registered in the derivation relationship DB 110 and the document DB 100. Then, the document management server 10 returns the newly assigned management ID to the client terminal 20. The client terminal 20 replaces the original management ID with the received management ID. Through the processing as described above, the derivation relationship between operations is accumulated in the document management server 10.

一方、クライアント端末20が管理IDを付与する構成の場合は、文書管理サーバ10は、クライアント端末20から受け取った管理IDに対応する文書をクライアントに返せばよい。クライアント端末20は受け取った文書を開き、ユーザがその文書を操作する。操作の完了後、クライアント端末20はその操作結果の文書に対して新たな管理IDを付与し、この管理IDを含んだ前述のID付き文書と同様の情報を、文書管理サーバ10に送る。そして、クライアント端末20は、そのID付き文書のうち管理IDのみを保存し、その他の情報を削除する。   On the other hand, when the client terminal 20 is configured to give a management ID, the document management server 10 may return a document corresponding to the management ID received from the client terminal 20 to the client. The client terminal 20 opens the received document, and the user operates the document. After the operation is completed, the client terminal 20 assigns a new management ID to the operation result document, and sends the same information as the above-mentioned ID-added document including the management ID to the document management server 10. And the client terminal 20 preserve | saves only management ID among the documents with the ID, and deletes other information.

以上に例示したシステムにおける文書管理サーバ10は、典型的には、汎用のコンピュータにて上述の文書管理サーバの各部の機能又は処理内容を記述したプログラムを実行することにより実現される。コンピュータは、例えば、ハードウエアとして、図16に示すように、CPU(中央演算装置)40、メモリ(一次記憶)42、各種I/O(入出力)インタフェース44等がバス46を介して接続された回路構成を有する。また、そのバス46に対し、例えばI/Oインタフェース44経由で、HDD(ハードディスクドライブ)48やCDやDVD、フラッシュメモリなどの各種規格の可搬型の不揮発性記録媒体を読み取るためのディスクドライブ50が接続される。このようなドライブ48又は50は、メモリに対する外部記憶装置として機能する。実施形態の処理内容が記述されたプログラムがCDやDVD等の記録媒体を経由して、又はネットワーク経由で、HDD48等の固定記憶装置に保存され、コンピュータにインストールされる。固定記憶装置に記憶されたプログラムがメモリに読み出されCPUにより実行されることにより、実施形態の処理が実現される。クライアント端末20についても同様である。   The document management server 10 in the system exemplified above is typically realized by executing a program describing functions or processing contents of each unit of the document management server described above on a general-purpose computer. As shown in FIG. 16, for example, the computer includes a CPU (central processing unit) 40, a memory (primary storage) 42, various I / O (input / output) interfaces 44, and the like connected via a bus 46. Circuit configuration. Also, a disk drive 50 for reading portable non-volatile recording media of various standards such as an HDD (Hard Disk Drive) 48, a CD, a DVD, and a flash memory via the I / O interface 44, for example, to the bus 46. Connected. Such a drive 48 or 50 functions as an external storage device for the memory. A program in which the processing contents of the embodiment are described is stored in a fixed storage device such as the HDD 48 via a recording medium such as a CD or DVD or via a network, and is installed in a computer. The program stored in the fixed storage device is read into the memory and executed by the CPU, whereby the processing of the embodiment is realized. The same applies to the client terminal 20.

文書管理システムの概略構成の例を示す図である。It is a figure which shows the example of schematic structure of a document management system. クライアント端末の内部構成の例を示すブロック図である。It is a block diagram which shows the example of an internal structure of a client terminal. ID付き文書のデータ構造の例を模式的に示す図である。It is a figure which shows typically the example of the data structure of a document with ID. 文書管理サーバの内部構成の例を示すブロック図である。It is a block diagram which shows the example of an internal structure of a document management server. 派生関係DBのデータ内容の例を示す図である。It is a figure which shows the example of the data content of derivation relation DB. 図5Aに例示した状態から一定時間経過後の派生関係DBのデータ内容の例を示す図である。It is a figure which shows the example of the data content of derivation relation DB after progress for a fixed time from the state illustrated to FIG. 5A. 図5Bに例示したデータ内容における管理ID群がなす木構造を図式化して表す図である。FIG. 5B is a diagram schematically representing a tree structure formed by a management ID group in the data content illustrated in FIG. 5B. 文書登録部が行う処理の手順の例を示すフローチャートである。It is a flowchart which shows the example of the procedure of the process which a document registration part performs. 登録制限情報を検索する処理の手順の例を示すフローチャートである。It is a flowchart which shows the example of the procedure of the process which searches registration restriction information. 登録制限情報を設定する処理の手順の例を示すフローチャートである。It is a flowchart which shows the example of the procedure of a process which sets registration restriction information. 文書管理サーバ10で行われる子孫探索処理の手順の例を示すフローチャートである。6 is a flowchart illustrating an example of a procedure of descendant search processing performed in the document management server 10. 派生関係DBのデータ内容の他の例を示す図である。It is a figure which shows the other example of the data content of derivation relation DB. 図10に例示したデータ内容における管理ID群がなす木構造を図式化して表す図である。FIG. 11 is a diagram schematically illustrating a tree structure formed by a management ID group in the data content illustrated in FIG. 10. 派生関係DBのデータ内容の他の例を示す図である。It is a figure which shows the other example of the data content of derivation relation DB. 図13に例示したデータ内容における管理ID群がなす木構造を図式化して表す図である。FIG. 14 is a diagram schematically illustrating a tree structure formed by a management ID group in the data content illustrated in FIG. 13. 要求処理部が行う処理の手順の例を示すフローチャートである。It is a flowchart which shows the example of the procedure of the process which a request process part performs. コンピュータのハードウエア構成の例を示す図である。It is a figure which shows the example of the hardware constitutions of a computer.

符号の説明Explanation of symbols

10 文書管理サーバ、20 クライアント端末、30 ネットワーク、40 CPU、42 メモリ、44 I/Oインタフェース、46 バス、48 HDD、50 ディスクドライブ、100 文書DB、110 派生関係DB、130 文書登録部、132 派生関係登録部、134 登録制限判定部、136 登録制限処理部、140 要求処理部、200 文書操作部、202 ID割り当て部、204 派生関係組込部、210 登録処理部、300 ID付き文書、310 メタ情報、320 文書内容。   10 document management server, 20 client terminal, 30 network, 40 CPU, 42 memory, 44 I / O interface, 46 bus, 48 HDD, 50 disk drive, 100 document DB, 110 derivation relation DB, 130 document registration unit, 132 derivation Relationship registration unit, 134 Registration restriction determination unit, 136 Registration restriction processing unit, 140 Request processing unit, 200 Document operation unit, 202 ID allocation unit, 204 Derived relationship incorporation unit, 210 Registration processing unit, 300 Document with ID, 310 Meta Information, 320 document content.

Claims (6)

第1の文書を親とし前記第1の文書に対する操作の結果である第2の文書を子とする派生関係の情報を情報処理装置から受け取って記憶部に登録する登録部であって、さらに、前記第1の文書に対する操作の種類及び時刻を前記情報処理装置から受け取って、当該操作の種類及び時刻を前記第2の文書に対応づけて前記記憶部に登録する登録部と、
前記記憶部に登録された派生関係群が表す木構造であって前記登録部が前記情報処理装置から受け取った派生関係の情報における前記第1の文書が属する木構造において、当該第1の文書が、当該木構造に含まれる文書のうち最新の改訂操作に対応づけられた文書である最新版文書に対して先祖に該当するか否かの判定を行う判定部と、
前記判定部において前記第1の文書が前記最新版文書に対して前記木構造における先祖に該当すると判定された場合に、前記第1の文書に対する操作に関する情報を前記木構造における前記最新版文書に関連付けるための処理を行う処理部と、
を備え
前記処理部は、前記判定部において前記第1の文書が前記最新版文書に対して前記木構造における先祖に該当すると判定された場合であって前記登録部が前記情報処理装置から前記派生関係の情報とともに受け取った前記操作の種類が応答操作に該当する場合に、前記関連付けるための処理を行う、
とを特徴とする文書管理装置。
A registration unit that receives from the information processing apparatus information about a derivation relationship in which the first document is a parent and a second document that is a result of an operation on the first document is a child; A registration unit that receives an operation type and a time for the first document from the information processing apparatus, and registers the operation type and a time in association with the second document in the storage unit;
In the tree structure represented by the group of derivation relations registered in the storage unit and to which the first document in the derivation relation information received by the registration unit from the information processing apparatus belongs, the first document is A determination unit that determines whether the latest version document that is a document associated with the latest revision operation among documents included in the tree structure corresponds to an ancestor;
When the determination unit determines that the first document corresponds to an ancestor in the tree structure with respect to the latest document, information regarding an operation on the first document is stored in the latest document in the tree structure. A processing unit that performs processing for associating;
Equipped with a,
The processing unit is a case where the determination unit determines that the first document corresponds to an ancestor in the tree structure with respect to the latest document, and the registration unit has the derivation relationship from the information processing apparatus. When the type of operation received together with information corresponds to a response operation, the process for associating is performed.
Document management device comprising a call.
前記関連付けるための処理は、前記登録部が前記情報処理装置から前記派生関係の情報とともに受け取った操作の種類の操作を前記最新版文書に対して行うことを利用者に促す情報を前記情報処理装置に対して出力する処理を含む
ことを特徴とする請求項に記載の文書管理装置。
In the processing for associating, the information processing apparatus transmits information prompting a user to perform an operation of the type of operation received by the registration unit from the information processing apparatus together with the derivation relation information on the latest document. Including processing to output
The document management apparatus according to claim 1 .
前記関連付けるための処理は、前記受け取った派生関係の情報における前記第2の文書が前記最新版文書の子であることを示す派生関係の情報を前記記憶部に登録する処理である、
ことを特徴とする請求項に記載の文書管理装置。
The process for associating is a process of registering in the storage unit derivation relationship information indicating that the second document in the received derivation relationship information is a child of the latest document.
The document management apparatus according to claim 1 .
前記関連付けるための処理は、前記受け取った派生関係の情報における前記第2の文書への参照情報を生成して前記記憶部に登録するとともに、前記最新版文書を親とし当該参照情報を子とする派生関係の情報を前記記憶部に登録する処理である、
ことを特徴とする請求項に記載の文書管理装置。
In the process for associating, the reference information to the second document in the received derivation relationship information is generated and registered in the storage unit, and the latest document is a parent and the reference information is a child. It is a process of registering derivation relationship information in the storage unit.
The document management apparatus according to claim 1 .
第1の文書を親とし前記第1の文書に対する操作の結果である第2の文書を子とする派生関係の情報を情報処理装置から受け取って記憶部に登録する登録ステップであって、さらに、前記第1の文書に対する操作の種類及び時刻を前記情報処理装置から受け取って、当該操作の種類及び時刻を前記第2の文書に対応づけて前記記憶部に登録する登録ステップと、
前記記憶部に登録された派生関係群が表す木構造であって前記登録部が前記情報処理装置から受け取った派生関係の情報における前記第1の文書が属する木構造において、当該第1の文書が、当該木構造に含まれる文書のうち最新の改訂操作に対応づけられた文書である最新版文書に対して先祖に該当するか否かの判定を行う判定ステップと、
前記判定ステップにおいて前記第1の文書が前記最新版文書に対して前記木構造における先祖に該当すると判定された場合に、前記第1の文書に対する操作に関する情報を前記木構造における前記最新版文書に関連付けるための処理を行う処理ステップと、
をコンピュータに実行させ
前記処理ステップは、前記判定ステップにおいて前記第1の文書が前記最新版文書に対して前記木構造における先祖に該当すると判定された場合であって前記登録ステップにおいて前記情報処理装置から前記派生関係の情報とともに受け取った前記操作の種類が応答操作に該当する場合に、前記関連付けるための処理を行う、
とを特徴とする文書管理プログラム。
A registration step of receiving information of a derivation relationship having the first document as a parent and the second document as a child as a result of the operation on the first document from the information processing apparatus and registering the information in the storage unit; A registration step of receiving an operation type and time for the first document from the information processing apparatus and registering the operation type and time in association with the second document in the storage unit;
In the tree structure represented by the group of derivation relations registered in the storage unit and to which the first document in the derivation relation information received by the registration unit from the information processing apparatus belongs, the first document is A determination step of determining whether the latest version document that is a document associated with the latest revision operation among the documents included in the tree structure corresponds to an ancestor;
When it is determined in the determination step that the first document corresponds to an ancestor in the tree structure with respect to the latest document, information regarding an operation on the first document is stored in the latest document in the tree structure. A processing step for performing processing for associating;
To the computer ,
The processing step is a case where it is determined in the determination step that the first document corresponds to an ancestor in the tree structure with respect to the latest version document, and the derivation relationship is determined from the information processing apparatus in the registration step. When the type of operation received together with information corresponds to a response operation, the process for associating is performed.
Document management program, wherein a call.
情報処理装置と文書管理装置とを備え、
前記情報処理装置は、
第1の文書を親とし前記第1の文書に対する操作の結果である第2の文書を子とする派生関係の情報と、前記第1の文書に対する操作の種類及び時刻と、を前記文書管理装置に対して送信する送信部、を備え、
前記文書管理装置は、
前記情報処理装置から前記派生関係の情報を受け取って記憶部に登録する登録部であって、さらに、前記第1の文書に対する操作の種類及び時刻を前記情報処理装置から受け取って、当該操作の種類及び時刻を前記第2の文書に対応づけて前記記憶部に登録する登録部と、
前記記憶部に登録された派生関係群が表す木構造であって前記登録部が前記情報処理装置から受け取った派生関係の情報における前記第1の文書が属する木構造において、当該第1の文書が、当該木構造に含まれる文書のうち最新の改訂操作に対応づけられた文書である最新版文書に対して先祖に該当するか否かの判定を行う判定部と、
前記判定部において前記第1の文書が前記最新版文書に対して前記木構造における先祖に該当すると判定された場合に、前記第1の文書に対する操作に関する情報を前記木構造における前記最新版文書に関連付けるための処理を行う処理部と、
を備え、
前記処理部は、前記判定部において前記第1の文書が前記最新版文書に対して前記木構造における先祖に該当すると判定された場合であって前記登録部が前記情報処理装置から前記派生関係の情報とともに受け取った前記操作の種類が応答操作に該当する場合に、前記関連付けるための処理を行う、
とを特徴とする文書管理システム。
An information processing device and a document management device;
The information processing apparatus includes:
Derivation relationship information having a first document as a parent and a second document as a child as a result of an operation on the first document, and an operation type and time for the first document, as the document management apparatus A transmission unit for transmitting to,
The document management apparatus includes:
A registration unit that receives the derivation-related information from the information processing apparatus and registers the information in the storage unit, and further receives an operation type and a time for the first document from the information processing apparatus, and And a registration unit that registers the time in the storage unit in association with the second document;
In the tree structure represented by the group of derivation relations registered in the storage unit and to which the first document in the derivation relation information received by the registration unit from the information processing apparatus belongs, the first document is A determination unit that determines whether the latest version document that is a document associated with the latest revision operation among documents included in the tree structure corresponds to an ancestor;
When the determination unit determines that the first document corresponds to an ancestor in the tree structure with respect to the latest document, information regarding an operation on the first document is stored in the latest document in the tree structure. A processing unit that performs processing for associating;
Bei to give a,
The processing unit is a case where the determination unit determines that the first document corresponds to an ancestor in the tree structure with respect to the latest document, and the registration unit has the derivation relationship from the information processing apparatus. When the type of operation received together with information corresponds to a response operation, the process for associating is performed.
Document management system, wherein a call.
JP2008193246A 2008-07-28 2008-07-28 Document management apparatus, document management program, and document management system Expired - Fee Related JP5407209B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008193246A JP5407209B2 (en) 2008-07-28 2008-07-28 Document management apparatus, document management program, and document management system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008193246A JP5407209B2 (en) 2008-07-28 2008-07-28 Document management apparatus, document management program, and document management system

Publications (2)

Publication Number Publication Date
JP2010033227A JP2010033227A (en) 2010-02-12
JP5407209B2 true JP5407209B2 (en) 2014-02-05

Family

ID=41737643

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008193246A Expired - Fee Related JP5407209B2 (en) 2008-07-28 2008-07-28 Document management apparatus, document management program, and document management system

Country Status (1)

Country Link
JP (1) JP5407209B2 (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6197389B2 (en) * 2013-06-11 2017-09-20 株式会社リコー Document management system, information processing apparatus, document management method, and program
JP2015104115A (en) * 2013-11-28 2015-06-04 株式会社リコー Image processing system, image processing apparatus, method, and program
JP6536948B2 (en) 2015-08-24 2019-07-03 富士ゼロックス株式会社 Information processing apparatus and program
JP6536949B2 (en) 2015-08-24 2019-07-03 富士ゼロックス株式会社 Information processing apparatus and program
US10747753B2 (en) 2015-08-28 2020-08-18 Swirlds, Inc. Methods and apparatus for a distributed database within a network
US9390154B1 (en) 2015-08-28 2016-07-12 Swirlds, Inc. Methods and apparatus for a distributed database within a network
AU2017357770B2 (en) 2016-11-10 2020-12-24 Hedera Hashgraph, Llc Methods and apparatus for a distributed database including anonymous entries
EP3555757A4 (en) 2016-12-19 2020-06-17 Swirlds, Inc. Methods and apparatus for a distributed database that enables deletion of events
AU2018300147B2 (en) 2017-07-11 2020-07-16 Hedera Hashgraph, Llc Methods and apparatus for efficiently implementing a distributed database within a network
SG11202002308RA (en) 2017-11-01 2020-04-29 Swirlds Inc Methods and apparatus for efficiently implementing a fast-copyable database
CA3134691A1 (en) 2019-05-22 2020-11-26 Swirlds, Inc. Methods and apparatus for implementing state proofs and ledger identifiers in a distributed database
JP7375586B2 (en) * 2020-02-04 2023-11-08 コニカミノルタ株式会社 Document search device, image processing device, document search method, and document search program

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09128380A (en) * 1995-10-30 1997-05-16 Matsushita Electric Ind Co Ltd Document storing and managing system
JPH09223055A (en) * 1996-02-14 1997-08-26 Nippon Steel Corp Method and device for tree display
JP3613504B2 (en) * 1997-11-05 2005-01-26 株式会社日立製作所 Version management / configuration management method and apparatus, and computer-readable recording medium recording a version management / configuration management program
JP4329319B2 (en) * 2002-09-20 2009-09-09 富士ゼロックス株式会社 File management system and file management method
JP2005316815A (en) * 2004-04-30 2005-11-10 Canon Sales Co Inc Information processor, information processing method, program, and recording medium
JP5003131B2 (en) * 2006-12-04 2012-08-15 富士ゼロックス株式会社 Document providing system and information providing program

Also Published As

Publication number Publication date
JP2010033227A (en) 2010-02-12

Similar Documents

Publication Publication Date Title
JP5407209B2 (en) Document management apparatus, document management program, and document management system
JP5023715B2 (en) Information processing system, information processing apparatus, and program
US8719691B2 (en) Document providing system and computer-readable storage medium
US20080243831A1 (en) Information processing apparatus, information processing system, and storage medium
US20090044283A1 (en) Document management apparatus, document management system and method, and computer-readable medium
JP5280156B2 (en) Electronic document management apparatus and electronic document management method
AU2007202450B2 (en) Information processing apparatus, information processing system, and program
US7912859B2 (en) Information processing apparatus, system, and method for managing documents used in an organization
JP5458861B2 (en) Document search device, program, document registration device, and document search system
JP5045118B2 (en) Document management apparatus, document management system, and program
JP5082460B2 (en) Information processing apparatus, program, and information processing system
JP2010073012A (en) Document management apparatus, document management system and program
JP5298882B2 (en) Progress management device and program
JP2008176710A (en) Document management system, document management device, and document management program
JP5309664B2 (en) Document management apparatus and program
JP4992731B2 (en) Document management apparatus, document management system, and program
JP5233475B2 (en) Document management apparatus, document management program, and document management system
JP5251133B2 (en) Document management apparatus, document management system, and program
JP5907101B2 (en) Document management apparatus and program
JP5412827B2 (en) Document management apparatus, document management program, and document management system
JP5200633B2 (en) Document management apparatus and program
JP5277924B2 (en) Document management system, information processing apparatus, and program
JP2011039586A (en) Document management device and program
JP2006268195A (en) Information processor, its control method and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110621

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130312

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130509

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20131008

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20131021

R150 Certificate of patent or registration of utility model

Ref document number: 5407209

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees