JP3619015B2 - Structured document processing method - Google Patents

Structured document processing method Download PDF

Info

Publication number
JP3619015B2
JP3619015B2 JP14617298A JP14617298A JP3619015B2 JP 3619015 B2 JP3619015 B2 JP 3619015B2 JP 14617298 A JP14617298 A JP 14617298A JP 14617298 A JP14617298 A JP 14617298A JP 3619015 B2 JP3619015 B2 JP 3619015B2
Authority
JP
Japan
Prior art keywords
structured document
document
entity
input
structured
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
JP14617298A
Other languages
Japanese (ja)
Other versions
JPH11338861A (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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP14617298A priority Critical patent/JP3619015B2/en
Publication of JPH11338861A publication Critical patent/JPH11338861A/en
Application granted granted Critical
Publication of JP3619015B2 publication Critical patent/JP3619015B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、構造を持った文書を処理する構造化文書処理方法に関し、特に構造化文書を作成する場合に、文書型定義から構造化文書入力画面を生成するだけでなく、構造化文書に入力される値に制約をかけること、構造化文書を変更した場合に変更した箇所だけを強調して表示すること、および構造化文書を変更した場合に他の共有する構造化文書を変更することができるようにした構造化文書処理方法に関するものである。
【0002】
【従来の技術】
従来、文書に構造化の概念を取り入れた構造化文書が用いられ、これらの構造化文書を扱う構造化文書処理方法が開発されている。構造化文書の代表的な国際規格として文書記述言語SGML(ISO8879:Standard Generalized Markup Language)がある。
【0003】
このような構造化文書においては、文書の構造に関する制約が記述される。SGMLでは、文書の構造に関する制約を文書型定義(DTD:Document
Type Definition)と呼ぶ。
【0004】
文書型定義から構造化文書を自動生成する技術として、(1)特開平9−128400号公報「構造化文書生成装置」、(2)特開平9−69101号公報「構造化文書生成方法および装置」および(3)特開平5−108631号公報「文書処理装置」がある。
【0005】
この中で、(1)は、予め文書型定義に記述した文書画像領域と文書構造要素との対応関係に基づいて文書画像を領域に切り分け、各領域を文字認識した結果を文書構造要素の内容とすることにより、文書型定義と文書画像から構造化文書を生成する装置に関するものである。
【0006】
(2)は、非構造化文書をレイアウト解析および構文解析して得られるテキストの位置、サイズおよび文字列と文書型定義に記述した構造化文書生成ルールとをパターンマッチすることにより文書構造要素を推測して構造化文書を生成する方法および装置に関するものである。
【0007】
(3)は、文書型定義から最小構造と追加可能な構造候補を提示し、対話的に構造を追加することにより構造化文書を生成する構造化文書編集装置に関するものである。
【0008】
また、構造化文書入力時に内容をチェックする技術として、(4)特開平8−16589号公報「構造化文書処理装置」がある。(4)は、文書構造要素毎に予め定義したチェック条件を文書構造要素内容に適用することで、文書内容をチェックする装置に関するものである。
【0009】
また、複数の文書間で内容を一元化する技術として、(5)特開平4−211865号公報「定型文書作成支援方法」がある。(5)は、仕様書、帳票等の定型文書が複数個関連しあっている文書体系において、その関連を予め計算機に入力・記憶し、定型文書作成時にその関連を参照することにより、ある定型文書の項目を更新すると該項目と関係付けられた項目を自動的に更新する方法に関するものである。
【0010】
また、複数の文書間の差分を抽出して強調表示する技術として、(6)特開平8−50590号公報「文書処理方法およびその装置」および(7)特開平8−329079号公報「構造化文書差分抽出方法および装置」がある。
【0011】
(6)は、あるユーザが前回参照してから今回参照するまでに文書が変更されたかどうかを提示する方法およびその装置に関するものである。
【0012】
(7)は、複数の構造化文書間の文書構造を比較して文書構造の差異を抽出し、文書構造が一致する場合には文書構造内容の差異を抽出する方法および装置に関するものである。
【0013】
【発明が解決しようとする課題】
しかしながら、上記の文書型定義から構造化文書を自動生成する技術において、(1)および(2)ではそれぞれ、構造化文書の元となる紙文書および非構造化文書が既存であるか、または予め作成しておかなければならない。したがって新規に構造化文書を作成する場合には、構造化文書の元となる紙文書または非構造化文書を予め作成しなければならず、紙文書または非構造化文書から構造化文書を変換して生成した際の変換誤りを修正しなければならないため効率が悪いという問題があった。
【0014】
一方、(3)では文書作成者が対話的に文書構造を構築しなければならないため、文書作成者が文書構造に関する知識を予め習得していなければ利用できないという問題があった。
【0015】
また、上記の構造化文書入力時に内容をチェックする技術(4)では、文書構造要素毎に文書構造要素内容の誤りを検出できるが、複数の文書構造要素内容の間の矛盾が検出できないという問題があった。
【0016】
また、上記の複数の文書間で内容を一元化する技術(5)では、複数の構造化文書の文書構造要素間を関係付けることで、関係付けた文書構造要素内容が常に同一であることを保証できるが、関係付けた文書構造要素内容が同一でない場合に対処できないという問題があり、さらに関係付ける文書構造要素が1対1でなければならないこと、および関連付けの対象が構造化文書に限定されることが問題であった。
【0017】
また、上記の複数の文書間の差分を抽出して強調表示する技術において、(6)では文書の参照時間と更新時間とを比較するため、文書内容が同一であっても更新されたと判断される危険があり、さらに文書のどの部分が更新されたかを提示することができないという問題があった。
【0018】
(7)では、複数の構造化文書から文書構造の差分と文書構造要素内容の差分を抽出するため、文書のどの部分が更新されたかを提示することは可能であるが、比較対象の文書を毎度指定しなければならないという問題があった。
【0019】
この発明は、上記のような課題を解決するためになされたもので、業務毎に構造化文書を定義することができ、また、構造化文書を正しく入力することができ、さらに、構造化文書を容易に参照でき、さらにまた、複数の構造化文書を共有することができる構造化文書処理方法を得ることを目的とする。
【0020】
【課題を解決するための手段】
この発明に係る構造化文書処理方法は、構造を持った構造化文書を処理する構造化文書処理方法において、文書型定義を基に構造化文書入力画面を生成し、該構造化文書入力画面から入力された構造化文書入力値から構造化文書実体を作成する構造化文書入力ステップと、上記構造化文書入力画面から入力された構造化文書入力値が、予め設定された制約条件を満たしているかをチェックする構造化文書入力値チェックステップと、上記構造化文書実体と予め用意された比較対象構造化文書実体とを比較することにより構造化文書実体の変更箇所を区別して表示する構造化文書変更箇所表示ステップと、上記構造化文書実体が作成または変更された場合に、他の利用者と共有する共有構造化文書の関連する項目を変更する共有構造化文書間連携ステップと、上記構造化文書実体とデータ共有するが構造化文書形式ではなく、上記構造化文書実体との間の対応関係が指定された共有 NDATA 実体を、上記構造化文書実体の作成または変更に伴って作成または変更し、該共有 NDATA 実体の作成または変更にしたがって該構造化文書実体を作成または変更する共有 NDATA 変更ステップとを備えている。
【0021】
また、構造化文書入力ステップは、文書型定義、または文書型定義と構造化文書実体とから構造化文書生成有限オートマトンを作成する構造化文書生成有限オートマトン作成ステップと、構造化文書生成有限オートマトンの順をたどることにより、構造化文書入力画面を生成する構造化文書入力画面生成ステップと、構造化文書入力画面に入力された構造化文書入力値から構造化文書実体を作成する構造化文書作成ステップとを有する。
【0022】
また、構造化文書入力画面から指定された要素間相対位置関係を記憶する要素間相対位置関係記憶ステップと、要素間相対位置関係を読み出し、要素間相対位置関係に従って構造化文書入力画面の要素入力位置配置データを作成する要素入力位置相対配置ステップと有し、構造化文書入力画面生成ステップは、上記要素入力位置配置データを基に、上記構造化文書入力画面を生成する。
【0023】
また、構造化文書入力画面から予め指定された要素選択値を記憶する要素選択値記憶ステップと、要素選択値に従い構造化文書入力画面の要素選択値候補を作成する要素選択値候補作成ステップとを有し、構造化文書入力画面生成ステップは、上記要素選択値候補を含む上記構造化文書入力画面を生成する。
【0024】
また、構造化文書入力画面から予め指定された要素繰り返し数を記憶する要素繰り返し数記憶ステップと、要素繰り返し数に従い構造化文書入力画面の繰り返し要素を作成する繰り返し要素作成ステップとを有し、構造化文書入力画面生成ステップは、上記繰り返し要素を含む上記構造化文書入力画面を生成する。
【0025】
また、指定された上記繰り返し要素の配置方向である要素繰り返し方向を記憶する要素繰り返し方向記憶ステップと、繰り返し要素を要素繰り返し方向に配置する要素繰り返し要素配置ステップとを有し、構造化文書入力画面生成ステップは、上記繰り返し要素を含む上記構造化文書入力画面を生成する。
【0026】
また、予め指定された上記構造化文書実体における要素制約を記憶する要素制約記憶ステップと、構造化文書入力ステップにて、構造化文書入力画面に入力された上記構造化文書入力値が、上記要素制約を満たしているかチェックする要素制約チェックステップとを有する。
【0027】
また、予め指定された上記構造化文書実体における複数要素の要素間制約を記憶する要素間制約記憶ステップと、構造化文書入力ステップにて構造化文書入力画面に入力された構造化文書入力値が、上記要素間制約を満たしているかチェックする要素間制約チェックステップと有する。
【0028】
また、予め指定された上記構造化文書実体における要素の要素離散値制約を記憶する要素離散値制約記憶ステップと、構造化文書入力ステップにて、構造化文書入力画面に入力された構造化文書入力値を、上記要素離散値制約を満たす最も近い値に補正する要素離散値補正ステップと有する。
【0029】
また、構造化文書実体と比較対象構造化文書実体とを比較することにより構造化文書実体の差分を抽出する構造化文書変更箇所抽出ステップと、差分に第1の強調表示用文字制御コードを付加する構造化文書変更箇所強調表示ステップと有し、構造化文書変更箇所表示ステップは、構造化文書変更箇所強調表示ステップの作成データを基に差分を構造化文書表示画面に強調して表示する。
【0030】
また、入力前の構造化文書実体を比較対象構造化文書実体として保存し、比較対象構造化文書実体と入力中の構造化文書実体とを比較することにより構造化文書実体の差分を編集箇所として抽出する構造化文書編集箇所抽出ステップと、編集箇所に第2の強調表示用文字制御コードを付加する構造化文書編集箇所強調表示ステップとを有し、構造化文書変更箇所表示ステップは、構造化文書編集箇所強調表示ステップの作成データを基に編集箇所を構造化文書表示画面に強調して表示する。
【0031】
また、入力する構造化文書実体および参照する構造化文書実体の直前の版または指定した版を比較対象構造化文書実体として保存し、比較対象構造化文書実体と入力する構造化文書実体および参照する構造化文書実体とを比較することにより構造化文書実体の差分を改定箇所として抽出する構造化文書改定箇所抽出ステップと、改定箇所に第3の強調表示用文字制御コードを付加する構造化文書改定箇所強調表示ステップとを有し、構造化文書変更箇所表示ステップは、構造化文書改定箇所強調表示ステップの作成データを基に改定箇所を構造化文書表示画面に強調して表示する。
【0032】
また、構造化文書実体とデータを共有するとともに上記構造化文書実体との間の要素間の対応関係が指定された共有構造化文書実体の作成・変更データを、上記構造化文書実体の作成または変更に伴って作成し、また該共有構造化文書実体の作成または変更に伴って、該構造化文書実体の作成・変更データを作成する共有構造化文書変更ステップを有し、共有構造化文書間連携ステップは、上記作成・変更データに基づいて、上記構造化文書実体および共有構造化文書実体の関連する項目を変更する。
【0034】
【発明の実施の形態】
実施の形態1.
まず、本発明の実施の形態1においては、構造化文書を入力し、構造化文書へ入力した値をチェックし、構造化文書変更箇所を表示し、他の構造化文書と連携するワークフローシステムの動作を図について説明する。図1は、本発明の実施の形態1の動作を説明するフローチャートである。
【0035】
まず、構造化文書入力ステップ1では、文書型定義5および構造化文書実体8を読み取り、構造化文書入力画面6を生成して文書入力者に提示する。ここで、構造化文書実体8は、例えば、項目を修正して使うための構造化文書入力値がすでに入力されている構造化文書実体8である。
【0036】
例えば、家屋を建築するための仕様書の文書型定義5をSGMLの書式にしたがって記述した例を図15に示す。また、文書型定義5にしたがって記述した構造化文書実体8の例を図18に示す。文書型定義5は、文書の論理構造を定義するデータであり、図15で、例えば、<!ELEMENT 屋根 (屋根形状,屋根種類,屋根色)>の記述は、文書構造要素「屋根」の下位には「屋根形状」、「屋根種類」および「屋根色」の3つの文書構造要素があることを示している。
【0037】
そして、構造化文書入力ステップ1は、図15に示す文書型定義5を読み取ることにより文書の論理構造と入力すべき文書構造要素とを取得し、さらに、図18に示す構造化文書実体8を読み取ることにより既入力の文書構造要素内容を取得し、図16に示す構造化文書入力画面6を生成する。
【0038】
そして、文書入力者Aが、構造化文書入力画面6の各入力枠に構造化文書入力値7を入力すると、構造化文書入力値チェックステップ2により構造化文書入力値7は逐次チェックされ、チェックを合格した場合は構造化文書実体8が更新または新規作成される。例えば、図18に示す構造化文書実体8を読み込んで、例えば「納期」を「1998/12/20」に、また「施工者」を「三菱 四郎」に変更したとすると、図17に示す構造化文書実体8に更新される。
【0039】
次に、構造化文書変更箇所表示ステップ3では、更新後の構造化文書実体8と予め用意された比較対象構造化文書実体9とを読み込んで、変更箇所を構造化文書表示画面10に強調して表示する。すなわち、変更箇所を他の入力項目と区別して表示する。比較対象構造化文書実体9は、例えば、更新前の構造化文書実体8であったりする。ここで、図18に示される更新前の構造化文書実体8を比較対象構造化文書実体9とした場合、更新後の構造化文書実体8は、図17に示されるものであるので、変更されている「納期」と「施工者」が強調表示された図19に示す構造化文書表示画面10が表示される。
【0040】
また、共有構造化文書間連携ステップ4では、更新後の構造化文書実体8と関連付けられた共有構造化文書実体11を、構造化文書実体8の更新結果にしたがって更新する。ここで図17を更新後の構造化文書実体8とし、図20を関連付けられた共有構造化文書実体11とし、図17における文書構造要素「注文番号」、「物件住所」、「現住所」、「氏名」、「納期」、「営業者」がそれぞれ図20における文書構造要素「注文番号」、「物件住所」、「現住所」、「氏名」、「納期」、「営業者」と関連付けられているとすると、「納期」が更新されているので、図20における文書構造要素、「納期」は1998/12/20に更新される。
【0041】
このような工程を有する構造化文書処理方法においては、文書入力者Aによる文書入力から文書確認者Cによる文書内容の確認までのワークフローを、構造化文書を媒体とすることにより、文書型定義5からの構造化文書入力画面6の生成と入力値7のチェックおよび変更箇所の表示が可能となる。さらに、誤った入力がなされた場合に、文書入力者Aに入力が誤りである旨を提示し、さらにまた誤った入力を修正することができる。さらに、他の利用者Dと文書を共有している場合に、文書の更新結果を共有文書に反映させることができる。
【0042】
尚、構造化文書入力ステップ1において、既入力の文書構造要素内容である構造化文書実体8を読み取らない場合には、入力項目が全く入力されていない構造化文書入力画面6が生成される。
【0043】
実施の形態2.
次に本発明の実施の形態2においては、文書型定義を入力し、構造化文書生成有限オートマトンを作成し、構造化文書入力画面を生成する動作を図について説明する。図2は、本発明の実施の形態2の動作を説明するフローチャートである。実施の形態1と同様または相当する部分には同一符号を付しその説明を省略する。図2において、構造化文書生成有限オートマトン作成ステップ12は、文書型定義5を読み込んで構造化文書生成有限オートマトン15を作成する。
【0044】
次に、構造化文書入力画面生成ステップ13は、構造化文書生成有限オートマトン15の順にたどることにより構造化文書入力画面6を生成する。文書入力者Aは、構造化文書入力画面6に構造化文書入力値7を入力し、その値を用いて構造化文書生成ステップ14は、構造化文書実体8を作成する。そしてさらに文書型定義5には、図21に例示する文書構造要素内容定義が記述される。
【0045】
上述の文書構造要素内容定義は、入力される文書構造要素のタイプを指定したデータであり、図21では、例えば、<!―― CONTENT 階数 TYPE(#NUMBER,N) ――>から、図15に示す文書構造要素「階数」のタイプは1桁の整数であることがわかる。文書構造要素内容定義の書式は、<!―― CONTENT 文書構造要素識別子 LABEL(見出し) TYPE(タイプ名,タイプオプション) ――>である。LABEL(見出し)により入力枠の見出しを指定するが、省略した場合は文書構造要素識別子が見出しとされる。
【0046】
また、TYPE(タイプ名,タイプオプション)におけるタイプ名は、#ORDERNUMがタイプオプションにより文字単位で字種を指定するテキスト、#ADDRESSが住所を入力するテキスト、#NAMEが氏名を入力するテキスト、#DATEがタイプオプションで書式を指定して日付を入力するテキスト、#NUMBERがタイプオプションで書式を指定して数値を入力するテキスト、#SELECTがタイプオプションで指定した複数の候補から選択して入力するテキスト、#LINKが参照する外部実体のファイル名を入力するテキスト、#TEXTが任意のテキストであることを示す。
【0047】
タイプ名#ORDERNUMのタイプオプションでは、Aが英字1文字、Nが数字1文字、その他の記号はそのままの1文字を指定し、タイプ名#DATEのタイプオプションでは、Yが年の1桁、Mが月の1桁、Dが日の1桁、その他の記号はそのままの1文字を指定し、タイプ名#NUMBERの1つ目のタイプオプションは、Nが数字1桁、ピリオドが小数点を指定し、2つ目のタイプオプションは単位を指定し、タイプ名#SELECTのタイプオプションでは、選択可能なテキストをカンマで区切り丸括弧で囲んだリストを指定し、タイプ名#TEXTの1つ目のタイプオプションは、入力枠の行数を指定し、2つ目のタイプオプションは入力枠の桁数を指定し、3つ目のタイプオプションは入力枠がスクロールするかどうかを指定する。
【0048】
そして、構造化文書生成有限オートマトン作成ステップ12および構造化文書入力画面生成ステップ13は、文書型定義5を読み取った結果、文書の論理構造と入力すべき文書構造要素のタイプを取得し、図22に例示する構造化文書入力画面6を生成する。
【0049】
このような工程を有する構造化文書処理方法においては、文書入力者Aは、文書構造を意識することなく、指定された書式で構造化文書入力画面6に各文書構造要素内容を入力すれば良いので、文書構造の誤りがなくかつ文書構造要素内容の書式誤りがない構造化文書実体8を作成することができる。
【0050】
実施の形態3.
次に本発明の実施の形態3を図について説明する。図3は、本発明の実施の形態3の動作を説明するフローチャートである。実施の形態2と同様または相当する部分には同一符号を付しその説明を省略する。図3において、要素間相対位置関係指定ステップ16では、図23に例示する対話インタフェースを用いて文書管理者Bが、構造化文書入力画面6における要素間の相対的な位置関係を指定する。
【0051】
図23において、文書構造階層表示ウィンドウ58は、文書構造要素の階層関係を、文書構造ノードアイコン60と文書構造ノードアイコン63間に示された様な線で表している。ここで、文書管理者が、文書構造ノードアイコン60をマウス等のポインティングデバイスで選択し、要素間相対位置関係指定ウィンドウ59に移動させると文書構造ノードアイコン61が表示される。同様に文書構造ノードアイコン63を要素間相対位置関係指定ウィンドウ59に移動させると文書構造ノードアイコン64が表示される。
【0052】
このとき、文書構造ノードアイコン64を文書構造ノードアイコン61の右に位置するように配置し、文書構造ノードアイコン61から文書構造ノードアイコン64への矢印を表示させると、文書構造ノードアイコン64が示す文書構造要素「設計者」の入力枠は、文書構造ノードアイコン61が示す文書構造要素「営業者」の入力枠から見て相対的に右に配置するように指定できる。また、見出しアイコン62を文書構造ノードアイコン61の上に配置し、見出しアイコン62の内容を「営業」とすると、文書構造ノードアイコン61が示す文書構造要素「営業者」の入力枠から見て相対的に上に見出し「営業」を配置できる。
【0053】
そして、要素間相対位置関係記憶ステップ17では、要素間相対位置関係指定ステップ16で例えば上述にように指定された要素間相対位置関係19を磁気ディスク装置等の記憶装置に記憶する。
【0054】
図24は要素間相対位置関係19の例であり、例えば、文書構造要素「営業者」に対するLABEL(営業,U)の記述は、文書構造要素「営業者」の見出しが「営業」であり相対的に上に配置されることを示す。また、文書構造要素「設計者」に対するLABEL(設計,U)の記述は、文書構造要素「設計者」の見出しが「設計」であり相対的に上に配置されることを示し、さらに、POS(営業,R)の記述は、文書構造要素「設計者」が文書構造要素「営業者」から見て相対的に右に配置されることを示す。
【0055】
そしてさらに、要素入力位置相対配置ステップ18は、要素間相対位置関係19で指定された文書構造要素間の相対的な位置関係を記憶装置から読み込み、構造化文書入力画面生成ステップ13へ転送することにより、図25に示す構造化文書入力画面6を生成する。図25では、文書構造要素「営業者」、「設計者」および「施工者」がそれぞれこの順で右方向に並び、それぞれ見出し「営業」、「設計」および「施工」が上に配置されていることが解る。
【0056】
このような工程を有する構造化文書処理方法においては、文書管理者Bにより要素間相対位置関係9が指定できるので、文書入力者Aは、業務に応じて入力枠が最適に配置された構造化文書入力画面6を利用して構造化文書を入力することができる。
【0057】
実施の形態4.
次に本発明の実施の形態4を図について説明する。図4は、本発明の実施の形態4の動作を説明するフローチャートである。実施の形態2と同様または相当する部分には同一符号を付しその説明を省略する。図4において、要素選択値指定ステップ20は、図26に例示する対話インタフェースを用いて文書管理者Bが文書構造要素内容の選択値を指定する。図26において、要素選択値指定リスト65は、文書構造要素「営業者」に対する内容の候補として文書管理者Bが指定した要素選択値23である。
【0058】
そして、要素選択値記憶ステップ21では、要素選択値指定ステップ20で指定された要素選択値23を磁気ディスク装置等の記憶装置に記憶する。図27は要素選択値23の例であり、文書構造要素「営業者」に対するTYPE(#SELECT,(三菱太郎,四菱太郎,五菱太郎))の記述は、文書構造要素「営業者」の内容が「三菱太郎」、「四菱太郎」または「五菱太郎」の選択値のいずれかであることを示す。
【0059】
そしてさらに、要素選択値候補作成ステップ22は、要素選択値23で指定された文書構造要素内容の選択値を記憶装置から読み込み要素選択値候補を作成し、この要素選択値候補を構造化文書入力画面生成ステップ13へ転送する。構造化文書入力画面生成ステップ13は、この要素選択値候補を含む図28に示す構造化文書入力画面6を生成する。図28では文書入力者Aが、マウス等のポインティングデバイスで文書構造要素「営業者」の内容を入力しようとした場合に、文書構造要素「営業者」の要素選択値候補がプルダウンメニューにより表示される。
【0060】
このような工程を有する構造化文書処理方法においては、文書管理者Bにより要素選択値23が指定できるので、文書入力者Aは、業務に応じて定められた正しい入力値の候補の中から選択することにより構造化文書を入力することができるので、入力誤りを防ぐことができる。
【0061】
実施の形態5.
次に本発明の実施の形態5を図について説明する。図5および図6は、本発明の実施の形態5の動作を説明するフローチャートである。実施の形態2と同様または相当する部分には同一符号を付しその説明を省略する。図において、要素繰り返し数指定ステップ24および要素繰り返し方向指定ステップ28は、図29に例示する対話インタフェースを用いて文書管理者Bが繰り返し数指定ボックス66で、構造化文書入力画面6における文書構造要素の繰り返し数を指定し、さらに繰り返し方向指定ボックス67で繰り返し方向を指定する。
【0062】
図29では、繰り返し数指定ボックス66に指定された“2”は、文書構造要素「階」の繰り返し数が2回であることを示し、繰り返し方向指定ボックス67に指定された“R”は、文書構造要素「階」の繰り返し方向が右であることを示している。ここで、繰り返し方向の値は、上が“U”、下が“D”、左が“L2”、右が“R”とする。同様に文書構造要素「部屋」に対しても、繰り返し数指定ボックスと繰り返し方向指定ボックスが表示されるが、図15によると文書構造要素「部屋」は文書構造要素「階」の下位要素要素であるため、文書構造要素「部屋」に対する繰り返し数指定ボックスは2つ表示される。図29の例では、1階には部屋が5つ、2階には部屋が3つあることを示している。
【0063】
そして、要素繰り返し数記憶ステップ25および要素繰り返し方向記憶ステップ29は、それぞれ要素繰り返し数27および要素繰り返し方向31を磁気ディスク装置等の記憶装置に記憶する。
【0064】
そしてさらに、繰り返し要素作成ステップ26および要素繰り返し要素配置ステップ30は、それぞれ要素繰り返し数27および要素繰り返し方向31を記憶装置から読み込み、構造化文書入力画面生成ステップ13へ転送することにより、図30に示す繰り返し要素を含む構造化文書入力画面6を生成する。
【0065】
図30は、文書構造要素「部屋種類」に対する入力画面を示すものであり、文書構造要素「階」を右方向に2回繰り返し、文書構造要素「部屋」を下方向に5回と3回繰り返すことにより表を作成し、1階には「居間」、「応接」、「台所」、「浴」と「トイレ」の5つの部屋があり、2階には「居間」、「寝」と「寝」の3つの部屋があることが入力されている。
【0066】
このような工程を有する構造化文書処理方法においては、文書管理者Bにより、構造化文書入力画面6における要素繰り返し数および要素繰り返し方向が指定できるので、文書入力者Aは、繰り返される文書構造要素を業務に応じた意味のある表の形で構造化文書を参照できるため、全体の見通しが良くなり、入力が容易となるだけでなく、入力誤りを防ぐことができる。
【0067】
実施の形態6.
次に本発明の実施の形態6を図について説明する。図7、図8および図9は、本発明の実施の形態6の動作を説明するフローチャートである。実施の形態1と同様または相当する部分には同一符号を付しその説明を省略する。要素制約指定ステップ32、要素間制約指定ステップ36および要素離散値制約指定ステップ40は、対話インタフェースを用いてそれぞれ、要素制約35、要素間制約39および要素離散値制約43を指定する。図31は要素制約35の例であり、図32は要素間制約39の例であり、図35は要素離散値制約43の例である。
【0068】
図31に示される要素制約35では、複数存在する文書構造要素「部屋面積」のそれぞれの内容が示す値が変更された場合に、文書構造要素「建坪」の内容が示す値を超えないという制約をチェックし、制約に違反した場合に文書入力者Aに、図33に示すようなメッセージを提示する要素制約と、文書構造要素「屋根種類」の内容が示す値が変更された場合に文書構造要素「屋根形状」が「三角」でなく且つ文書構造要素「屋根種類」が「瓦」であってはならないという制約をチェックし、制約に違反した場合に文書構造要素「屋根形状」の内容を「三角」に変更し、文書入力者Aに「屋根形状を三角にしました。」というメッセージを提示する要素制約を示している。
【0069】
また、図32に示される要素間制約39では、複数存在する文書構造要素「部屋面積」の各階のすべての内容が示す値の合計が文書構造要素「建坪」の内容が示す値を超えないという制約をチェックし、制約に違反した場合に文書入力者Aに、図34に示すようなメッセージを提示する要素間制約と、複数存在する文書構造要素「部屋」の数が文書構造要素「部屋数」の内容が示す値と一致しなければならないという制約をチェックし、制約に違反した場合に文書入力者Aに「部屋数が一致しません。」というメッセージを提示する要素間制約を示している。
【0070】
さらに、図35に示される要素離散値制約43では、複数存在する文書構造要素「階高さ」のそれぞれの内容が示す値が離散値「210,220,240,270」のいずれかであるという制約をチェックし、制約に違反した場合に文書入力者Aに、図36に示すような対話メッセージを提示し、文書入力者Aが要求した場合には文書構造要素「階高さ」の現在の内容が示す値を最も近い離散値に修正する要素離散値制約と、複数存在する文書構造要素「部屋面積」のそれぞれの内容が示す値が離散値「14.85,19.8,26.4,39.6」のいずれかであるという制約をチェックし、制約に違反した場合に文書入力者Aに「部屋面積を規格値に修正しますか?」という対話メッセージを提示し、文書入力者Aが要求した場合には文書構造要素「部屋面積」の現在の内容が示す値を最も近い離散値に修正する要素離散値制約を示している。
【0071】
そして、要素制約記憶ステップ33、要素間制約記憶ステップ37および要素離散値制約記憶ステップ41は、それぞれ要素制約35、要素間制約39および要素離散値制約43を磁気ディスク装置等の記憶装置に記憶する。
【0072】
そしてさらに、要素制約チェックステップ34、要素間制約チェックステップ38および要素離散値補正ステップ42はそれぞれ要素制約35、要素間制約39および要素離散値制約43を記憶装置から読み込み、制約をチェックをチェックする。
【0073】
このような工程を有する構造化文書処理方法においては、文書管理者Bにより要素制約、要素間制約および要素離散値制約が指定できるので、文書入力者Aは、業務に応じて定められた入力値の制約をチェックすることができるので、入力誤りを防ぐことができるだけでなく、設計済みの離散値を採用することにより規格品を使用できるため、設計コストと製造コストを抑えることができる。
【0074】
実施の形態7.
次に本発明の実施の形態7を図について説明する。図10、図11および図12は、本発明の実施の形態7の動作を説明するフローチャートである。実施の形態1と同様または相当する部分には同一符号を付しその説明を省略する。図において、構造化文書変更箇所抽出ステップ44は、構造化文書実体8と比較対象構造化文書実体9とを読み込み、構造化文書実体8を正とした変更箇所を抽出する。また、構造化文書変更箇所強調表示ステップ45は構造化文書変更箇所抽出ステップ44が抽出した変更箇所に、それらを強調表示する第1の強調表示用文字修飾制御コードを追加して構造化文書変更箇所表示ステップ3に渡す。
【0075】
そして、構造化文書変更箇所表示ステップ3は、構造化文書変更箇所強調表示ステップ45が追加した強調表示用文字修飾制御コードを解釈し、構造化文書表示画面10に変更箇所を強調した構造化文書を表示する。例えば正とする構造化文書実体8が、図17であり比較対象構造化文書実体9が、図18であるとすると、文書構造要素「納期」と文書構造要素「施工者」を例えば太字と下線で強調した図19に示す構造化文書表示画面10が表示される。
【0076】
さらに、文書入力者Aによる文書入力から文書確認者Cによる文書内容の確認までのワークフローの中では、変更箇所を抽出する対象となる構造化文書を業務に応じて定義することができる。すなわち、図11において、構造化文書編集箇所抽出ステップ46は、文書入力者Aが文書入力する場合に入力前の構造化文書を比較対象構造化文書実体9として保存し、入力後に作成された構造化文書を正となる構造化文書実体8として入力完了後または入力中に構造化文書変更箇所抽出ステップ44に渡すことにより変更箇所を抽出し、さらに、構造化文書編集箇所強調表示ステップ47は、構造化文書変更箇所強調表示ステップ45で追加した強調表示用文字修飾制御コードを編集箇所を示す別の第2の強調表示用文字修飾制御コードに変更する。
【0077】
また、図12において、構造化文書改定箇所抽出ステップ48は、文書確認者Cが過去に確認した構造化文書を比較対象構造化文書実体9として保存し、現在確認しようとしている構造化文書を正となる構造化文書実体8として構造化文書変更箇所抽出ステップ44に渡すことにより改定箇所を抽出し、さらに、構造化文書改定箇所強調表示ステップ49は、構造化文書変更箇所強調表示ステップ45で追加した強調表示用文字修飾制御コードを改定箇所を示す別の第3の強調表示用文字修飾制御コードに変更する。
【0078】
このような工程を有する構造化文書処理方法においては、変更箇所が強調して表示されるので、文書入力者Aおよび文書確認者Cは、任意の2つの構造化文書の変更箇所を容易に把握することができる。さらに文書管理者Bは、業務に応じて比較する構造化文書を定義するので、文書入力者Aおよび文書確認者Cは、それぞれ編集箇所と改定箇所を区別して容易に把握することができる。
【0079】
実施の形態8.
次に本発明の実施の形態8を図について説明する。図13および図14は、本発明の実施の形態8の動作を説明するフローチャートである。実施の形態1と同様または相当する部分には同一符号を付しその説明を省略する。図13において、共有構造化文書指定ステップ50は、共有する複数の構造化文書を指定する。また、構造化文書要素間対応指定ステップ51は、共有する複数の構造化文書の文書構造要素間の対応関係を指定する。さらにまた、構造化文書要素内容間対応指定ステップ52は共有する複数の構造化文書の文書構造要素間の内容の対応関係を指定する。
【0080】
そして、共有構造化文書変更ステップ53は、ある構造化文書実体8が変更された場合に、それと共有している共有構造化文書実体11を、共有構造化文書指定ステップ50の指定から取得し、また、変更箇所に対応する共有構造化文書実体11の文書構造要素を構造化文書要素間対応指定ステップ51の指定から取得し、さらに、変更箇所に対応する共有構造化文書実体11の文書構造要素の内容を、構造化文書要素内容間対応指定ステップ52の指定により変更して、共有構造化文書間連携ステップ4に渡す。
【0081】
ここで、図17を変更元の構造化文書実体8とし、図20を共有構造化文書指定ステップ50によって関連付けられた共有構造化文書実体11とし、図17における文書構造要素、「注文番号」、「物件住所」、「現住所」、「氏名」、「納期」、「営業者」がそれぞれ構造化文書要素間対応指定ステップ51によって図20の文書構造要素、「注文番号」、「物件住所」、「現住所」、「氏名」、「納期」、「営業者」と関連付けられているとすると、文書構造要素「納期」が更新されているので、構造化文書要素内容間対応指定ステップ52によって指定された文書構造要素間の内容の対応関係から、図20における文書構造要素「納期」は「1998/12/20」に変更される。
【0082】
また、文書構造要素間の対応付けが1つの文書構造要素と複数の文書構造要素との対応付けであってもよく、さらにまた複数の文書構造要素と複数の文書構造要素との対応付けであってもよく、文書構造要素の内容間の対応付けが異なる内容の対応付けであってもよい。例えば、変更元の構造化文書に「製品名」が記述されていて、それと共有する構造化文書が製品の仕様書である場合、変更元の構造化文書の「製品名」が変更された場合、それと共有する構造化文書の複数の製品仕様項目が製品名によって特定される値に変更される。
【0083】
また、共有する文書は、構造化文書でなくてもよい。ここでは構造化文書でない実体をNDATA実体と呼ぶ。図14において、共有NDATA指定ステップ55は、構造化文書と共有する複数の共有NDATA実体54を指定し、共有NDATA間対応指定ステップ56は構造化文書と共有する複数の共有NDATA実体54との内容の対応関係を指定する。共有NDATA変更ステップ57は、ある構造化文書実体8が変更された場合にそれと共有している共有NDATA実体54を共有NDATA指定ステップ55の指定から取得し、変更箇所に対応する共有NDATA実体54の変更方法を共有NDATA間対応指定ステップ56の指定から取得して、共有NDATA実体54を変更する。また逆に、共有NDATA実体54が変更された場合、それと共有する構造化文書実体8の変更箇所に対応する文書構造要素の内容を変更する。例えば変更元の構造化文書が製品の仕様書であり、それと共有する共有NDATA実体が図面である場合、変更元の製品の仕様書の筐体番号が変更された場合、それと共有する図面における筐体寸法の幅と高さと奥行きのそれぞれが筐体番号によって特定される値に変更される。
【0084】
このような工程を有する構造化文書処理方法においては、文書管理者Bは、業務に応じて構造化文書と他の構造化文書あるいは他のNDATAとの対応関係を指定するので、ある構造化文書が変更された場合に、それと共有する他の構造化文書あるいは他のNDATAを参照している他の利用者Dは、元の構造化文書の変更を反映した結果を参照することができる。
【0085】
【発明の効果】
この発明に係る構造化文書処理方法は、構造を持った構造化文書を処理する構造化文書処理方法において、文書型定義を基に構造化文書入力画面を生成し、構造化文書入力画面から入力された構造化文書入力値から構造化文書実体を作成する構造化文書入力ステップと、構造化文書入力画面から入力された構造化文書入力値が、予め設定された制約条件を満たしているかをチェックする構造化文書入力値チェックステップと、構造化文書実体と予め用意された比較対象構造化文書実体とを比較することにより構造化文書実体の変更箇所を区別して表示する構造化文書変更箇所表示ステップと、構造化文書実体が作成または変更された場合に、他の利用者と共有する共有構造化文書の関連する項目を変更する共有構造化文書間連携ステップと、構造化文書実体とデータ共有するが構造化文書形式ではなく、構造化文書実体との間の対応関係が指定された共有 NDATA 実体を、上記構造化文書実体の作成または変更に伴って作成または変更し、該共有 NDATA 実体の作成または変更にしたがって構造化文書実体を作成または変更する共有 NDATA 変更ステップとを有する。そのため、文書入力者による文書入力から文書確認者による文書内容の確認までの構造化文書を媒体とするワークフローにおいて、文書型定義からの構造化文書入力画面の生成と入力値のチェックおよび変更箇所の表示が可能となる。さらに、誤った入力がなされた場合に、文書入力者に入力が誤りである旨を提示し、さらにまた誤った入力を修正することができる。さらに、他の利用者と文書を共有している場合に、文書の更新結果を共有文書に反映させることができる。また、文書管理者は、業務に応じて構造化文書と他の NDATA との対応関係を指定し、ある構造化文書が変更された場合に、それと共有する他の NDATA を参照している他の利用者は、元の構造化文書の変更を反映した結果を参照することができる。
【0086】
また、構造化文書入力ステップは、文書型定義、または文書型定義と構造化文書実体とから構造化文書生成有限オートマトンを作成する構造化文書生成有限オートマトン作成ステップと、構造化文書生成有限オートマトンの順をたどることにより、構造化文書入力画面を生成する構造化文書入力画面生成ステップと、構造化文書入力画面に入力された構造化文書入力値から構造化文書実体を作成する構造化文書作成ステップとを有する。そのため、文書入力者は、文書構造を意識することなく、指定された書式で構造化文書入力画面に各文書構造要素内容を入力すれば良いので、文書構造の誤りがなくかつ文書構造要素内容の書式誤りがない構造化文書実体8を作成することができる。
【0087】
また、構造化文書入力画面から指定された要素間相対位置関係を記憶する要素間相対位置関係記憶ステップと、要素間相対位置関係を読み出し、要素間相対位置関係に従って構造化文書入力画面の要素入力位置配置データを作成する要素入力位置相対配置ステップと有し、構造化文書入力画面生成ステップは、要素入力位置配置データを基に、構造化文書入力画面を生成する。その結果、文書管理者により要素間相対位置関係が指定できるので、文書入力者は、業務に応じて入力枠が最適に配置された構造化文書入力画面を利用して構造化文書を入力することができる。
【0088】
また、構造化文書入力画面から予め指定された要素選択値を記憶する要素選択値記憶ステップと、要素選択値に従い構造化文書入力画面の要素選択値候補を作成する要素選択値候補作成ステップとを有し、構造化文書入力画面生成ステップは、要素選択値候補を含む構造化文書入力画面を生成する。その結果、文書管理者により要素選択値が指定できるので、文書入力者は、業務に応じて定められた正しい入力値の候補の中から選択することにより構造化文書を入力することができるので、入力誤りを防ぐことができる。
【0089】
また、構造化文書入力画面から予め指定された要素繰り返し数を記憶する要素繰り返し数記憶ステップと、要素繰り返し数に従い構造化文書入力画面の繰り返し要素を作成する繰り返し要素作成ステップとを有し、構造化文書入力画面生成ステップは、繰り返し要素を含む構造化文書入力画面を生成する。その結果、文書管理者により、構造化文書入力画面における要素繰り返し数が指定できるので、文書入力者は、繰り返される文書構造要素を業務に応じた意味のある表の形で構造化文書を参照できるため、全体の見通しが良くなり、入力が容易となるだけでなく、入力誤りを防ぐことができる。
【0090】
また、指定された繰り返し要素の配置方向である要素繰り返し方向を記憶する要素繰り返し方向記憶ステップと、繰り返し要素を要素繰り返し方向に配置する要素繰り返し要素配置ステップとを有し、構造化文書入力画面生成ステップは、繰り返し要素を含む構造化文書入力画面を生成する。その結果、文書管理者により、構造化文書入力画面における要素繰り返し方向が指定できるので、文書入力者は、繰り返される文書構造要素を業務に応じた意味のある表の形で構造化文書を参照できるため、全体の見通しが良くなり、入力が容易となるだけでなく、入力誤りを防ぐことができる。
【0091】
また、予め指定された構造化文書実体における要素制約を記憶する要素制約記憶ステップと、構造化文書入力ステップにて、構造化文書入力画面に入力された構造化文書入力値が、要素制約を満たしているかチェックする要素制約チェックステップとを有する。その結果、文書管理者により要素制約が指定できるので、文書入力者は、業務に応じて定められた入力値の制約をチェックすることができるので、入力誤りを防ぐことができるだけでなく、設計済みの離散値を採用することにより規格品を使用できるため、設計コストと製造コストを抑えることができる。
【0092】
また、予め指定された構造化文書実体における複数要素の要素間制約を記憶する要素間制約記憶ステップと、構造化文書入力ステップにて構造化文書入力画面に入力された構造化文書入力値が、要素間制約を満たしているかチェックする要素間制約チェックステップと有する。その結果、文書管理者により要素間制約が指定できるので、文書入力者は、業務に応じて定められた入力値の制約をチェックすることができるので、入力誤りを防ぐことができるだけでなく、設計済みの離散値を採用することにより規格品を使用できるため、設計コストと製造コストを抑えることができる。
【0093】
また、予め指定された構造化文書実体における要素の要素離散値制約を記憶する要素離散値制約記憶ステップと、構造化文書入力ステップにて、構造化文書入力画面に入力された構造化文書入力値を、要素離散値制約を満たす最も近い値に補正する要素離散値補正ステップと有する。その結果、文書管理者により要素離散値制約が指定できるので、文書入力者は、業務に応じて定められた入力値の制約をチェックすることができるので、入力誤りを防ぐことができるだけでなく、設計済みの離散値を採用することにより規格品を使用できるため、設計コストと製造コストを抑えることができる。
【0094】
また、構造化文書実体と比較対象構造化文書実体とを比較することにより構造化文書実体の差分を抽出する構造化文書変更箇所抽出ステップと、差分に第1の強調表示用文字制御コードを付加する構造化文書変更箇所強調表示ステップと有し、構造化文書変更箇所表示ステップは、構造化文書変更箇所強調表示ステップの作成データを基に差分を構造化文書表示画面に強調して表示する。そのため、変更箇所が強調して表示され、文書入力者および文書確認者は、任意の2つの構造化文書の変更箇所を容易に把握することができる。
【0095】
また、入力前の構造化文書実体を比較対象構造化文書実体として保存し、比較対象構造化文書実体と入力中の構造化文書実体とを比較することにより構造化文書実体の差分を編集箇所として抽出する構造化文書編集箇所抽出ステップと、編集箇所に第2の強調表示用文字制御コードを付加する構造化文書編集箇所強調表示ステップとを有し、構造化文書変更箇所表示ステップは、構造化文書編集箇所強調表示ステップの作成データを基に編集箇所を構造化文書表示画面に強調して表示する。そのため、変更箇所が強調して表示され、文書入力者および文書確認者は、任意の2つの構造化文書の変更箇所を容易に把握することができる。さらに文書管理者は、業務に応じて比較する構造化文書を定義するので、文書入力者は、編集箇所を区別して容易に把握することができる。
【0096】
また、入力する構造化文書実体および参照する構造化文書実体の直前の版または指定した版を比較対象構造化文書実体として保存し、比較対象構造化文書実体と入力する構造化文書実体および参照する構造化文書実体とを比較することにより構造化文書実体の差分を改定箇所として抽出する構造化文書改定箇所抽出ステップと、改定箇所に第3の強調表示用文字制御コードを付加する構造化文書改定箇所強調表示ステップとを有し、構造化文書変更箇所表示ステップは、構造化文書改定箇所強調表示ステップの作成データを基に改定箇所を構造化文書表示画面に強調して表示する。そのため、変更箇所が強調して表示され、文書入力者および文書確認者は、任意の2つの構造化文書の変更箇所を容易に把握することができる。さらに文書管理者は、業務に応じて比較する構造化文書を定義するので、文書確認者は、改定箇所を区別して容易に把握することができる。
【0097】
また、構造化文書実体とデータを共有するとともに上記共有構造化文書実体との間の要素間の対応関係が指定された共有構造化文書実体の作成・変更データを、上記構造化文書実体の作成または変更に伴って作成し、また共有構造化文書実体の作成または変更に伴って、構造化文書実体の作成・変更データを作成する共有構造化文書変更ステップを有し、共有構造化文書間連携ステップは、作成・変更データに基づいて、構造化文書実体および共有構造化文書実体の関連する項目を変更する。そのため、文書管理者は、業務に応じて構造化文書と他の構造化文書の対応関係を指定し、ある構造化文書が変更された場合に、それと共有する他の構造化文書を参照している他の利用者は、元の構造化文書の変更を反映した結果を参照することができる。
【図面の簡単な説明】
【図1】本発明の実施の形態1の構造化文書処理方法の処理動作の例を示す図である。
【図2】本発明の実施の形態2の構造化文書処理方法の処理動作の例を示す図である。
【図3】本発明の実施の形態3の構造化文書処理方法の処理動作の例を示す図である。
【図4】本発明の実施の形態4の構造化文書処理方法の処理動作の例を示す図である。
【図5】本発明の実施の形態5の構造化文書処理方法の処理動作の例を示す図である。
【図6】本発明の実施の形態5の構造化文書処理方法の処理動作の例を示す図である。
【図7】本発明の実施の形態6の構造化文書処理方法の処理動作の例を示す図である。
【図8】本発明の実施の形態6の構造化文書処理方法の処理動作の例を示す図である。
【図9】本発明の実施の形態6の構造化文書処理方法の処理動作の例を示す図である。
【図10】本発明の実施の形態7の構造化文書処理方法の処理動作の例を示す図である。
【図11】本発明の実施の形態7の構造化文書処理方法の処理動作の例を示す図である。
【図12】本発明の実施の形態7の構造化文書処理方法の処理動作の例を示す図である。
【図13】本発明の実施の形態8の構造化文書処理方法の処理動作の例を示す図である。
【図14】本発明の実施の形態8の構造化文書処理方法の処理動作の例を示す図である。
【図15】本発明の実施の形態1、実施の形態2、実施の形態3、実施の形態4、実施の形態5、実施の形態6および実施の形態7の文書型定義の例を示す図である。
【図16】本発明の実施の形態1の構造化文書入力画面の例を示す図である。
【図17】本発明の実施の形態1、実施の形態7および実施の形態8の構造化文書実体の例を示す図である。
【図18】本発明の実施の形態および実施の形態7の構造化文書実体の例を示す図である。
【図19】本発明の実施の形態1および実施の形態7の構造化文書表示画面の例を示す図である。
【図20】本発明の実施の形態1および実施の形態8の共有構造化文書実体の例を示す図である。
【図21】本発明の実施の形態2の文書構造要素内容定義の例を示す図である。
【図22】本発明の実施の形態2の構造化文書入力画面の例を示す図である。
【図23】本発明の実施の形態3の要素間の相対位置関係を指定する対話インタフェースの例を示す図である。
【図24】本発明の実施の形態3の要素間の相対位置関係の記述例を示す図である。
【図25】本発明の実施の形態3の構造化文書入力画面の例を示す図である。
【図26】本発明の実施の形態4の要素の選択値を指定する対話インタフェースの例を示す図である。
【図27】本発明の実施の形態4の要素選択値の記述例を示す図である。
【図28】本発明の実施の形態4の構造化文書入力画面の例を示す図である。
【図29】本発明の実施の形態5の繰り返し数および繰り返し方向を指定する対話インタフェースの例を示す図である。
【図30】本発明の実施の形態5構造化文書入力画面の例を示す図である。
【図31】本発明の実施の形態6の要素制約の記述例を示す図である。
【図32】本発明の実施の形態6の要素間制約の記述例を示す図である。
【図33】本発明の実施の形態6の要素制約違反によるメッセージの表示例を示す図である。
【図34】本発明の実施の形態6の要素間制約違反によるメッセージの表示例を示す図である。
【図35】本発明の実施の形態6の要素離散値制約の記述例を示す図である。
【図36】本発明の実施の形態6の要素離散値制約違反による対話メッセージの表示例を示す図である。
【符号の説明】
1 構造化文書入力ステップ、2 構造化文書入力値チェックステップ、 3構造化文書変更箇所表示ステップ、 4 共有構造化文書間連携ステップ、 5 文書型定義、 6 構造化文書入力画面、 7 構造化文書入力値、 8 構造化文書実体、 9 比較対象構造化文書実体、 10 構造化文書表示画面、 11 共有構造化文書実体、 12 構造化文書生成有限オートマトン作成ステップ、 13 構造化文書入力画面生成ステップ、 14 構造化文書作成ステップ、 15 構造化文書生成有限オートマトン、 16 要素間相対位置関係指定ステップ、 17 要素間相対位置関係記憶ステップ、 18 要素入力位置相対配置ステップ、 19 要素間相対位置関係、 20 要素選択値指定ステップ、 21 要素選択値記憶ステップ、 22 要素選択値候補作成ステップ、 23 要素選択値、 24 要素繰り返し数指定ステップ、 25 要素繰り返し数記憶ステップ、 26 繰り返し要素作成ステップ、 27 要素繰り返し数、 28 要素繰り返し方向指定ステップ、 29 要素繰り返し方向記憶ステップ、 30 要素繰り返し要素配置ステップ、 31 要素繰り返し方向、 32 要素制約指定ステップ、 33 要素制約記憶ステップ、 34 要素制約チェックステップ、 35 要素制約、 36 要素間制約指定ステップ、 37 要素間制約記憶ステップ、 38 要素間制約チェックステップ、 39 要素間制約、 40 要素離散値制約指定ステップ、 41 要素離散値制約記憶ステップ、 42 要素離散値補正ステップ、 43 要素離散値制約、 44 構造化文書変更箇所抽出ステップ、 45 構造化文書変更箇所強調表示ステップ、 46 構造化文書編集箇所抽出ステップ、 47 構造化文書編集箇所強調表示ステップ、 48 構造化文書改定箇所抽出ステップ、 49 構造化文書改定箇所強調表示ステップ、 50 共有構造化文書指定ステップ、 51 構造化文書要素間対応指定ステップ、 52 構造化文書要素内容間対応指定ステップ、 53 共有構造化文書変更ステップ、 54 共有NDATA実体、 55 共有NDATA指定ステップ、 56 共有NDATA間対応指定ステップ、 57 共有NDATA変更ステップ。
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a structured document processing method for processing a document having a structure, and in particular, when creating a structured document, not only a structured document input screen is generated from a document type definition but also input to a structured document. Restricting the value to be displayed, highlighting only the changed part when the structured document is changed, and changing another shared structured document when the structured document is changed The present invention relates to a structured document processing method that is made possible.
[0002]
[Prior art]
Conventionally, structured documents in which structured concepts are incorporated into documents are used, and structured document processing methods for handling these structured documents have been developed. As a typical international standard for structured documents, there is a document description language SGML (ISO 8879: Standard Generalized Markup Language).
[0003]
In such a structured document, restrictions on the structure of the document are described. In SGML, document type definition (DTD: Document)
This is referred to as Type Definition).
[0004]
As a technique for automatically generating a structured document from a document type definition, (1) Japanese Patent Laid-Open No. 9-128400 “Structured Document Generation Device”, (2) Japanese Patent Laid-Open No. 9-69101 “Structured Document Generation Method and Device” And (3) Japanese Patent Laid-Open No. 5-108631 "Document Processing Apparatus".
[0005]
Among these, (1) is a method of dividing the document image into regions based on the correspondence between the document image region described in the document type definition in advance and the document structure element, and the result of character recognition of each region is the contents of the document structure element Thus, the present invention relates to an apparatus for generating a structured document from a document type definition and a document image.
[0006]
(2) specifies the document structure element by pattern matching the text position, size and character string obtained by layout analysis and syntax analysis of the unstructured document with the structured document generation rule described in the document type definition. The present invention relates to a method and apparatus for generating a structured document by inference.
[0007]
(3) relates to a structured document editing apparatus that presents a minimum structure and possible structure candidates from a document type definition, and generates a structured document by interactively adding the structure.
[0008]
As a technique for checking the contents when inputting a structured document, there is (4) Japanese Patent Laid-Open No. 8-16589 “Structured Document Processing Device”. (4) relates to an apparatus for checking document contents by applying check conditions defined in advance for each document structure element to the document structure element contents.
[0009]
Further, as a technique for unifying contents among a plurality of documents, there is (5) Japanese Laid-Open Patent Publication No. 4-21865 “Standard Document Creation Support Method”. (5) In a document system in which a plurality of standard documents such as specifications and forms are related, the relationship is input and stored in a computer in advance, and the standard is created by referring to the relationship when creating the standard document. The present invention relates to a method of automatically updating an item associated with the item when the item of the document is updated.
[0010]
Further, as techniques for extracting and highlighting differences between a plurality of documents, (6) Japanese Patent Laid-Open No. 8-50590 “Document Processing Method and Apparatus” and (7) Japanese Patent Laid-Open No. 8-329079 “Structured”. Document difference extraction method and apparatus ".
[0011]
(6) relates to a method and an apparatus for presenting whether or not a document has been changed between a user's previous reference and this reference.
[0012]
(7) relates to a method and apparatus for comparing document structures between a plurality of structured documents to extract document structure differences and extracting document structure content differences when the document structures match.
[0013]
[Problems to be solved by the invention]
However, in the above-described technology for automatically generating a structured document from the document type definition, in (1) and (2), a paper document and an unstructured document that are the basis of the structured document exist, respectively, or in advance Must be created. Therefore, when creating a new structured document, a paper document or unstructured document that is the source of the structured document must be created in advance, and the structured document is converted from the paper document or unstructured document. There is a problem that the conversion error at the time of generation must be corrected and the efficiency is low.
[0014]
On the other hand, in (3), since the document creator must construct the document structure interactively, there is a problem that the document creator cannot use the document structure unless the document creator has acquired knowledge about the document structure in advance.
[0015]
Further, in the technique (4) for checking the contents when the structured document is input, an error in the contents of the document structure element can be detected for each document structure element, but a contradiction among a plurality of document structure element contents cannot be detected. was there.
[0016]
Further, in the technique (5) for unifying contents among a plurality of documents described above, by associating document structure elements of a plurality of structured documents, it is guaranteed that the contents of the related document structure elements are always the same. Yes, but there is a problem that the contents cannot be dealt with when the contents of the related document structure elements are not the same. Further, the related document structure elements must be one-to-one, and the object of association is limited to structured documents. That was the problem.
[0017]
In the technique for extracting and highlighting the differences between the plurality of documents, in (6), since the reference time and update time of the document are compared, it is determined that the document has been updated even if the document contents are the same. In addition, there is a problem that it is impossible to indicate which part of the document has been updated.
[0018]
In (7), since a difference in document structure and a difference in document structure element contents are extracted from a plurality of structured documents, it is possible to present which part of the document has been updated. There was a problem that it had to be specified every time.
[0019]
The present invention has been made to solve the above-described problems. A structured document can be defined for each job, and a structured document can be correctly input. It is another object of the present invention to provide a structured document processing method capable of easily referring to a document and sharing a plurality of structured documents.
[0020]
[Means for Solving the Problems]
A structured document processing method according to the present invention includes:Process structured documents with structureIn the structured document processing method, a structured document input step of generating a structured document input screen based on the document type definition and creating a structured document entity from the structured document input value input from the structured document input screen A structured document input value checking step for checking whether the structured document input value input from the structured document input screen satisfies a preset constraint, and the structured document entity is prepared in advance. A structured document change location display step for distinguishing and displaying the change location of the structured document entity by comparing with the compared structured document entity, and when the structured document entity is created or changed, Steps for linking shared structured documents that change related items of shared structured documents shared with users, Sharing data with the structured document entity, but not in a structured document format, sharing with a specified correspondence relationship with the structured document entity NDATA The entity is created or changed in accordance with the creation or change of the structured document entity, and the shared NDATA Sharing to create or change the structured document entity according to the creation or modification of the entity NDATA Change step andIt has.
[0021]
The structured document input step includes a structured document generation finite automaton creation step for creating a structured document generation finite automaton from a document type definition or a document type definition and a structured document entity, and a structured document generation finite automaton. By following the steps, a structured document input screen generation step for generating a structured document input screen, and a structured document creation step for generating a structured document entity from the structured document input value input to the structured document input screen And have.
[0022]
Also,Specified from structured document input screenInter-element relative positional relationship storage step for storing the relative positional relation between elements, and reading the relative positional relation between elements, and creating the element input positional relative data of the structured document input screen according to the relative positional relation between elements The structured document input screen generation step generates the structured document input screen based on the element input position arrangement data.
[0023]
Also,Pre-specified from the structured document input screenAn element selection value storage step for storing the element selection value; and an element selection value candidate creation step for creating an element selection value candidate for the structured document input screen according to the element selection value. The structured document input screen generation step includes: The structured document input screen including the element selection value candidates is generated.
[0024]
Also,Pre-specified from the structured document input screenAn element repetition number storage step for storing the element repetition number; and a repetition element creation step for generating a repetition element of the structured document input screen according to the element repetition number. The structured document input screen including the above is generated.
[0025]
Also,Requirement that is the orientation of the specified repeat elementA structured document input screen generating step, wherein the structured document input screen generating step includes the repeated element, the element repeated direction storing step storing the element repeating direction, and the element repeating element arranging step arranging the repeated element in the element repeating direction. Generate an input screen.
[0026]
Also,Key points in the previously specified structured document entityAn element constraint storage step for storing elementary constraints; and an element constraint check step for checking whether the structured document input value input to the structured document input screen in the structured document input step satisfies the element constraints; Have
[0027]
Also,Multiple elements of the structured document entity specified in advanceInter-element constraint check for checking whether the structured document input value input to the structured document input screen in the structured document input step at the inter-element constraint storing step for storing the inter-element constraint satisfies the above-mentioned inter-element constraint. Step andTheHave.
[0028]
Also,The element in the structured document entity specified in advanceIn the element discrete value constraint storage step for storing element discrete value constraints and the structured document input step, the structured document input value input to the structured document input screen is set to the closest value satisfying the element discrete value constraint. An element discrete value correction step to be corrected; andTheHave.
[0029]
Further, a structured document change location extraction step for extracting a difference between the structured document entities by comparing the structured document entity with the comparison target structured document entity, and adding the first highlight character control code to the difference A structured document change location highlighting step, and the structured document change location display step highlights and displays the difference on the structured document display screen based on the creation data of the structured document change location highlighting step.
[0030]
Also, the structured document entity before input is saved as a comparison target structured document entity, and the difference between the structured document entities is edited as a comparison portion by comparing the comparison target structured document entity with the structured document entity being input. There is a structured document editing part extracting step for extracting, and a structured document editing part highlighting step for adding the second highlight character control code to the editing part. Based on the data created in the document edit location highlighting step, the edit location is highlighted on the structured document display screen.
[0031]
Also, the structure document entity to be input and the version immediately before or the specified version of the structured document entity to be referenced are stored as a comparison target structured document entity, and the comparison target structured document entity and the structured document entity to be input are referred to. A structured document revision location extraction step for extracting a difference between structured document entities as a revised location by comparing the structured document entity, and a structured document revision that adds a third highlight character control code to the revised location A structured document change location display step that highlights and displays the revised location on the structured document display screen based on the creation data of the structured document revised location enhancement display step.
[0032]
Also,Create / change data of a shared structured document entity in which data is shared with the structured document entity and the correspondence between the elements is specified.Along with the creation or modification of the above structured document entitymake,The shared structured document entity has a shared structured document change step for creating the structured document entity creation / change data in accordance with the creation or change of the shared structured document entity. Based on the change data, the related items of the structured document entity and the shared structured document entity are changed.
[0034]
DETAILED DESCRIPTION OF THE INVENTION
Embodiment 1 FIG.
First, in the first embodiment of the present invention, a workflow document that inputs a structured document, checks a value input to the structured document, displays a changed portion of the structured document, and cooperates with other structured documents. The operation will be described with reference to the drawings. FIG. 1 is a flowchart for explaining the operation of the first embodiment of the present invention.
[0035]
First, in the structured document input step 1, the document type definition 5 and the structured document entity 8 are read, and a structured document input screen 6 is generated and presented to the document input person. Here, the structured document entity 8 is, for example, a structured document entity 8 in which a structured document input value for correcting and using an item has already been input.
[0036]
For example, FIG. 15 shows an example in which a document type definition 5 of a specification for building a house is described according to the SGML format. An example of the structured document entity 8 described according to the document type definition 5 is shown in FIG. The document type definition 5 is data defining the logical structure of the document. For example, <! ELEMENT Roof (roof shape, roof type, roof color)> is described in the document structure element “roof”, there are three document structure elements of “roof shape”, “roof type” and “roof color” Is shown.
[0037]
Then, the structured document input step 1 reads the document type definition 5 shown in FIG. 15 to obtain the logical structure of the document and the document structure element to be input. Further, the structured document entity 8 shown in FIG. By reading, the contents of the already input document structure element are acquired, and the structured document input screen 6 shown in FIG. 16 is generated.
[0038]
Then, when the document input person A inputs the structured document input value 7 to each input frame of the structured document input screen 6, the structured document input value 7 is sequentially checked and checked by the structured document input value check step 2. If it passes, the structured document entity 8 is updated or newly created. For example, when the structured document entity 8 shown in FIG. 18 is read and “delivery date” is changed to “1998/12/20” and “constructor” is changed to “Mitsubishi Shiro”, the structure shown in FIG. Updated to the documentized document entity 8.
[0039]
Next, in the structured document change location display step 3, the updated structured document entity 8 and the comparison target structured document entity 9 prepared in advance are read, and the changed location is highlighted on the structured document display screen 10. To display. That is, the changed part is displayed separately from other input items. The comparison target structured document entity 9 may be, for example, the structured document entity 8 before update. Here, when the structured document entity 8 before update shown in FIG. 18 is the comparison-target structured document entity 9, the updated structured document entity 8 is the one shown in FIG. The structured document display screen 10 shown in FIG. 19 is displayed with the “delivery date” and “constructor” highlighted.
[0040]
In the shared structured document interlinking step 4, the shared structured document entity 11 associated with the updated structured document entity 8 is updated according to the update result of the structured document entity 8. Here, FIG. 17 is the updated structured document entity 8, FIG. 20 is the associated shared structured document entity 11, and the document structure elements “order number”, “property address”, “current address”, “ “Name”, “Delivery”, and “Sales” are respectively associated with the document structure elements “Order Number”, “Property Address”, “Current Address”, “Name”, “Delivery”, and “Sales” in FIG. Then, since the “delivery date” has been updated, the document structure element “delivery date” in FIG. 20 is updated to 1998/12/20.
[0041]
In the structured document processing method having such a process, the workflow from the document input by the document input person A to the confirmation of the document content by the document checker C is performed using the structured document as a medium, and the document type definition 5 The structured document input screen 6 can be generated from the above, the input value 7 can be checked, and the changed part can be displayed. Further, when an incorrect input is made, it is possible to present to the document input person A that the input is incorrect and to correct the incorrect input again. Furthermore, when a document is shared with another user D, the update result of the document can be reflected in the shared document.
[0042]
In the structured document input step 1, when the structured document entity 8 which is the contents of the already input document structure element is not read, the structured document input screen 6 in which no input items are input is generated.
[0043]
Embodiment 2. FIG.
Next, in the second embodiment of the present invention, operations for inputting a document type definition, creating a structured document generation finite automaton, and generating a structured document input screen will be described with reference to the drawings. FIG. 2 is a flowchart for explaining the operation of the second embodiment of the present invention. Parts that are the same as or correspond to those in the first embodiment are given the same reference numerals, and descriptions thereof are omitted. In FIG. 2, a structured document generation finite automaton creation step 12 reads a document type definition 5 and creates a structured document generation finite automaton 15.
[0044]
Next, the structured document input screen generation step 13 generates the structured document input screen 6 by following the order of the structured document generation finite automaton 15. The document input person A inputs the structured document input value 7 on the structured document input screen 6, and the structured document generation step 14 creates a structured document entity 8 using the value. Further, in the document type definition 5, a document structure element content definition illustrated in FIG. 21 is described.
[0045]
The above-described document structure element content definition is data specifying the type of the input document structure element. In FIG. 21, for example, <! —CONTENT NUMBER (#NUMBER, N) — From the above, it can be seen that the type of the document structure element “floor” shown in FIG. 15 is a single-digit integer. The format of the document structure element content definition is <! -CONTENT Document structure element identifier LABEL (heading) TYPE (type name, type option)-> The heading of the input frame is specified by LABEL (heading). If omitted, the document structure element identifier is used as the heading.
[0046]
Also, type names in TYPE (type name, type option) are: #ORDERNUM is a text that specifies the character type in character units by type option, #ADDRESS is a text that inputs an address, #NAME is a text that inputs a name, # DATE specifies the format with the type option and enters the date, #NUMBER specifies the format with the type option and the numeric input text, #SELECT selects from the multiple candidates specified with the type option This indicates that the text, the text for inputting the file name of the external entity referenced by #LINK, and #TEXT are arbitrary text.
[0047]
In the type option of type name #ORDERNUM, A is one letter, N is one number, and the other symbols are one letter, and in the type option of type name #DATE, Y is one digit of the year, M Is the first digit of the month, D is the first digit of the day, and the other symbols are the same one character. The first type option of type name #NUMBER specifies that N is one digit and the period is the decimal point. The second type option specifies the unit, and the type option of type name #SELECT specifies a list of selectable text separated by commas and enclosed in parentheses, and the first type of type name #TEXT The option specifies the number of lines in the input box, the second type option specifies the number of digits in the input box, and the third type option specifies whether the input box scrolls. To.
[0048]
Then, as a result of reading the document type definition 5, the structured document generation finite automaton creation step 12 and the structured document input screen generation step 13 acquire the logical structure of the document and the type of the document structure element to be input. The structured document input screen 6 illustrated in FIG.
[0049]
In the structured document processing method having such steps, the document input person A may input the contents of each document structure element on the structured document input screen 6 in a specified format without being aware of the document structure. Therefore, it is possible to create a structured document entity 8 that has no document structure error and no document structure element content format error.
[0050]
Embodiment 3 FIG.
Next, a third embodiment of the present invention will be described with reference to the drawings. FIG. 3 is a flowchart for explaining the operation of the third embodiment of the present invention. Portions that are the same as or correspond to those in Embodiment 2 are given the same reference numerals, and descriptions thereof are omitted. In FIG. 3, in the inter-element relative positional relationship specifying step 16, the document manager B specifies the relative positional relationship between the elements on the structured document input screen 6 using the dialog interface illustrated in FIG.
[0051]
In FIG. 23, the document structure hierarchy display window 58 represents the hierarchical relationship of document structure elements with a line as shown between the document structure node icon 60 and the document structure node icon 63. When the document manager selects the document structure node icon 60 with a pointing device such as a mouse and moves it to the inter-element relative position designation window 59, the document structure node icon 61 is displayed. Similarly, when the document structure node icon 63 is moved to the element relative position relative designation window 59, the document structure node icon 64 is displayed.
[0052]
At this time, when the document structure node icon 64 is arranged so as to be positioned to the right of the document structure node icon 61 and an arrow from the document structure node icon 61 to the document structure node icon 64 is displayed, the document structure node icon 64 indicates. The input frame of the document structure element “designer” can be specified so as to be arranged relatively to the right when viewed from the input frame of the document structure element “sales person” indicated by the document structure node icon 61. Further, when the heading icon 62 is arranged on the document structure node icon 61 and the content of the heading icon 62 is “sales”, the heading icon 62 is relatively viewed from the input frame of the document structure element “business person” indicated by the document structure node icon 61. In particular, the heading “Sales” can be placed above.
[0053]
In the inter-element relative positional relationship storage step 17, the inter-element relative positional relationship 19 specified as described above in the inter-element relative positional relationship specifying step 16 is stored in a storage device such as a magnetic disk device.
[0054]
FIG. 24 shows an example of the relative positional relationship 19 between the elements. For example, in the description of LABEL (sales, U) for the document structure element “sales”, the heading of the document structure element “sales” is “sales” and the relative It is shown to be placed on the top. In addition, the description of LABEL (design, U) for the document structure element “designer” indicates that the heading of the document structure element “designer” is “design” and is positioned relatively above. The description of (sales, R) indicates that the document structure element “designer” is arranged relatively to the right as viewed from the document structure element “sales person”.
[0055]
Further, the element input position relative arrangement step 18 reads the relative positional relationship between the document structure elements specified by the inter-element relative positional relationship 19 from the storage device and transfers it to the structured document input screen generation step 13. Thus, the structured document input screen 6 shown in FIG. 25 is generated. In FIG. 25, the document structure elements “sales person”, “designer”, and “constructor” are arranged in the right direction in this order, respectively, and the headings “sales”, “design”, and “construction” are arranged above. I understand that
[0056]
In the structured document processing method having such steps, the document manager B can designate the relative positional relationship 9 between the elements, so that the document input person A is structured in which the input frame is optimally arranged according to the business. A structured document can be input using the document input screen 6.
[0057]
Embodiment 4 FIG.
Next, a fourth embodiment of the present invention will be described with reference to the drawings. FIG. 4 is a flowchart for explaining the operation of the fourth embodiment of the present invention. Portions that are the same as or correspond to those in Embodiment 2 are given the same reference numerals, and descriptions thereof are omitted. 4, in the element selection value designation step 20, the document manager B designates the selection value of the document structure element content using the dialog interface illustrated in FIG. In FIG. 26, an element selection value designation list 65 is an element selection value 23 designated by the document manager B as a content candidate for the document structure element “sales”.
[0058]
In the element selection value storage step 21, the element selection value 23 specified in the element selection value specification step 20 is stored in a storage device such as a magnetic disk device. FIG. 27 shows an example of the element selection value 23. The description of TYPE (#SELECT, (Mitsubishi Taro, Taro Shihishi, Taro Gohishi)) for the document structure element “sales” is the contents of the document structure element “sales”. Indicates one of the selection values of “Mitsubishi Taro”, “Taro Shihishi”, or “Taro Gohishi”.
[0059]
Further, in the element selection value candidate creation step 22, the selection value of the document structure element content designated by the element selection value 23 is read from the storage device to create an element selection value candidate, and this element selection value candidate is input to the structured document. Transfer to screen generation step 13. The structured document input screen generation step 13 generates the structured document input screen 6 shown in FIG. 28 including the element selection value candidates. In FIG. 28, when the document input person A tries to input the contents of the document structure element “sales person” with a pointing device such as a mouse, the element selection value candidates of the document structure element “sales person” are displayed by the pull-down menu. The
[0060]
In the structured document processing method having such a process, the element selection value 23 can be designated by the document manager B, so that the document input person A selects from among correct input value candidates determined according to the business. By doing so, a structured document can be input, and input errors can be prevented.
[0061]
Embodiment 5. FIG.
Next, a fifth embodiment of the present invention will be described with reference to the drawings. 5 and 6 are flowcharts for explaining the operation of the fifth embodiment of the present invention. Portions that are the same as or correspond to those in Embodiment 2 are given the same reference numerals, and descriptions thereof are omitted. In the figure, the element repetition number designation step 24 and the element repetition direction designation step 28 are performed by the document manager B in the repetition number designation box 66 using the dialog interface illustrated in FIG. The repeat number is designated, and the repeat direction is designated in the repeat direction designation box 67.
[0062]
In FIG. 29, “2” specified in the repetition number specification box 66 indicates that the number of repetitions of the document structure element “floor” is two, and “R” specified in the repetition direction specification box 67 is This indicates that the repetition direction of the document structure element “floor” is to the right. Here, the value of the repetition direction is “U” on the top, “D” on the bottom, “L2” on the left, and “R” on the right. Similarly, a repeat number designation box and a repeat direction designation box are also displayed for the document structure element “room”. According to FIG. 15, the document structure element “room” is a lower element of the document structure element “floor”. Therefore, two repetition number designation boxes for the document structure element “room” are displayed. The example of FIG. 29 shows that there are five rooms on the first floor and three rooms on the second floor.
[0063]
The element repetition number storage step 25 and the element repetition direction storage step 29 store the element repetition number 27 and the element repetition direction 31 in a storage device such as a magnetic disk device, respectively.
[0064]
Further, the repeated element creation step 26 and the repeated element placement step 30 respectively read the repeated element number 27 and the repeated element direction 31 from the storage device and transfer them to the structured document input screen generation step 13, so that FIG. A structured document input screen 6 including the repetitive element shown is generated.
[0065]
FIG. 30 shows an input screen for the document structure element “room type”. The document structure element “floor” is repeated twice in the right direction, and the document structure element “room” is repeated three times in the downward direction. There are five rooms on the first floor: “living room”, “reception”, “kitchen”, “bath” and “toilet” on the first floor, “living room”, “sleeping” and “ It is input that there are three rooms “sleep”.
[0066]
In the structured document processing method having such steps, the document manager B can specify the number of element repetitions and the element repetition direction on the structured document input screen 6, so that the document input person A can repeat document structure elements. Since the structured document can be referred to in the form of a meaningful table according to the business, the overall view is improved and the input is facilitated, and input errors can be prevented.
[0067]
Embodiment 6 FIG.
Next, a sixth embodiment of the present invention will be described with reference to the drawings. 7, 8 and 9 are flowcharts for explaining the operation of the sixth embodiment of the present invention. Parts that are the same as or correspond to those in the first embodiment are given the same reference numerals, and descriptions thereof are omitted. The element constraint specifying step 32, the inter-element constraint specifying step 36, and the element discrete value constraint specifying step 40 specify the element constraint 35, the inter-element constraint 39, and the element discrete value constraint 43, respectively, using the dialog interface. FIG. 31 is an example of the element constraint 35, FIG. 32 is an example of the inter-element constraint 39, and FIG. 35 is an example of the element discrete value constraint 43.
[0068]
In the element constraint 35 shown in FIG. 31, when the value indicated by each content of a plurality of document structure elements “room area” is changed, the value indicated by the content of the document structure element “building area” is not exceeded. If the element constraint that presents a message as shown in FIG. 33 to the document input person A when the constraint is violated and the value indicated by the content of the document structure element “roof type” is changed, the document structure Check the constraint that the element “roof shape” is not “triangular” and the document structure element “roof type” must not be “tile”, and if the constraint is violated, the content of the document structure element “roof shape” The element constraint is changed to “triangle” and presents a message “The roof shape is triangular” to the document input person A.
[0069]
Further, in the inter-element constraint 39 shown in FIG. 32, the sum of the values indicated by all the contents of each floor of the document structure element “room area” that is present does not exceed the value indicated by the contents of the document structure element “building area”. When the constraint is checked and the constraint is violated, the inter-element constraint that presents a message as shown in FIG. 34 to the document input person A and the number of document structure elements “rooms” that exist in plural are the document structure element “number of rooms” ”Is checked for a constraint that the content must match the value indicated, and when the constraint is violated, the document input person A is presented with a message“ The number of rooms does not match. ” .
[0070]
Furthermore, in the element discrete value constraint 43 shown in FIG. 35, the value indicated by each content of a plurality of document structure elements “floor height” is one of the discrete values “210, 220, 240, 270”. When the constraint is violated, a dialogue message as shown in FIG. 36 is presented to the document input person A when the restriction is violated, and when the document input person A requests, the current of the document structure element “floor height” is displayed. The element discrete value constraint for correcting the value indicated by the content to the nearest discrete value and the value indicated by each content of the plurality of document structure elements “room area” are discrete values “14.85, 19.8, 26.4. , 39.6 "is checked, and when the constraint is violated, a dialog message" Do you want to correct the room area to the standard value? " If A asks, sentence It represents an element discrete value constraints to correct the value indicated by the current contents of the structural element "Room Size" to the nearest discrete value.
[0071]
The element constraint storage step 33, the element constraint storage step 37, and the element discrete value constraint storage step 41 store the element constraint 35, the element constraint 39, and the element discrete value constraint 43 in a storage device such as a magnetic disk device, respectively. .
[0072]
Further, an element constraint check step 34, an inter-element constraint check step 38, and an element discrete value correction step 42 read the element constraint 35, the inter-element constraint 39, and the element discrete value constraint 43 from the storage device, respectively, and check the check for the constraint. .
[0073]
In the structured document processing method having such steps, the document manager B can specify element constraints, inter-element constraints, and element discrete value constraints, so that the document input person A can input values determined according to the business. Therefore, it is possible not only to prevent input errors, but also to use standard products by adopting designed discrete values, so that design costs and manufacturing costs can be reduced.
[0074]
Embodiment 7 FIG.
Next, a seventh embodiment of the present invention will be described with reference to the drawings. 10, 11 and 12 are flowcharts for explaining the operation of the seventh embodiment of the present invention. Parts that are the same as or correspond to those in the first embodiment are given the same reference numerals, and descriptions thereof are omitted. In the figure, a structured document change location extraction step 44 reads the structured document entity 8 and the comparison target structured document entity 9 and extracts a change location with the structured document entity 8 as positive. Further, the structured document change location highlighting step 45 adds a first highlight character modification control code for highlighting them to the change locations extracted by the structured document change location extraction step 44 to change the structured document. Passed to location display step 3.
[0075]
The structured document change location display step 3 interprets the highlighted character modification control code added by the structured document change location highlighting step 45, and the structured document highlights the changed location on the structured document display screen 10. Is displayed. For example, if the structured document entity 8 that is positive is FIG. 17 and the compared structured document entity 9 is FIG. 18, the document structure element “Delivery” and the document structure element “Constructor” are indicated in bold and underlined, for example. The structured document display screen 10 shown in FIG.
[0076]
Further, in the workflow from the document input by the document input person A to the confirmation of the document content by the document checker C, a structured document from which a change part is extracted can be defined according to the business. That is, in FIG. 11, when the document input person A inputs a document, the structured document edit location extraction step 46 saves the structured document before input as the comparison target structured document entity 9, and creates the structure created after the input. The changed document is extracted by passing the structured document as a positive structured document entity 8 to the structured document change location extraction step 44 after the input is completed or during the input, and the structured document edit location highlighting step 47 further includes: The highlighted character modification control code added in the structured document change location highlighting step 45 is changed to another second highlighted character modification control code indicating the edited location.
[0077]
In FIG. 12, the structured document revision location extraction step 48 saves the structured document confirmed by the document checker C in the past as the comparison target structured document entity 9, and corrects the structured document to be confirmed now. The revised document is extracted by passing it to the structured document change location extraction step 44 as the structured document entity 8 to be, and the structured document revision location highlighting step 49 is added in the structured document change location highlighting step 45. The highlighted character modification control code is changed to another third highlighted character modification control code indicating the revised location.
[0078]
In the structured document processing method having such a process, the changed part is highlighted and displayed, so that the document input person A and the document checker C can easily grasp the changed part of any two structured documents. can do. Furthermore, since the document manager B defines the structured document to be compared according to the business, the document input person A and the document checker C can easily grasp the edited part and the revised part, respectively.
[0079]
Embodiment 8 FIG.
Next, an eighth embodiment of the present invention will be described with reference to the drawings. 13 and 14 are flowcharts for explaining the operation of the eighth embodiment of the present invention. Parts that are the same as or correspond to those in the first embodiment are given the same reference numerals, and descriptions thereof are omitted. In FIG. 13, a shared structured document designation step 50 designates a plurality of structured documents to be shared. Also, in the correspondence specification step 51 between structured document elements, the correspondence between the document structure elements of a plurality of structured documents to be shared is specified. Furthermore, in the structured document element content correspondence specifying step 52, the correspondence relationship between the document structural elements of a plurality of structured documents to be shared is specified.
[0080]
Then, the shared structured document change step 53 acquires the shared structured document entity 11 shared with a certain structured document entity 8 from the specification of the shared structured document specification step 50 when a certain structured document entity 8 is changed, Further, the document structure element of the shared structured document entity 11 corresponding to the changed portion is acquired from the specification of the structured document element correspondence specifying step 51, and further the document structure element of the shared structured document entity 11 corresponding to the changed portion. Is changed in accordance with the specification in the structured document element content correspondence specifying step 52, and is passed to the shared structured document interlinking step 4.
[0081]
Here, FIG. 17 is the structured document entity 8 of the change source, FIG. 20 is the shared structured document entity 11 associated by the shared structured document specifying step 50, and the document structure element “order number” in FIG. “Property address”, “Current address”, “Name”, “Delivery date”, “Sales person” are respectively changed to the document structure elements of FIG. 20, “order number”, “Property address”, If it is associated with “current address”, “name”, “delivery date”, and “sales person”, the document structure element “delivery date” is updated, so that it is designated by the structured document element content correspondence designation step 52. The document structure element “Delivery date” in FIG. 20 is changed to “1998/12/20” based on the correspondence between the contents of the document structure elements.
[0082]
Further, the correspondence between document structure elements may be a correspondence between one document structure element and a plurality of document structure elements, and furthermore, a correspondence between a plurality of document structure elements and a plurality of document structure elements. Alternatively, the correspondence between the contents of the document structure elements may be different. For example, if "product name" is described in the source structured document and the structured document shared with it is a product specification, or if the "product name" in the source structured document is changed A plurality of product specification items of the structured document shared with it are changed to values specified by the product name.
[0083]
Further, the shared document may not be a structured document. Here, an entity that is not a structured document is called an NDATA entity. In FIG. 14, a shared NDATA specifying step 55 specifies a plurality of shared NDATA entities 54 to be shared with the structured document, and a shared inter-NDATA correspondence specifying step 56 is a content of the plurality of shared NDATA entities 54 to be shared with the structured document. Specify the correspondence of. In the shared NDATA changing step 57, when a certain structured document entity 8 is changed, the shared NDATA entity 54 shared with the entity is acquired from the specification in the shared NDATA specifying step 55, and the shared NDATA entity 54 corresponding to the changed part is obtained. The change method is acquired from the specification in the shared NDATA correspondence specifying step 56, and the shared NDATA entity 54 is changed. Conversely, when the shared NDATA entity 54 is changed, the contents of the document structure element corresponding to the changed portion of the structured document entity 8 shared with the shared NDATA entity 54 are changed. For example, when the change source structured document is a product specification and the shared NDATA entity shared with it is a drawing, when the case number of the specification of the change source product is changed, the case in the drawing shared with it is changed. The width, height, and depth of the body dimensions are changed to values specified by the housing number.
[0084]
In the structured document processing method having such a process, the document manager B designates the correspondence between the structured document and another structured document or another NDATA according to the business. Is changed, another structured document shared with it or another user D referring to another NDATA can refer to the result reflecting the change of the original structured document.
[0085]
【The invention's effect】
A structured document processing method according to the present invention includes:Process structured documents with structureIn the structured document processing method, a structured document input step for generating a structured document input screen based on the document type definition and creating a structured document entity from the structured document input value input from the structured document input screen; , A structured document input value check step for checking whether a structured document input value input from the structured document input screen satisfies a preset constraint, a structured document entity and a comparison target prepared in advance A structured document change location display step for distinguishing and displaying the change location of the structured document entity by comparing with the structured document entity, and sharing with other users when the structured document entity is created or changed A shared structured document interlinking step for changing a related item of the shared structured document to be performed;Sharing data with a structured document entity, but not a structured document format, but sharing with a specified relationship between structured document entities NDATA The entity is created or changed in accordance with the creation or change of the structured document entity, and the shared NDATA Sharing to create or modify structured document entities according to entity creation or modification NDATA Change step.Therefore, in the workflow using a structured document as a medium from the document input by the document input person to the confirmation of the document content by the document checker, the generation of the structured document input screen from the document type definition, the input value check, and the change location Display is possible. Furthermore, when an incorrect input is made, the fact that the input is incorrect is presented to the document input person, and the erroneous input can be corrected again. Furthermore, when a document is shared with other users, the update result of the document can be reflected in the shared document.In addition, document managers can use structured documents and other NDATA Specify a correspondence relationship with and, when a structured document is changed, NDATA Other users referring to can refer to the result reflecting the change of the original structured document.
[0086]
The structured document input step includes a structured document generation finite automaton creation step for creating a structured document generation finite automaton from a document type definition or a document type definition and a structured document entity, and a structured document generation finite automaton. By following the steps, a structured document input screen generation step for generating a structured document input screen, and a structured document creation step for generating a structured document entity from the structured document input value input to the structured document input screen And have. Therefore, the document input person need only input the contents of each document structure element on the structured document input screen in the specified format without being conscious of the document structure. A structured document entity 8 without a format error can be created.
[0087]
Also,Specified from structured document input screenInter-element relative positional relationship storage step for storing the relative positional relation between elements, and reading the relative positional relation between elements, and creating the element input positional relative data of the structured document input screen according to the relative positional relation between elements The structured document input screen generation step generates a structured document input screen based on the element input position arrangement data. As a result, the relative positional relationship between elements can be specified by the document administrator, so that the document input person inputs the structured document using the structured document input screen in which the input frame is optimally arranged according to the business. Can do.
[0088]
Also,Pre-specified element selection values from the structured document input screenAn element selection value storage step for storing, and an element selection value candidate creation step for creating an element selection value candidate for the structured document input screen according to the element selection value. The structured document input screen generation step includes an element selection value candidate. Generate a structured document input screen including As a result, since the element selection value can be specified by the document manager, the document input person can input the structured document by selecting from the correct input value candidates determined according to the business. Input errors can be prevented.
[0089]
Also,Pre-specified from the structured document input screenAn element repetition number storage step for storing the element repetition number; and a repetition element creation step for generating a repetition element of the structured document input screen according to the element repetition number. The structured document input screen generation step includes a repetition element. Generate a structured document input screen. As a result, the document manager can specify the number of element repetitions on the structured document input screen, so that the document input person can refer to the structured document in the form of a meaningful table according to the business of the repeated document structure elements. Therefore, the overall view is improved and not only the input becomes easy, but also an input error can be prevented.
[0090]
Also,The direction of the specified repeating elementA structured document input screen including a repeated element, the element repeated direction storing step storing an element repeated direction; and an element repeated element arranging step arranging a repeated element in the element repeated direction. Is generated. As a result, the document administrator can specify the element repetition direction on the structured document input screen, so that the document input person can refer to the structured document in the form of a meaningful table according to the business of the repeated document structure elements. Therefore, the overall view is improved and not only the input becomes easy, but also an input error can be prevented.
[0091]
Also,In a pre-specified structured document entityAn element constraint storage step for storing element constraints, and an element constraint check step for checking whether the structured document input value input to the structured document input screen in the structured document input step satisfies the element constraints. . As a result, element constraints can be specified by the document administrator, so the document input person can check the input value constraints determined according to the business, and not only can prevent input errors but also has been designed. Since standard products can be used by adopting the discrete values, design cost and manufacturing cost can be suppressed.
[0092]
Also,Multiple elements of a pre-specified structured document entityAn inter-element constraint storage step for storing inter-element constraints, and an inter-element constraint check step for checking whether the structured document input value input to the structured document input screen in the structured document input step satisfies the inter-element constraints. And have. As a result, since the document administrator can specify inter-element constraints, the document input user can check the input value constraints determined according to the business, and not only can prevent input errors but also design. Since standard products can be used by adopting already-discrete values, design costs and manufacturing costs can be reduced.
[0093]
Also,Of elements in a pre-specified structured document entityThe structured document input value input to the structured document input screen is corrected to the closest value satisfying the element discrete value constraint in the element discrete value constraint storing step for storing the element discrete value constraint and the structured document input step. And an element discrete value correcting step. As a result, the document administrator can specify element discrete value constraints, so the document input person can check the input value constraints determined according to the job, so not only can prevent input errors, Since standard products can be used by adopting designed discrete values, design costs and manufacturing costs can be reduced.
[0094]
Further, a structured document change location extraction step for extracting a difference between the structured document entities by comparing the structured document entity with the comparison target structured document entity, and adding the first highlight character control code to the difference A structured document change location highlighting step, and the structured document change location display step highlights and displays the difference on the structured document display screen based on the creation data of the structured document change location highlighting step. Therefore, the changed part is highlighted and displayed, and the document input person and the document confirmer can easily grasp the changed part of any two structured documents.
[0095]
Also, the structured document entity before input is saved as a comparison target structured document entity, and the difference between the structured document entities is edited as a comparison portion by comparing the comparison target structured document entity with the structured document entity being input. There is a structured document editing part extracting step for extracting, and a structured document editing part highlighting step for adding the second highlight character control code to the editing part. Based on the data created in the document edit location highlighting step, the edit location is highlighted on the structured document display screen. Therefore, the changed part is highlighted and displayed, and the document input person and the document confirmer can easily grasp the changed part of any two structured documents. Furthermore, since the document manager defines the structured document to be compared according to the business, the document input person can easily grasp the editing portion by distinguishing it.
[0096]
Also, the structure document entity to be input and the version immediately before or the specified version of the structured document entity to be referenced are stored as a comparison target structured document entity, and the comparison target structured document entity and the structured document entity to be input are referred to. A structured document revision location extraction step for extracting a difference between structured document entities as a revised location by comparing the structured document entity, and a structured document revision that adds a third highlight character control code to the revised location A structured document change location display step that highlights and displays the revised location on the structured document display screen based on the creation data of the structured document revised location enhancement display step. Therefore, the changed part is highlighted and displayed, and the document input person and the document confirmer can easily grasp the changed part of any two structured documents. Furthermore, since the document manager defines the structured document to be compared according to the business, the document checker can easily grasp the revised portion by distinguishing it.
[0097]
Also,Create / change data of a shared structured document entity in which data is shared with the structured document entity and the correspondence between elements is specified with the shared structured document entity.Along with the creation or modification of the above structured document entitymake,In addition, there is a shared structured document change step for creating structured document entity creation / change data as the shared structured document entity is created or changed. Based on this, the related items of the structured document entity and the shared structured document entity are changed. Therefore, the document administrator specifies the correspondence between the structured document and other structured documents according to the business, and when a certain structured document is changed, refers to the other structured document shared with it. Other users can refer to results reflecting changes in the original structured document.
[Brief description of the drawings]
FIG. 1 is a diagram illustrating an example of a processing operation of a structured document processing method according to a first embodiment of the present invention.
FIG. 2 is a diagram illustrating an example of a processing operation of a structured document processing method according to a second embodiment of the present invention.
FIG. 3 is a diagram illustrating an example of a processing operation of a structured document processing method according to a third embodiment of the present invention.
FIG. 4 is a diagram showing an example of a processing operation of a structured document processing method according to a fourth embodiment of the present invention.
FIG. 5 is a diagram illustrating an example of a processing operation of a structured document processing method according to a fifth embodiment of the present invention.
FIG. 6 is a diagram showing an example of a processing operation of a structured document processing method according to a fifth embodiment of the present invention.
FIG. 7 is a diagram showing an example of a processing operation of a structured document processing method according to a sixth embodiment of the present invention.
FIG. 8 is a diagram showing an example of a processing operation of a structured document processing method according to a sixth embodiment of the present invention.
FIG. 9 is a diagram illustrating an example of a processing operation of a structured document processing method according to a sixth embodiment of the present invention.
FIG. 10 is a diagram illustrating an example of a processing operation of a structured document processing method according to a seventh embodiment of the present invention.
FIG. 11 is a diagram illustrating an example of a processing operation of a structured document processing method according to a seventh embodiment of the present invention.
FIG. 12 is a diagram showing an example of processing operation of the structured document processing method according to the seventh embodiment of the present invention;
FIG. 13 is a diagram illustrating an example of a processing operation of a structured document processing method according to an eighth embodiment of the present invention.
FIG. 14 is a diagram illustrating an example of a processing operation of a structured document processing method according to an eighth embodiment of the present invention.
FIG. 15 is a diagram illustrating an example of document type definition according to the first embodiment, the second embodiment, the third embodiment, the fourth embodiment, the fifth embodiment, the sixth embodiment, and the seventh embodiment of the present invention; It is.
FIG. 16 is a diagram showing an example of a structured document input screen according to the first embodiment of the present invention.
FIG. 17 is a diagram showing an example of a structured document entity according to the first embodiment, the seventh embodiment, and the eighth embodiment of the present invention;
18 is a diagram showing an example of a structured document entity according to the embodiment of the present invention and Embodiment 7. FIG.
FIG. 19 is a diagram showing an example of a structured document display screen according to the first embodiment and the seventh embodiment of the present invention.
FIG. 20 is a diagram showing an example of a shared structured document entity according to the first embodiment and the eighth embodiment of the present invention.
FIG. 21 is a diagram showing an example of document structure element content definition according to the second embodiment of the present invention.
FIG. 22 is a diagram showing an example of a structured document input screen according to the second embodiment of the present invention.
FIG. 23 is a diagram showing an example of an interactive interface for designating a relative positional relationship between elements according to the third embodiment of the present invention.
FIG. 24 is a diagram illustrating a description example of a relative positional relationship between elements according to the third embodiment of the present invention.
FIG. 25 is a diagram showing an example of a structured document input screen according to the third embodiment of the present invention.
FIG. 26 is a diagram showing an example of an interactive interface for designating element selection values according to the fourth embodiment of the present invention.
FIG. 27 is a diagram illustrating a description example of element selection values according to the fourth embodiment of the present invention.
FIG. 28 is a diagram showing an example of a structured document input screen according to the fourth embodiment of the present invention.
FIG. 29 is a diagram showing an example of an interactive interface for designating a repetition number and a repetition direction according to the fifth embodiment of the present invention.
FIG. 30 is a diagram showing an example of a structured document input screen according to the fifth embodiment of the present invention;
FIG. 31 is a diagram showing a description example of element constraints according to the sixth embodiment of the present invention.
FIG. 32 is a diagram illustrating a description example of inter-element constraints according to the sixth embodiment of the present invention.
FIG. 33 is a diagram showing a display example of a message due to an element constraint violation according to the sixth embodiment of the present invention.
FIG. 34 is a diagram showing a display example of a message due to an element constraint violation according to the sixth embodiment of the present invention.
FIG. 35 is a diagram illustrating a description example of element discrete value constraints according to Embodiment 6 of the present invention;
FIG. 36 is a diagram showing a display example of a dialog message due to element discrete value constraint violation according to the sixth embodiment of the present invention;
[Explanation of symbols]
1 structured document input step, 2 structured document input value check step, 3 structured document change location display step, 4 shared structured document linkage step, 5 document type definition, 6 structured document input screen, 7 structured document Input value, 8 structured document entity, 9 comparison target structured document entity, 10 structured document display screen, 11 shared structured document entity, 12 structured document generation finite automaton creation step, 13 structured document input screen generation step, 14 structured document creation step, 15 structured document generation finite automaton, 16 element relative positional relationship designation step, 17 element relative positional relationship storage step, 18 element input position relative positioning step, 19 element relative positional relationship, 20 element Selection value designation step, 21 element selection value storage step, 2 Element selection value candidate creation step, 23 element selection value, 24 element repetition number designation step, 25 element repetition number storage step, 26 repetition element creation step, 27 element repetition number, 28 element repetition direction designation step, 29 element repetition direction storage step 30 element repetition element placement step, 31 element repetition direction, 32 element constraint designation step, 33 element constraint storage step, 34 element constraint check step, 35 element constraint, 36 interelement constraint designation step, 37 interelement constraint storage step, 38 Inter-element constraint check step, 39 Inter-element constraint, 40-element discrete value constraint specification step, 41-element discrete value constraint storage step, 42-element discrete value correction step, 43-element discrete value constraint, 44 Structured sentence Document change location extraction step, 45 structured document change location highlighting step, 46 structured document edit location extraction step, 47 structured document edit location highlighting step, 48 structured document revision location extraction step, 49 structured document revision location Highlighting step, 50 Shared structured document designation step, 51 Structured document element correspondence designation step, 52 Structured document element content correspondence designation step, 53 Shared structured document modification step, 54 Shared NDATA entity, 55 Shared NDATA designation 56, a shared NDATA correspondence specifying step, 57 a shared NDATA changing step.

Claims (13)

構造を持った構造化文書を処理する構造化文書処理方法において、
文書型定義を基に構造化文書入力画面を生成し、該構造化文書入力画面から入力された構造化文書入力値から構造化文書実体を作成する構造化文書入力ステップと、
上記構造化文書入力画面から入力された構造化文書入力値が、予め設定された制約条件を満たしているかをチェックする構造化文書入力値チェックステップと、
上記構造化文書実体と予め用意された比較対象構造化文書実体とを比較することにより構造化文書実体の変更箇所を区別して表示する構造化文書変更箇所表示ステップと、
上記構造化文書実体が作成または変更された場合に、他の利用者と共有する共有構造化文書の関連する項目を変更する共有構造化文書間連携ステップと
上記構造化文書実体とデータ共有するが構造化文書形式ではなく、上記構造化文書実体との間の対応関係が指定された共有 NDATA 実体を、上記構造化文書実体の作成または変更に伴って作成または変更し、該共有 NDATA 実体の作成または変更にしたがって該構造化文書実体を作成または変更する共有 NDATA 変更ステップと
を備えたことを特徴とする構造化文書処理方法。
In a structured document processing method for processing a structured document having a structure ,
A structured document input step for generating a structured document input screen based on the document type definition and creating a structured document entity from the structured document input value input from the structured document input screen;
A structured document input value check step for checking whether the structured document input value input from the structured document input screen satisfies a preset constraint;
A structured document change location display step for distinguishing and displaying a change location of the structured document entity by comparing the structured document entity with a comparison target structured document entity prepared in advance;
A shared structured document interlinking step for changing related items of the shared structured document shared with other users when the structured document entity is created or changed ;
Create a shared NDATA entity that shares data with the structured document entity but is not in a structured document format and that specifies the corresponding relationship with the structured document entity as the structured document entity is created or changed or changed, the structured document processing method characterized by comprising a <br/> shared NDATA changing step of creating or modifying the structured document entity according creating or modifying the shared NDATA entity.
上記構造化文書入力ステップは、文書型定義、または文書型定義と構造化文書実体とから構造化文書生成有限オートマトンを作成する構造化文書生成有限オートマトン作成ステップと、
上記構造化文書生成有限オートマトンの順をたどることにより、上記構造化文書入力画面を生成する構造化文書入力画面生成ステップと、
上記構造化文書入力画面に入力された構造化文書入力値から構造化文書実体を作成する構造化文書作成ステップと
を有することを特徴とする請求項1記載の構造化文書処理方法。
The structured document input step includes a document type definition or a structured document generation finite automaton creation step for creating a structured document generation finite automaton from a document type definition and a structured document entity;
A structured document input screen generation step for generating the structured document input screen by following the order of the structured document generation finite automaton;
2. The structured document processing method according to claim 1, further comprising a structured document creation step of creating a structured document entity from the structured document input value input on the structured document input screen.
上記構造化文書入力画面から指定された要素間相対位置関係を記憶する要素間相対位置関係記憶ステップと、
上記要素間相対位置関係を読み出し、該要素間相対位置関係に従って構造化文書入力画面の要素入力位置配置データを作成する要素入力位置相対配置ステップと有し、
上記構造化文書入力画面生成ステップは、上記要素入力位置配置データを基に、上記構造化文書入力画面を生成する
ことを特徴とする請求項2に記載の構造化文書処理方法。
An inter-element relative positional relationship storage step for storing the relative positional relationship between elements designated from the structured document input screen ;
An element input position relative arrangement step of reading the element relative position relation and creating element input position arrangement data of the structured document input screen according to the element relative position relation;
3. The structured document processing method according to claim 2, wherein the structured document input screen generating step generates the structured document input screen based on the element input position arrangement data.
上記構造化文書入力画面から予め指定された要素選択値を記憶する要素選択値記憶ステップと、
上記要素選択値に従い構造化文書入力画面の要素選択値候補を作成する要素選択値候補作成ステップとを有し、
上記構造化文書入力画面生成ステップは、上記要素選択値候補を含む上記構造化文書入力画面を生成する
ことを特徴とする請求項2に記載の構造化文書処理方法。
An element selection value storage step for storing an element selection value designated in advance from the structured document input screen ;
An element selection value candidate creation step for creating an element selection value candidate for the structured document input screen according to the element selection value,
3. The structured document processing method according to claim 2, wherein the structured document input screen generating step generates the structured document input screen including the element selection value candidates.
上記構造化文書入力画面から予め指定された要素繰り返し数を記憶する要素繰り返し数記憶ステップと、
要素繰り返し数に従い構造化文書入力画面の繰り返し要素を作成する繰り返し要素作成ステップとを有し、
上記構造化文書入力画面生成ステップは、上記繰り返し要素を含む上記構造化文書入力画面を生成する
ことを特徴とする請求項2に記載の構造化文書処理方法。
An element repetition number storage step for storing an element repetition number designated in advance from the structured document input screen ;
A repeating element creation step for creating a repeating element of the structured document input screen according to the number of element repetitions,
3. The structured document processing method according to claim 2, wherein the structured document input screen generation step generates the structured document input screen including the repetitive element.
指定された上記繰り返し要素の配置方向である要素繰り返し方向を記憶する要素繰り返し方向記憶ステップと、
上記繰り返し要素を要素繰り返し方向に配置する要素繰り返し要素配置ステップとを有し、
上記構造化文書入力画面生成ステップは、上記繰り返し要素を含む上記構造化文書入力画面を生成する
ことを特徴とする請求項5に記載の構造化文書処理方法。
And elements repeat direction storage step of storing the elements repeatedly in a certain direction in the specified orientation of the repeating element,
An element repeating element arranging step of arranging the repeating element in an element repeating direction,
6. The structured document processing method according to claim 5, wherein the structured document input screen generating step generates the structured document input screen including the repetitive element.
予め指定された上記構造化文書実体における要素制約を記憶する要素制約記憶ステップと、
上記構造化文書入力ステップにて、構造化文書入力画面に入力された上記構造化文書入力値が、上記要素制約を満たしているかチェックする要素制約チェックステップと
を有することを特徴とする請求項1記載の構造化文書処理方法。
And element constraint storage step of storing the elements constrained in a pre-specified the structured document entity,
2. The element constraint check step of checking whether the structured document input value input to the structured document input screen in the structured document input step satisfies the element constraint. The structured document processing method described.
予め指定された上記構造化文書実体における複数要素の要素間制約を記憶する要素間制約記憶ステップと、
上記構造化文書入力ステップにて構造化文書入力画面に入力された構造化文書入力値が、上記要素間制約を満たしているかチェックする要素間制約チェックステップと
有することを特徴とする請求項7記載の構造化文書処理方法。
An inter-element constraint storage step for storing inter-element constraints of a plurality of elements in the structured document entity designated in advance ;
An inter-element constraint check step for checking whether the structured document input value input on the structured document input screen in the structured document input step satisfies the inter-element constraint;
Structured document processing method according to claim 7, wherein a.
予め指定された上記構造化文書実体における要素の要素離散値制約を記憶する要素離散値制約記憶ステップと、
上記構造化文書入力ステップにて、構造化文書入力画面に入力された構造化文書入力値を、上記要素離散値制約を満たす最も近い値に補正する要素離散値補正ステップと
有することを特徴とする請求項7記載の構造化文書処理方法。
An element discrete value constraint storing step for storing element discrete value constraints of elements in the structured document entity designated in advance ;
An element discrete value correction step for correcting the structured document input value input to the structured document input screen in the structured document input step to the nearest value satisfying the element discrete value constraint;
Structured document processing method according to claim 7, wherein a.
上記構造化文書実体と上記比較対象構造化文書実体とを比較することにより上記構造化文書実体の差分を抽出する構造化文書変更箇所抽出ステップと、
上記差分に第1の強調表示用文字制御コードを付加する構造化文書変更箇所強調表示ステップと有し、
上記構造化文書変更箇所表示ステップは、構造化文書変更箇所強調表示ステップの作成データを基に上記差分を上記構造化文書表示画面に強調して表示する
ことを特徴とする請求項1記載の構造化文書処理方法。
A structured document change location extraction step for extracting a difference between the structured document entities by comparing the structured document entity with the comparison target structured document entity;
A structured document change location highlighting step of adding a first highlighting character control code to the difference,
2. The structure according to claim 1, wherein the structured document change location display step highlights and displays the difference on the structured document display screen based on the data generated in the structured document change location highlighting step. Document processing method.
入力前の構造化文書実体を上記比較対象構造化文書実体として保存し、該比較対象構造化文書実体と入力中の構造化文書実体とを比較することにより構造化文書実体の差分を編集箇所として抽出する構造化文書編集箇所抽出ステップと、
上記編集箇所に第2の強調表示用文字制御コードを付加する構造化文書編集箇所強調表示ステップとを有し、
上記構造化文書変更箇所表示ステップは、構造化文書編集箇所強調表示ステップの作成データを基に上記編集箇所を上記構造化文書表示画面に強調して表示する
ことを特徴とする請求項10記載の構造化文書処理方法。
The structured document entity before input is stored as the above-mentioned comparison target structured document entity, and the difference between the structured document entities is edited as a comparison portion by comparing the compared structured document entity with the structured document entity being input. A step of extracting a structured document editing part to be extracted
A structured document editing part highlighting step for adding a second highlight character control code to the editing part,
11. The structured document change location display step emphasizes and displays the edited location on the structured document display screen based on the creation data of the structured document edit location highlighting step. Structured document processing method.
入力する構造化文書実体および参照する構造化文書実体の直前の版または指定した版を比較対象構造化文書実体として保存し、該比較対象構造化文書実体と入力する構造化文書実体および参照する構造化文書実体とを比較することにより構造化文書実体の差分を改定箇所として抽出する構造化文書改定箇所抽出ステップと、
上記改定箇所に第3の強調表示用文字制御コードを付加する構造化文書改定箇所強調表示ステップとを有し、
上記構造化文書変更箇所表示ステップは、構造化文書改定箇所強調表示ステップの作成データを基に上記改定箇所を上記構造化文書表示画面に強調して表示する
ことを特徴とする請求項10記載の構造化文書処理方法。
The structured document entity to be input and the immediately preceding version or the specified version of the referenced structured document entity are stored as a comparison-target structured document entity, and the structured document entity to be input and the structure to be referenced A structured document revision location extraction step for extracting a difference of the structured document entity as a revision location by comparing with the structured document entity;
A structured document revision location highlighting step for adding a third highlight character control code to the revision location,
11. The structured document change location display step highlights and displays the revised location on the structured document display screen based on the creation data of the structured document revision location highlighting step. Structured document processing method.
上記構造化文書実体とデータを共有するとともに上記構造化文書実体との間の要素間の対応関係が指定された共有構造化文書実体の作成・変更データを、上記構造化文書実体の作成または変更に伴って作成し、また該共有構造化文書実体の作成または変更に伴って、該構造化文書実体の作成・変更データを作成する共有構造化文書変更ステップを有し、
上記共有構造化文書間連携ステップは、上記作成・変更データに基づいて、上記構造化文書実体および共有構造化文書実体の関連する項目を変更する
ことを特徴とする請求項1記載の構造化文書処理方法。
Create / change shared shared document entity data that shares data with the structured document entity and that specifies the correspondence between elements between the structured document entity and create or change the structured document entity created with the, also with the creation or modification of the shared structured document entity has a shared structured document changing step of creating a creation or change data in the structured document entity,
2. The structured document according to claim 1, wherein the shared structured document interlinking step changes items related to the structured document entity and the shared structured document entity based on the creation / change data. Processing method.
JP14617298A 1998-05-27 1998-05-27 Structured document processing method Expired - Fee Related JP3619015B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14617298A JP3619015B2 (en) 1998-05-27 1998-05-27 Structured document processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14617298A JP3619015B2 (en) 1998-05-27 1998-05-27 Structured document processing method

Publications (2)

Publication Number Publication Date
JPH11338861A JPH11338861A (en) 1999-12-10
JP3619015B2 true JP3619015B2 (en) 2005-02-09

Family

ID=15401773

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14617298A Expired - Fee Related JP3619015B2 (en) 1998-05-27 1998-05-27 Structured document processing method

Country Status (1)

Country Link
JP (1) JP3619015B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002149907A (en) * 2000-11-07 2002-05-24 Fujitsu Fip Corp Performance evaluation support system, performance evaluation support server, and performance evaluation support method
JP2003085165A (en) * 2001-09-10 2003-03-20 Toshiba Corp Forming method for information forming means, program and device, and information forming method, program and device
JPWO2007132565A1 (en) * 2006-05-15 2009-09-24 株式会社ジャストシステム Data processing apparatus and data processing method
JP5630863B2 (en) 2010-11-26 2014-11-26 インターナショナル・ビジネス・マシーンズ・コーポレーションInternational Business Machines Corporation Method, apparatus, and computer program for determining and visualizing total order relation of nodes included in structured document based on log information

Also Published As

Publication number Publication date
JPH11338861A (en) 1999-12-10

Similar Documents

Publication Publication Date Title
US7366729B2 (en) Schema framework and a method and apparatus for normalizing schema
US7991805B2 (en) System for viewing and indexing mark up language messages, forms and documents
US7168035B1 (en) Building a view on markup language data through a set of components
CN101263490B (en) For providing the method and system of direct style sheet editing
US7415672B1 (en) System and method for designing electronic forms
US7676756B2 (en) Mapping tool graphical user interface
JP4267336B2 (en) Method, system and program for generating structure pattern candidates
US10956660B2 (en) Automatically converting text to business graphics
JPWO2005098663A1 (en) Information management device
US20070198915A1 (en) Document Processing Device And Document Processing Method
EP1768034A1 (en) Document processing device and document processing method
JPH07239850A (en) Structured document preparation supporting system
JP3619015B2 (en) Structured document processing method
JP2010039751A (en) Software development system
US20100138735A1 (en) Document processing device
EP1744271A1 (en) Document processing device
JP2001344230A (en) Device and method for generating multimedia document, and recording medium with program for allowing computer to execute the method recorded thereon
US20090199084A1 (en) Document processing device and document processing method
EP1816572A1 (en) Time sharing managing device, document creating device, document reading device, time sharing managing method, document creating method, and document reading method
US7613709B2 (en) System and method for editing operations of a text object model
JP2001273125A (en) Method and system for automatically generating source program, and program recording medium therefor
JP3454987B2 (en) Document editing apparatus and method
Aitken Powering Office 2003 with XML
Terry Paperless: Real-World Solutions with Adobe Technology
JPH04199226A (en) Selecting and actuating method for tool

Legal Events

Date Code Title Description
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: 20041109

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20041111

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20071119

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20081119

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20081119

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20091119

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20091119

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20101119

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20111119

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20121119

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20121119

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20131119

Year of fee payment: 9

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees