JP2004318897A - Editing support method using database and recording medium with program thereof recorded - Google Patents

Editing support method using database and recording medium with program thereof recorded Download PDF

Info

Publication number
JP2004318897A
JP2004318897A JP2004148571A JP2004148571A JP2004318897A JP 2004318897 A JP2004318897 A JP 2004318897A JP 2004148571 A JP2004148571 A JP 2004148571A JP 2004148571 A JP2004148571 A JP 2004148571A JP 2004318897 A JP2004318897 A JP 2004318897A
Authority
JP
Japan
Prior art keywords
data
database
referenced
read
document
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2004148571A
Other languages
Japanese (ja)
Inventor
Yoshitomo Watanabe
佳友 渡辺
Takeo Yamaguchi
武雄 山口
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co Ltd
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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP2004148571A priority Critical patent/JP2004318897A/en
Publication of JP2004318897A publication Critical patent/JP2004318897A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide an editing support system using a database that facilitates the observation of a changed portion in a document resulting from data update in a database. <P>SOLUTION: By an editing support method using a database, when a database check direction is inputted for input data to be edited, document creation control means 8, based on metadata indicating the position in a database of referenced data recorded in the data to be edited, read the data in the position indicated by the metadata from an item database 5, determine whether the referenced data in the database and object data in the data to be edited are the same, and if they are different, display both of them to ask the selection of the data, and capture the selected data as new referenced data in the data to be edited. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

この発明は、データベースを利用した文書等の編集支援システムであり、特にそのデータベース管理及び編集方法等に関するものである。   The present invention relates to a document editing support system using a database, and more particularly to a database management and editing method thereof.

近年、コンピュータによる編集支援が行われている。例えば文書作成における卓上出版(以下、DTP(Desk Top Publishing )という)が代表的なものである(以下、最も一般的なDTPについて、代表して述べる)。このようなコンピュータによる文書の編集支援では、文書作成ツール(ソフト)で作成される文書データだけでなく、コンピュータ又はそのコンピュータとネットワークで接続されているコンピュータ内のデータベース等に記憶されているデータを文書内に取り込むOLE(Object Linking and Embedding)が一般的に行われ、文書作成に幅を持たせている。このOLEではそれぞれのデータとそのデータを参照した文書の編集部分とがリンク(対応付け)され、データの更新を行えば、文書中のデータも変更されるようになっている。   In recent years, computer-based editing support has been provided. For example, desktop publishing (hereinafter referred to as DTP (Desk Top Publishing)) in document creation is a typical example (hereinafter, the most common DTP will be described as a representative). Such document editing support by a computer includes not only document data created by a document creation tool (software) but also data stored in a database in a computer or a computer connected to the computer via a network. OLE (Object Linking and Embedding) to be incorporated into a document is generally performed, so that the document creation has a wide range. In this OLE, each piece of data is linked (correlated) with the edited part of the document that refers to the data, and when the data is updated, the data in the document is also changed.

しかし、このような編集支援システムでは、データベース中の更新したデータを、どの文書のどの箇所が参照しているかを特定することが困難である。更新したデータにもとづいて、文書、文書中のデータの参照箇所を探すには、テキスト検索を行うことが考えられるが、大量の文書を検索することはかなりの時間を必要とし、また単なるテキスト検索では精度が低いため、検索漏れや誤検索が発生するおそれがあり、実用には耐えられない。   However, in such an editing support system, it is difficult to specify which part of which document refers to the updated data in the database. A text search can be used to find a document or a reference to data in the document based on the updated data.However, searching a large number of documents requires a considerable amount of time. However, since the accuracy is low, there is a possibility that search omission or erroneous search may occur, which is not practical.

また、データベース中のデータを更新した場合、文書中の参照箇所のデータが全て更新したデータに変更されてしまうので、例えば文書によっては変更を見送りたい場合に対応できない。それに変更前のデータに対してユーザが行っていたデータの表現形式(例えば、データが数値の場合における有効数字の設定、複数カラムの設定等)が、変更後のデータには無効となるため、再度設定を必要とし、編集に自由度がなくなる。   Further, when the data in the database is updated, all the data at the reference location in the document is changed to the updated data, so that it is not possible to cope, for example, when it is desired to postpone the change depending on the document. In addition, the representation format of the data that the user has performed on the data before the change (for example, setting of significant figures when the data is a numerical value, setting of a plurality of columns, etc.) becomes invalid for the data after the change, The setting needs to be set again, and the degree of freedom in editing is lost.

さらに、文書中の参照箇所が更新されたデータに変更され、例えば、以前のデータに戻そうと編集しようとしても、文書中の参照箇所を探し出すのは困難である。また、参照箇所のデータのうち、編集すべきデータを編集し、そのままにしておくべきデータをそのままにしておいたかどうかを確認するのが困難である。   Furthermore, the reference point in the document is changed to the updated data. For example, even if an attempt is made to edit to return to the previous data, it is difficult to find the reference point in the document. In addition, it is difficult to edit the data to be edited among the data at the reference location, and to confirm whether the data to be kept is kept as it is.

そこで、データベース中のデータ更新に伴う文書中の変更箇所を認識しやすく、また、参照箇所について、編集したかどうかを把握しやすいデータベースを利用した編集支援システムの実現が望まれていた。   Therefore, it has been desired to realize an editing support system using a database in which it is easy to recognize a changed portion in a document due to updating of data in a database and to easily determine whether or not a reference portion has been edited.

本発明に係る、データベースに記憶されているデータを参照して、参照したデータを編集対象データ中に取り込んで編集を行うデータベースを利用した編集支援方法では、編集対象データを入力する工程と、データベース確認指示が入力されると、編集対象データ中に記録された、参照したデータのデータベース内での位置を表すメタデータに基づいて、そのメタデータが表す位置のデータをデータベースから読み込む工程と、データベースから読み込んだデータと参照したデータとが同一であるかどうかを判断する工程と、データベースから読み込んだデータと参照したデータとが異なっている場合、データベースから読み込んだデータと参照したデータとを両方表示し、データの選択を促す工程と、選択されたデータを、新たな参照したデータとして編集対象データに取り込む工程とを有している。   According to the present invention, with reference to data stored in a database, an editing support method using a database that performs editing by capturing the referenced data in the data to be edited includes a step of inputting the data to be edited, When the confirmation instruction is input, based on the metadata recorded in the data to be edited and representing the position of the referenced data in the database, reading the data at the position represented by the metadata from the database; and Determines whether the data read from the database is the same as the referenced data, and if the data read from the database is different from the referenced data, displays both the data read from the database and the referenced data The process of prompting the user to select data and the newly referenced data And a step of capturing the edited data as over data.

本発明においては、編集対象データを入力した後にデータベース確認指示が入力されると、編集対象データ中に記録された、参照したデータのテーブル名、カラム名及び行番号からなるメタデータに基づいて、そのメタデータが表す位置に記憶されているデータをデータベースから読み込む。データベースから読み込んだデータと文書内に取り込まれた参照したデータとが同一であるかどうかを判断する。データベース内のデータの更新がなければ、データは同一なものであるが、データベースから読み込んだデータと参照したデータとが異なっている場合、データベースから読み込んだデータと参照したデータとを両方表示し、オペレータにデータの選択を促す。オペレータにより選択されたデータを、新たな参照したデータとして文書に取り込み、データベース中のデータの更新にともない、文書内の参照箇所のデータを自動的に変更されることを防ぎ、ユーザの選択による自由な編集を行う。   In the present invention, when a database confirmation instruction is input after inputting the data to be edited, the data recorded in the data to be edited, based on the metadata including the table name, column name, and row number of the referenced data, The data stored at the position represented by the metadata is read from the database. It is determined whether the data read from the database is the same as the referenced data taken into the document. If the data in the database is not updated, the data is the same, but if the data read from the database is different from the referenced data, both the data read from the database and the referenced data are displayed, Prompt the operator to select data. The data selected by the operator is imported into the document as new referenced data, and the data at the reference location in the document is prevented from being automatically changed when the data in the database is updated. Make edits.

また、本発明に係る、データベースに記憶されているデータを参照して、その参照したデータを編集対象データ中に取り込んで編集を行うデータベースを利用した編集支援を行うための記録媒体は、編集対象データが入力され、データベース確認指示が入力されると、編集対象データ中に記録された、参照したデータのデータベース内での位置を表すメタデータに基づいて、そのメタデータが表す位置のデータをデータベースから読み込ませ、データベースから読み込んだデータと参照したデータとが同一であるかどうかを判断させ、データベースから読み込んだデータと参照したデータとが異なっている場合、データベースから読み込んだデータと参照したデータとを両方表示させ、データの選択を促させて、選択されたデータを、新たな参照したデータとして編集対象データに取り込ませることをコンピュータに行わせるプログラムを記録したものである。   Further, according to the present invention, a recording medium for providing editing support using a database that performs editing by referring to data stored in a database and incorporating the referenced data into data to be edited is a recording medium for editing. When the data is input and the database confirmation instruction is input, the data at the position represented by the metadata is stored in the database based on the metadata recorded in the data to be edited and representing the position of the referenced data in the database. From the database and determine whether the data read from the database and the referenced data are the same.If the data read from the database is different from the referenced data, the data read from the database and the referenced data are Is displayed to prompt the user to select data, and the selected data is It is obtained by recording a program for causing a computer to be incorporated into the edited data as irradiation data.

本発明においては、編集対象データを入力した後にデータベース確認指示が入力されると、編集対象データ中に記録された、参照したデータのテーブル名、カラム名及び行番号からなるメタデータに基づいて、そのメタデータが表す位置に記憶されているデータをデータベースから読み込ませる。データベースから読み込んだデータと参照したデータとが同一であるかどうかを判断させる。データベース内のデータの更新がなければ、データは同一なものであるが、データベースから読み込んだデータと参照したデータとが異なっている場合、データベースから読み込んだデータと参照したデータとを両方表示し、オペレータにデータの選択を促す。オペレータにより選択されたデータを、新たな参照したデータとして文書等の編集対象データに取り込まる。以上の動作をコンピュータ等の制御手段に行わせ、データベース中のデータの更新にともない、そのデータを自動的に変更されることを防ぎ、オペレータの選択による自由な編集を行う。   In the present invention, when a database confirmation instruction is input after inputting the data to be edited, the data recorded in the data to be edited, based on the metadata including the table name, column name, and row number of the referenced data, The data stored at the position represented by the metadata is read from the database. A determination is made as to whether the data read from the database and the referenced data are the same. If the data in the database is not updated, the data is the same, but if the data read from the database is different from the referenced data, both the data read from the database and the referenced data are displayed, Prompt the operator to select data. The data selected by the operator is imported into the data to be edited, such as a document, as new referenced data. The above operation is performed by a control means such as a computer to prevent the data from being automatically changed when the data in the database is updated, and to perform free editing by the selection of the operator.

以上のように本発明によれば、データベースから読み込んだデータと取り込まれた参照したデータとが同一であるかどうかを判断し、異なっている場合、データベースから読み込んだデータと参照したデータとを両方表示し、オペレータにデータの選択を促して、選択されたデータを、新たな参照したデータとして編集データに取り込むようにしたので、オペレータの意思でその編集物に応じたデータの編集を容易に行うことができ、自由度の高い編集を行うことができる。   As described above, according to the present invention, it is determined whether the data read from the database and the read reference data are the same, and if different, both the data read from the database and the referenced data are determined. The data is displayed and the operator is prompted to select the data, and the selected data is taken into the edited data as new referenced data, so that the operator can easily edit the data according to the edited material at his will. Editing with a high degree of freedom.

実施形態1.
図1は本発明の第1の実施の形態に係るデータベースを利用した編集支援システムのブロック図である。1はデータベース制御手段(以下、DB制御手段という)である。DB制御手段1は、入力信号に基づいて、データベース入力データ(以下、DB入力データという)の新規作成、更新又は削除(特に断りのない限り、これらの処理をまとめて更新等ということにする)の処理を行い、諸元データベース5に保存する。また、更新等を行ったDB入力データのテーブル名、カラム名及び行番号からなるメタデータ(以下、ログデータという)をログデータベース6に記録保存させる処理を行い、ログデータと検索情報データベース7に保存されたデータとを比較して、その比較結果を比較結果記録部4に記録する処理を行う。さらに、以上の処理状況等を、データベース表示手段3に表示させるために、データベース表示手段3にデータベース表示データ(以下、DB表示データという)を送信する。2は例えばキーボード等で構成されるデータベース入力手段(以下、DB入力手段という)である。指示、DB入力データ等がユーザ(以下、DBオペレータという)から入力されると、その指示、DB入力データ等に対応した入力信号をDB制御手段1に送信する。3は例えばCRT、液晶ディスプレイ等で構成されるデータベース表示手段(以下、DB表示手段という)である。DB表示手段3は、DB制御手段1から送信されるDB表示データに基づいた文字、画像を表示する。4は比較結果記録部であり、DB制御手段1が出力した比較結果(更新等されたDB入力データ、そのDB入力データを参照する文書の文書ファイル名、参照箇所等のデータ)を比較結果データとして記憶、印字保存等を行う。
Embodiment 1 FIG.
FIG. 1 is a block diagram of an editing support system using a database according to the first embodiment of the present invention. Reference numeral 1 denotes a database control unit (hereinafter, referred to as a DB control unit). The DB control means 1 newly creates, updates, or deletes database input data (hereinafter, referred to as DB input data) based on an input signal (unless otherwise specified, these processes are collectively referred to as updating, etc.). And saves it in the specification database 5. Further, a process of recording and storing metadata (hereinafter, referred to as log data) including a table name, a column name, and a line number of updated DB input data in the log database 6 is performed. A process of comparing the stored data with the stored data and recording the comparison result in the comparison result recording unit 4 is performed. Further, in order to cause the database display means 3 to display the above processing status and the like, database display data (hereinafter, referred to as DB display data) is transmitted to the database display means 3. Reference numeral 2 denotes database input means (hereinafter, referred to as DB input means) including a keyboard or the like. When an instruction, DB input data, or the like is input from a user (hereinafter, referred to as a DB operator), an input signal corresponding to the instruction, DB input data, or the like is transmitted to the DB control unit 1. Reference numeral 3 denotes a database display unit (hereinafter, referred to as a DB display unit) including a CRT, a liquid crystal display, and the like. The DB display unit 3 displays characters and images based on the DB display data transmitted from the DB control unit 1. Reference numeral 4 denotes a comparison result recording unit, which stores comparison results (data such as updated DB input data, a document file name of a document that refers to the DB input data, a reference location, etc.) output by the DB control unit 1 as comparison result data. And print and save.

5は諸元データベースである。本実施の形態及び後述する実施の形態では、諸元データベース5は複数のテーブルを記憶したリレーショナルデータベースとして構成されているものとする。テーブル、カラム及び行(各セル単位)毎に記憶されているDB入力データが、文書作成の際に参照され、取り込まれる。6はログデータベースであり、前述したように、更新されたDB入力データのログデータが記憶される。7は検索情報データベースであり、文書識別子と参照データとを対応させて記憶するリレーショナルデータベースである。ここで参照データとは、作成された文書において、参照されたDB入力データのテーブル名、カラム名及び行番号のメタデータのことである。また文書識別子とは、DB入力データを参照している文書のフォルダ名、ファイル名、参照箇所のページ番号データ等、文書中の参照箇所を識別するためのメタデータで構成されたものである。   5 is a specification database. In the present embodiment and the embodiment described later, the specification database 5 is assumed to be configured as a relational database storing a plurality of tables. DB input data stored for each table, column, and row (each cell) is referred to and taken in at the time of document creation. Reference numeral 6 denotes a log database which stores log data of the updated DB input data, as described above. Reference numeral 7 denotes a search information database, which is a relational database that stores a document identifier and reference data in association with each other. Here, the reference data refers to the metadata of the table name, column name, and line number of the DB input data referred to in the created document. The document identifier is composed of metadata for identifying the reference location in the document, such as the folder name, file name, and page number data of the reference location of the document referencing the DB input data.

