JP3886132B2 - Document processing apparatus, document processing system control method, document processing system control program, and storage medium - Google Patents

Document processing apparatus, document processing system control method, document processing system control program, and storage medium Download PDF

Info

Publication number
JP3886132B2
JP3886132B2 JP2003343725A JP2003343725A JP3886132B2 JP 3886132 B2 JP3886132 B2 JP 3886132B2 JP 2003343725 A JP2003343725 A JP 2003343725A JP 2003343725 A JP2003343725 A JP 2003343725A JP 3886132 B2 JP3886132 B2 JP 3886132B2
Authority
JP
Japan
Prior art keywords
data
key
classification
search
key name
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2003343725A
Other languages
Japanese (ja)
Other versions
JP2005108120A (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.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2003343725A priority Critical patent/JP3886132B2/en
Publication of JP2005108120A publication Critical patent/JP2005108120A/en
Application granted granted Critical
Publication of JP3886132B2 publication Critical patent/JP3886132B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

本発明は、差し込み処理が可能な文書処理装置、この文書処理装置等を用いた文書処理システムの制御方法、及び該制御方法を実行するための制御プログラム並びに記憶媒体に関する。 The present invention relates to a document processing apparatus capable of insertion processing, a control method for a document processing system using the document processing apparatus, etc., a control program for executing the control method, and a storage medium.

電子文書の一部にフィールド(差し込みフィールド)を設けておき、このフィールドにデータを差し込んで文書を作成する差し込み処理が可能な文書処理装置は、従来より知られている。   2. Description of the Related Art Conventionally, document processing apparatuses capable of insertion processing in which a field (insertion field) is provided in a part of an electronic document and data is inserted into the field to create a document are known.

かかる文書処理装置では、各差し込みフィールドに関連づけられた各々のキーを1つのデータ構造体として定義して、差し込みフィールドに差し込まれるデータ(差し込みデータ)を格納するデータベースを備え、このデータベースに格納されたデータの中から任意のキーを対象として所望の差し込みデータを検索し、検索にしたデータを差し込みフィールドに差し込んで電子文書を作成する、といったタイプのものがある(例えば、特許文献1参照)。   In such a document processing apparatus, each key associated with each merge field is defined as one data structure, and a database for storing data (merge data) to be inserted into the merge field is provided and stored in this database. There is a type in which desired insertion data is searched for an arbitrary key from among data, and an electronic document is created by inserting the searched data into an insertion field (see, for example, Patent Document 1).

また、一般的に、データ構造体とは、複数のデータ(上の例ではキー)をグループ化して、1つのデータ型を定義したものを指す。   In general, a data structure refers to a group of a plurality of data (keys in the above example) that defines one data type.

この種の文書処理装置において、差し込みデータ管理方法としては各差し込みデータを分類して管理/利用する方法は用いられているが、差し込みフィールドに対応するキーの名称(以下「キー名称」)の管理方法については、(1)複数の分類で同一キーを使用する場合は、双方の内容を示す共通のキー名称を用いる、(2)異なるキー名称を使用する場合は、各分類ごとに専用のキー定義を行う、といったいずれかの手法で管理されている。
特開2002−324061号公報
In this type of document processing apparatus, a method of classifying and managing / using each merged data is used as a merged data management method, but management of the name of the key corresponding to the merged field (hereinafter “key name”). Regarding the method, (1) When using the same key in multiple classifications, use a common key name indicating both contents. (2) When using different key names, use a dedicated key for each classification. It is managed by any method such as defining.
JP 2002-324061 A

上記従来のキー名称の管理方法では、データベースに格納されている差し込みデータを検索するにあたり、異なる分類で同一キーを使用する場合には共通キー名称を用いる必要があるため、このような場合にも異なるキー名称を使用したい、という要望に対応することができなかった。すなわち、検索時において、異なる分類で同一キーを使用する場合には、検索用画面に抽象的な共通キー名称を表示して検索処理条件等の入力する必要があり、このような場合にも、共通キー名称ではなく任意に選択したキー名称(例えば、個々の差し込みデータに対応した詳細な内容のキー名称)を表示して検索処理を行うことができない、という問題点があった。   In the above conventional key name management method, it is necessary to use a common key name when using the same key in different classifications when searching for merge data stored in the database. We were unable to meet the demand for using a different key name. In other words, when using the same key in different classifications at the time of search, it is necessary to display the abstract common key name on the search screen and input search processing conditions, etc. There has been a problem that it is not possible to display a key name arbitrarily selected instead of the common key name (for example, a key name having a detailed content corresponding to each insertion data) and perform a search process.

また、同一キーとして検索した結果を表示する場合にも、共通キー名称を用いる必要があり、キー名称をデータ分類別に表示することができない。例えば、商品データを例に挙げると、キーの内容が「消耗品」である場合、検索時の共通キー名称として「消耗品名」と表示するが、検索結果の表示/出力においては、検出されたデータがレーザープリンタであれば「カートリッジ名」、インクジェットプリンタであれば「インク名」というキー名称を用いることができなかった。   Moreover, when displaying the search result as the same key, it is necessary to use a common key name, and the key name cannot be displayed by data classification. For example, taking product data as an example, if the key content is “consumables”, “consumables name” is displayed as the common key name at the time of search, but it was detected in the display / output of the search results. If the data is a laser printer, the key name “cartridge name”, and if it is an ink jet printer, “ink name” cannot be used.

本発明は上記従来の問題点に鑑み、データベースに格納されている差し込みデータを検索するにあたり、異なるキー名称であっても同一キーとして処理を行うことができる文書処理装置、文書処理システムの制御方法、文書処理システムの制御プログラム、及び記憶媒体を提供することを目的とする。 SUMMARY OF THE INVENTION In view of the above-described conventional problems, the present invention provides a document processing apparatus and a document processing system control method capable of performing processing with the same key even when different key names are used when searching for insertion data stored in a database. An object of the present invention is to provide a document processing system control program and a storage medium .

また、同一キーとして検索した結果を表示するにあたり、同一キーであっても、該当するデータが属する分類にて定義したキー名称を用いて表示することができる文書処理装置、文書処理システムの制御方法、文書処理システムの制御プログラム、及び記憶媒体を提供することを他の目的とする。 In addition, when displaying the search result as the same key, a document processing apparatus and a document processing system control method capable of displaying using the key name defined by the classification to which the corresponding data belongs even if the same key is displayed. Another object is to provide a control program for a document processing system and a storage medium .

文書内にキー名称に対しても差し込みフィールドを有する場合、差し込み処理によって生成される文書においても、検索結果のデータが属する分類にて定義したキー名称を用いることができる文書処理装置、文書処理システムの制御方法、文書処理システムの制御プログラム、及び記憶媒体を提供することを他の目的とする。 Document processing apparatus and document processing system that can use a key name defined in a classification to which data of a search result belongs even in a document generated by a merge process when a document has a merge field for a key name Another object of the present invention is to provide a control method, a document processing system control program, and a storage medium .

上記目的を達成するために、本発明の文書処理装置では、電子文書中の差し込みフィールドに関連付けられたキーをデータ構造体として定義して、前記差し込みフィールドに差し込まれるデータを格納するデータベースと、前記データベースに格納されたデータの中から任意のキーを対象として所定のデータを検索する検索手段と、前記検索手段で検索されたデータを前記電子文書中の差し込みフィールドに挿入するデータ差し込み手段とを有する文書処理装置において、前記データベースに格納する各データの分類を定義する分類定義手段と、前記分類定義手段による分類定義に従って前記各データを管理するデータ管理手段と、前記電子文書中の差し込みフィールドに対応するキーの名称を表すキー名称情報を前記分類定義ごとに管理する分類別キー名称管理手段と、前記分類定義ごとに管理されているキー名称情報を用いて、検索用の画面情報を作成する検索画面情報作成手段と、記検索手段で検索されたデータの分類に対応したキー名称情報を用いて、当該データの表示情報を作成する表示情報作成手段とを備えたことを特徴とする。
また、本発明の文書処理システムの制御方法では、電子文書中の差し込みフィールドに関連付けられたキーをデータ構造体として定義して、前記差し込みフィールドに差し込まれるデータを格納するデータベースと、前記データベースに格納する各データの分類を定義する分類定義手段と、前記分類定義手段による分類定義に従って前記各データを管理するデータ管理手段と、前記電子文書中の差し込みフィールドに対応するキーの名称を表すキー名称情報を前記分類定義ごとに管理する分類別キー名称管理手段とを有する文書処理システムの制御方法であって、前記分類定義ごとに管理されているキー名称情報を用いて検索条件入力用画面を作成し表示する検索画面作成工程と、前記検索条件入力用画面の所定のキーに対して検索条件を入力させる検索条件入力工程と、前記検索条件を用いて前記データベースに対して検索を行う検索工程と、前記検索工程で検索されたデータの分類に対応したキー名称情報を用いて、当該データの表示情報を作成する表示情報作成工程と、前記検索工程で検索されたデータを前記電子文書中の差し込みフィールドに挿入するデータ差し込み工程とを有することを特徴とする。
また、本発明の文書処理装置の制御プログラムでは、電子文書中の差し込みフィールドに関連付けられたキーをデータ構造体として定義して、前記差し込みフィールドに差し込まれるデータを格納するデータベースと、前記データベースに格納されたデータの中から任意のキーを対象として所定のデータを検索する検索手段と、前記検索手段で検索されたデータを前記電子文書中の差し込みフィールドに挿入するデータ差し込み手段とを有する文書処理装置の制御プログラムであって、前記データベースに格納する各データの分類を定義する分類定義ステップと、前記分類定義ステップによる分類定義に従って前記各データを管理するデータ管理ステップと、前記電子文書中の差し込みフィールドに対応するキーの名称を表すキー名称情報を前記分類定義ごとに管理する分類別キー名称管理ステップと、前記分類定義ごとに管理されているキー名称情報を用いて、検索用の画面情報を作成する検索画面情報作成ステップと、前記検索手段で検索されたデータの分類に対応したキー名称情報を用いて、当該データの表示情報を作成する表示情報作成ステップとを実行させることを特徴とする。
また、本発明の記憶媒体は、上記制御プログラムを記憶した、コンピュータで読み取り可能な記憶媒体であることを特徴とする。
In order to achieve the above object, in the document processing apparatus of the present invention, a key associated with a merge field in an electronic document is defined as a data structure, and a database for storing data to be merged into the merge field; Search means for searching for predetermined data for an arbitrary key from data stored in a database, and data insertion means for inserting data searched by the search means into a merge field in the electronic document Corresponding to a classification definition means for defining a classification of each data stored in the database, a data management means for managing each data in accordance with a classification definition by the classification definition means, and a merge field in the electronic document in the document processing apparatus Key name information indicating the name of the key to be managed for each of the classification definitions. A classification-specific key name management means, a search screen information creation means for creating search screen information using key name information managed for each of the classification definitions, and a classification of data retrieved by the search means. A display information creating means for creating display information of the data using corresponding key name information is provided.
According to the control method of the document processing system of the present invention, a key associated with the merge field in the electronic document is defined as a data structure, and a database for storing data to be inserted into the merge field is stored in the database. Classification definition means for defining a classification of each data to be performed, data management means for managing each data according to the classification definition by the classification definition means, and key name information representing a name of a key corresponding to the merge field in the electronic document A classification-specific key name management means for managing each classification definition, wherein a search condition input screen is created using key name information managed for each classification definition. Enter the search conditions for the search screen creation process to be displayed and the specified key on the search condition input screen. Using the make search condition input step, a search step of performing a search on the database by using the search condition, the key name information corresponding to the classification of the data retrieved by the retrieval step, the display information of the data A display information creation step for creating the data, and a data insertion step for inserting the data searched in the search step into the insertion field in the electronic document.
In the control program for a document processing apparatus of the present invention, a key associated with a merge field in an electronic document is defined as a data structure, and a database for storing data to be inserted into the merge field is stored in the database. Document processing apparatus comprising: search means for searching for predetermined data for an arbitrary key from the read data; and data insertion means for inserting the data searched by the search means into a merge field in the electronic document And a data management step for managing the data in accordance with the classification definition in the classification definition step, and a merge field in the electronic document. Key name information indicating the name of the key corresponding to A key name management step for each category managed for each classification definition, a search screen information creation step for creating screen information for search using key name information managed for each category definition, and the search means A display information creation step of creating display information of the data is executed using key name information corresponding to the classification of the retrieved data.
The storage medium of the present invention is a computer-readable storage medium storing the control program.

発明によれば、データベースに格納されているデータを検索するにあたり、異なるキー名称であっても同一キーとして処理を行うことが可能となる。
また、同一キーとして検索した結果を表示するにあたり、同一キーであっても、該当するデータが属する分類にて定義したキー名称を用いて表示することが可能になる。
また、キー名称情報に対しても差し込みフィールドとして設定されている場合には、差し込み処理によって生成される文書においても、検索結果のデータが属する分類にて定義したキー名称情報を用いることが可能となる。
According to the present invention, when searching for data stored in a database, even with different key names, it is possible to perform processing with the same key.
Further, when displaying the search result as the same key, even if the key is the same, it is possible to display using the key name defined in the classification to which the corresponding data belongs.
In addition, when the key name information is also set as a merge field, it is possible to use the key name information defined by the classification to which the search result data belongs in the document generated by the merge process. Become.

本発明の文書処理装置、文書処理システムの制御方法、文書処理システムの制御プログラム、及び記憶媒体の実施の形態について、図面を参照しながら説明する。本実施形態の文書処理装置は、例えばサーバー用パーソナルコンピュータに搭載される。 Embodiments of a document processing apparatus, a document processing system control method, a document processing system control program, and a storage medium according to the present invention will be described with reference to the drawings. The document processing apparatus of this embodiment is mounted on, for example, a server personal computer.

[第1の実施形態]
<ネットワーク構成>
図1は、本発明の文書処理装置が適用されたネットワーク構成例を示すブロック図である。
[First Embodiment]
<Network configuration>
FIG. 1 is a block diagram showing a network configuration example to which the document processing apparatus of the present invention is applied.

同図において、101はローカルエリアネットワーク(LAN)を示し、クライアント用パーソナルコンピュータ(以下、クライアントPCと記す)111,112,113、及び本発明の文書処理装置を有するサーバー用パーソナルコンピュータ(以下、サーバーPCと記す)121が、このLAN101に接続されている。   In the figure, reference numeral 101 denotes a local area network (LAN), which is a client personal computer (hereinafter referred to as a client PC) 111, 112, 113, and a server personal computer (hereinafter referred to as a server) having the document processing apparatus of the present invention. 121 (referred to as a PC) is connected to the LAN 101.

また、本実施形態では、サーバーPC121はWebサーバー機能を有し、クライアントPC111,112,113のWebブラウザ経由から指示を受けて、指示したクライアントPCのブラウザに対して処理結果を返す処理を行う。但し、サーバーPC及びクライアントPC間の通信手法については特に限定するものではない。また、サーバーPCにおいて、直接本発明の文書処理装置に対する指示処理を行う形態であっても構わないものとする。   In the present embodiment, the server PC 121 has a Web server function, receives an instruction from the client PC 111, 112, 113 via the Web browser, and returns a processing result to the instructed client PC browser. However, the communication method between the server PC and the client PC is not particularly limited. In addition, the server PC may be configured to directly perform instruction processing for the document processing apparatus of the present invention.

クライアントPC111,112,113内の構成は、LAN101に接続でき、かつWebブラウザが動作する機能を有する一般的なPCであれば、特に限定するものではない。   The configuration of the client PCs 111, 112, and 113 is not particularly limited as long as it is a general PC that can be connected to the LAN 101 and has a function of operating a Web browser.

このようなネットワーク構成により、Webブラウザを有するクライアントPC111,112,113からWebサーバーPC121に対して指示/操作を実現している。   With such a network configuration, instructions / operations are realized from the client PCs 111, 112, and 113 having the Web browser to the Web server PC 121.

<サーバーPC121の構成>
図2は、図1に示したサーバーPC121の概略構成図である。
<Configuration of server PC 121>
FIG. 2 is a schematic configuration diagram of the server PC 121 shown in FIG.

同図において、201はビデオRAM(VRAM)であり、CRT表示装置202の画面に表示される文字やイメージを展開記憶する。203はビットムーブユニット(BMU)であり、メモリ間あるいはメモリと各デバイス間のデータ転送をコントロールする。204は入力に関する各種キーを備えたキーボードであり、205は画面上でアイコンなどを指し示すためなどに用いられるポインティングデバイス(PD)である。   In the figure, reference numeral 201 denotes a video RAM (VRAM), which develops and stores characters and images displayed on the screen of the CRT display device 202. A bit move unit (BMU) 203 controls data transfer between memories or between a memory and each device. Reference numeral 204 denotes a keyboard having various keys relating to input, and 205 denotes a pointing device (PD) used for pointing an icon or the like on the screen.

206はCPUであり、ROM208に記憶された制御プログラム(本発明に関連したプログラムやエラー処理プログラムを始め、後述する図5、図7及び図9のフローに基づいた本発明を実現するためのプログラムも記憶されている)に基づいて本装置の各部を制御する。   Reference numeral 206 denotes a CPU, which is a control program stored in the ROM 208 (a program for realizing the present invention based on the flow of FIGS. 5, 7, and 9 to be described later, including a program related to the present invention and an error processing program). Are also stored) to control each part of the apparatus.

