JPH04286058A - Method and device for processing document - Google Patents

Method and device for processing document

Info

Publication number
JPH04286058A
JPH04286058A JP3051273A JP5127391A JPH04286058A JP H04286058 A JPH04286058 A JP H04286058A JP 3051273 A JP3051273 A JP 3051273A JP 5127391 A JP5127391 A JP 5127391A JP H04286058 A JPH04286058 A JP H04286058A
Authority
JP
Japan
Prior art keywords
document
password
code
document element
name
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.)
Granted
Application number
JP3051273A
Other languages
Japanese (ja)
Other versions
JP2875640B2 (en
Inventor
Takahiro Kurosawa
貴弘 黒澤
Yasuhiro Okuno
泰弘 奥野
Masaaki Nagashima
正明 長島
Tadashi Yamakawa
正 山川
Takayuki Sasaki
佐々木 貴幸
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP3051273A priority Critical patent/JP2875640B2/en
Priority to EP92301588A priority patent/EP0501760B1/en
Priority to DE69227051T priority patent/DE69227051T2/en
Priority to US07/842,917 priority patent/US5455941A/en
Publication of JPH04286058A publication Critical patent/JPH04286058A/en
Application granted granted Critical
Publication of JP2875640B2 publication Critical patent/JP2875640B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To provide a document processing method and its device, which can recognize whether the contents of the areas of respective documents are altered even if the passwords of respective persons in charge are not inputted at the time of checking whether document information including the document areas generated by the plural persons in charge is altered or not. CONSTITUTION:Names are added to respective document elements so as to store them. The inputted passwords and the names of the document elements are made to correspond so as to store them. When the document element is designated by the name of the document element, document data of the designated document element is extracted. The code of document data is generated based on extracted document data and the password so as to store it in accordance with the document element. When the name of the document element is specified, the code is calculated by the content of the document element and the password which is stored in accordance with the name. The calculated code and the stored code are compared and it is decided whether the content of the document element is altered or not.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は文書情報の作成・登録な
どを行うことができる文書処理方法及びその装置に関す
るものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a document processing method and apparatus capable of creating and registering document information.

【0002】0002

【従来の技術】従来の、このような文書処理システムで
は、入力された文書情報を文書ファイルとして記憶して
おり、これら文書フアイルが複数のユーザによる共同作
業の対象になる場合は、オペレーティングシステムによ
って、複数のユーザの間で文書ファイルを共有させ、他
のユーザによるそのファイルへのアクセスを禁止すると
いう方法をとっていた。例えば、UNIXオペレーティ
ングシステムでは、文書ファイルへの書き込み、参照(
読み出し)及び実行の許可を、各ファイル毎にそのファ
イルの所有者、グループ或いはその他のユーザに対して
与えることができる。
[Prior Art] In such conventional document processing systems, input document information is stored as document files, and when these document files are subject to collaborative work by multiple users, they are stored by the operating system. , the method used was to share document files among multiple users and prohibit other users from accessing the files. For example, in UNIX operating systems, writing to document files, referencing (
Permissions for reading (reading) and execution can be granted for each file to the file's owner, group, or other users.

【0003】0003

【発明が解決しようとしている課題】従って、このよう
な文書処理システムにおいて、あるグループにはそのフ
ァイルへの書込みを許可し、そのグループ外のユーザに
は、そのファイル書込みを許可しないという方法を取る
ことにより、そのファイルを特定のグループ内で共有す
ることができる。
[Problem to be Solved by the Invention] Therefore, in such a document processing system, a method is adopted in which a certain group is allowed to write to the file, while users outside the group are not allowed to write to the file. This allows you to share the file within a specific group.

【0004】また、このような文書ファイルを共有する
場合、1つのまとまりのある文書中で文書領域のそれぞ
れが担当者(ユーザ)ごとに分割されている時、それら
各文書領域が他のユーザによって変更されたかどうかを
確認するために、各文書領域のそれぞれについて、各所
有者がパスワードと文書内容から符号を生成し、この符
号を検査してその文書内容をチェックする手法を本出願
人は、先に特願平3−32897号において提案してい
る。
[0004] Furthermore, when sharing such document files, if each document area is divided for each person in charge (user) in one unified document, each document area may be shared by other users. The applicant has developed a method in which, for each document area, each owner generates a code from the password and the document content, and inspects this code to check the document content, in order to check whether it has been changed. This was previously proposed in Japanese Patent Application No. 3-32897.

【0005】しかし、この場合は、内容の確認のために
は各文書要素ごとに担当者が自分のパスワードを入力し
て行う必要があった。
However, in this case, in order to confirm the contents, the person in charge had to enter his or her own password for each document element.

【0006】本発明は上記従来例に鑑みてなされたもの
で、複数の担当者によって作成された文書領域を含む文
書情報が変更されたかどうかを調べるときに、各担当者
のパスワードを入力しなくても各文書領域の内容が変更
されたかどうかを確認できる文書処理方法及びその装置
を提供することを目的とする。
The present invention has been made in view of the above-mentioned conventional example, and it is possible to check whether document information including a document area created by a plurality of persons in charge has been changed without having to input each person's password. It is an object of the present invention to provide a document processing method and device that can confirm whether the contents of each document area have been changed even when the contents of each document area have been changed.

【0007】[0007]

【課題を解決するための手段及び作用】上記目的を達成
するために本発明の文書処理装置は以下の様な構成から
なる。即ち、複数の文書要素で構成された文書データを
扱う文書処理装置であって、前記文書要素のそれぞれを
区別可能に記憶する文書記憶手段と、パスワードを入力
する入力手段と、前記入力手段により入力されたパスワ
ードと、前記文書要素の識別情報を対応付けて記憶する
記憶手段と、前記文書要素の識別情報を入力して文書要
素を指定し、その指定された文書要素の文書データを抽
出する抽出手段と、前記抽出手段より抽出された文書デ
ータと前記パスワードを基に前記文書データの符号を作
成する符号生成手段と、前記符号生成手段により作成さ
れた符号を、前記文書要素に対応して記憶する符号記憶
手段と、前記文書要素が特定されると、その文書要素の
内容と前記記憶手段のパスワードにより符号を算出する
算出手段と、前記算出手段により算出された符号と、前
記符号記憶手段に記憶された符号とを比較する比較手段
とを有する。  又、上記目的を達成するために本発明
の文書処理方法は以下の様な構成からなる。即ち、複数
の文書要素で構成された文書データを扱う文書処理方法
であって、文書要素のそれぞれを区別可能に記憶する工
程と、前記文書要素のパスワードを入力する工程と、そ
の入力されたパスワードと、文書要素の識別情報とを対
応付けて記憶する工程と、文書要素の名称により文書要
素が指定されると、その指定された文書要素の文書デー
タを抽出し、その抽出された文書データとパスワードを
基に文書データの符号を作成する工程と、この作成され
た符号を、文書要素に対応して記憶する工程と、文書要
素が特定されると、その文書要素の内容と、その名称に
対応付けて記憶されているパスワードとにより符号を算
出する工程と、この算出された符号と、記憶された符号
とを比較して、その文書要素の内容が変更されたかどう
かを判定できる。
Means and Effects for Solving the Problems In order to achieve the above object, the document processing device of the present invention has the following configuration. That is, a document processing device that handles document data composed of a plurality of document elements includes a document storage means for storing each of the document elements in a distinguishable manner, an input means for inputting a password, and a password input by the input means. storage means for storing the password in association with identification information of the document element; and extraction for inputting the identification information of the document element to specify the document element and extracting document data of the specified document element. means, a code generating means for creating a code for the document data based on the document data extracted by the extracting means and the password, and storing the code created by the code generating means in correspondence with the document element. a code storage means for storing a code, a calculation means for calculating a code based on the contents of the document element and a password of the storage means when the document element is specified, a code calculated by the calculation means, and a code storage means for storing the code, and comparison means for comparing the code with the stored code. Further, in order to achieve the above object, the document processing method of the present invention has the following configuration. That is, this is a document processing method that handles document data composed of a plurality of document elements, which includes a step of storing each document element in a distinguishable manner, a step of inputting a password for the document element, and a step of inputting the input password. and identification information of the document element, and when a document element is specified by the name of the document element, the document data of the specified document element is extracted, and the extracted document data and the document element are stored. A step of creating a code for document data based on a password, a step of storing the created code in correspondence with a document element, and once a document element is identified, the contents of the document element and its name are stored. By calculating a code based on the password stored in association with the password and comparing the calculated code with the stored code, it is possible to determine whether the content of the document element has been changed.

【0008】[0008]

【実施例】以下、添付図面を参照して本発明の好適な実
施例を詳細に説明する。 <第1の実施例の文書処理システムの説明  (図1)
>本実施例では、1つの文書ファイルに格納されている
文書データが、1つ以上の文書要素からなり、各文書要
素毎に確認用のパスワードが設定されている場合で説明
する。尚、以下の説明において、文書要素が「正当であ
る」とは、その文書要素を登録した時と、現在記憶され
ているその文書要素の内容とが一致していることを意味
しており、たとえ一度その文書内容が変更されても、現
在その内容が元に戻されていれば、その文書要素は「正
当」であるとする。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Preferred embodiments of the present invention will now be described in detail with reference to the accompanying drawings. <Description of the document processing system of the first embodiment (Figure 1)
> In this embodiment, a case will be explained in which the document data stored in one document file consists of one or more document elements, and a password for confirmation is set for each document element. In the following explanation, when a document element is "valid," it means that the content of the document element when it was registered matches the content of the document element that is currently stored. Even if the document content has been changed once, the document element is considered to be "valid" if the content has now been restored to its original state.

【0009】図1は、本実施例の文書処理システムの概
略構成を表わしたブロック図で、図中、1は本システム
のユーザ(文書作成者あるいは文書確認者)が本システ
ムに文書や指令を入力するための入力装置で、例えばキ
ーボードやマウス等を含んでいる。2は入力装置1より
入力された指令に基づいて、本実施例の処理を行なうた
めのCPU、3はCPU2の処理結果、あるいは本シス
テムからのメッセージをプリントアウト或いは表示する
ための出力装置で、例えばプリンタ或いはCRT等を備
えている。10は本実施例における処理プログラムを記
憶するための第1のメモリで、これらプログラムは予め
ROMやハードディスク等に記憶されていてもよく、或
いはフロッピィ等よりRAMに読み込まれたものであっ
てもよい。20は本実施例で取り扱う文書データを保管
するための第2のメモリ、30はワークエリアとして使
用され、本実施例の処理に要する各種データを一時的に
記憶するための第3のメモリである。4はCPUバスで
ある。尚、これら第1、第2、第3のメモリは別々に設
けられていなくてもよいことはもちろんである。
FIG. 1 is a block diagram showing the schematic configuration of the document processing system of this embodiment. An input device for inputting information, including, for example, a keyboard and a mouse. 2 is a CPU for performing the processing of this embodiment based on commands input from the input device 1; 3 is an output device for printing out or displaying the processing results of the CPU 2 or messages from the system; For example, it is equipped with a printer or CRT. Reference numeral 10 denotes a first memory for storing processing programs in this embodiment, and these programs may be stored in advance in a ROM, a hard disk, etc., or may be read into a RAM from a floppy disk, etc. . 20 is a second memory for storing document data handled in this embodiment, and 30 is a third memory used as a work area and for temporarily storing various data required for processing in this embodiment. . 4 is a CPU bus. It goes without saying that these first, second, and third memories do not need to be provided separately.

【0010】次に第1のメモリ10に記憶された各プロ
グラムについて説明する。101はパスワード登録プロ
グラムで、指定された文書要素に対するパスワードをパ
スワード登録表203に登録する。なお、パスワード登
録表203は、本処理のプログラムのみが読み書き可能
であり、文書作成者等が読んだり、書き込んだりできな
いような、特別の権限をもたせる。これはファイルのア
クセス禁止機能を用いて実現できる。102は文字列抽
出プログラムで、文書データ201から文書要素の内容
を取り出すためのプログラムで、以後、作成時文字列抽
出プログラムと呼ぶ。103は文字列変換プログラムで
、与えられた文字列を変形して別の文字列に変換してい
る。104は対応付けプログラムで、文書要素と文字列
変換プログラム103で得られた作成時正当性確認用符
号305との対応付けを行なっている。105は確認用
符号抽出プログラムで、文書データ202から文書要素
の正当性を確認するための比較用符号311を取出して
いる。106は文字列比較プログラムで、2つの文字列
が同一かどうかを判定している。107は文字列抽出プ
ログラムで、正当性確認用符号付き文書データ202か
ら文書要素の内容を取り出すためのプログラムで、これ
以後、確認時文字列抽出プログラムと呼ぶ。108はパ
スワード抽出プログラムで、指定された文書要素に対す
るパスワードをパスワード登録表203から取出すため
のプログラムである。
Next, each program stored in the first memory 10 will be explained. A password registration program 101 registers a password for a specified document element in a password registration table 203. Note that the password registration table 203 can be read and written only by the program for this processing, and has special authority such that the document creator and the like cannot read or write. This can be achieved using the file access prohibition function. A character string extraction program 102 is a program for extracting the contents of document elements from the document data 201, and is hereinafter referred to as a creation character string extraction program. A character string conversion program 103 transforms a given character string and converts it into another character string. Reference numeral 104 denotes an association program that associates document elements with creation validity confirmation codes 305 obtained by the character string conversion program 103. 105 is a verification code extraction program that extracts a comparison code 311 from the document data 202 to verify the validity of document elements. A character string comparison program 106 determines whether two character strings are the same. Reference numeral 107 denotes a character string extraction program, which is a program for extracting the contents of document elements from the signed document data 202 for verification, and is hereinafter referred to as the verification character string extraction program. A password extraction program 108 is a program for extracting a password for a specified document element from the password registration table 203.

【0011】次に、第2のメモリ20の構成について説
明する。
Next, the configuration of the second memory 20 will be explained.

【0012】201は文書作成者が入力装置1より入力
して作成された、或いはフロッピィ等より読み取られた
文書データである。202は対応付けプログラム104
により正当性確認用符号が挿入されて登録された正当性
確認用符号付き文書データである。203はパスワード
登録表で、文書要素とパスワードとを対応付けて記憶し
ており、この登録表203はパスワード登録プログラム
101とパスワード抽出プログラム108によってのみ
アクセスできる。
[0012] Reference numeral 201 denotes document data input by the document creator using the input device 1 or read from a floppy disk or the like. 202 is a mapping program 104
This is document data with a validity check code inserted and registered by . A password registration table 203 stores document elements and passwords in association with each other, and this registration table 203 can be accessed only by the password registration program 101 and the password extraction program 108.

【0013】次に、第3のメモリ30の構成を説明する
Next, the configuration of the third memory 30 will be explained.

【0014】301は作成時文書要素名で、文書データ
201の符号生成の対象となる文書要素を一意に指定す
るための作成時の文書要素名が記憶される。302は作
成時対象文字列で、文書データ201から抽出された符
号生成の対象となる文字列(作成時対象文字列)が記憶
される。303は作成時パスワードで、文書作成者が入
力装置1より、文書作成時に入力したパスワードが記憶
される。305は作成時正当性確認用符号で、文字列変
換プログラム103により、作成時対象文字列302と
作成時パスワード303とから作成される作成時正当性
確認用符号が格納される。306は確認時文書要素名で
、文書確認時に、正当性確認の対象とする文書要素を一
意に示す情報が格納される。307は確認時対象文字列
で、確認時文字列抽出プログラム107により正当性確
認用符号付き文書データ202から抽出された文字列が
記憶される。308は確認時パスワードで、パスワード
抽出プログラム108により、パスワード登録表203
を参照して決定されたパスワードが記憶される。310
は作成時正当性確認用符号で、文字列変換プログラム1
03により、確認時対象文字列307と確認時パスワー
ドとから作成される符号が記憶されている。311は比
較用符号で、正当性確認用符号抽出プログラム105に
より、確認用符号付き文書データ202から抽出された
正当性確認用符号が記憶され、312は判定結果で、文
字列比較プログラム106による判定結果が記憶される
Reference numeral 301 is a document element name at the time of creation, which stores the name of a document element at the time of creation for uniquely specifying a document element for which a code of the document data 201 is to be generated. Reference numeral 302 denotes a character string to be generated at the time of creation, in which a character string to be generated as a code extracted from the document data 201 (a character string to be generated at the time of creation) is stored. Reference numeral 303 denotes a creation password, which stores the password input by the document creator from the input device 1 when creating the document. 305 is a code for verifying validity at the time of creation, and the code for verifying validity at the time of creation is stored by the character string conversion program 103 from the target character string 302 at the time of creation and the password 303 at the time of creation. Reference numeral 306 is a document element name at the time of confirmation, and information that uniquely indicates the document element whose validity is to be confirmed at the time of document confirmation is stored. Reference numeral 307 indicates a character string to be verified, and a character string extracted from the coded document data 202 for verification by the verification character string extraction program 107 is stored. 308 is a password at the time of confirmation, which is extracted from the password registration table 203 by the password extraction program 108.
The password determined with reference to is stored. 310
is the code for checking the validity at the time of creation, and the character string conversion program 1
03, a code created from the verification target character string 307 and the verification password is stored. Reference numeral 311 is a comparison code, in which the validity check code extracted from the document data with check code 202 by the validity check code extraction program 105 is stored, and 312 is a determination result, which is determined by the character string comparison program 106. The results will be stored.

【0015】<文書データの説明  (図2〜図3)>
図2は本実施例における入力文書データ201の一例を
示す図である。
<Description of document data (FIGS. 2 and 3)>
FIG. 2 is a diagram showing an example of input document data 201 in this embodiment.

【0016】図示のように、文書データ201は、ある
特定の文書区切り記号によって、文書要素ごとに分離さ
れており、ここでは、その文書区切り記号を“<”と“
>”としている。従って、各文書要素は“<”で始まり
、“>”で終わる文字列となり、このスタート記号“<
”直後の文字を文書要素名とする。尚、これら文書要素
中に“<”と“>”の文字を、文書区切り記号以外の目
的で用いることは禁止されている。
As shown in the figure, document data 201 is separated into document elements by specific document delimiters, and here, the document delimiters are expressed as "<" and ".
>”. Therefore, each document element is a character string that starts with “<” and ends with “>”, and this start symbol “<
``The character immediately after is the document element name.It is prohibited to use the characters ``<'' and ``>'' in these document elements for purposes other than document delimiters.

【0017】そして、図3は抽出された文書要素の後に
、その文書要素が正当なものであるかを確認するための
符号「!!!!」或いは「?????」等を付した状態
を示している。尚、これらの処理については詳しく後述
する。
[0017] FIG. 3 shows that a code such as "!!!" or "??????" is added after the extracted document element to confirm whether the document element is valid. Indicates the condition. Note that these processes will be described in detail later.

【0018】次に、本実施例の文書処理システムにおけ
る処理の流れについて説明するが、ここでの処理は大き
く2つに分かれ、1つは文書作成を行なう処理と、他は
正当性を確認するための処理である。
Next, the flow of processing in the document processing system of this embodiment will be explained. The processing here is roughly divided into two parts: one is for document creation, and the other is for checking the validity. This is a process for

【0019】初めに、オペレータによる文書データ作成
処理の流れを、図4のフローチャートを参照して説明す
る。
First, the flow of document data creation processing by an operator will be explained with reference to the flowchart of FIG.

【0020】まずステップS1で、文書作成者(オペレ
ータ)は入力装置1より各文書要素に文書要素名が付さ
れた文書データ201の格納場所(たとえばファイル名
)と、確認用符号付文書データ202の格納場所を入力
し、処理対象を定める。次にステップS2で、文書デー
タ201の中のどの文書要素を登録の対象とするか、そ
の文書要素名を入力装置1から入力する。この入力され
た文書要素名は作成時文書要素名301として記憶され
る。次にステップS3に進み、作成時文字列抽出プログ
ラム102を用いて、文書データ201から該当する文
書要素を取り出し、それを作成時対象文字列302とし
て記憶する。次にステップS4に進み、オペレータが入
力装置1より作成時パスワード303を入力すると、そ
のパスワードをパスワード登録表203に登録する(ス
テップS5)。その後、ステップS3で取り出した作成
時対象文字列302と、ステップS4で入力された作成
時パスワード303から、ステップS6で文字列変換プ
ログラム103を用いて作成時正当性確認用符号305
を作成する。尚、この作成時正当性確認用符号について
は後述する。そして最後に、ステップS7で対応付けプ
ログラム104を用いて、該当する文書要素と作成時正
当性確認用符号305の対応付け処理を行なって(後述
する)、文書作成処理を終了する。
First, in step S1, the document creator (operator) inputs from the input device 1 the storage location (for example, file name) of the document data 201 in which each document element is given a document element name, and the document data 202 with a confirmation code. Enter the storage location and determine the processing target. Next, in step S2, which document element in the document data 201 is to be registered, the name of the document element is inputted from the input device 1. This input document element name is stored as the document element name at the time of creation 301. Next, the process proceeds to step S3, and the corresponding document element is extracted from the document data 201 using the creation character string extraction program 102, and is stored as the creation target character string 302. Next, the process proceeds to step S4, and when the operator inputs the creation password 303 from the input device 1, the password is registered in the password registration table 203 (step S5). Thereafter, from the creation target character string 302 extracted in step S3 and the creation password 303 inputted in step S4, the character string conversion program 103 is used in step S6 to create the creation validity confirmation code 305.
Create. Note that the code for verifying validity at the time of creation will be described later. Finally, in step S7, the correspondence program 104 is used to perform a process of associating the corresponding document element with the creation validity confirmation code 305 (described later), and the document creation process is ended.

【0021】次に図5のフローチャートを参照して、図
4のステップS3の作成時文字列抽出プログラム102
の処理について説明する。まず、文書要素の識別につい
て説明する。各文書要素は、文字“<”で始まり、それ
に対応する文字“>”で終わる文字列である。ここで、
文字“<”の直後から、最初の空白文字までの文字列は
、この文書要素の名称(文書要素名)となる。ここで「
対応する」というのは数式におけるカッコの対応と同様
のものであり、“<”は必ずひとつの“>”とペアにな
っている。つまり、“<”が開きカッコ、“>”が閉じ
カッコの役目を果たしている。第1レベルの文書要素の
はじまりを表わす“<”のあとで、これに対応する“>
”が現れる前に、再び“<”が現れた場合、これは第1
レベルの文書要素の中に含まれる第2レベルの文書要素
のはじまりを表わしている。
Next, referring to the flowchart of FIG. 5, the character string extraction program 102 at the time of creation in step S3 of FIG.
The processing will be explained. First, identification of document elements will be explained. Each document element is a character string that begins with the character "<" and ends with the corresponding character ">". here,
The character string from immediately after the character "<" to the first blank character becomes the name of this document element (document element name). here"
"corresponding" is similar to the correspondence between parentheses in mathematical formulas, and "<" is always paired with one ">". In other words, "<" plays the role of an opening parenthesis, and ">" plays the role of a closing parenthesis. After the “<” that indicates the beginning of a first-level document element, the corresponding “>”
If “<” appears again before ” appears, this is the first
It represents the beginning of a second-level document element included in a second-level document element.

【0022】まずステップS11で、図4のステップS
2で入力された文書要素名を基に、文書データ201か
ら同じ要素名を有する文書要素を検出するために文書要
素のスタート記号“<”を検出処理を開始する。ステッ
プS12で、この文書要素名が検出されないまま文書デ
ータ201が終了するとステップS14に進み、該当す
る文書要素がないことを表示してエラー終了する。
First, in step S11, step S in FIG.
Based on the document element name input in step 2, a process for detecting the start symbol "<" of a document element is started in order to detect a document element having the same element name from the document data 201. In step S12, if the document data 201 ends without this document element name being detected, the process advances to step S14, displays that there is no corresponding document element, and ends with an error.

【0023】ステップS12で、この文書要素名を含む
スタート記号が検出されるとステップS13に進み、ス
タート記号“<”の次の文字コードから、これに対応す
るエンド記号“>”を検出するまで取り出し、その文書
要素の文字コード列を作成時対象文字列302に格納す
る。
[0023] In step S12, when a start symbol including this document element name is detected, the process proceeds to step S13, and the process starts from the character code next to the start symbol "<" until the corresponding end symbol ">" is detected. The character code string of the document element is stored in the creation target character string 302.

【0024】次に、図6のフローチャートを参照して、
図4のステップS5で示されたパスワード登録処理につ
いて説明する。ここでは、文書要素名301に対応する
パスワードとして、作成時パスワードを登録する。
Next, referring to the flowchart of FIG.
The password registration process shown in step S5 of FIG. 4 will be explained. Here, the creation password is registered as the password corresponding to the document element name 301.

【0025】まずステップS21で、前述のステップS
2で入力されて作成時文書要素名301に記憶されてい
る文書要素名が、パスワード登録表203に登録されて
いるかを調べる。ステップS22で登録されている時は
ステップS23に進み、パスワード登録表203に登録
されている、その文書要素名に対応するパスワードを、
ステップS4で入力されて作成時パスワード303に記
憶されているパスワードと置き換える。一方、ステップ
S22で、その文書要素名が登録されていない時はステ
ップS24に進み、パスワード登録表203に、作成時
文書要素名301に記憶されている文書要素名と、作成
時パスワード303に記憶されているパスワードとを対
応付けて追加・登録する。尚、この処理は、パスワード
登録表203を更新できる特別な権限のもとに実行され
る。
First, in step S21, the above-mentioned step S
It is checked whether the document element name entered in step 2 and stored in the creation document element name 301 is registered in the password registration table 203. If it has been registered in step S22, the process advances to step S23, and the password corresponding to the document element name registered in the password registration table 203 is entered.
The password is replaced with the password input in step S4 and stored in the creation password 303. On the other hand, if it is determined in step S22 that the document element name is not registered, the process advances to step S24, and the password registration table 203 includes the document element name stored in the document element name at creation 301 and the password stored in the creation password 303. Add/register by associating it with the existing password. Note that this process is executed under special authority that can update the password registration table 203.

【0026】図7は実施例のパスワード登録表203の
データ構成を示す図で、図示のごとくパスワードと文書
要素名とが対応して記憶されている。
FIG. 7 is a diagram showing the data structure of the password registration table 203 of the embodiment, and as shown, passwords and document element names are stored in correspondence.

【0027】次に図8を参照して、図4のステップS6
の符号生成処理について説明する。まずステップS31
で、作成時対象文字列302と作成時パスワード303
との2つの文字コード列を取り出し、ステップS32で
、文字列変換プログラム103を用いて作成時正当性確
認用符号305を作成する。尚、ここで作成時対象文字
列302と作成時パスワード303を文字コード列と仮
定しているが、単なるバイト列としてもよい。このよう
なバイト列の時は、文字列変換プログラム103はバイ
ト列変換プログラムとなることはいうまでもない。
Next, referring to FIG. 8, step S6 of FIG.
The code generation process will be explained. First step S31
Then, create target character string 302 and create password 303
The two character code strings are extracted, and in step S32, a creation-time validity confirmation code 305 is created using the character string conversion program 103. Note that although it is assumed here that the creation target character string 302 and the creation password 303 are character code strings, they may be simple byte strings. Needless to say, in the case of such a byte string, the character string conversion program 103 becomes a byte string conversion program.

【0028】この文字列変換プログラム103は、例え
ばUNIXにおけるパスワードの暗号化と同じようなア
ルゴリズムによって実現できる。即ち、ある文字列を事
実上逆変換できない方法によって、別の文字コード列に
変換するものである。但し、変換後の文字列中に、空白
文字と“<”,“>”が入らないようにしなければなら
ないことはいうまでもない。
This character string conversion program 103 can be realized using an algorithm similar to that used for password encryption in UNIX, for example. In other words, a certain character string is converted into another character code string using a method that practically does not allow reverse conversion. However, it goes without saying that blank characters, "<", and ">" must not be included in the converted character string.

【0029】次に図9のフローチャートを参照して、図
4のステップS7の対応付けプログラム104の処理に
ついて述べる。ここでは、対象となる文書要素の最後の
文字の後に、作成時正当性確認用符号305を正当性を
確認するための確認用符号として空白(スペース)文字
を隔てて挿入している。これは文書作成者が入力装置1
より直接入力してもよいが、自動的に行なってもよい。 自動的に行なう場合の一例を以下に示す。尚、これが挿
入された状態を示したのが前述した図3で、この図3に
は正当性確認用符号付き文書データ202の一例を示し
ており、ここで、“?????”が文書要素名が“a”
の文書要素の正当性確認用符号であり、“!!!!”が
文書要素名が“b”の文書要素の正当性確認用符号とし
ている。
Next, the processing of the association program 104 in step S7 in FIG. 4 will be described with reference to the flowchart in FIG. Here, after the last character of the target document element, a creation validation code 305 is inserted as a validation code for validating the document element with a space character in between. This is input device 1 by the document creator.
It may be input more directly, but it may also be done automatically. An example of automatic execution is shown below. The above-mentioned FIG. 3 shows a state in which this is inserted, and FIG. Document element name is “a”
This is the code for verifying the validity of the document element whose document element name is "b".

【0030】図9において、まずステップS41で、作
成時文書要素名301が示す文書要素名を有する文書要
素(図4のステップS2で指示された)のエンド記号“
>”を検出する。そして、図8のステップS32で求め
た作成時正当性確認用符号305を正当性確認用符号と
して、そのエンド記号“>”の直前に空白文字とともに
挿入する(ステップS42)。これにより、この文書デ
ータは正当性確認用符号付き文書データ202として、
指定された格納場所に格納する。ここで作成時正当性確
認用符号305の前に空白(スペース)を挿入するのは
、文書要素の内容と作成時正当性確認用符号305とを
区別できるようにするためである。
In FIG. 9, first, in step S41, the end symbol "" of the document element (designated in step S2 of FIG. 4) having the document element name indicated by the document element name at creation 301 is
>" is detected.Then, the creation validation code 305 obtained in step S32 of FIG. 8 is inserted as a validation code, along with a blank character, just before the end symbol ">'' (step S42). .As a result, this document data is designated as the document data 202 with a code for verifying validity.
Store in the specified storage location. The reason why a blank space is inserted before the code 305 for verifying validity at the time of creation is to enable the content of the document element to be distinguished from the code 305 for verifying validity at the time of creation.

【0031】尚、前述の説明では、図4において、ステ
ップS6の符号生成処理を、ステップS3の文字列抽出
及びステップS4のパスワード入力後に行っているが、
ステップS3の対象文字列抽出処理を行ないながら、抽
出した文字コード列を逐次、文字列変換プログラム10
3により暗号化して、正当性用符号を作成してもよい。
In the above description, in FIG. 4, the code generation process in step S6 is performed after the character string extraction in step S3 and the password input in step S4.
While performing the target character string extraction process in step S3, the character string conversion program 10 sequentially converts the extracted character code strings into
3 to create a validity code.

【0032】次に、この正当性確認用符号付文書データ
202の正当性を確認する処理を、図10のフローチャ
ートを参照して説明する。まず、ステップS50で、確
認対象となる正当性確認用符号付き文書データ202の
格納場所を文書確認者(担当者)は入力装置1より入力
する。続いてステップS51で、その文書データの確認
を行ないたいオペレータは、入力装置1より確認時文書
要素名306を入力する。これは、図4のステップS2
と同様に、確認したい文書要素の名前を入力するもので
、この名前が入力されると確認時文書要素名306に記
憶される。次にステップS52に進み、確認時文字列抽
出プログラム107を用いて、確認用符号付き文書デー
タ202から該当する確認時対象文字コード列307を
取り出す。次にステップS53に進み、パスワード登録
表203を参照して、その文書要素名に対応するパスワ
ードを取り出し、確認時パスワード308に記憶する。 次にステップS54に進み、ステップS52で取り出し
た確認時対象文字コード列307と、ステップS53で
取り出した確認時パスワード308とから、文字列変換
プログラムにより確認時正当性確認用符号310を作成
する。
Next, the process of verifying the validity of the signed document data 202 for verification will be explained with reference to the flowchart shown in FIG. First, in step S50, the document verifier (person in charge) inputs from the input device 1 the storage location of the coded document data 202 for verification to be verified. Subsequently, in step S51, the operator who wishes to confirm the document data inputs the confirmation document element name 306 from the input device 1. This is step S2 in FIG.
Similarly, the name of the document element to be confirmed is input, and when this name is input, it is stored in the document element name upon confirmation 306. Next, the process advances to step S52, and the verification character string extraction program 107 is used to extract the corresponding verification target character code string 307 from the verification coded document data 202. The process then proceeds to step S53, refers to the password registration table 203, extracts the password corresponding to the document element name, and stores it in the confirmation password 308. Next, the process proceeds to step S54, where a character string conversion program generates a code 310 for verifying validity from the verification target character code string 307 extracted in step S52 and the verification password 308 extracted in step S53.

【0033】そして、正当性確認用符号付き文書データ
202から、ステップS51で入力された確認時文書要
素名306が示す文書要素のエンド記号“>”を検出し
、エンド記号の直前の文字コード列(即ち、文書作成時
の図9のステップS42で挿入された、スペースを除く
正当性確認用符号(図3参照))を、比較用符号311
として取り出す(ステップS55)。そしてステップS
56に進み、ステップS54で作成した確認時正当性確
認用符号310と、ステップS55で抽出した比較用符
号311とを比較し、一致すればステップS57からス
テップS58に進み、正当である旨(例えば文字列“y
es”)を判定結果312に記述する。一方、ステップ
S57で一致しない時はステップS59に進み、正当で
ない旨(例えば文字列“no”)を判定結果312に記
述する。これで確認処理を終了する。
Then, the end symbol ">" of the document element indicated by the verification document element name 306 input in step S51 is detected from the signed document data 202 for validation, and the character code string immediately before the end symbol is detected. (In other words, the validation code excluding spaces (see FIG. 3) inserted in step S42 in FIG. 9 during document creation) is compared to the comparison code 311.
(step S55). and step S
56, the verification code 310 created in step S54 is compared with the comparison code 311 extracted in step S55, and if they match, the process goes from step S57 to step S58, and a message indicating that it is valid (e.g. String “y”
es") is written in the judgment result 312. On the other hand, if they do not match in step S57, the process proceeds to step S59, and a message indicating that it is not valid (for example, the character string "no") is written in the judgment result 312. This ends the confirmation process. do.

【0034】尚、図10のステップS52における確認
時文字列抽出プログラム107の処理は、図5のフロー
チャートで示された作成時文字列抽出プログラム102
の処理と同様であり、図5の説明において、文書データ
201を正当性確認用符号付き文書データ202に、作
成時文書要素名301を確認時文書要素名306に、作
成時対象文字列302を確認時対象文字列307に置き
換えることで同様に説明できるため、これらの説明を省
略する。但し、ここでは確認時対象文字列307から最
後尾の正当性確認用符号を除く必要がある。
The processing of the confirmation character string extraction program 107 in step S52 of FIG. 10 is performed by the creation character string extraction program 102 shown in the flowchart of FIG.
In the explanation of FIG. 5, the document data 201 is set to the document data with a code for checking validity 202, the document element name at the time of creation 301 is set to the document element name at the time of confirmation 306, and the target character string at the time of creation 302 is set to the document element name at the time of confirmation. Since the same explanation can be given by replacing it with the confirmation target character string 307, the explanation thereof will be omitted. However, here, it is necessary to remove the last validation code from the character string 307 to be verified.

【0035】次に図11のフローチャートを参照して、
パスワード抽出プログラム108の処理について説明す
る。ここでは、ステップS51で入力された文書要素名
を基に対応するパスワード、即ち、確認時パスワード3
08を取出すものである。
Next, referring to the flowchart of FIG. 11,
The processing of the password extraction program 108 will be explained. Here, a password corresponding to the document element name input in step S51, that is, password 3 at the time of confirmation.
08 is taken out.

【0036】ステップS61では、ステップS51で入
力された文書要素名に基づいてパスワード登録表203
を参照し、その文書要素名が登録されているかをみる。 ステップS62で、文書要素名が登録されている時はス
テップS63に進み、それに対応するパスワードを読み
出して、これを確認時パスワード308として記憶する
。一方、ステップS62で、その文書要素名が登録され
ていない時はステップS64に進み、エラーを通知して
処理を終了する。尚、この処理も、前述のパスワード登
録プログラムと同様に、パスワード登録表203を参照
できる特別な権限の下に実行される。
In step S61, the password registration table 203 is created based on the document element name input in step S51.
to see if the document element name is registered. If the document element name is registered in step S62, the process advances to step S63, where the corresponding password is read out and stored as the confirmation password 308. On the other hand, if it is determined in step S62 that the document element name is not registered, the process advances to step S64, an error is notified, and the process ends. Note that this process is also executed under special authority that allows the user to refer to the password registration table 203, similar to the password registration program described above.

【0037】次に、図10のステップS54の符号生成
処理は、前述の図8の処理と同様にして実現できる。但
し、図8では、作成時対象文字列302であったのを、
この場合は確認時対象文字列307とし、作成時パスワ
ード303を確認時パスワード308に、作成時正当性
確認用符号305を確認時正当性確認用符号310に置
き換えれば、図8と全く同様にして説明できる。
Next, the code generation process in step S54 in FIG. 10 can be realized in the same manner as the process in FIG. 8 described above. However, in FIG. 8, the target character string 302 at the time of creation is
In this case, if the character string to be verified is 307, the creation password 303 is replaced with the verification password 308, and the creation validity verification code 305 is replaced with the verification validity verification code 310, it can be done in exactly the same way as in FIG. I can explain.

【0038】このように本実施例では、正当性を確認し
たい文書要素名を指定するだけで、その文書データが変
更されていないかどうかを検出できる。尚、この実施例
では正当性を確認するための正当性確認用符号を文書中
に埋め込む場合で説明したが、本発明はこれに限定され
るものでなく、例えばこの確認用符号をパスワードと同
様に別ファイルで管理することも容易に想到できる。ま
た、この実施例では、文書要素の指定を文書要素の名前
で指定する様にしたが、文書要素の順番或いは、その位
置等により指定してもよい。
As described above, in this embodiment, it is possible to detect whether the document data has been changed by simply specifying the name of the document element whose validity is desired to be confirmed. In this embodiment, a case has been described in which a validation code for confirming authenticity is embedded in a document, but the present invention is not limited to this. For example, this validation code can be embedded in the same way as a password. It is also possible to easily manage the data in separate files. Further, in this embodiment, the document elements are specified by the name of the document element, but it may be specified by the order of the document elements, their positions, or the like.

【0039】また、文書データ作成処理の中で、パスワ
ード登録表203の登録を同時に行う例について説明し
たが、登録は分離して行っておき、文書データ作成時に
は、登録済のパスワードを入力するようにし、このとき
には、パスワード登録表203を更新しないようにして
もよい。また、パスワード登録表は複数個用意でき、文
書データ指定時にパスワード登録表の格納場所を指定で
きるようにしてもよい。
[0039] Also, an example was explained in which the password registration table 203 is registered at the same time during the document data creation process, but the registration is performed separately and the registered password is input when creating the document data. At this time, the password registration table 203 may not be updated. Further, a plurality of password registration tables may be prepared, and the storage location of the password registration table may be specified when specifying document data.

【0040】<第2の実施例  (図12〜図18)>
以下、図12〜図18を参照して本発明の第2の実施例
について説明する。尚、この第2の実施例では、第1の
実施例と同じく文書要素の正当性確認を行なう例につい
て述べるが、指定された文書要素の正当性を文書要素の
所有者(以下、単に所有者という)毎に登録されている
正当性確認用パスワードを利用して判定するのが特徴で
ある。尚、この第2の実施例に於て、前述の実施例と共
通する部分は同じ番号で示し、それらの説明を省略する
<Second Example (FIGS. 12 to 18)>
A second embodiment of the present invention will be described below with reference to FIGS. 12 to 18. In this second embodiment, an example will be described in which the validity of a document element is confirmed in the same way as in the first embodiment. The feature is that the determination is made using the authenticity confirmation password registered for each item. Incidentally, in this second embodiment, parts common to the above-mentioned embodiments are indicated by the same numbers, and their explanation will be omitted.

【0041】図12は第2の実施例における文書処理シ
ステムの概略構成を表わした図で、前述の図1と構成は
略同じであるが、以下に述べる第1、第2、第3のメモ
リに記憶されるプログラムやデータの種類が異なってい
る。
FIG. 12 is a diagram showing a schematic configuration of a document processing system according to the second embodiment. The configuration is almost the same as that of FIG. 1 described above, but the first, second, and third memories described below are The types of programs and data stored in the computer are different.

【0042】第1のメモリ10において、111は所有
者登録プログラムで、図1のパスワード登録プログラム
101に代わり、指定された文書要素に対して、文書作
成者が、このプログラムを使用して、その文書要素の所
有者を所有者登録表214に登録する。118はパスワ
ード抽出プログラムで、前述のパスワード抽出プログラ
ム108に代わり、所有者登録表214及びパスワード
登録表213を参照して、指定された文書要素のパスワ
ードを取り出すことができる。119はパスワード登録
プログラムで、文書要素とは独立して、所有者ごとのパ
スワードをパスワード登録表213に登録する。
In the first memory 10, 111 is an owner registration program, which allows a document creator to use this program to register a specified document element in place of the password registration program 101 in FIG. The owner of the document element is registered in the owner registration table 214. Reference numeral 118 is a password extraction program which, in place of the password extraction program 108 described above, can extract the password of a designated document element by referring to the owner registration table 214 and the password registration table 213. A password registration program 119 registers a password for each owner in the password registration table 213 independently of the document element.

【0043】次に第2のメモリ20のデータ構成を説明
すると、213はパスワード登録表で、図1のパスワー
ド登録表203とは異なり、所有者に対応したパスワー
ドを登録する登録表である。214は所有者登録表で、
文書要素と、その所有者との対応付け情報を記憶してい
る。尚、これらパスワード登録表213は、パスワード
登録プログラム119とパスワード抽出プログラム11
8によってのみアクセス可能とし、所有者登録表214
は所有者登録プログラム111とパスワード抽出プログ
ラム118によってのみアクセス可能とする。すなわち
、文書作成者や文書確認者が直接読み書きできないよう
にする。
Next, the data structure of the second memory 20 will be described. Reference numeral 213 is a password registration table, which is different from the password registration table 203 of FIG. 1 and is a registration table in which passwords corresponding to owners are registered. 214 is the owner registration table,
Stores correspondence information between document elements and their owners. Note that these password registration tables 213 are based on the password registration program 119 and the password extraction program 11.
8, and the owner registration table 214
can be accessed only by the owner registration program 111 and the password extraction program 118. In other words, document creators and document checkers are prevented from directly reading and writing.

【0044】次に、第3のメモリ30の構成を説明する
と、313は作成時所有者名で、文書作成時に、文書作
成者が入力装置1より入力された、その文書要素の所有
者名が記憶されている。318は確認時所有者名で、パ
スワード抽出プログラム118により、指定された文書
要素に対して所有者登録表214より得られた所有者名
が登録される。
Next, to explain the structure of the third memory 30, numeral 313 is the owner name at the time of creation, and the owner name of the document element input by the document creator from the input device 1 when creating the document is remembered. 318 is the owner name at the time of confirmation, and the password extraction program 118 registers the owner name obtained from the owner registration table 214 for the specified document element.

【0045】初めに、この第2の実施例の文書作成処理
の流れを図13のフローチャートを参照して説明する。
First, the flow of document creation processing in this second embodiment will be explained with reference to the flowchart of FIG.

【0046】まずステップS71で、文書作成者は入力
装置1より文書データ201の格納場所(たとえばファ
イル名)と、確認用符号付文書データの格納場所を入力
し、処理対象を定める。次にステップS72に進み、文
書作成者により入力装置1より作成時文書要素名301
が入力されるとステップS73に進み、文字列抽出プロ
グラム102を用いて、文書データ201より該当する
作成時対象文字列302を取出す。更にステップS74
で、文書作成者が入力装置1より、文書作成時所有者名
313を入力するとステップS75に進み、その所有者
名を所有者登録プログラム111により所有者登録表2
14に登録する。
First, in step S71, the document creator inputs the storage location (for example, file name) of the document data 201 and the storage location of the verification coded document data from the input device 1, and determines the processing target. Next, the process proceeds to step S72, where the document creator inputs the document element name 301 at the time of creation from the input device 1.
When inputted, the process advances to step S73, and the corresponding creation target character string 302 is extracted from the document data 201 using the character string extraction program 102. Furthermore, step S74
When the document creator inputs the owner name 313 at the time of document creation from the input device 1, the process advances to step S75, and the owner name is entered in the owner registration table 2 by the owner registration program 111.
Register on 14th.

【0047】次にステップS76に進み、ステップS7
2でパスワード抽出プログラム118を用いて、入力さ
れた文書要素名301から作成時パスワード303を得
る。次にステップS77に進み、ステップS73で取り
出した作成時対象文字列302と、ステップS76で取
り出した作成時パスワード303とから、文字列変換プ
ログラム103により作成時正当性確認用符号305を
生成する。最後にステップS78に進み、対応付けプロ
グラム104を用いて、該当する文書要素と作成時正当
性確認用符号305の対応付け処理を行なって、正当性
確認用符号付き文書データの作成処理を終了する。
Next, the process advances to step S76, and step S7
2, the password extraction program 118 is used to obtain the creation password 303 from the input document element name 301. Next, the process proceeds to step S77, in which the character string conversion program 103 generates a creation validity check code 305 from the creation target character string 302 extracted in step S73 and the creation password 303 extracted in step S76. Finally, the process proceeds to step S78, where the correspondence program 104 is used to perform a process of associating the corresponding document element with the creation-time validity check code 305, and the process of creating document data with a validity check code is completed. .

【0048】尚、図13のステップS75の所有者登録
プログラム111の処理は、前述した図4のステップS
5のパスワード登録プログラム101の処理と同様であ
り、ステップS5の作成時パスワード303を作成時所
有者名313に、パスワード登録表203を所有者登録
表214に置き換えることで説明できる。なお、この処
理もパスワード登録表214に書き込めるように、特別
な権限が与えられて実行される。以上で所有者登録処理
の説明を終了する。
Note that the process of the owner registration program 111 in step S75 in FIG. 13 is similar to the process in step S75 in FIG.
5, and can be explained by replacing the creation password 303 with the creation owner name 313 and the password registration table 203 with the owner registration table 214 in step S5. Note that this process is also executed with special authority given so that it can be written in the password registration table 214. This concludes the explanation of the owner registration process.

【0049】次に、図13のステップS76のパスワー
ド抽出プログラム118の処理について述べる。ここで
は、所有者登録表214及びパスワード登録表213を
参照し、指定された文書要素301に対応するパスワー
ド、即ち作成時パスワード303を取り出すもので、こ
の処理の流れを図14のフローチャートを参照して説明
する。
Next, the processing of the password extraction program 118 in step S76 of FIG. 13 will be described. Here, the owner registration table 214 and the password registration table 213 are referred to, and the password corresponding to the specified document element 301, that is, the creation password 303, is retrieved. I will explain.

【0050】まずステップS81で、所有者登録表21
4を参照して、入力された文書要素名301に対応する
所有者名の項目を探す。ステップS82で、対象項目が
見つかった場合はステップS83に進み、その項目の所
有者名部分をパスワード抽出時所有者名324とする。 一方、文書要素名301に関する項目が所有者登録表2
14に登録されていない場合はステップS89に進み、
エラーを通知して処理を終了する。
First, in step S81, the owner registration table 21
4, search for the owner name item corresponding to the input document element name 301. In step S82, if the target item is found, the process advances to step S83, and the owner name portion of the item is set as the owner name 324 at the time of password extraction. On the other hand, the item related to the document element name 301 is
If it is not registered in step S89, the process advances to step S89.
Notify an error and terminate the process.

【0051】ステップS83に続いてステップS84に
進み、パスワード登録表213を参照してパスワード抽
出時所有者名324に対応する項目を探す。ステップS
85で対象項目が見つかった場合はステップS86に進
み、その項目のパスワード部分を作成時パスワード30
3として記憶する。一方、ステップS85で、所有者名
324に関する項目が登録されていない場合はステップ
S87に進み、エラーを通知して処理を終了する。
[0051] Following step S83, the process advances to step S84, and the password registration table 213 is referred to to search for an item corresponding to the owner name 324 at the time of password extraction. Step S
If the target item is found in step S85, the process advances to step S86, and the password part of the item is set to password 30 at the time of creation.
Store it as 3. On the other hand, if the item related to the owner name 324 is not registered in step S85, the process advances to step S87, an error is notified, and the process ends.

【0052】なお、この処理も、所有者登録表214お
よび、パスワード登録表213を参照できるように特別
な権限を与えられて実行される。図15にパスワード登
録表213のデータ構成例を示し、図16に所有者登録
表214の一例を示す。
[0052] This process is also executed with special authority given to the user to be able to refer to the owner registration table 214 and the password registration table 213. FIG. 15 shows an example of the data structure of the password registration table 213, and FIG. 16 shows an example of the owner registration table 214.

【0053】これらの図より明らかな様に、パスワード
登録表213では、所有者名に対応してパスワードが登
録されており、所有者登録表214では、文書要素名に
対応して所有者名が登録されている。
As is clear from these figures, in the password registration table 213, a password is registered corresponding to the owner name, and in the owner registration table 214, the owner name is registered corresponding to the document element name. Registered.

【0054】次に図17のフローチャートを参照してパ
スワード登録表213について説明する。パスワード登
録表213、すなわち所有者名とそのパスワードの組の
各項目は、これまで述べてきた文書の正当性確認以前に
、パスワード登録プログラム119によって登録されて
いるものとする。
Next, the password registration table 213 will be explained with reference to the flowchart of FIG. It is assumed that each item in the password registration table 213, that is, a pair of owner name and its password, has been registered by the password registration program 119 before the document validity confirmation described above.

【0055】まずステップS91で、入力装置1より登
録時の所有者名が入力されると登録時所有者名321に
記憶し、ステップS92では入力装置1より入力される
パスワードを入力して登録時パスワード323に記憶す
る。そしてステップS93に進み、この登録時パスワー
ド323と登録時所有者名321とを対応付けてパスワ
ード登録表213に追加する。次にステップS94で、
所有者となり得る全ての所有者名が登録されたかを調べ
、ステップS95で全ての登録が終っていれば処理を終
了する。そうでなければ、ステップS91〜S95の処
理を繰り返す。以上でパスワード登録処理を終了する。
First, in step S91, when the owner name at the time of registration is input from the input device 1, it is stored in the owner name at the time of registration 321, and in step S92, the password input from the input device 1 is input and the name at the time of registration is entered. The password is stored in the password 323. The process then proceeds to step S93, where the registration password 323 and the registration owner name 321 are associated and added to the password registration table 213. Next, in step S94,
It is checked whether all the names of potential owners have been registered, and if all the names have been registered in step S95, the process ends. Otherwise, the processing of steps S91 to S95 is repeated. This completes the password registration process.

【0056】前述第1の実施例と同様に、図13の正当
性確認用符号付き文書作成処理では、ステップS77の
符号生成処理を、ステップS73,S74,S75,S
76の後に行っているが、ステップS73の対象文字列
抽出処理を行いながら、抽出した文字を逐次、文字列変
換プログラム103に入力するようにしてもよい。
Similar to the first embodiment described above, in the coded document creation process for verifying validity shown in FIG.
Although the process is performed after step S76, the extracted characters may be sequentially input to the character string conversion program 103 while performing the target character string extraction process in step S73.

【0057】最後に図18のフローチャートを参照して
、指定した文書要素の正当性確認処理の流れについて説
明する。
Finally, with reference to the flowchart of FIG. 18, the flow of the validity confirmation process for a specified document element will be explained.

【0058】まず、ステップS100で、確認対象とな
る正当性確認用符号付文書データ202の格納場所が、
文書確認者により入力装置1から入力され、処理対象が
定まる。続いてステップS101において、文書確認者
により入力装置1から確認時文書要素名306が入力さ
れると、ステップS102で確認用符号付き文書データ
202から文字列抽出プログラム107を用いて、該当
する確認時対象文字列307を取り出す。次にステップ
S103に於て、パスワード抽出プログラム118によ
って、確認時文書要素名306に対応する確認時パスワ
ード308をパスワード登録表213および所有者登録
表214を参照して取り出し、その取り出した確認時対
象文字列307と、ステップS103で取り出した確認
時パスワード308とから、文字列変換プログラム10
3により、確認時正当性確認用符号310を作成する(
ステップS104)。
First, in step S100, the storage location of the signed document data 202 for verification is determined as follows.
The document checker inputs the information from the input device 1 to determine the processing target. Subsequently, in step S101, when the document checker inputs the document element name 306 at the time of confirmation from the input device 1, in step S102, the character string extraction program 107 is used from the coded document data for confirmation 202 to extract the corresponding confirmation time. The target character string 307 is extracted. Next, in step S103, the password extraction program 118 extracts the confirmation password 308 corresponding to the confirmation document element name 306 by referring to the password registration table 213 and the owner registration table 214, and extracts the confirmation password 308 corresponding to the confirmation document element name 306. From the character string 307 and the confirmation password 308 extracted in step S103, the character string conversion program 10
3, create the code 310 for verifying validity at the time of verification (
Step S104).

【0059】次にステップS105に進み、正当性確認
用符号付き文書データ202から、ステップS101で
入力された確認時文書要素名306が示す文書要素のエ
ンド記号“>”を検出し、そのエンド記号の直前の文字
列を比較用符号311として取り出す。次にステップS
106に進み、ステップS104で作成した確認時正当
性確認用符号310と、ステップS105で抽出した比
較用符号311とを比較し、一致すればステップS10
7に進み、正当である旨、例えば文字列“yes”を判
定結果312に記述する。又、ステップS107で一致
しない時はステップS108に進み、正当でない旨、例
えば文字列“no”を判定結果312に記述する。この
ようにして確認処理を終了する。
Next, the process advances to step S105, and the end symbol ">" of the document element indicated by the verification document element name 306 input in step S101 is detected from the signed document data 202 for validity verification, and the end symbol ">" is detected. The character string immediately before is extracted as the comparison code 311. Next step S
Proceeding to step 106, the verification code 310 created in step S104 is compared with the comparison code 311 extracted in step S105, and if they match, the code 310 is processed in step S10.
Proceeding to step 7, a character string "yes", for example, is written in the determination result 312 to indicate that it is valid. If they do not match in step S107, the process proceeds to step S108, and a character string "no", for example, is written in the determination result 312 to the effect that it is not valid. In this way, the confirmation process ends.

【0060】なお、本実施例では、文書作成時に、随時
、文書の所有者名を登録してゆく方について述べたが、
文書要素とその所有者との対応づけを、事前に割り振っ
ておき、文書の登録時に正当性確認符号を設定すること
も考えられる。
[0060] In this embodiment, a case has been described in which the name of the owner of a document is registered at any time when the document is created.
It is also conceivable to allocate correspondence between document elements and their owners in advance, and set a validity confirmation code when registering the document.

【0061】また、本発明は、複数の機器から構成され
るシステムに適用しても良いし、1つの機器からなる装
置に適用しても良いし、システム或は装置にプログラム
を供給することによって達成される場合にも適用できる
ことはいうまでもない。
Furthermore, the present invention may be applied to a system consisting of a plurality of devices, or may be applied to a device consisting of one device, or by supplying a program to the system or device. Needless to say, it can also be applied to cases where the goal is achieved.

【0062】以上説明したように本実施例によれば、文
書要素の正当性を保持するパスワードを特定のプログラ
ムのみからアクセス可能な記憶領域に蓄えておき、文書
要素名を指定するだけで、パスワードを入力することな
く、その文書要素の正当性を確認できる。このため、文
書要素のパスワードを各文書要素ごとに所有者が入力す
る繁雑さを省くことができる。
As explained above, according to this embodiment, a password that maintains the validity of a document element is stored in a storage area that can be accessed only from a specific program, and the password can be changed by simply specifying the document element name. You can check the validity of a document element without having to enter it. Therefore, it is possible to eliminate the complexity of having the owner input a password for each document element.

【0063】これに伴つて、文書作成時および正当性確
認時のパスワード入力の誤りによる不必要な作業を軽減
できる。
[0063] Accordingly, it is possible to reduce unnecessary work due to incorrect password input when creating a document and confirming authenticity.

【0064】また、正当性確認時におけるパスワード入
力が不要なことから、文書所有者以外のパスワードを知
らない第3者によっても、文書の正当性の確認だけは可
能となる。即ち、この方法により、定期的に文書内容の
正当性を確認する際に、必ずしも文書の所有者が介在す
る必要がなくなる。なお、上記実施例では、データ内容
の変更の有無を判定する対象のデータを文書データとし
たが、プログラムデータを対象としてもよい。すなわち
、本発明は、プログラムソースの正当性の確認に適用す
ることもできる。
[0064] Furthermore, since it is not necessary to input a password when confirming the authenticity, even a third party other than the document owner who does not know the password can confirm the authenticity of the document. That is, this method eliminates the need for the document owner to intervene when periodically confirming the validity of the document contents. In the above embodiment, document data is the target data for determining whether or not the data content has been changed, but program data may also be the target data. That is, the present invention can also be applied to confirming the validity of a program source.

【0065】[0065]

【発明の効果】以上説明したように本発明によれば、複
数の担当者によって作成された文書領域を含む文書情報
が変更されたかどうかを調べるときに、各担当者のパス
ワードを入力しなくても各文書領域の内容が変更された
かどうかを確認できる効果がある。
[Effects of the Invention] As explained above, according to the present invention, when checking whether document information including a document area created by a plurality of persons in charge has been changed, it is not necessary to input the password of each person in charge. This also has the effect of allowing you to check whether the contents of each document area have been changed.

【図面の簡単な説明】[Brief explanation of the drawing]

【図1】本発明の第1の実施例の文書処理システムの概
略構成を示すシステム構成図である。
FIG. 1 is a system configuration diagram showing a schematic configuration of a document processing system according to a first embodiment of the present invention.

【図2】実施例の文書データの文書要素を説明するため
の図である。
FIG. 2 is a diagram for explaining document elements of document data according to the embodiment.

【図3】図2の文書データを確認用符号付文書データに
変換した例を示す図である。
FIG. 3 is a diagram showing an example of converting the document data in FIG. 2 into document data with confirmation code.

【図4】第1の実施例の文書処理システムにおける文書
作成処理の流れを説明するためのフローチャートである
FIG. 4 is a flowchart for explaining the flow of document creation processing in the document processing system of the first embodiment.

【図5】第1の実施例の文字列抽出処理を説明するため
のフローチャートである。
FIG. 5 is a flowchart for explaining character string extraction processing in the first embodiment.

【図6】第1の実施例におけるパスワード登録処理を説
明するためのフローチャートである。
FIG. 6 is a flowchart for explaining password registration processing in the first embodiment.

【図7】第1の実施例のパスワード登録表のデータ構成
例を示す図である。
FIG. 7 is a diagram showing an example data structure of a password registration table according to the first embodiment.

【図8】第1の実施例の符号生成処理を説明するための
フローチャートである。
FIG. 8 is a flowchart for explaining code generation processing in the first embodiment.

【図9】第1の実施例の対応付け処理を説明するための
フローチャートである。
FIG. 9 is a flowchart for explaining association processing in the first embodiment.

【図10】第1の実施例の文書確認処理を説明するため
のフローチャートである。
FIG. 10 is a flowchart for explaining document confirmation processing in the first embodiment.

【図11】第1の実施例の確認時におけるパスワード取
出し処理を説明するためのフローチャートである。
FIG. 11 is a flowchart for explaining password extraction processing at the time of confirmation in the first embodiment.

【図12】本発明における第2の実施例の文書処理シス
テムの概略構成を示すシステム構成図である。
FIG. 12 is a system configuration diagram showing a schematic configuration of a document processing system according to a second embodiment of the present invention.

【図13】第2の実施例の文書処理システムにおける文
書作成処理の流れを説明するためのフローチャートであ
る。
FIG. 13 is a flowchart for explaining the flow of document creation processing in the document processing system of the second embodiment.

【図14】第2の実施例のパスワード取出し処理を説明
するためのフローチャートである。
FIG. 14 is a flowchart for explaining password extraction processing in the second embodiment.

【図15】第2の実施例のパスワード登録表のデータ構
成例を示す図である。
FIG. 15 is a diagram showing an example data structure of a password registration table according to the second embodiment.

【図16】第2の実施例の所有者登録表のデータ構成例
を示す図である。
FIG. 16 is a diagram showing an example of the data structure of an owner registration table according to the second embodiment.

【図17】第2の実施例のパスワード登録処理を示すフ
ローチャートである。
FIG. 17 is a flowchart showing password registration processing in the second embodiment.

【図18】第2の実施例の確認用符号付き文書確認処理
の流れを説明するためのフローチャートである。
FIG. 18 is a flowchart for explaining the flow of confirmation coded document confirmation processing according to the second embodiment.

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

1  入力装置 2  CPU 3  出力装置 4  バス 10,20,30  メモリ 105  正当性確認用符号抽出プログラム107  
確認時文字列抽出プログラム108  パスワード抽出
プログラム 201  文書データ 202  正当性確認用符号付き文書データ203  
パスワード登録表 214  所有者登録表 303  作成時パスワード 305  作成時正当性確認用符号 311  比較用符号 312  判定結果
1 Input device 2 CPU 3 Output device 4 Buses 10, 20, 30 Memory 105 Validity confirmation code extraction program 107
Confirmation character string extraction program 108 Password extraction program 201 Document data 202 Signed document data for validity confirmation 203
Password registration table 214 Owner registration table 303 Password at creation 305 Code for verifying validity at creation 311 Code for comparison 312 Judgment result

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】  複数の文書要素で構成された文書デー
タを扱う文書処理装置であって、前記文書要素のそれぞ
れを区別可能に記憶する文書記憶手段と、パスワードを
入力する入力手段と、前記入力手段により入力されたパ
スワードと、前記文書要素の識別情報とを対応付けて記
憶する記憶手段と、前記文書要素の識別情報を入力して
文書要素を指定し、その指定された文書要素の文書デー
タを抽出する抽出手段と、前記抽出手段より抽出された
文書データと前記パスワードを基に前記文書データの符
号を生成する符号生成手段と、前記符号生成手段により
生成された符号を、前記文書要素に対応して記憶する符
号記憶手段と、前記文書要素が特定されると、その文書
要素の内容と前記記憶手段のパスワードにより符号を算
出する算出手段と、前記算出手段により算出された符号
と、前記符号記憶手段に記憶された符号とを比較する比
較手段と、を有することを特徴とする文書処理装置。
1. A document processing device that handles document data composed of a plurality of document elements, comprising: document storage means for storing each of the document elements in a distinguishable manner; input means for inputting a password; and the input means for inputting a password. a storage means for storing a password inputted by the means and identification information of the document element in association with each other; and a storage means for inputting the identification information of the document element to designate the document element, and document data of the designated document element. an extraction means for extracting a code, a code generation means for generating a code for the document data based on the document data extracted by the extraction means and the password, and a code generated by the code generation means for the document element. a code storage means for storing the code in correspondence; a calculation means for calculating a code based on the contents of the document element and a password of the storage means when the document element is specified; a code calculated by the calculation means; A document processing device comprising: comparison means for comparing the code stored in the code storage means.
【請求項2】  複数の文書要素で構成された文書デー
タを扱う文書処理方法であって、文書要素のそれぞれを
区別可能に記憶する工程と、前記文書要素のパスワード
を入力する工程と、その入力されたパスワードと、文書
要素の識別情報とを対応付けて記憶する工程と、文書要
素の識別情報により文書要素が指定されると、その指定
された文書要素の文書データを抽出し、その抽出された
文書データとパスワードを基に文書データの符号を生成
する工程と、この生成された符号を、文書要素に対応し
て記憶する工程と、文書要素が特定されると、その文書
要素の内容と、その識別情報に対応付けて記憶されてい
るパスワードとにより符号を算出する工程と、この算出
された符号と、記憶された符号とを比較して、その文書
要素の内容が変更されたかどうかを判定できるようにし
たことを特徴とする文書処理方法。
2. A document processing method for handling document data composed of a plurality of document elements, the method comprising: storing each of the document elements in a distinguishable manner; inputting a password for the document element; and inputting the password. A step of storing the password in association with identification information of the document element, and when a document element is specified by the identification information of the document element, extracting the document data of the specified document element, and extracting the document data of the specified document element. a step of generating a code for document data based on the document data and password; a step of storing the generated code in correspondence with a document element; and once a document element is identified, the content of the document element is , a step of calculating a code based on a password stored in association with the identification information, and comparing the calculated code with the stored code to determine whether the content of the document element has been changed. A document processing method characterized by enabling determination.
JP3051273A 1991-02-27 1991-03-15 Document processing apparatus and method Expired - Fee Related JP2875640B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP3051273A JP2875640B2 (en) 1991-03-15 1991-03-15 Document processing apparatus and method
EP92301588A EP0501760B1 (en) 1991-02-27 1992-02-26 Method for detecting improper rewriting of stored data
DE69227051T DE69227051T2 (en) 1991-02-27 1992-02-26 Procedure for discovering incorrect overwriting of stored data
US07/842,917 US5455941A (en) 1991-02-27 1992-02-27 System for detecting improper rewrites of data system for using separate reader writer passwords

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3051273A JP2875640B2 (en) 1991-03-15 1991-03-15 Document processing apparatus and method

Publications (2)

Publication Number Publication Date
JPH04286058A true JPH04286058A (en) 1992-10-12
JP2875640B2 JP2875640B2 (en) 1999-03-31

Family

ID=12882342

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3051273A Expired - Fee Related JP2875640B2 (en) 1991-02-27 1991-03-15 Document processing apparatus and method

Country Status (1)

Country Link
JP (1) JP2875640B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6026387A (en) * 1983-07-22 1985-02-09 日本電信電話株式会社 Digital signature system
JPH01243172A (en) * 1988-03-25 1989-09-27 Hitachi Ltd System for controlling in-document area access
JPH0228869A (en) * 1988-07-19 1990-01-30 Matsushita Electric Ind Co Ltd Document preparing device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6026387A (en) * 1983-07-22 1985-02-09 日本電信電話株式会社 Digital signature system
JPH01243172A (en) * 1988-03-25 1989-09-27 Hitachi Ltd System for controlling in-document area access
JPH0228869A (en) * 1988-07-19 1990-01-30 Matsushita Electric Ind Co Ltd Document preparing device

Also Published As

Publication number Publication date
JP2875640B2 (en) 1999-03-31

Similar Documents

Publication Publication Date Title
US7506171B2 (en) Method and systems for securely supporting password change
US5479509A (en) Method for signature of an information processing file, and apparatus for implementing it
CN102156840B (en) Controller and managing device thereof
US6751632B1 (en) Method of creating authenticated verifiable reproductions of electronic documents
US20090190805A1 (en) System and method for fingerprint recognition
JP2006023944A5 (en)
JPH04286058A (en) Method and device for processing document
JP3123539B2 (en) Portable information terminal and recording medium
JP4342326B2 (en) Database controller
JP3124568B2 (en) Document processing apparatus and method
JPH04286059A (en) Method and deice for processing document
JP2871877B2 (en) Document processing apparatus and method
JPH07105139A (en) Certifying device
WO2005027502A1 (en) Content management system
JPH03278161A (en) Text approving or text confirming system for electronic information and electronic information processor
JPH04271466A (en) System for processing document
JP3126397B2 (en) Document processing apparatus and method
JP2958141B2 (en) Document processing apparatus and method
JPH03192456A (en) Password control system
JPS62143179A (en) Memory device for image information
JPH04286063A (en) Device and method for processing document
CN112016072A (en) Method and device for opening network disk file
JPH03149651A (en) Device for acknowledging electronic document
JPH04271465A (en) System for deciding document
JPH04271464A (en) System for deciding document

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19981211

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

Free format text: PAYMENT UNTIL: 20090114

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20090114

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20100114

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20110114

Year of fee payment: 12

LAPS Cancellation because of no payment of annual fees