8は文書作成制御手段であり、文書作成の際の文書作成制御を行う。文書作成時にデータベース参照指示を示す入力信号が文書作成入力手段9から入力されると、DB入力データを諸元データベース5から参照し、取り込む(これを文書作成手段7のデータベース取込機能ということにする)。また、作成文書のデータである文書データを文書ファイルとして文書記憶部11に記憶させる。また、文書データ保存時に文書中に取り込んだDB入力データの参照データを文書識別子とリンクさせて検索情報データベース7に記憶させる。さらに、以上の処理状況等を文書作成表示手段10に表示させるために、文書作成表示手段10に文書作成表示データを送信する。9は、例えばキーボード等で構成される文書作成入力手段である。指示、文字データ等がユーザ(以下、文書作成オペレータという)から入力されると、文書作成制御手段8にその指示、文字データ等に対応した入力信号を送信する。10は例えばCRT、液晶ディスプレイ等で構成される文書作成表示手段である。文書作成表示手段10は、文書作成制御手段8から送信される文書作成表示データに基づいて文字、画像を表示する。11は文書記憶部であり、文書ファイルが記憶されている。文書ファイル内に記録されている文書データとは、文書作成表示手段10に表示される文書と同じように表示させるために記録される、少なくとも文字データ、文字制御データ及びフィルタデータで構成されたデータのことである。ここでフィルタデータとは、DB入力データの参照箇所のデータに付加される制御データ(例えば、データが数値の場合の有効数字の設定、複数カラムの設定等の表現形式)である。   Reference numeral 8 denotes a document creation control unit that performs document creation control at the time of document creation. When an input signal indicating a database reference instruction is input from the document creation input means 9 during document creation, the DB input data is referenced from the specification database 5 and captured (this is referred to as a database capture function of the document creation means 7). Do). Further, the document storage unit 11 stores document data, which is data of a created document, as a document file. The reference data of the DB input data taken into the document when the document data is stored is linked to the document identifier and stored in the search information database 7. Further, in order to display the above processing status on the document creation display means 10, the document creation display data is transmitted to the document creation display means 10. Reference numeral 9 denotes a document creation input unit configured by, for example, a keyboard or the like. When an instruction, character data, or the like is input from a user (hereinafter, referred to as a document creation operator), an input signal corresponding to the instruction, character data, or the like is transmitted to the document creation control unit 8. Reference numeral 10 denotes a document creation and display unit including, for example, a CRT, a liquid crystal display, and the like. The document creation display means 10 displays characters and images based on the document creation display data transmitted from the document creation control means 8. A document storage unit 11 stores a document file. The document data recorded in the document file is data composed of at least character data, character control data, and filter data, which are recorded to be displayed in the same manner as a document displayed on the document creation display means 10. That is. Here, the filter data is control data (for example, an expression format such as a setting of a significant figure when the data is a numerical value, a setting of a plurality of columns, etc.) added to data at a reference portion of the DB input data.

図2は第1の実施の形態に係る文書作成制御手段8の検索情報保存機能の動作を表すフローチャートである。文書作成オペレータが文書の作成を終了し、検索情報保存機能を指示すると(S21)、文書作成制御手段8は、文書中に参照したDB入力データのメタデータであるテーブル名データ、カラム名データ及び行番号データを、参照データとして検索情報データベース7に保存すると共に、それに関連させて、少なくともその文書のメタデータであるフォルダ名データ、ファイル名データ、参照箇所のページ番号データを文書識別子として別のテーブルに記憶保存する(S22)。記憶保存が終了すると、文書作成制御手段8は検索情報保存機能の動作を終了させる(S23)。   FIG. 2 is a flowchart showing the operation of the search information storage function of the document creation control means 8 according to the first embodiment. When the document creation operator finishes the creation of the document and instructs the search information storage function (S21), the document creation control means 8 sets the table name data, the column name data, and the metadata of the DB input data referred to in the document. The line number data is stored in the search information database 7 as reference data, and in association therewith, at least the folder name data, file name data, and page number data of the reference location, which are the metadata of the document, are used as different document identifiers. The information is stored in the table (S22). When the storage is completed, the document creation control unit 8 ends the operation of the search information storage function (S23).

図3は第1の実施の形態に係るDB制御手段1を中心とするデータベース管理の動作を表すフローチャートである。図3に基づいて、データベースを利用した編集支援システムのデータベース管理について説明する。   FIG. 3 is a flowchart showing the operation of database management centered on the DB control means 1 according to the first embodiment. The database management of the editing support system using the database will be described with reference to FIG.

DBオペレータからの更新処理指示が入力されると、DB制御手段1は、諸元データベース5のDB入力データ(又は指示されたDB入力データを含むテーブル、カラム等)を読み込み、DB表示手段3に表示させる(S31)。DB制御手段1は、DBオペレータが更新等したい箇所(テーブル、カラム及び行)に入力した新しいDB入力データをDB表示手段3に表示させる(S32)。DBオペレータがDB入力手段2に更新指示を入力すると、その入力信号を受信したDB制御手段1は、更新等されたDB入力データを諸元データベース5に記憶保存させる(S33)。また、更新されたDB入力データのログデータをログデータベース6に記憶保存させる(S34)。   When an update processing instruction is input from the DB operator, the DB control unit 1 reads DB input data of the specification database 5 (or a table, a column, or the like including the specified DB input data), and sends the read data to the DB display unit 3. It is displayed (S31). The DB control means 1 causes the DB display means 3 to display the new DB input data input to the location (table, column, and row) that the DB operator wants to update (S32). When the DB operator inputs an update instruction to the DB input means 2, the DB control means 1 having received the input signal causes the specification database 5 to store and store updated DB input data (S33). Further, the log data of the updated DB input data is stored in the log database 6 (S34).

DB制御手段1は、検索情報データベース7にアクセスして参照データの読み込みを行い、ログデータと参照データとを比較して(S35)、双方のメタデータ(テーブル名データ、カラム名データ及び行番号データ)が一致するかどうかを判断する(S36)。双方のメタデータが一致すれば、更新等した箇所のDB入力データを参照し、取り込んでいる文書が存在しているとして、参照データと関連づけられている文書識別子を読み込む(S37)。双方のメタデータが一致しなければ、更新した箇所のDB入力データを参照している文書が存在しないものとする。   The DB control means 1 accesses the search information database 7, reads the reference data, compares the log data with the reference data (S35), and obtains both metadata (table name data, column name data, and row number). (S36). If the two metadata match, the DB input data at the updated location is referred to, and assuming that the fetched document exists, the document identifier associated with the reference data is read (S37). If the two metadata do not match, it is assumed that there is no document referring to the updated DB input data.