209はRAMであり、上述した各プログラムを206のCPUが実行するときのワークエリアやエラー処理時の一時退避エリアとして用いられる。210はハードディスクドライブ(HDD)、211はフロッピー(登録商標)ディスクドライブ(FDD)、をそれぞれ示し、各ディスクには、後述するデータベース、及びアプリケーションプログラムやデータ、ライブラリなどの保存用に用いられる。   Reference numeral 209 denotes a RAM, which is used as a work area when the CPU 206 executes the above-described programs and as a temporary save area during error processing. Reference numeral 210 denotes a hard disk drive (HDD) and 211 denotes a floppy (registered trademark) disk drive (FDD). Each disk is used for storing a database, an application program, data, a library, and the like, which will be described later.

212はネットワークインターフェイス(Net−I/F)を示し、クライアントPC111,112,113との間でネットワークを経由してデータ転送を行うためにネットワーク上でデータ制御、診断を行う。207は上述した各ユニット間を接続するI/Oバス(アドレスバス、データバス及び制御バスから成る)である。   Reference numeral 212 denotes a network interface (Net-I / F), which performs data control and diagnosis on the network in order to transfer data to and from the client PCs 111, 112, and 113 via the network. Reference numeral 207 denotes an I / O bus (consisting of an address bus, a data bus, and a control bus) for connecting the units described above.