全てのログデータと参照データとの比較が終了すると(S38)、DB制御手段1は、読み込んだ文書識別子及び更新したDB入力データを、DB表示手段3に表示させるとともに、比較結果データとして比較結果記録部4に記憶させる(S39)。比較結果記録部4に記憶された比較結果データは、DBオペレータの指示に応じてプリントアウト等が可能である。   When the comparison between all the log data and the reference data is completed (S38), the DB control unit 1 displays the read document identifier and the updated DB input data on the DB display unit 3, and also displays the comparison result as comparison result data. It is stored in the recording unit 4 (S39). The comparison result data stored in the comparison result recording unit 4 can be printed out or the like in accordance with an instruction of the DB operator.

以上のように第1の実施の形態によれば、DB制御手段1は、ログデータベース6に記憶されたDB入力データのログデータと検索情報データベース7に記憶された参照データとを比較し、双方のメタデータ(テーブル名、カラム名及び行番号)が一致すると、DB入力データを更新した箇所を参照している文書が存在しているとして、その参照データと関連づけられている文書識別子及び参照データをDB表示手段3に表示させるとともに、比較結果データとして比較結果記録部4に記憶させ、検索確認できるようにしたので、例えば、文書ファイルを1000程度管理しているシステムにおいては、1つのDB入力データに対して20文書程度が関連づけされていることもある。そのようなシステムで、ログデータ及び参照データを比較し、更新したDB入力データを参照している文書ファイルを自動的に検索でき、作業効率が向上し、また検索漏れを防ぐことができる。   As described above, according to the first embodiment, the DB control unit 1 compares the log data of the DB input data stored in the log database 6 with the reference data stored in the search information database 7, and If the metadata (table name, column name, and row number) of the document matches, it is determined that there is a document that refers to the location where the DB input data has been updated, and the document identifier and the reference data associated with the reference data Is displayed on the DB display means 3 and is stored in the comparison result recording unit 4 as comparison result data so that the search can be confirmed. For example, in a system managing about 1000 document files, one DB input In some cases, about 20 documents are associated with data. In such a system, log data and reference data can be compared, and a document file referencing the updated DB input data can be automatically searched, thereby improving work efficiency and preventing omission of search.

実施形態2.
図4は本発明の第2の実施の形態に係る文書作成制御手段7のデータベース確認機能動作を表すフローチャートである。なお、図4のフローチャートの動作を実現する編集支援システムは、図1と同様の構成で実現できるので、データベース確認機能動作の説明に図1を用いることにする。文書作成制御手段8は、文書作成オペレータから指示された文書ファイルを文書記憶部11から読み込み、文書作成表示手段10に表示させる(S41)。文書作成オペレータからデータベース確認機能指示が文書作成入力手段9に入力され、文書作成制御手段8が入力信号を受信すると、データベース確認機能処理を開始する(S42)。文書作成手段8は読み出した文書ファイル中の文書データに基づいて、文書中の参照した箇所を見つけだし、その箇所において参照したテーブル、カラム及び行のDB入力データを諸元データベース5から読み込む(S43)。
Embodiment 2. FIG.
FIG. 4 is a flowchart showing the operation of the database creation function of the document creation control means 7 according to the second embodiment of the present invention. Since the editing support system that realizes the operation of the flowchart in FIG. 4 can be realized with the same configuration as that in FIG. 1, FIG. 1 will be used for the description of the database confirmation function operation. The document creation control unit 8 reads the document file specified by the document creation operator from the document storage unit 11 and causes the document creation display unit 10 to display the document file (S41). When a database confirmation function instruction is input from the document creation operator to the document creation input means 9 and the document creation control means 8 receives the input signal, the database confirmation function processing is started (S42). The document creating means 8 finds a referenced part in the document based on the read document data in the document file, and reads the DB input data of the table, column and row referred to in the part from the specification database 5 (S43). .

読み込んだDB入力データに対して、文書作成手段8は、文書データ中に取り込まれ、保持されているデータ(以下、参照箇所のデータという)と比較し(S44)、読み込んだDB入力データと参照箇所のデータとが同一であるかどうかを判断する(S45)。データが同一でなければ、読み込んだDB入力データは新規作成、更新又は削除されているものとし、参照箇所のデータが空データの状態(以下、nullという)であるかどうかを判断する(S46)。参照箇所のデータがnullであれば、読み込んだDB入力データはnullではないことになるので、読み込んだDB入力データは新規作成されたものとして、例えば文書中の参照箇所に、青色で参照箇所のデータ及び読み込んだDB入力データを並べて表示させるような文書作成表示データを送信して、文書作成表示手段10に表示させる(S47)。参照箇所のデータがnullでない場合は、次に読み込んだDB入力データがnullであるかどうかを判断する(S48)。読み込んだDB入力データがnullであれば、以前のDB入力データである参照箇所のデータが削除されたものとして、例えば文書中の参照箇所に、赤色で参照箇所のデータ及び読み込んだDB入力データを並べて表示させるような文書作成表示データを送信して、文書作成表示手段10に表示させる(S49)。読み込んだDB入力データがnullでなければ、諸元データベース5中のDB入力データが別のデータに更新されたものとして、例えば文書中の参照箇所に、黄色で参照箇所のデータ及び読み込んだDB入力データを並べて表示させるような文書作成表示データを送信し、文書作成表示手段10に表示させる(S50)。文書作成制御手段8は、以前のDB入力データである参照箇所のデータを選択するか、それとも更新されたDB入力データを選択するかを文書作成オペレータに選択確認させるため、選択確認入力を促す文書作成表示データを文書作成表示手段10に送信し、表示させる(S51)。   The document creating means 8 compares the read DB input data with data (hereinafter, referred to as reference location data) which is captured and held in the document data (S44). It is determined whether the data at the location is the same (S45). If the data is not the same, the read DB input data is assumed to have been newly created, updated, or deleted, and it is determined whether the data at the reference location is empty (hereinafter referred to as null) (S46). . If the data of the reference portion is null, the read DB input data is not null. Therefore, the read DB input data is assumed to be newly created. The document creation display data for displaying the data and the read DB input data side by side is transmitted and displayed on the document creation display means 10 (S47). If the data at the reference location is not null, it is determined whether the DB input data read next is null (S48). If the read DB input data is null, it is assumed that the data of the reference location, which is the previous DB input data, has been deleted. For example, the reference location data and the read DB input data in red are added to the reference location in the document. The document creation display data to be displayed side by side is transmitted and displayed on the document creation display means 10 (S49). If the read DB input data is not null, it is assumed that the DB input data in the specification database 5 has been updated to another data. The document creation display data for displaying the data side by side is transmitted and displayed on the document creation display means 10 (S50). The document creation control means 8 prompts the document creation operator to select and confirm the data at the reference location, which is the previous DB input data, or to select the updated DB input data. The creation display data is transmitted to the document creation display means 10 and displayed (S51).

S45においてDB入力データと参照箇所のデータとが同一であると判断するか又はS51において文書入力手段9から選択確認入力が入力されたと判断すると、参照箇所のデータ及び選択確認されたデータに対してフィルタデータに基づいてデータ加工して文書作成表示手段10に表示させる(S52)。以上の処理を文書中の全ての参照箇所に対して行う(S53)。   If it is determined in S45 that the DB input data and the data of the reference location are the same, or if it is determined in S51 that the selection confirmation input has been input from the document input means 9, the data of the reference location and the data of the selection confirmation are determined. The data is processed based on the filter data and displayed on the document creation display means 10 (S52). The above processing is performed for all the reference parts in the document (S53).

図5はデータベース確認機能終了時の文書表示例を表す図である。データベース確認機能終了指示が入力されると(S54)、文書作成制御手段8は、参照箇所において選択確認されたデータが、更新されたDB入力データであるかどうかを判断する(S55)。更新された新しいDB入力データが選択確認されていれば、参照箇所に関して、文書作成表示手段10の表示色を薄くして表示させる(S56)。これを全ての参照箇所に行って終了する。   FIG. 5 is a diagram illustrating an example of a document display at the end of the database confirmation function. When the database confirmation function end instruction is input (S54), the document creation control means 8 determines whether the data selected and confirmed at the reference location is updated DB input data (S55). If the updated new DB input data has been selected and confirmed, the display color of the document creation and display means 10 is displayed with a lighter color for the reference portion (S56). This is performed for all reference locations, and the processing ends.

以上のように第2の実施の形態によれば、文書作成制御手段8は、データベース確認機能指示が入力されると、読み込んだDB入力データに対して、文書データ中に取り込まれ、保持されている参照箇所のデータと比較し、読み込んだDB入力データと参照箇所のデータとが同一であるかどうかを判断して、読み込んだDB入力データが更新等されたものと判断すると、読み込んだDB入力データ及び以前のDB入力データである参照箇所のデータを表示し、いずれかのデータを文書内に取り込むかを選択できるようにしたので、自由度の高い文書編集を行うことができる。また、読み込んだDB入力データと参照箇所のデータとが異なっていた場合、読み込んだDB入力データが新規作成、削除又は更新のうちのいずれかにより、表示色を異ならせるようにしたので、文書編集を行う際に、状態を識別しやすくなる。また新しいDB入力データが選択されたときには薄い色で表示させるようにして選択されたデータにより区別したので、編集確認が容易になる。さらに、フィルタデータを用いて、新しいDB入力データを取り込む際にも、以前のデータ表現形式を自動的に新しいDB入力データに再現できるようにしたので、文書編集が容易になる。   As described above, according to the second embodiment, when a database confirmation function instruction is input, the document creation control unit 8 takes in the read DB input data into the document data and holds the data. Compared with the data of the reference location, it is determined whether the read DB input data and the data of the reference location are the same, and when it is determined that the read DB input data has been updated, the read DB input data is updated. Since the data and the data at the reference location, which is the previous DB input data, are displayed and it is possible to select whether any of the data is to be taken into the document, it is possible to perform document editing with a high degree of freedom. Further, when the read DB input data is different from the data of the reference portion, the display color of the read DB input data is changed by one of new creation, deletion, and update. , The state can be easily identified. Further, when new DB input data is selected, it is displayed in a light color and distinguished by the selected data, so that editing confirmation becomes easy. Further, even when new DB input data is fetched using the filter data, the previous data expression format can be automatically reproduced in the new DB input data, thereby facilitating document editing.

実施形態3.
図6は本発明の第3の実施の形態に係る編集支援システムを地理情報システム(GIS)の編集支援に用いた例を表す図である。上記の実施の形態では、編集支援システムを文書支援に利用しているが、本実施の形態では、編集支援システムを地理情報システムの編集支援に利用することを考える。本実施の形態では、諸元データベースには地図の位置と印に関するデータが記憶されている。また検索情報データベース7には、文書識別子の代わりに、地図識別子が参照データと関連づけられて保存されている。地図識別子とは、第1の実施の形態の文書識別子と同じようなものであり、地図ファイルのフォルダ名、ファイル名、DB入力データ参照箇所の地図上における位置データ等、地図上の参照箇所を識別するためのメタデータで構成されたものである。
Embodiment 3 FIG.
FIG. 6 is a diagram illustrating an example in which the editing support system according to the third embodiment of the present invention is used for editing support of a geographic information system (GIS). In the above embodiment, the editing support system is used for document support, but in the present embodiment, use of the editing support system for editing support of a geographic information system is considered. In the present embodiment, the specification database stores data relating to map positions and marks. In the search information database 7, a map identifier is stored in association with the reference data instead of the document identifier. The map identifier is similar to the document identifier of the first embodiment, and refers to a reference location on the map such as a folder name of a map file, a file name, and position data of a DB input data reference location on the map. It is composed of metadata for identification.