上記構成において、装置に電源を投入すると、CPU206はROM208のブートプログラムに従って装置を初期化し、HDD210からOSのロードを行い、その後で各種アプリケーション等を動作させることになる。   In the above configuration, when the apparatus is turned on, the CPU 206 initializes the apparatus in accordance with the boot program stored in the ROM 208, loads the OS from the HDD 210, and then operates various applications.

なお、本実施形態の装置は、凡用の情報処理装置(パーソナルコンピュータ等)をその基礎にしているので、アプリケーションプログラムはハードディスク等に記憶されているものとしたが、もちろんROM208に記憶させるようにしてもよいし、記憶媒体によって本発明が限定されるものでもない。   Since the apparatus of this embodiment is based on a general-purpose information processing apparatus (such as a personal computer), the application program is stored in a hard disk or the like. Of course, the application program is stored in the ROM 208. The present invention is not limited by the storage medium.

<差し込み文書とデータベースの関連>
次に、上記構成の文書処理装置における、差し込みフィールドを有する電子文書と、差し込みフィールドに差し込まれるデータ(差し込みデータ)を格納するデータベースとの関係について、その一例を図3を用いて説明する。
<Relationship between merged document and database>
Next, an example of the relationship between an electronic document having a merge field and a database storing data (merge data) to be inserted into the merge field in the document processing apparatus having the above configuration will be described with reference to FIG.

図3は、上記構成の文書処理装置における差し込み文書とデータベース/テーブルの関連図である。   FIG. 3 is a diagram showing the relation between the merged document and the database / table in the document processing apparatus having the above configuration.

同図において、301は差し込みフィールドを有する電子文書である。この電子文書301は、差し込みフィールドを有する形式の文書であれば、特にフォーマットを限定するものではなく、従来の形式で構わない。   In the figure, reference numeral 301 denotes an electronic document having a merge field. As long as the electronic document 301 is a document having a merge field, the format is not particularly limited and may be a conventional format.

電子文書301は、「商品名」データを差し込むためのフィールドである差し込みフィールド(A)302と、「製品コード」データを差し込むためのフィールドである差し込みフィールド(B)303と、「消耗品名」データを差し込むためのフィールドである差し込みフィールド(C)304とを有する。   The electronic document 301 includes an insertion field (A) 302 that is a field for inserting “product name” data, an insertion field (B) 303 that is a field for inserting “product code” data, and “consumable name” data. And a insertion field (C) 304, which is a field for inserting.

データベース305は、前記の各差し込みフィールド302〜304に差し込むための差し込みデータを格納するデータベースである。このデータベース305には、少なくとも差し込みデータ管理テーブル306と分類別キー名称管理テーブル307が存在する。   The database 305 is a database that stores insertion data for insertion into the insertion fields 302 to 304 described above. The database 305 includes at least an insertion data management table 306 and a classification-specific key name management table 307.

差し込みデータ管理テーブル306は、前記の差し込みフィールド302〜304にそれぞれ実際に差し込まれるデータを管理するテーブルであり、差し込みフィールド(A)302にはデータキー「DATA_A」308、差し込みフィールド(B)303にはデータキー「DATA_B」309、差し込みフィールド(C)304にはデータキー「DATA_C」310がそれぞれ関連付けられる。   The insertion data management table 306 is a table for managing data that is actually inserted into the insertion fields 302 to 304. The insertion field (A) 302 has a data key “DATA_A” 308 and the insertion field (B) 303 has a data key. Is associated with the data key “DATA_B” 309 and the insertion field (C) 304 is associated with the data key “DATA_C” 310.

また、テーブル306内のキー「CLASS_KEY」311は、差し込みデータの属する分類(本例では、LBP,BJプリンタ,LBPの3分類)を格納するデータ分類キーである。このデータ分類キー311は、後述のテーブル307内に存在するキー名称分類キー「CLASS_KEY」312と関連付けられるが、詳細は後述する。なお、本テーブル306に関する主キーは、少なくとも各データを識別することが可能であれば、どのキーを設定しても構わない。また複数キーを用いたものでも構わないものとする。   A key “CLASS_KEY” 311 in the table 306 is a data classification key for storing the classification to which the insertion data belongs (in this example, three classifications of LBP, BJ printer, and LBP). The data classification key 311 is associated with a key name classification key “CLASS_KEY” 312 existing in a table 307 to be described later. Details will be described later. Note that any key may be set as the primary key related to the table 306 as long as at least each data can be identified. It is also possible to use a plurality of keys.

分類別キー名称管理テーブル307は、キー名称分類キー「CLASS_KEY」312を主キーとして、前記テーブル306の各データが属する分類を定義するとともに、各データキー308〜310に対する分類ごとのキー名称を格納するものである。   The classification-specific key name management table 307 defines the classification to which each data of the table 306 belongs with the key name classification key “CLASS_KEY” 312 as a main key, and stores the key name for each data key 308 to 310. To do.

キー名称分類キー312は、テーブル306内のデータ分類キー311と関連付けられ、テーブル306の各データを検索するには、本キー312に登録されるいずれかの分類(本例では、<検索用>,LBP,BJプリンタの3分類)を選択する必要がある。   The key name classification key 312 is associated with the data classification key 311 in the table 306, and in order to search each data in the table 306, one of the classifications registered in the key 312 (in this example, <for search> , LBP, BJ printer).