図6では東京が地図A、地図B及び地図Cに参照されている。地図A及び地図Bに関しては、地図上の本来の東京の位置に☆印が設定されている。地図Cについては、通常の縮尺では入らないので、本来の東京の位置とは違う箇所に☆印が設定されている。このような場合でも、関連づけをしておくことにより、東京として位置参照している地図ファイルを容易に探し出すことができ、編集漏れを起こしにくい。   In FIG. 6, Tokyo is referred to by Map A, Map B, and Map C. Regarding the map A and the map B, ☆ marks are set at the original positions of Tokyo on the map. Since the map C cannot be entered at the normal scale, a mark different from the original Tokyo position is marked with a star. Even in such a case, by associating, the map file that is referred to as Tokyo can be easily searched for, and the omission of editing hardly occurs.

実施形態4.
なお、上述の実施の形態においては、DB制御手段1と文書作成制御手段8とを別の手段として記載しているが、本発明ではそれに限定されるものではなく、1つのコンピュータ上で、それぞれの手段の動作を行わせるようにしてもよい。また、諸元データベース5、ログデータベース6、検索情報データベース7、文書結果記録部4及び文書記憶部11をそれぞれ別の記憶手段として記載しているが、本発明ではそれに限定されるものではなく、同じ記憶手段(例えばハードディスク等)に区分けして記憶させるようにしてもよい。また、それぞれの手段等は通信回線等を利用したネットワークで接続されていても問題ない。
Embodiment 4 FIG.
In the above-described embodiment, the DB control unit 1 and the document creation control unit 8 are described as separate units. However, the present invention is not limited to this. The operation of the means may be performed. Further, the specification database 5, the log database 6, the search information database 7, the document result recording unit 4, and the document storage unit 11 are described as separate storage units, but the present invention is not limited thereto. You may make it memorize | store separately in the same memory | storage means (for example, hard disk etc.). Further, there is no problem even if the respective means are connected by a network using a communication line or the like.

本発明の第1の実施の形態に係るデータベースを利用した編集支援システムのブロック図である。1 is a block diagram of an editing support system using a database according to a first embodiment of the present invention. 第1の実施の形態に係る文書作成制御手段8の検索情報保存機能動作を表すフローチャートである。5 is a flowchart illustrating a search information storage function operation of the document creation control unit 8 according to the first embodiment. 第1の実施の形態に係るDB制御手段1を中心とするデータベース管理の動作を表すフローチャートである。It is a flowchart showing operation | movement of database management centering on the DB control means 1 concerning 1st Embodiment. 本発明の第2の実施の形態に係る文書作成制御手段7のデータベース確認機能動作を表すフローチャートである。9 is a flowchart illustrating an operation of a database confirmation function of a document creation control unit 7 according to the second exemplary embodiment of the present invention. データベース確認機能終了時の文書表示例を表す図である。FIG. 11 is a diagram illustrating a document display example at the time of termination of a database confirmation function. 本発明の第3の実施の形態に係る地理情報システムの編集支援に用いた例を表す図である。It is a figure showing the example used for editing support of the geographic information system concerning a 3rd embodiment of the present invention.

符号の説明Explanation of reference numerals

1 データベース制御手段
2 データベース入力手段
3 データベース表示手段
4 比較結果記録部
5 諸元データベース
6 ログデータベース
7 検索情報データベース
8 文書作成制御手段
9 文書作成入力手段
10 文書作成表示手段
11 文書記憶部
Reference Signs List 1 database control means 2 database input means 3 database display means 4 comparison result recording section 5 specification database 6 log database 7 search information database 8 document creation control means 9 document creation input means 10 document creation display means 11 document storage section

Claims (5)

データベースに記憶されているデータを参照して、その参照したデータを編集対象データ中に取り込んで編集を行うデータベースを利用した編集支援方法において、
前記編集対象データを入力する工程と、
データベース確認指示が入力されると、前記編集対象データ中に記録された、前記参照したデータのデータベース内での位置を表すメタデータに基づいて、そのメタデータが表す位置のデータを前記データベースから読み込む工程と、
前記データベースから読み込んだ前記データと前記参照したデータとが同一であるかどうかを判断する工程と、
前記データベースから読み込んだ前記データと前記参照したデータとが異なっている場合、前記データベースから読み込んだ前記データと前記参照したデータとを両方表示し、データの選択を促す工程と、
選択されたデータを、新たな参照したデータとして前記編集対象データに取り込む工程と
を有することを特徴とするデータベースを利用した編集支援方法。
In an editing support method using a database that refers to data stored in a database and incorporates the referenced data into data to be edited to perform editing,
Inputting the edit target data;
When a database confirmation instruction is input, the data at the position represented by the metadata is read from the database based on the metadata recorded in the data to be edited and representing the position of the referenced data in the database. Process and
Determining whether the data read from the database and the referenced data are the same,
When the data read from the database and the referenced data are different, displaying both the data read from the database and the referenced data, prompting the selection of data,
Importing the selected data into the edit target data as new referenced data.
前記データベースから読み込んだ前記データと前記参照したデータとが異なっているものと判断すると、
前記参照したデータが空データであれば、前記データベースから読み込んだ前記データは新規作成されたデータであると判断し、
前記参照したデータが空データでなく、かつ前記データベースから読み込んだ前記データが空データであれば、前記参照したデータはデータベース内で削除されたものと判断し、
前記参照したデータが空データでなく、かつ前記データベースから読み込んだ前記データが空データでなければ、前記データベースから読み込んだ前記データは更新されたデータであると判断して、
前記データベースから読み込んだ前記データ及び前記参照したデータを、それぞれの判断により区別して表示し、データの選択を促すことを特徴とする請求項1記載のデータベースを利用した編集支援方法。
When judging that the data read from the database and the referenced data are different,
If the referenced data is empty data, the data read from the database is determined to be newly created data,
If the referenced data is not empty data and the data read from the database is empty data, it is determined that the referenced data has been deleted in the database,
If the referenced data is not empty data, and the data read from the database is not empty data, the data read from the database is determined to be updated data,
2. The editing support method using a database according to claim 1, wherein the data read from the database and the referenced data are displayed by being distinguished by respective judgments, and a selection of data is prompted.
前記選択されたデータを、新たに参照したデータとして前記編集対象データに取り込む工程において、
前記選択されたデータが、前記データベースから読み込んだ前記データである場合、前記参照したデータである場合とは区別して表示することを特徴とする請求項1又は2記載のデータベースを利用した編集支援方法。
In the step of loading the selected data into the edit target data as newly referenced data,
3. The editing support method using a database according to claim 1, wherein when the selected data is the data read from the database, the selected data is displayed separately from the case of the referenced data. .
前記選択されたデータを、新たに参照したデータとして文書に取り込む工程において、
前記参照したデータに対して行うデータ加工手順を記憶しているフィルタデータに基づいて、前記選択されたデータを加工してから文書に取り込むことを特徴とする請求項2記載のデータベースを利用した編集支援方法。
In the step of loading the selected data into a document as newly referenced data,
3. The editing using a database according to claim 2, wherein the selected data is processed and then loaded into a document based on the filter data storing a data processing procedure to be performed on the referenced data. How to help.
データベースに記憶されているデータを参照して、、その参照したデータを編集対象データ中に取り込んで編集を行うデータベースを利用した編集支援システムにおいて、
前記編集対象データが入力され、データベース確認指示が入力されると、前記編集対象データ中に記録された、前記参照したデータのデータベース内での位置を表すメタデータに基づいて、そのメタデータが表す位置のデータを前記データベースから読み込ませ、
前記データベースから読み込んだ前記データと前記参照したデータとが同一であるかどうかを判断させ、
前記データベースから読み込んだ前記データと前記参照したデータとが異なっている場合、前記データベースから読み込んだ前記データと前記参照したデータとを両方表示させ、データの選択を促させて、選択されたデータを、新たな参照したデータとして前記編集対象データに取り込ませる
ことをコンピュータに行わせることを特徴とするデータベースを利用した編集支援プログラム記録した記録媒体。
In an editing support system using a database that refers to data stored in a database and incorporates the referenced data into data to be edited to perform editing,
When the edit target data is input and a database confirmation instruction is input, the metadata indicates based on the metadata recorded in the edit target data and indicating the position of the referenced data in the database. Read the position data from the database,
Determined whether the data read from the database and the referenced data are the same,
When the data read from the database and the referenced data are different, both the data read from the database and the referenced data are displayed, prompting the selection of data, and displaying the selected data. A computer-readable recording medium storing an editing support program using a database, wherein the data is taken into the editing target data as new referenced data.
JP2004148571A 2004-05-19 2004-05-19 Editing support method using database and recording medium with program thereof recorded Pending JP2004318897A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004148571A JP2004318897A (en) 2004-05-19 2004-05-19 Editing support method using database and recording medium with program thereof recorded

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004148571A JP2004318897A (en) 2004-05-19 2004-05-19 Editing support method using database and recording medium with program thereof recorded

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP5052598A Division JP3595925B2 (en) 1998-03-03 1998-03-03 Editing support method using database and recording medium storing the program

Publications (1)

Publication Number Publication Date
JP2004318897A true JP2004318897A (en) 2004-11-11

Family

ID=33475659

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004148571A Pending JP2004318897A (en) 2004-05-19 2004-05-19 Editing support method using database and recording medium with program thereof recorded

Country Status (1)

Country Link
JP (1) JP2004318897A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008027074A (en) * 2006-07-19 2008-02-07 Toshiba Corp Information management program and knowledge information sharing system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008027074A (en) * 2006-07-19 2008-02-07 Toshiba Corp Information management program and knowledge information sharing system

Similar Documents

Publication Publication Date Title
US7937652B2 (en) Document processing device, computer readable recording medium, and computer data signal
JPWO2006098031A1 (en) Keyword management device
KR0121574B1 (en) Data processing apparatus and editing apparatus using the same
US20090259654A1 (en) Information processing apparatus, control method thereof, and storage medium
JP4477531B2 (en) Data import method and data import apparatus
JP3595925B2 (en) Editing support method using database and recording medium storing the program
JP4404930B2 (en) Information processing apparatus, control method therefor, information processing system, program, and computer-readable recording medium
JP2002236679A (en) Document processor
JP2004318897A (en) Editing support method using database and recording medium with program thereof recorded
JP2002342137A (en) Device and method for managing document and recording medium
JP2000293519A (en) Document processor
JP2007122669A (en) Picture creation device and program
JP2009151727A (en) Document processing system
JPH06231183A (en) Document filing device
JP3813305B2 (en) Document creation apparatus and storage medium storing program for realizing the same
JPH11224326A (en) Electronic filing device
JP2888458B2 (en) File storage device
JPH05324734A (en) Electronic filing device
JP2021076896A (en) Information processing apparatus, information processing method, and information processing program
JPH0237466A (en) Information processing system
JP2919396B2 (en) Document maker
JPS6365572A (en) Image information storing and retrieving device
JPH05282391A (en) Drawing retrieving device
JPS62226487A (en) Memory control system for optical disk
JPH06231185A (en) Picture processor

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20051129

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20051206

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060202

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20060307