キー「KEYNAME_A」313は、キー名称分類キー312に格納されている分類に応じたデータキー「DATA_A」308のキー名称用キーである。例を挙げると、テーブル306の1行目に格納されているデータキー308の値“LBP−1910”(差し込みデータ)は、データ分類キー311が“LBP”となるため、キー名称分類キー312の2行目の“LBP”に該当する。したがって、この“LBP”に該当するキー名称用キー313の値、すなわちキー名称は“商品名”となる。   The key “KEYNAME_A” 313 is a key name key for the data key “DATA_A” 308 corresponding to the classification stored in the key name classification key 312. For example, the value “LBP-1910” (insertion data) of the data key 308 stored in the first line of the table 306 is “LBP” in the data classification key 311, so Corresponds to “LBP” in the second row. Therefore, the value of the key name key 313 corresponding to “LBP”, that is, the key name is “product name”.

同様に、キー「KEYNAME_B」314は、キー名称分類キー312に格納されている分類に応じたデータキー「DATA_B」309のキー名称用キーであり、キー「KEYNAME_C」315は、キー名称分類キー312に格納されている分類に応じたデータキー「DATA_C」310のキー名称用キーである。   Similarly, the key “KEYNAME_B” 314 is a key name key for the data key “DATA_B” 309 corresponding to the classification stored in the key name classification key 312, and the key “KEYNAME_C” 315 is the key name classification key 312. This is a key name key of the data key “DATA_C” 310 corresponding to the classification stored in.

また、ここで、差し込みデータ管理テーブルの4つのキーは差し込みデータを管理するデータ構造体を構成している。つまり、「DATA_A」308、「DATA_B」309、「DATA_C」310、および「CLASS_KEY」311はデータ構造体を構成する。同様に、分類別キー名称管理テーブルの4つのキーも分類別キー名称を管理するデータ構造体を構成している。即ち、「CLASS_KEY」312、「KEYNAME_A」313、「KEYNAME_B」314、および「KEYNAME_C」315はデータ構造体を構成する。   Here, the four keys of the insertion data management table constitute a data structure for managing insertion data. That is, “DATA_A” 308, “DATA_B” 309, “DATA_C” 310, and “CLASS_KEY” 311 form a data structure. Similarly, the four keys in the classification-specific key name management table also constitute a data structure for managing the classification-specific key names. That is, “CLASS_KEY” 312, “KEYNAME_A” 313, “KEYNAME_B” 314, and “KEYNAME_C” 315 constitute a data structure.

本実施形態では、データベース305において、テーブル306,307を上記のように構成することにより、同一キーでありながら、キー名称を差し込みデータに応じて使い分けることができるようなる。例えば、データキー「DATA_C」310の値が“EP−72”(テーブル306の1行目)を表現するにあたり、データ分類キー311の値が“LBP”であるため、テーブル307における2行目のキー名称分類キー312の値“LBP”に対応し、キー「KEYNAME_C」315で示されるキー名称が“トナーカートリッジ名”であるのに対して、データキー「DATA_C」310の値が“BCI−6BK”(テーブル306の2行目)を表現するにあたり、データ分類キー311の値が“BJプリンタ”であるため、テーブル307における3行目のキー名称分類キー312の値“BJプリンタ”に対応し、キー名称が“インクカートリッジ名”というように、同一キー(ここではデータキー「DATA_C」310)でありながら、差し込みデータ(EP−72、BCI−6BK)に応じてキー名称(トナーカートリッジ名、インクカートリッジ名)を使い分けることができる。   In the present embodiment, by configuring the tables 306 and 307 in the database 305 as described above, the key names can be used properly according to the insertion data even though they are the same key. For example, when the value of the data key “DATA_C” 310 represents “EP-72” (the first line of the table 306), the value of the data classification key 311 is “LBP”. Corresponding to the value “LBP” of the key name classification key 312, the key name indicated by the key “KEYNAME_C” 315 is “toner cartridge name”, whereas the value of the data key “DATA_C” 310 is “BCI-6BK”. "(Second line of the table 306), the value of the data classification key 311 is" BJ printer ", and therefore corresponds to the value" BJ printer "of the key name classification key 312 of the third line in the table 307. , The key name is the same key (in this case, the data key “DATA_C” 310), such as “ink cartridge name”. While, it is possible to selectively use the key name (toner cartridge name, the ink cartridge name) in accordance with the mail merge data (EP-72, BCI-6BK).

<クライアントPCの検索入力画面>
図4は、本実施形態におけるクライアントPCの検索入力画面の一例を示す図である。
<Search input screen of client PC>
FIG. 4 is a diagram illustrating an example of a search input screen of the client PC in the present embodiment.

同図において、401はブラウザ画面を示している。この画面構成は、クライアントPC側で例えば「http://Server1/Seach」というURIを指定することでサーバー側で構成されるUI(ユーザ・インターフェイス)である。図中の403,405,407は、検索条件を入力するエディットボックスであり、エディットボックス403に対応するキー名称402は「製品名」と表示され、同様にエディットボックス405のキー名称404は「製品コード」と表示され、エディットボックス407のキー名称406は「消耗品名」と表示されている。また「検索」ボタン408は、エディットボックス403、405、407に入力された各検索条件を用いた検索処理を行うボタンである。   In the figure, reference numeral 401 denotes a browser screen. This screen configuration is a UI (user interface) configured on the server side by designating, for example, a URI “http: // Server1 / Seach” on the client PC side. In the figure, reference numerals 403, 405, and 407 denote edit boxes for inputting search conditions. The key name 402 corresponding to the edit box 403 is displayed as "product name". Similarly, the key name 404 in the edit box 405 is "product". "Code" is displayed, and the key name 406 of the edit box 407 is displayed as "Consumable name". A “search” button 408 is a button for performing a search process using each search condition input in the edit boxes 403, 405, and 407.

この検索入力画面を表示にあたり、各キー名称402、404、406は、図3のテーブル307の1行目に格納されているキー名称分類キー312の値が“<検索用>”となっている各キー名称データ(商品名、製品コード、消耗品名)をそれぞれ用いている。但し、表示するキー名称データを選択する方法としては、本実施形態のように処理が検索であるため<検索用>という定義を行い、この定義を用いる方式でもよく、また、このような検索処理専用のキー名称データを作成することなく、単にテーブル307の1行目のデータを用いるとしてもよく、特に限定するものではない。   In displaying this search input screen, each key name 402, 404, 406 has the value of the key name classification key 312 stored in the first row of the table 307 in FIG. Each key name data (product name, product code, consumable name) is used. However, as a method for selecting the key name data to be displayed, since the process is a search as in the present embodiment, a <search> definition may be defined and a method using this definition may be used. The data of the first row of the table 307 may be used without creating dedicated key name data, and is not particularly limited.

<第1実施形態の動作>
次に、図5のフローチャートを用いて本実施形態の動作を説明する。
<Operation of First Embodiment>
Next, the operation of this embodiment will be described using the flowchart of FIG.

同図において、まずステップS501では、例えばクライアントPC111のブラウザからURIを指定することによってサーバーPC121に検索処理要求を行う。   In the figure, first, in step S501, a search processing request is made to the server PC 121 by designating a URI from the browser of the client PC 111, for example.

次にステップS502において、サーバーPC121は、ステップS501での検索要求を受け取り、検索画面に表示する検索項目に対するキー名称を選択する処理を行う。この選択処理は、前記図4にて説明した通り、テーブル307の1行目の選択というのが1つの例であるが、特に限定するものではない。   In step S502, the server PC 121 receives the search request in step S501 and performs a process of selecting a key name for the search item displayed on the search screen. In this selection process, as described with reference to FIG. 4, the selection of the first row of the table 307 is one example, but is not particularly limited.

次のステップS503では、ステップS502で取得したキー名称と、検索条件を入力するコントロールと、検索指示を行うコントロールとを用いて検索画面UIを構築し、クライアントPC111に構築情報を送付する。   In the next step S503, a search screen UI is constructed using the key name acquired in step S502, a control for inputting a search condition, and a control for performing a search instruction, and the construction information is sent to the client PC 111.

続くステップS504では、ステップS503にて送付された検索画面情報を解析して、クライアントPCのブラウザに図4で示したような検索入力画面を表示する。このときに各データキー308,309,310のキー名称は、ステップS502でサーバーPC121がルールに沿って選択したキー名称となる。   In subsequent step S504, the search screen information sent in step S503 is analyzed, and a search input screen as shown in FIG. 4 is displayed on the browser of the client PC. At this time, the key names of the data keys 308, 309, and 310 are the key names selected by the server PC 121 according to the rules in step S502.

ステップS505では、ステップS504で表示した検索入力画面において、所望のキーに対して検索条件を入力する処理を行う。そしてステップS506において検索ボタン408を用いて、ステップS505で指定した検索条件に対する検索指示を行う。この検索指示に伴い、検索条件がクライアントPC111からサーバーPC121へと転送される。   In step S505, a search condition is input for a desired key on the search input screen displayed in step S504. In step S506, the search button 408 is used to issue a search instruction for the search condition specified in step S505. In accordance with this search instruction, the search conditions are transferred from the client PC 111 to the server PC 121.

ステップS507では、クライアントPC111から送付された検索条件を用いてデータベース305に対して検索を行う。このとき、検索する対象は、図3におけるキー名称用キー「KEYNAME_C」315の各キー名称に依存することなく、データキー「DATA_C」310を対象とする。   In step S507, the database 305 is searched using the search condition sent from the client PC 111. At this time, the search target is the data key “DATA_C” 310 without depending on the key names of the key name key “KEYNAME_C” 315 in FIG. 3.

次にステップS508においては、ステップS507の検索処理において該当した検索結果の表示データを作成しクライアントPC111に送付する。さらに、ステップS509では、ステップS508から送付された検索結果データを表示する。   In step S508, display data of the search result corresponding to the search processing in step S507 is created and sent to the client PC 111. In step S509, the search result data sent from step S508 is displayed.

その後のステップS510において、ステップS509において検索した結果を確認し、サーバーPC121に対して、検索結果を、差し込みフィールドを有する差し込み文書に差し込むように指示を行う。この際に、差し込み文書が複数ある場合は、所望の差し込み文書も同時に指定するものとする。但し文書を指定する方法としては、従来の方法でよく特に限定するものではない。   In subsequent step S510, the result searched in step S509 is confirmed, and the server PC 121 is instructed to insert the search result into a merged document having a merge field. At this time, if there are a plurality of merged documents, a desired merged document is also designated at the same time. However, the method for designating a document may be a conventional method and is not particularly limited.

ステップS511では、差し込み指示のあった各差し込みデータを該当する差し込みフィールドに挿入する処理を行い、最終的に差し込み処理の終了した文書を生成する。その後は、ステップS512において、ステップS511で生成した最終成果物としての文書をクライアントPC111に送付し、続くステップS513では、ステップS511にて生成された最終成果物である文書をクライアントPC111において表示する。但し、本ステップS513は表示だけでなく印刷を行っても良く、通常の差し込み処理後の文書をユーザが所望する出力として扱うことができれば、特に限定するものではない。   In step S511, a process for inserting each insertion data instructed to be inserted into the corresponding insertion field is performed, and finally a document for which the insertion process has been completed is generated. Thereafter, in step S512, the document as the final product generated in step S511 is sent to the client PC 111, and in the subsequent step S513, the document that is the final product generated in step S511 is displayed on the client PC 111. However, this step S513 may be printed as well as displayed, and is not particularly limited as long as a document after a normal insertion process can be handled as an output desired by the user.

このように本実施形態では、差し込みデータのキー名称をデータ分類別に設定できるので、検索入力画面にキー名称を表示する際に、任意のキー名称を所望の分類のキー名称から選択して表示することができる。例えば、本例では、検索入力画面に表示するキー名称として、図4に示すように、テーブル307の1行目の商品名、製品コード、消耗品名を選択したが、例えば、テーブル307の2行目の商品名、製品コード、トナーカートリッジを選択しても、また、テーブル307の3行目の商品名、製品コード、インクカートリッジを選択してもよく、このように任意のキー名称を表示した検索処理であっても、同一キーを対象として検索することが可能となる。すなわち、表示するキー名称(例えば「消耗品名」)に対して異なる分類のキー名称(例えば「トナーカートリッジ」または「インクカートリッジ」)を用いても、図4の「検索」ボタン408を押下することで、実際の検索処理は、分類「<検索用>」に限定することなく、同一キーであるデータキー「DATA_C」310の全内容に対して行うことができる。   Thus, in this embodiment, since the key name of the insertion data can be set for each data classification, when displaying the key name on the search input screen, an arbitrary key name is selected from the key names of the desired classification and displayed. be able to. For example, in this example, the product name, product code, and consumable name in the first row of the table 307 are selected as key names to be displayed on the search input screen, as shown in FIG. The product name, product code, and toner cartridge of the eye may be selected, or the product name, product code, and ink cartridge in the third row of the table 307 may be selected. In this way, an arbitrary key name is displayed. Even in the search process, it is possible to search for the same key. That is, even if a different key name (for example, “toner cartridge” or “ink cartridge”) is used for the displayed key name (for example, “consumable name”), the “search” button 408 in FIG. 4 is pressed. Thus, the actual search process can be performed on the entire contents of the data key “DATA_C” 310 that is the same key, without being limited to the classification “<for search>”.

従来では、データベース中の差し込みデータの検索において、キー名称が異なる場合は、キーも異なる定義が必要であったため、同一キーとして検索を行うことができなかったが、本実施形態は、検索画面に表示されたキー名称に対して異なるキー名称を設定した場合であっても、同一キーとして検索処理を行うことができるのである。   Conventionally, when searching for insertion data in the database, if the key name is different, the key must be defined differently, so the search could not be performed with the same key. Even if a different key name is set for the displayed key name, the search process can be performed with the same key.

[第2実施形態]
第2実施形態は、上記第1実施形態で示した検索結果の表示手法に関する実施形態である。
[Second Embodiment]
The second embodiment is an embodiment relating to the search result display method shown in the first embodiment.

図6は、本発明の第2実施形態に係るクライアントPCの検索結果の表示例を示す図であり、本検索結果は、テーブル306の全データが該当する検索処理で得られたものとする。   FIG. 6 is a diagram showing a display example of the search result of the client PC according to the second embodiment of the present invention, and this search result is obtained by the search processing in which all data in the table 306 corresponds.

同図に示す検索結果表示画面の601及び603は、テーブル306の1行目(LBP−1910の存在する行)及び3行目(LBP−2810の存在する行)のデータにそれぞれ該当し、データ分類キー311が“LBP”であるため、テーブル307の2行目に該当する各キー名称である「商品名」、「製品コード」及び「トナーカートリッジ名」を用いて検索結果のキー名称を表示する。   The search result display screens 601 and 603 shown in the figure correspond to the data in the first row (the row where LBP-1910 exists) and the third row (the row where LBP-2810 exists) of the table 306, respectively. Since the classification key 311 is “LBP”, the key name of the search result is displayed using “product name”, “product code”, and “toner cartridge name” corresponding to the second row of the table 307. To do.

一方、データ表示602は、テーブル306の2行目(PIXUS 950iの存在する行)のデータに該当し、データ分類キー311が“BJプリンタ”であるため、テーブル307の3行目に該当する各キー名称である「商品名」、「製品コード」、「インクカートリッジ名」を用いて、検索結果のキー名称を表示する。   On the other hand, the data display 602 corresponds to the data in the second row of the table 306 (the row where the PIXUS 950i exists), and the data classification key 311 is “BJ printer”. The key name of the search result is displayed using the key names “product name”, “product code”, and “ink cartridge name”.

<第2実施形態の動作>
図7は、第2実施形態の動作に係る特徴的な処理を示すフローチャートであり、図5のステップS508において検索結果を作成する際の本実施形態の処理を示すものである。なお、本実施形態の他の処理は、図5のステップS508以外の他の処理(ステップS501〜ステップS507、ステップS509〜ステップS513)と同様であるため省略する。
<Operation of Second Embodiment>
FIG. 7 is a flowchart showing characteristic processing according to the operation of the second embodiment, and shows processing of this embodiment when creating a search result in step S508 of FIG. In addition, since the other process of this embodiment is the same as other processes (step S501-step S507, step S509-step S513) other than step S508 of FIG. 5, it abbreviate | omits.

まずステップS701は、ステップS507までの処理として検索処理が終了していることが前提になり、検索結果のデータ数をNとし、次のステップS702において、データ数N個分のループ処理を行うため、ループ変数Iを初期値1に設定する。続くステップS703では、ループ変数Iとデータ数Nを比較することでループ終了を制御する処理を行う。   First, in step S701, it is assumed that the search process has been completed as the process up to step S507, and the number of data of the search result is set to N, and in the next step S702, a loop process for the number of data N is performed. The loop variable I is set to the initial value 1. In the subsequent step S703, a process for controlling the end of the loop is performed by comparing the loop variable I with the number N of data.

そしてステップS704では、検出されたデータN個のうちのI番目のデータにおける分類(図3のデータ分類キー311に格納されている3種類の分類)を取得する。次のステップS705では、ステップS704で取得した分類に対応した各キー名称を取得し、該当する差し込みデータの表示情報を、取得したキー名称を用いて作成する。   In step S704, the classification (the three types of classification stored in the data classification key 311 in FIG. 3) in the I-th data among the N pieces of detected data is acquired. In the next step S705, each key name corresponding to the classification acquired in step S704 is acquired, and display information of the corresponding insertion data is created using the acquired key name.

その後のステップS706は、次のデータを対象とするためにループ変数Iを+1する。   In subsequent step S706, the loop variable I is incremented by 1 to target the next data.

このように第2実施形態によれば、同一キーによって検索されたデータであっても、検索結果を表示する際には、データの分類別に定義されているキー名称を用いて表示を行うことが可能となる。すなわち、対象の差し込みデータが属する分類で定義されているキー名称を用いることで、従来は抽象的な共通名称を使う必要があったキー名称表示に対しても、個々のデータに対してより詳細なキー名称を用いた表示が可能となる。   As described above, according to the second embodiment, even when data is searched using the same key, when displaying the search result, the key name defined for each data classification can be used for display. It becomes possible. In other words, by using the key name defined in the classification to which the target insertion data belongs, it is more detailed for each data even for the key name display that conventionally required the use of an abstract common name. Display using various key names is possible.

すなわち、従来、同一キーによって検索されたデータの表示を行う際には、同一のキー名称を用いて表示を行うようになっていたが、本第2実施形態では、検索結果として検出されたデータが属する分類で定義されているキー名称を用いて表示を使い分けることができるのである。   That is, conventionally, when data retrieved by the same key is displayed, the same key name is used for display. In the second embodiment, data detected as a retrieval result is displayed. The display can be selectively used by using the key name defined in the classification to which the belongs.

[第3実施形態]
第3実施形態では、図3に示した差し込みフィールドを有する電子文書301おいて、さらにキー名称に対しても差し込みフィールドを有する構成とし、キー名称も検索結果データに応じて変更ができるようにしたものである。
[Third Embodiment]
In the third embodiment, the electronic document 301 having the insertion field shown in FIG. 3 is configured to have an insertion field for the key name, and the key name can be changed according to the search result data. Is.

図8(a),(b),(c)は、本発明の第3実施形態に係る文書処理装置の電子文書例を示す図であり、同図(a)はキー名称を差し込みフィールドとした文書例を示し、同図(b),(c)は差し込み処理後の文書例を示している。   FIGS. 8A, 8B, and 8C are diagrams showing examples of electronic documents of the document processing apparatus according to the third embodiment of the present invention. FIG. 8A shows the key name as the insertion field. Examples of documents are shown, and FIGS. 7B and 7C show examples of documents after insertion processing.

同図(a)に示す文書801は、図3に示した構成の電子文書301において、キー名称に対しても、差し込みフィールド(A)802、差し込みフィールド(B)803及び差し込みフィールド(C)804というように、差し込みフィールドに変更した文書である。   A document 801 shown in FIG. 10A is the insertion field (A) 802, insertion field (B) 803, and insertion field (C) 804 for the key names in the electronic document 301 having the configuration shown in FIG. Thus, the document is changed to the merge field.

差し込みフィールド(A)802は、対象の差し込みデータの分類に応じて、キー名称用キー「KEYNAME_A」313の値を挿入するための差し込みフィールドである。同様に、差し込みフィールド(B)803はキー「KEYNAME_B」314の値を、また差し込みフィールド(C)804はキー「KEYNAME_C」315の値を、それぞれ対象の差し込みデータの分類に応じて挿入するための差し込みフィールドである。なお、図8(a)に示す各差し込みフィールド802〜804には表現上理解しやすくするために「商品名」、「製品コード」、「消耗品名」を残してあるが、挿入時には削除されるため、本情報は実際にはなくてもよい。   The insertion field (A) 802 is an insertion field for inserting the value of the key name key “KEYNAME_A” 313 according to the classification of the target insertion data. Similarly, the insertion field (B) 803 inserts the value of the key “KEYNAME_B” 314, and the insertion field (C) 804 inserts the value of the key “KEYNAME_C” 315 according to the classification of the target insertion data. It is a merge field. Note that in each insertion field 802 to 804 shown in FIG. 8A, “product name”, “product code”, and “consumable name” are left for easy understanding, but they are deleted when inserted. Therefore, this information may not actually be present.

図8(b),(c)に示す文書805,806はそれぞれ、前記差し込み文書801に対して、テーブル306の1行目、2行目のデータを差し込み処理することで出力された最終成果物としての文書を示した例である。   Documents 805 and 806 shown in FIGS. 8B and 8C are final deliverables output by inserting the data in the first and second lines of the table 306 into the merged document 801, respectively. It is an example which showed the document as.

この例で特徴とする点は、差し込みフィールド(C)804に該当する値が、文書805の場合は対象の差し込みデータの分類が“LBP”であるため、“トナーカートリッジ名”になっているのに対して、文書806においては、対象の差し込みデータの分類が“BJプリンタ”であるため“インクカートリッジ名”になっているところである。   The feature of this example is that the value corresponding to the insertion field (C) 804 is “toner cartridge name” because the classification of the target insertion data is “LBP” in the case of the document 805. On the other hand, in the document 806, since the classification of the target insertion data is “BJ printer”, it is “ink cartridge name”.

<第3実施形態の動作>
図9は、第3実施形態の動作に係る特徴的な処理を示すフローチャートであり、図5のステップS511において差し込み文書を作成する際の本実施形態の処理を示すものである。なお、本実施形態の他の処理は、図5のステップS511以外の他の処理(ステップS501〜ステップS510、ステップS512、ステップS513)と同様であるため省略する。
<Operation of Third Embodiment>
FIG. 9 is a flowchart showing a characteristic process related to the operation of the third embodiment, and shows the process of this embodiment when creating a merged document in step S511 of FIG. In addition, since the other process of this embodiment is the same as other processes (step S501-step S510, step S512, step S513) other than step S511 of FIG. 5, it abbreviate | omits.

まずステップS901は、図5のステップS510までの処理が終了していることが前提になり、差し込み指示のあったデータ数をNとし、次のステップS902において、データ数N個分のループ処理を行うため、ループ変数Iを初期値1に設定する。続くステップS903では、ループ変数Iとデータ数Nを比較することでループ終了を制御する処理を行う。   First, step S901 is based on the premise that the processing up to step S510 in FIG. 5 has been completed. The number of data for which insertion has been instructed is set to N, and in the next step S902, loop processing for the number of data N is performed. To do so, the loop variable I is set to the initial value 1. In the subsequent step S903, a process for controlling the loop end is performed by comparing the loop variable I with the number of data N.

そしてステップS904では、検出されたデータN個のうちI番目のデータを該当する差し込みフィールドに挿入する。続くステップS905では、ステップS904で差し込まれたI番目のデータに対応するキー名称が差し込みフィールドとして設定されているか否かを判定する。   In step S904, the I-th data among the detected N pieces of data is inserted into the corresponding insertion field. In subsequent step S905, it is determined whether or not the key name corresponding to the I-th data inserted in step S904 is set as an insertion field.

キー名称が差し込みフィールドとして設定されている場合には、ステップS906へ進んで、I番目のデータにおける分類(図3のデータ分類キー311に格納されている3種類の分類)を取得する。次のステップS907では、ステップS906で取得した分類に対応したキー名称を取得し、続くステップS907では、該当する差し込みフィールドに挿入する。   If the key name is set as an insertion field, the process proceeds to step S906, and the classification of the I-th data (three types of classification stored in the data classification key 311 in FIG. 3) is acquired. In the next step S907, the key name corresponding to the classification acquired in step S906 is acquired, and in the subsequent step S907, it is inserted into the corresponding insertion field.

ステップS907の処理後、またはステップS905でI番目のデータに対応するキー名称が差し込みフィールドとして設定されていないと判定された場合は、ステップS908へ進んで、次のデータを対象とするためにループ変数Iを+1する。   After the process of step S907, or when it is determined in step S905 that the key name corresponding to the I-th data is not set as the insertion field, the process proceeds to step S908 to loop for the next data. The variable I is incremented by one.

このように、本第3実施形態によれば、電子文書にデータの差し込み処理を行う際において、検索結果データに応じてキー名称を変更することが可能となり、ユーザにとってキー名称を細かく使い分けることができることから、より所望の差し込み処理を行う文書管理装置を実現することが可能となる。   As described above, according to the third embodiment, when data is inserted into an electronic document, the key name can be changed according to the search result data, and the key name can be used in detail for the user. Therefore, it is possible to realize a document management apparatus that performs a desired insertion process.

なお、本発明は、上述した実施形態の装置に限定されず、複数の機器から構成されるシステムに適用しても、1つの機器から成る装置に適用してもよい。前述した実施形態の機能を実現するソフトウェアのプログラムコードを記憶した記憶媒体をシステムあるいは装置に供給し、そのシステムあるいは装置のコンピュータ(またはCPUやMPU)が記憶媒体に格納されたプログラムコードを読み出し実行することによっても、完成されることは言うまでもない。   The present invention is not limited to the apparatus of the above-described embodiment, and may be applied to a system constituted by a plurality of devices or an apparatus constituted by one device. A storage medium storing software program codes for realizing the functions of the above-described embodiments is supplied to a system or apparatus, and a computer (or CPU or MPU) of the system or apparatus reads and executes the program codes stored in the storage medium. Needless to say, it will be completed by doing.

この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施形態の機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。プログラムコードを供給するための記憶媒体としては、例えば、フロッピー(登録商標)ディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、CD−R、磁気テープ、不揮発性のメモリカード、ROMを用いることができる。また、コンピュータが読み出したプログラムコードを実行することにより、前述した実施形態の機能が実現されるだけではなく、そのプログラムコードの指示に基づき、コンピュータ上で稼動しているOSなどが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。   In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the storage medium storing the program code constitutes the present invention. As a storage medium for supplying the program code, for example, a floppy (registered trademark) disk, hard disk, optical disk, magneto-optical disk, CD-ROM, CD-R, magnetic tape, nonvolatile memory card, ROM is used. Can do. Further, by executing the program code read out by the computer, not only the functions of the above-described embodiments are realized, but also the OS operating on the computer based on the instruction of the program code performs the actual processing. It goes without saying that a case where the functions of the above-described embodiment are realized by performing part or all of the processing, is also included.

さらに、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれた後、次のプログラムコードの指示に基づき、その拡張機能を拡張ボードや拡張ユニットに備わるCPUなどが処理を行って実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。   Furthermore, after the program code read from the storage medium is written to the memory provided in the function expansion board inserted in the computer or the function expansion unit connected to the computer, the program code is expanded based on the instruction of the next program code. It goes without saying that the functions of the above-described embodiments may be realized by performing some or all of the actual processing by the CPU or the like provided on the expansion board or the expansion unit.

本発明の文書処理装置が適用されたネットワーク構成例を示すブロック図である。It is a block diagram which shows the example of a network structure to which the document processing apparatus of this invention was applied. 図1に示したサーバーPC121の概略構成図である。It is a schematic block diagram of server PC121 shown in FIG. 差し込み文書とデータベース/テーブルの関連図である。It is a related figure of a merged document and a database / table. 実施形態におけるクライアントPCの検索入力画面の一例を示す図である。It is a figure which shows an example of the search input screen of client PC in embodiment. 第1実施形態の動作を示すフローチャートである。It is a flowchart which shows operation | movement of 1st Embodiment. 本発明の第2実施形態に係るクライアントPCの検索結果の表示例を示す図である。It is a figure which shows the example of a display of the search result of the client PC which concerns on 2nd Embodiment of this invention. 本発明の第2実施形態の動作に係る特徴的な処理を示すフローチャートである。It is a flowchart which shows the characteristic process which concerns on operation | movement of 2nd Embodiment of this invention. 本発明の第3実施形態に係る文書処理装置の電子文書例を示す図である。It is a figure which shows the example of an electronic document of the document processing apparatus which concerns on 3rd Embodiment of this invention. 第3実施形態の動作に係る特徴的な処理を示すフローチャートである。It is a flowchart which shows the characteristic process which concerns on operation | movement of 3rd Embodiment.

符号の説明Explanation of symbols

111,112,113 クライアントPC
121 サーバーPC
301 電子文書
302,303,304 差し込みフィールド
305 データベース
306 差し込みデータ管理テーブル
307 分類別キー名称管理テーブル
308,309,310 データキー
311 データ分類キー
312 キー名称分類キー
313,314,315 キー名称用キー
111, 112, 113 Client PC
121 server PC
301 Electronic Document 302, 303, 304 Insert Field 305 Database 306 Insert Data Management Table 307 Classification Key Name Management Table 308, 309, 310 Data Key 311 Data Classification Key 312 Key Name Classification Key 313, 314, 315 Key Name Key

Claims (7)

電子文書中の差し込みフィールドに関連付けられたキーをデータ構造体として定義して、前記差し込みフィールドに差し込まれるデータを格納するデータベースと、前記データベースに格納されたデータの中から任意のキーを対象として所定のデータを検索する検索手段と、前記検索手段で検索されたデータを前記電子文書中の差し込みフィールドに挿入するデータ差し込み手段とを有する文書処理装置において、
前記データベースに格納する各データの分類を定義する分類定義手段と、
前記分類定義手段による分類定義に従って前記各データを管理するデータ管理手段と、
前記電子文書中の差し込みフィールドに対応するキーの名称を表すキー名称情報を前記分類定義ごとに管理する分類別キー名称管理手段と、
前記分類定義ごとに管理されているキー名称情報を用いて、検索用の画面情報を作成する検索画面情報作成手段と、
前記検索手段で検索されたデータの分類に対応したキー名称情報を用いて、当該データの表示情報を作成する表示情報作成手段と
を備えたことを特徴とする文書処理装置。
A key associated with the merge field in the electronic document is defined as a data structure, and a database for storing data to be inserted into the merge field, and a predetermined key for any key from the data stored in the database In a document processing apparatus, comprising: search means for searching for the data of; and data insertion means for inserting the data searched by the search means into the insertion field in the electronic document;
Classification definition means for defining the classification of each data stored in the database;
Data management means for managing each data according to the classification definition by the classification definition means;
Classification-specific key name management means for managing key name information representing a name of a key corresponding to a merge field in the electronic document for each classification definition;
Search screen information creating means for creating screen information for search using key name information managed for each classification definition;
A document processing apparatus comprising: display information creating means for creating display information of the data using key name information corresponding to the classification of the data retrieved by the retrieving means.
前記検索手段で検索されたデータに対応するキー名称情報が差し込みフィールドとして設定されているか否かを判定する判定手段と、
前記キー名称情報が差し込みフィールドとして設定されている場合に、前記検索されたデータが属する分類別のキー名称情報を取得して当該差し込みフィールドに挿入するキー名称差し込み手段とを備えたことを特徴とする請求項1に記載の文書処理装置。
Determination means for determining whether or not key name information corresponding to the data searched by the search means is set as an insertion field;
When the key name information is set as an insertion field, the key name insertion means for acquiring key name information for each category to which the searched data belongs and inserting the key name information into the insertion field is provided. The document processing apparatus according to claim 1.
電子文書中の差し込みフィールドに関連付けられたキーをデータ構造体として定義して、前記差し込みフィールドに差し込まれるデータを格納するデータベースと、前記データベースに格納する各データの分類を定義する分類定義手段と、前記分類定義手段による分類定義に従って前記各データを管理するデータ管理手段と、前記電子文書中の差し込みフィールドに対応するキーの名称を表すキー名称情報を前記分類定義ごとに管理する分類別キー名称管理手段とを有する文書処理システムの制御方法であって、
前記分類定義ごとに管理されているキー名称情報を用いて検索条件入力用画面を作成し表示する検索画面作成工程と、
前記検索条件入力用画面の所定のキーに対して検索条件を入力させる検索条件入力工程と、
前記検索条件を用いて前記データベースに対して検索を行う検索工程と、
前記検索工程で検索されたデータの分類に対応したキー名称情報を用いて、当該データの表示情報を作成する表示情報作成工程と、
前記検索工程で検索されたデータを前記電子文書中の差し込みフィールドに挿入するデータ差し込み工程とを
有することを特徴とする文書処理システムの制御方法。
Defining a key associated with the merge field in the electronic document as a data structure, a database for storing data to be inserted into the merge field, and a class defining means for defining a classification of each data stored in the database; Data management means for managing each data in accordance with the classification definition by the classification definition means, and key name management by classification for managing key name information representing the name of the key corresponding to the insertion field in the electronic document for each classification definition A document processing system control method comprising:
A search screen creation step of creating and displaying a search condition input screen using key name information managed for each classification definition;
A search condition input step to let enter search criteria for a given key of the search condition input screen,
A search step for searching the database using the search condition;
A display information creation step of creating display information of the data using key name information corresponding to the classification of the data searched in the search step;
And a data insertion step of inserting the data retrieved in the retrieval step into a merge field in the electronic document.
前記検索工程で検索されたデータに対応するキー名称情報が差し込みフィールドとして設定されているか否かを判定する判定工程と、
前記キー名称情報が差し込みフィールドとして設定されている場合に、前記検索されたデータが属する分類別のキー名称情報を取得して当該差し込みフィールドに挿入するキー名称差し込み工程とを、
有することを特徴とする請求項3に記載の文書処理システムの制御方法。
A determination step of determining whether or not key name information corresponding to the data searched in the search step is set as an insertion field;
When the key name information is set as an insertion field, a key name insertion step for acquiring key name information for each category to which the searched data belongs and inserting the key name information into the insertion field,
4. The document processing system control method according to claim 3, further comprising:
電子文書中の差し込みフィールドに関連付けられたキーをデータ構造体として定義して、前記差し込みフィールドに差し込まれるデータを格納するデータベースと、前記データベースに格納されたデータの中から任意のキーを対象として所定のデータを検索する検索手段と、前記検索手段で検索されたデータを前記電子文書中の差し込みフィールドに挿入するデータ差し込み手段とを有する文書処理装置の制御プログラムであって、
前記データベースに格納する各データの分類を定義する分類定義ステップと、
前記分類定義ステップによる分類定義に従って前記各データを管理するデータ管理ステップと、
前記電子文書中の差し込みフィールドに対応するキーの名称を表すキー名称情報を前記分類定義ごとに管理する分類別キー名称管理ステップと、
前記分類定義ごとに管理されているキー名称情報を用いて、検索用の画面情報を作成する検索画面情報作成ステップと、
前記検索手段で検索されたデータの分類に対応したキー名称情報を用いて、当該データの表示情報を作成する表示情報作成ステップとを実行させるための、文書処理装置の制御プログラム。
A key associated with the merge field in the electronic document is defined as a data structure, and a database for storing data to be inserted into the merge field, and a predetermined key for any key from the data stored in the database A control program for a document processing apparatus, comprising: search means for searching for data in the data; and data insertion means for inserting the data searched by the search means into a merge field in the electronic document,
A classification defining step for defining a classification of each data stored in the database;
A data management step of managing each of the data in accordance with the classification definition by the classification definition step;
A key name management step by category for managing key name information representing the name of the key corresponding to the merge field in the electronic document for each of the classification definitions;
A search screen information creation step for creating screen information for search using key name information managed for each classification definition;
A control program of a document processing apparatus for executing a display information creation step of creating display information of the data using key name information corresponding to the classification of data searched by the search means.
前記検索手段で検索されたデータに対応するキー名称情報が差し込みフィールドとして設定されているか否かを判定する判定ステップと、
前記キー名称情報が差し込みフィールドとして設定されている場合に、前記検索されたデータが属する分類別のキー名称情報を取得して当該差し込みフィールドに挿入するキー名称差し込みステップとを実行させるための、請求項5に記載の文書処理装置の制御プログラム。
A determination step of determining whether or not key name information corresponding to the data searched by the search means is set as an insertion field;
When said key name information insertion is set as a field, for executing a key name insertion step of inserting into the merge field to obtain categorical key name information the retrieved data belongs, wherein Item 6. A program for controlling a document processing apparatus according to Item 5.
請求項5または6に記載の文書処理装置の制御プログラムを記憶した、コンピュータで読み取り可能な記憶媒体。   A computer-readable storage medium storing the control program for the document processing apparatus according to claim 5.
JP2003343725A 2003-10-01 2003-10-01 Document processing apparatus, document processing system control method, document processing system control program, and storage medium Expired - Fee Related JP3886132B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003343725A JP3886132B2 (en) 2003-10-01 2003-10-01 Document processing apparatus, document processing system control method, document processing system control program, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003343725A JP3886132B2 (en) 2003-10-01 2003-10-01 Document processing apparatus, document processing system control method, document processing system control program, and storage medium

Publications (2)

Publication Number Publication Date
JP2005108120A JP2005108120A (en) 2005-04-21
JP3886132B2 true JP3886132B2 (en) 2007-02-28

Family

ID=34537612

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003343725A Expired - Fee Related JP3886132B2 (en) 2003-10-01 2003-10-01 Document processing apparatus, document processing system control method, document processing system control program, and storage medium

Country Status (1)

Country Link
JP (1) JP3886132B2 (en)

Also Published As

Publication number Publication date
JP2005108120A (en) 2005-04-21

Similar Documents

Publication Publication Date Title
JP4308587B2 (en) Document group management device
KR100897635B1 (en) Document managing system and method thereof and information processing apparatus and controlling method therefor
US8584009B2 (en) Automatically propagating changes in document access rights for subordinate document components to superordinate document components
JP4699148B2 (en) Keyword extraction device, keyword extraction program
WO2006046523A1 (en) Document analysis system and document adaptation system
US20080134023A1 (en) Document processing device, computer readable recording medium, and computer data signal
JP5355032B2 (en) Client device, server device, and document management system, document management method, and document management program using them
JP5207696B2 (en) Information processing apparatus, information processing apparatus control method, and program
US7921127B2 (en) File management apparatus, control method therefor, computer program, and computer-readable storage medium
JP4804241B2 (en) Print data generation apparatus, print data generation method, and computer program
US6175843B1 (en) Method and system for displaying a structured document
JP2009282969A (en) Electronic editing-content change system for document placed in book, electronic editing-content change program of document placed in book and book creation system
US7100126B2 (en) Electrical form design and management method, and recording medium
JP2009123114A (en) Information processor and information processing method
JP3886132B2 (en) Document processing apparatus, document processing system control method, document processing system control program, and storage medium
JP2010039542A (en) Operation information management system
JP5230193B2 (en) Data search apparatus, data search method, and computer program
JP2010026766A (en) Information processing apparatus, information processing method and program
JP2007026220A (en) Information registration retrieval system, information registration method and information retrieval method
JP2020161013A (en) Control program
JP2006338114A (en) Data management device and data management method
JP7485938B2 (en) Information processing device, program, control method for information processing device, and information processing system
JP6939473B2 (en) Document processing equipment and programs
JP2005309741A (en) Document management device, method, and program
JP4936282B2 (en) Information processing system, information processing apparatus, and program

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060313

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060328

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20060417

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060529

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060822

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061023

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: 20061117

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20061120

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: 20091201

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20101201

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20111201

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20121201

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20131201

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees