JP5214211B2 - Form keyword registration device, form keyword registration method, and program - Google Patents

Form keyword registration device, form keyword registration method, and program Download PDF

Info

Publication number
JP5214211B2
JP5214211B2 JP2007272287A JP2007272287A JP5214211B2 JP 5214211 B2 JP5214211 B2 JP 5214211B2 JP 2007272287 A JP2007272287 A JP 2007272287A JP 2007272287 A JP2007272287 A JP 2007272287A JP 5214211 B2 JP5214211 B2 JP 5214211B2
Authority
JP
Japan
Prior art keywords
information
item
character string
attribute
keyword
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.)
Active
Application number
JP2007272287A
Other languages
Japanese (ja)
Other versions
JP2009099090A (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.)
PFU Ltd
Original Assignee
PFU 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 PFU Ltd filed Critical PFU Ltd
Priority to JP2007272287A priority Critical patent/JP5214211B2/en
Publication of JP2009099090A publication Critical patent/JP2009099090A/en
Application granted granted Critical
Publication of JP5214211B2 publication Critical patent/JP5214211B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、帳票キーワード登録装置、および、帳票キーワード登録方法に関し、特に、帳票を管理する(格納、検索、閲覧等を含む。)ための帳票管理アプリケーション(文書管理ソフトウェア、帳票管理ソフトウェア等)に用いられる帳票管理データベースに帳票を格納する際に、簡単、高速、正確にキーワードを登録する、帳票キーワード登録装置、および、帳票キーワード登録方法に関する。   The present invention relates to a form keyword registration apparatus and a form keyword registration method, and more particularly to a form management application (document management software, form management software, etc.) for managing forms (including storage, retrieval, browsing, etc.). The present invention relates to a form keyword registration apparatus and a form keyword registration method for registering a keyword accurately, simply and quickly when storing a form in a form management database to be used.

従来、基幹業務において、帳票の格納、管理、検索、閲覧等を目的とする帳票管理ソフトウェアが多数開発されている。また、最近では、会社の部門レベルで発生する帳票を、文書管理ソフトウェアに格納、管理、検索、閲覧したいというニーズが増えてきている。   Conventionally, a lot of form management software has been developed for the purpose of storing, managing, searching, browsing, and the like in the core business. Recently, there has been an increasing need to store, manage, search, and browse forms generated at the department level of a company in document management software.

文書管理ソフトウェアの特徴としては、帳票を汎用的な電子フォーマット(イメージデータ、Word、Excel,PDFなど)で管理する点や、版数管理や紐付けなどの機能を持つ点、また、文書プロパティや検索インデックスなどのキーワードを付加して保存するのが一般的であるという点が挙げられる。ここで、従来、帳票管理アプリケーションに保存する帳票にキーワードを登録する技術としては、以下の方式が存在する。   The document management software is characterized in that the form is managed in a general-purpose electronic format (image data, Word, Excel, PDF, etc.), has functions such as version management and linking, document properties, It is common that keywords such as a search index are added and stored. Here, conventionally, as a technique for registering a keyword in a form stored in a form management application, the following methods exist.

(1)帳票管理アプリケーションに帳票を格納した後で、手動でキーワードを登録する方式。(2)帳票管理アプリケーションに帳票を格納する時点で、または格納した後で、OCR技術を利用して、帳票のイメージデータからキーワードを抽出・登録する方式。(3)帳票管理アプリケーションに帳票を格納する時点で、業務アプリケーションからキーワードを登録する方式。   (1) A method of manually registering a keyword after storing the form in the form management application. (2) A method of extracting and registering keywords from image data of a form by using OCR technology at the time of storing the form in the form management application or after storing the form. (3) A method of registering a keyword from the business application when the form is stored in the form management application.

例えば、帳票管理アプリケーションに帳票を格納するタイミングでキーワードを登録することができず、格納した後で二次的にキーワードを登録する必要がある場合、(1)または(2)の方式が利用される。例えば、帳票管理アプリケーションが提供する仮想プリンタドライバを利用して帳票を格納するような場合である。   For example, when a keyword cannot be registered at the timing of storing a form in the form management application and it is necessary to register a keyword secondly after storing, the method (1) or (2) is used. The For example, a form is stored using a virtual printer driver provided by a form management application.

一方、(3)の方式を利用する場合、帳票管理アプリケーションが提供するAPIを利用してキーワードを登録したり、帳票管理アプリケーションに登録する帳票の電子フォーマットを独自形式とし、電子フォーマットの中にキーワードを埋め込んだりする方法が利用される。   On the other hand, when the method (3) is used, a keyword is registered using an API provided by the form management application, or the electronic format of the form registered in the form management application is set as a unique format, and the keyword is included in the electronic format. The method of embedding is used.

ここで、キーワードの登録に関する先行技術文献として、特許文献1と特許文献2がある。特許文献1に記載の方法では、まず「電子帳票ファイル」という独自形式の電子フォーマットを生成し、電子帳票システムに格納し、その後、格納された電子帳票ファイルからキーワード(検索用データ)を二次的に抽出し、検索用データベースに登録する。また、特許文献2の方法では、印刷データを解析し、データ(作成者名、帳票名)を抽出する。   Here, there are Patent Document 1 and Patent Document 2 as prior art documents related to keyword registration. In the method described in Patent Document 1, first, an electronic format of an original format called “electronic form file” is generated and stored in the electronic form system, and then a keyword (search data) is secondarily stored from the stored electronic form file. Extracted and registered in the search database. In the method of Patent Document 2, print data is analyzed, and data (creator name, form name) is extracted.

特開2003−346073号公報JP 2003-346073 A 特開2003−157404号公報JP 2003-157404 A

しかしながら、従来の(1)〜(3)の方式においては、以下の問題点を有していた。   However, the conventional methods (1) to (3) have the following problems.

すなわち、(1)の手動でキーワードを登録する方式では、人手を介するため時間とコストがかかり、また、キーワードの入力ミスが発生する可能性があるという問題がある。   That is, in the method (1) of manually registering a keyword, there is a problem that it takes time and cost because of manual intervention, and a keyword input error may occur.

また、(2)のOCR技術を利用してキーワードを登録する方式では、イメージデータからキーワードを抽出するため、キーワードの登録処理に時間がかかるという問題がある。また、全文検索には対応できるが、会社名などの特定のキーワードに絞って検索実行するような、キーワード検索には対応できず、さらに、OCR技術の認識精度は完全に100%にはできないため、正確なキーワードを設定することができないという問題がある。   Further, in the method of registering a keyword using the OCR technique (2), there is a problem that it takes time to register the keyword because the keyword is extracted from the image data. In addition, it can handle full-text search, but it cannot handle keyword search such as searching for specific keywords such as company names, and the recognition accuracy of OCR technology cannot be made 100%. There is a problem that an accurate keyword cannot be set.

特に、特許文献1の方法では、帳票管理アプリケーションに帳票を格納する段階でキーワードを抽出し登録することができず、格納された電子帳票ファイルからキーワードを抽出し、検索用データベースに登録する処理が別途必要であり、処理時間や処理負担がかかるという問題がある。   In particular, in the method of Patent Document 1, keywords cannot be extracted and registered at the stage of storing the form in the form management application, and the process of extracting the keyword from the stored electronic form file and registering it in the search database is performed. There is a problem that it is necessary separately and processing time and processing load are required.

また、特許文献2の方法では、帳票フォーマット作成プログラムに入力する前段で、帳票のフォームデータの項目と、項目への入力データをチェックして、キーワードを抽出することができないため、柔軟なキーワード登録ができないという問題がある。   Further, in the method of Patent Document 2, it is not possible to check the form data items of the form and the input data to the items before the input to the form format creation program. There is a problem that can not be.

(1)または(2)のように帳票の登録後にキーワードを設定する方式と比較して、(3)の方式では、帳票の登録時に業務アプリケーション側が意図するキーワードを自動的で設定するため、高速かつ正確にキーワードを登録することができるというメリットがあるものの、未だ以下の問題点を有していた。すなわち、(3)の業務アプリケーションからキーワードを登録する方式では、業務アプリケーション側でキーワードを設定する処理の作り込みに時間とコストがかかるという問題がある。例えば、既存の帳票システムにおいてプリンタから紙に印刷している帳票を、紙の保管スペース削減や検索時間の短縮などを目的として、帳票管理アプリケーションにも保存するようにシステムを拡張するような場合に、帳票の印刷対象データを帳票管理アプリケーションのキーワードとして設定したい場合がある。このような場合、印刷対象データからキーワードを抽出し、帳票管理アプリケーションのAPIに設定するロジックの作り込みには、出力する帳票を意識した業務アプリケーションの作成が必要となるため、かなりの時間とコストがかかるという問題があった。   Compared with the method of setting a keyword after registering a form as in (1) or (2), the method of (3) automatically sets the keyword intended by the business application when registering the form. Although there is a merit that keywords can be registered accurately, it still has the following problems. That is, in the method of registering keywords from the business application (3), there is a problem that it takes time and cost to create a process for setting keywords on the business application side. For example, when an existing form system is extended to save forms that are printed on paper from a printer to form management applications for the purpose of reducing paper storage space or searching time. In some cases, it is desired to set print target data of a form as a keyword of the form management application. In such a case, since it is necessary to create a business application conscious of the form to be output in order to extract the keyword from the print target data and set the logic to be set in the API of the form management application, considerable time and cost are required. There was a problem that it took.

本発明は、上記に鑑みてなされたもので、帳票を格納する際に、簡単、高速、正確にキーワードを登録し、業務アプリケーションから帳票管理アプリケーションへのキーワードの登録を効率化することができる、帳票キーワード登録装置、帳票キーワード登録方法、および、プログラムを提供することを目的とする。   The present invention has been made in view of the above, and when storing a form, it is possible to register keywords easily, quickly and accurately, and to efficiently register keywords from a business application to a form management application. It is an object to provide a form keyword registration device, a form keyword registration method, and a program.

このような目的を達成するため、請求項1に記載の帳票キーワード登録装置は、記憶部と制御部とを備えた帳票キーワード登録装置であって、上記記憶部は、業務アプリケーションの実行により生成された帳票のデータ項目単位の文字列を順番に列挙した出力対象データと、上記出力対象データの属性項目と属性値とを対応付けて格納した属性情報と、上記出力対象データの上記データ項目の順番を定義する並び情報と、上記帳票の電子文書に表示される上記データ項目のレイアウトを定義する出力様式情報と、を少なくとも有する帳票定義体と、を記憶し、上記制御部は、上記帳票定義体の上記並び情報に基づいて、上記出力対象データを上記各データ項目単位に上記文字列を抽出し、上記データ項目の項目名と、当該文字列そのもの、または、当該文字列の値に対して演算もしくは他の文字列を結合して加工した文字列と、を対応付けて格納した項目情報を生成する項目情報生成手段と、上記属性情報の上記属性値が上記項目名を含む置換対象文字列である場合に、当該項目名に対応する上記項目情報の上記文字列で当該属性値を置換した後、上記属性情報をキーワード情報として格納するキーワード情報格納手段と、上記帳票定義体の上記出力様式情報に基づいて、上記項目情報から上記電子文書を作成する電子文書作成手段と、を備え、上記電子文書を管理するための帳票管理アプリケーションに上記電子文書と上記キーワード情報を登録することを特徴とする。   In order to achieve such an object, the form keyword registration device according to claim 1 is a form keyword registration device including a storage unit and a control unit, and the storage unit is generated by executing a business application. Output target data that enumerates character strings in units of data items in the form, attribute information in which attribute items and attribute values of the output target data are stored in association with each other, and the order of the data items of the output target data And a form definition body having at least an output format information defining a layout of the data items displayed in the electronic document of the form, and the control unit stores the form definition body. Based on the arrangement information, the character string is extracted from the output target data for each data item unit, and the item name of the data item and the character string itself are extracted. Is an item information generating means for generating item information in which a character string obtained by computing or combining other character strings is processed with respect to the value of the character string, and the attribute value of the attribute information. Keyword information storage means for storing the attribute information as keyword information after replacing the attribute value with the character string of the item information corresponding to the item name, And an electronic document creation means for creating the electronic document from the item information based on the output format information of the form definition body, and the electronic document and the electronic document in a form management application for managing the electronic document The keyword information is registered.

また、請求項2に記載の帳票キーワード登録装置は、記憶部と制御部とを備えた帳票キーワード登録装置であって、上記記憶部は、業務アプリケーションの実行により生成された帳票のデータ項目単位の文字列を順番に列挙し、上記データ項目の順番を定義する並び情報を含む出力対象データと、上記出力対象データの属性項目と属性値とを対応付けて格納した属性情報と、上記帳票の電子文書に表示される上記データ項目のレイアウトを定義する出力様式情報を有する帳票定義体と、を記憶し、上記制御部は、上記出力対象データの上記並び情報に基づいて、上記出力対象データを上記各データ項目単位に上記文字列を抽出し、上記データ項目の項目名と、当該文字列そのもの、または、当該文字列の値に対して演算もしくは他の文字列を結合して加工した文字列と、を対応付けて格納した項目情報を生成する項目情報生成手段と、上記属性情報の上記属性値が上記項目名を含む置換対象文字列である場合に、当該項目名に対応する上記項目情報の上記文字列で当該属性値を置換した後、上記属性情報をキーワード情報として格納するキーワード情報格納手段と、上記帳票定義体の上記出力様式情報に基づいて、上記項目情報から上記電子文書を作成する電子文書作成手段と、を備え、上記電子文書を管理するための帳票管理アプリケーションに上記電子文書と上記キーワード情報を登録することを特徴とする。   The form keyword registration apparatus according to claim 2 is a form keyword registration apparatus including a storage unit and a control unit, wherein the storage unit is a data item unit of the form generated by executing the business application. List the character strings in order, output target data including sequence information that defines the order of the data items, attribute information stored in association with attribute items and attribute values of the output target data, and the electronic form of the form A form definition body having output format information defining a layout of the data items displayed in the document, and the control unit converts the output target data into the output target data based on the arrangement information of the output target data. The above character string is extracted for each data item unit, and an operation or other character string is applied to the item name of the data item and the character string itself or the value of the character string. Item information generating means for generating item information stored in association with the processed character string, and when the attribute value of the attribute information is a replacement target character string including the item name, the item After the attribute value is replaced with the character string of the item information corresponding to the name, the item information is stored based on the keyword information storage means for storing the attribute information as keyword information, and the output format information of the form definition body. Electronic document creation means for creating the electronic document from the information, and the electronic document and the keyword information are registered in a form management application for managing the electronic document.

また、請求項3に記載の帳票キーワード登録装置は、請求項1または2に記載の帳票キーワード登録装置において、更に入力装置と出力装置を備え、上記制御部は、利用者に上記入力装置を介して上記属性値を設定させるよう上記出力装置を制御し、上記属性情報に格納する属性情報設定手段、を更に備えたことを特徴とする。   Further, the form keyword registration device according to claim 3 is the form keyword registration device according to claim 1 or 2, further comprising an input device and an output device, and the control unit provides the user with the input device. And an attribute information setting means for controlling the output device to set the attribute value and storing it in the attribute information.

また、請求項4に記載の帳票キーワード登録装置は、請求項3に記載の帳票キーワード登録装置において、上記属性情報設定手段は、上記利用者に上記入力装置を介して、上記データ項目の上記項目名を選択させるよう上記出力装置を制御し、選択された上記項目名を含む上記置換対象文字列を上記属性値として格納すること、を特徴とする。   Further, the form keyword registration device according to claim 4 is the form keyword registration device according to claim 3, wherein the attribute information setting means sends the item of the data item to the user via the input device. The output device is controlled to select a name, and the replacement target character string including the selected item name is stored as the attribute value.

また、請求項5に記載の帳票キーワード登録方法は、記憶部と制御部とを備えた帳票キーワード登録装置において実行される帳票キーワード登録方法であって、上記記憶部は、業務アプリケーションの実行により生成された帳票のデータ項目単位の文字列を順番に列挙した出力対象データと、上記出力対象データの属性項目と属性値とを対応付けて格納した属性情報と、上記出力対象データの上記データ項目の順番を定義する並び情報と、上記帳票の電子文書に表示される上記データ項目のレイアウトを定義する出力様式情報と、を少なくとも有する帳票定義体と、を記憶しており、上記制御部において実行される、上記帳票定義体の上記並び情報に基づいて、上記出力対象データを上記各データ項目単位に上記文字列を抽出し、上記データ項目の項目名と、当該文字列そのもの、または、当該文字列の値に対して演算もしくは他の文字列を結合して加工した文字列と、を対応付けて格納した項目情報を生成する項目情報生成ステップと、上記属性情報の上記属性値が上記項目名を含む置換対象文字列である場合に、当該項目名に対応する上記項目情報の上記文字列で当該属性値を置換した後、上記属性情報をキーワード情報として格納するキーワード情報格納ステップと、上記帳票定義体の上記出力様式情報に基づいて、上記項目情報から上記電子文書を作成する電子文書作成ステップと、を含み、上記電子文書を管理するための帳票管理アプリケーションに上記電子文書と上記キーワード情報を登録することを特徴とする。   The form keyword registration method according to claim 5 is a form keyword registration method executed in a form keyword registration apparatus including a storage unit and a control unit, and the storage unit is generated by executing a business application. Output target data that enumerates character strings in units of data items of the generated forms in order, attribute information in which attribute items and attribute values of the output target data are stored in association with each other, and the data items of the output target data A form definition body having at least alignment information that defines the order and output format information that defines the layout of the data items displayed in the electronic document of the form is stored and executed in the control unit. Based on the arrangement information of the form definition body, the character string is extracted from the output target data for each data item unit, and the data Item information that generates item information in which the item name of the eye and the character string itself, or a character string that is processed by combining the value of the character string or computation or other character strings are stored in association with each other And when the attribute value of the attribute information is a replacement target character string including the item name, after replacing the attribute value with the character string of the item information corresponding to the item name, the attribute value A keyword information storage step for storing information as keyword information; and an electronic document creation step for creating the electronic document from the item information based on the output format information of the form definition body, and managing the electronic document The electronic document and the keyword information are registered in a form management application for doing so.

また、請求項6に記載の帳票キーワード登録方法は、記憶部と制御部とを備えた帳票キーワード登録装置において実行される帳票キーワード登録方法であって、上記記憶部は、業務アプリケーションの実行により生成された帳票のデータ項目単位の文字列を順番に列挙し、上記データ項目の順番を定義する並び情報を含む出力対象データと、上記出力対象データの属性項目と属性値とを対応付けて格納した属性情報と、上記帳票の電子文書に表示される上記データ項目のレイアウトを定義する出力様式情報を有する帳票定義体と、を記憶しており、上記制御部において実行される、上記出力対象データの上記並び情報に基づいて、上記出力対象データを上記各データ項目単位に上記文字列を抽出し、上記データ項目の項目名と、当該文字列そのもの、または、当該文字列の値に対して演算もしくは他の文字列を結合して加工した文字列と、を対応付けて格納した項目情報を生成する項目情報生成ステップと、上記属性情報の上記属性値が上記項目名を含む置換対象文字列である場合に、当該項目名に対応する上記項目情報の上記文字列で当該属性値を置換した後、上記属性情報をキーワード情報として格納するキーワード情報格納ステップと、上記帳票定義体の上記出力様式情報に基づいて、上記項目情報から上記電子文書を作成する電子文書作成ステップと、を含み、上記電子文書を管理するための帳票管理アプリケーションに上記電子文書と上記キーワード情報を登録することを特徴とする。   The form keyword registration method according to claim 6 is a form keyword registration method executed in a form keyword registration apparatus including a storage unit and a control unit, and the storage unit is generated by executing a business application. The character strings for each data item of the generated form are listed in order, and the output target data including the order information that defines the order of the data items and the attribute items and attribute values of the output target data are stored in association with each other. Attribute information and a form definition body having output format information that defines a layout of the data items displayed in the electronic document of the form, and is stored in the form of the output target data executed in the control unit. Based on the arrangement information, the character string is extracted from the output target data for each data item unit, and the item name of the data item, the character string and the character string are extracted. An item information generation step for generating item information in which one or a character string calculated or combined with another character string and processed with respect to the value of the character string is stored, and the attribute information Keyword information for storing the attribute information as keyword information after replacing the attribute value with the character string of the item information corresponding to the item name when the attribute value is a replacement target character string including the item name An electronic document creation step for creating the electronic document from the item information on the basis of the output format information of the form definition body, and the electronic document management application for managing the electronic document includes the electronic document A document and the keyword information are registered.

また、請求項7に記載のプログラムは、記憶部と制御部とを備えた帳票キーワード登録装置に帳票キーワード登録方法を実行させるためのプログラムであって、上記記憶部は、業務アプリケーションの実行により生成された帳票のデータ項目単位の文字列を順番に列挙した出力対象データと、上記出力対象データの属性項目と属性値とを対応付けて格納した属性情報と、上記出力対象データの上記データ項目の順番を定義する並び情報と、上記帳票の電子文書に表示される上記データ項目のレイアウトを定義する出力様式情報と、を少なくとも有する帳票定義体と、を記憶しており、上記制御部において実行される、上記帳票定義体の上記並び情報に基づいて、上記出力対象データを上記各データ項目単位に上記文字列を抽出し、上記データ項目の項目名と、当該文字列そのもの、または、当該文字列の値に対して演算もしくは他の文字列を結合して加工した文字列と、を対応付けて格納した項目情報を生成する項目情報生成ステップと、上記属性情報の上記属性値が上記項目名を含む置換対象文字列である場合に、当該項目名に対応する上記項目情報の上記文字列で当該属性値を置換した後、上記属性情報をキーワード情報として格納するキーワード情報格納ステップと、上記帳票定義体の上記出力様式情報に基づいて、上記項目情報から上記電子文書を作成する電子文書作成ステップと、を含み、上記電子文書を管理するための帳票管理アプリケーションに上記電子文書と上記キーワード情報を登録することを特徴とする。   The program according to claim 7 is a program for causing a form keyword registration apparatus including a storage unit and a control unit to execute a form keyword registration method, and the storage unit is generated by executing a business application. Output target data that enumerates character strings in units of data items of the generated forms in order, attribute information in which attribute items and attribute values of the output target data are stored in association with each other, and the data items of the output target data A form definition body having at least alignment information that defines the order and output format information that defines the layout of the data items displayed in the electronic document of the form is stored and executed in the control unit. Based on the arrangement information of the form definition body, the character string is extracted from the output target data for each data item unit, and the data Item information that generates item information in which the item name of the eye and the character string itself, or a character string that is processed by combining the value of the character string or computation or other character strings are stored in association with each other And when the attribute value of the attribute information is a replacement target character string including the item name, after replacing the attribute value with the character string of the item information corresponding to the item name, the attribute value A keyword information storage step for storing information as keyword information; and an electronic document creation step for creating the electronic document from the item information based on the output format information of the form definition body, and managing the electronic document The electronic document and the keyword information are registered in a form management application for doing so.

また、請求項8に記載のプログラムは、記憶部と制御部とを備えた帳票キーワード登録装置に帳票キーワード登録方法を実行させるためのプログラムであって、上記記憶部は、業務アプリケーションの実行により生成された帳票のデータ項目単位の文字列を順番に列挙し、上記データ項目の順番を定義する並び情報を含む出力対象データと、上記出力対象データの属性項目と属性値とを対応付けて格納した属性情報と、上記帳票の電子文書に表示される上記データ項目のレイアウトを定義する出力様式情報を有する帳票定義体と、を記憶しており、上記制御部において実行される、上記出力対象データの上記並び情報に基づいて、上記出力対象データを上記各データ項目単位に上記文字列を抽出し、上記データ項目の項目名と、当該文字列そのもの、または、当該文字列の値に対して演算もしくは他の文字列を結合して加工した文字列と、を対応付けて格納した項目情報を生成する項目情報生成ステップと、上記属性情報の上記属性値が上記項目名を含む置換対象文字列である場合に、当該項目名に対応する上記項目情報の上記文字列で当該属性値を置換した後、上記属性情報をキーワード情報として格納するキーワード情報格納ステップと、上記帳票定義体の上記出力様式情報に基づいて、上記項目情報から上記電子文書を作成する電子文書作成ステップと、を含み、上記電子文書を管理するための帳票管理アプリケーションに上記電子文書と上記キーワード情報を登録することを特徴とする。   The program according to claim 8 is a program for causing a form keyword registration apparatus including a storage unit and a control unit to execute a form keyword registration method, and the storage unit is generated by executing a business application. The character strings for each data item of the generated form are listed in order, and the output target data including the order information that defines the order of the data items and the attribute items and attribute values of the output target data are stored in association with each other. Attribute information and a form definition body having output format information that defines a layout of the data items displayed in the electronic document of the form, and is stored in the form of the output target data executed in the control unit. Based on the arrangement information, the character string is extracted from the output target data for each data item unit, and the item name of the data item, the character string and the character string are extracted. An item information generation step for generating item information in which one or a character string calculated or combined with another character string and processed with respect to the value of the character string is stored, and the attribute information Keyword information for storing the attribute information as keyword information after replacing the attribute value with the character string of the item information corresponding to the item name when the attribute value is a replacement target character string including the item name An electronic document creation step for creating the electronic document from the item information on the basis of the output format information of the form definition body, and the electronic document management application for managing the electronic document includes the electronic document A document and the keyword information are registered.

本発明によれば、帳票を格納する際に、簡単、高速、正確にキーワードを登録し、業務アプリケーションから帳票管理アプリケーションへのキーワードの登録を効率化することができる。   According to the present invention, when a form is stored, keywords can be registered easily, quickly and accurately, and the registration of keywords from the business application to the form management application can be made efficient.

また、本発明によれば、新規に業務アプリケーションを構成する場合は、必要最小限のコストで構築でき、既存の業務アプリケーションを改修する場合は、GUIを利用して、帳票定義体の帳票業務情報のプロパティに文書管理属性を設定することにより既存の業務ロジックに全く手を加えることなく、帳票管理アプリケーションに帳票とキーワードを簡単に登録できる。   Further, according to the present invention, when a business application is newly configured, it can be constructed at a minimum necessary cost. When an existing business application is to be repaired, the form work information of the form definition body is used using the GUI. By setting the document management attribute in the property, it is possible to easily register a form and a keyword in the form management application without changing any existing business logic.

以下に、本発明にかかる、帳票キーワード登録装置、帳票キーワード登録方法、および、プログラム、並びに、記録媒体の実施の形態を図面に基づいて詳細に説明する。なお、この実施の形態によりこの発明が限定されるものではない。   Embodiments of a form keyword registration apparatus, form keyword registration method, program, and recording medium according to the present invention will be described below in detail with reference to the drawings. Note that the present invention is not limited to the embodiments.

[本発明の概要]
以下、本発明の概要について説明し、その後、本発明の構成および処理等について詳細に説明する。図1は、本発明の基本原理を示す原理構成図である。また、図2は、本発明の基本原理を示すフローチャートである。
[Outline of the present invention]
Hereinafter, the outline of the present invention will be described, and then the configuration and processing of the present invention will be described in detail. FIG. 1 is a principle configuration diagram showing the basic principle of the present invention. FIG. 2 is a flowchart showing the basic principle of the present invention.

図1に示すように、本発明は、帳票を生成するための業務アプリケーションから、電子文書を管理するための帳票管理アプリケーション(文書管理ソフトウェアや帳票管理ソフトウェア等)へ、帳票を電子文書として出力・登録する際に、同時に、キーワードを抽出して登録する、帳票キーワード登録装置、帳票キーワード登録方法、および、プログラムに関するものである。また、図1に示すように、本発明は、業務アプリケーションから帳票管理アプリケーションへの帳票出力インターフェースや、API、ミドルウェア、コマンド等として好適に実現される。   As shown in FIG. 1, the present invention outputs a form as an electronic document from a business application for generating a form to a form management application (such as document management software or form management software) for managing an electronic document. The present invention relates to a form keyword registration device, a form keyword registration method, and a program for extracting and registering keywords at the same time when registering. Also, as shown in FIG. 1, the present invention is suitably implemented as a form output interface, API, middleware, command, etc. from a business application to a form management application.

ここで、「キーワード」とは、帳票の電子文書とは別に登録される情報であり、格納、管理、検索、閲覧等のために利用される情報のことである。例えば、帳票の格納先や、文書プロパティ、検索インデックス等の管理情報を指す。   Here, the “keyword” is information registered separately from the electronic document in the form, and is information used for storage, management, search, browsing, and the like. For example, it refers to management information such as a form storage destination, document properties, and search index.

本発明は、概略的に、以下の基本的特徴を有する。すなわち、本発明の本帳票キーワード登録装置は、記憶部と制御部を少なくとも備え、業務アプリケーションの実行により生成された帳票のデータ項目単位の文字列を順番に列挙した出力対象データと、出力対象データの属性項目と属性値とを対応付けて格納した属性情報と、出力対象データのデータ項目の順番を定義する並び情報と帳票の電子文書に表示されるデータ項目のレイアウトを定義する出力様式情報とを少なくとも有する帳票定義体と、を記憶する。ここで、出力対象データは、データ項目の順番を定義する並び情報を含み、帳票定義体は、並び情報を含まない構成としてもよい。   The present invention generally has the following basic features. That is, the form keyword registration device of the present invention includes at least a storage unit and a control unit, and output target data in which character strings in units of data items of a form generated by executing a business application are listed in order, and output target data Attribute information and attribute values stored in association with each other, alignment information that defines the order of the data items of the output target data, output format information that defines the layout of the data items displayed in the electronic document of the form, And a form definition body having at least. Here, the output target data may include arrangement information that defines the order of the data items, and the form definition body may include no arrangement information.

ここで、本帳票キーワード登録装置は、利用者に入力装置を介して属性値を設定させるよう出力装置を制御し属性情報に格納してもよく、また、データ項目の項目名を選択させるよう出力装置を制御し、選択された項目名を含む置換対象文字列を属性値として格納してもよい(図1の「キーワード指定」参照)。   Here, the form keyword registration device may control the output device to allow the user to set an attribute value via the input device and store it in the attribute information, and output the item name of the data item to be selected. The apparatus may be controlled and a replacement target character string including the selected item name may be stored as an attribute value (see “keyword designation” in FIG. 1).

そして、図2に示すように、本帳票キーワード登録装置は、業務アプリケーションの実行により生成された帳票の出力対象データが格納されると(ステップSA−1)、帳票定義体または出力対象データの並び情報に基づいて、出力対象データを各データ項目単位に文字列を抽出し、データ項目の項目名と、当該文字列そのもの、または、当該文字列の値に対して演算もしくは他の文字列を結合して加工した文字列と、を対応付けて格納した項目情報を生成する(ステップSA−2)。   As shown in FIG. 2, the form keyword registration apparatus stores the form definition body or the output target data when the output target data of the form generated by executing the business application is stored (step SA-1). Based on the information, extract the character string for each data item from the output target data, and combine the operation or other character string with the item name of the data item and the character string itself or the value of the character string Then, the item information storing the processed character string in association with each other is generated (step SA-2).

そして、本帳票キーワード登録装置は、属性情報の属性値が項目名を含む置換対象文字列である場合に、当該項目名に対応する項目情報の文字列で当該属性値を置換した後、属性情報をキーワード情報として格納する(ステップSA−3)。   When the attribute value of the attribute information is a replacement target character string including the item name, the form keyword registration device replaces the attribute value with the character string of the item information corresponding to the item name, Is stored as keyword information (step SA-3).

そして、本帳票キーワード登録装置は、帳票定義体の出力様式情報に基づいて、項目情報から電子文書を作成し登録する(ステップSA−4)。   Then, the form keyword registration device creates and registers an electronic document from the item information based on the output format information of the form definition body (step SA-4).

これにより、帳票管理アプリケーションが実行されると、帳票の電子文書の格納、管理、検索、閲覧等のためにキーワード情報が利用されることとなる(ステップSA−5)。   Thus, when the form management application is executed, the keyword information is used for storage, management, search, browsing, etc. of the electronic document of the form (step SA-5).

以上により、本発明によれば、帳票を格納する際に、簡単、高速、正確にキーワードを登録し、業務アプリケーションから帳票管理アプリケーションへのキーワードの登録を効率化することができる。また、新規に業務アプリケーションを構成する場合は、必要最小限のコストで構築でき、既存の業務アプリケーションを改修する場合は、GUIを利用して、帳票定義体の帳票業務情報のプロパティに文書管理属性を設定することにより既存の業務ロジックに全く手を加えることなく、帳票管理アプリケーションに帳票とキーワードを簡単に登録できる。また、帳票定義体について、GUI(Graphical User Interface)を利用して、帳票管理アプリケーションへ登録される属性情報を設定するので、業務アプリケーションの開発と、帳票管理アプリケーションに登録するキーワードの設定を完全に分離することができる。また、帳票定義体、および、属性情報ファイルに、帳票定義体の項目名を記述するので、出力対象データからキーワードに設定する値を抽出、設定するロジックを業務アプリケーション側で作り込む必要性がなくなり低コスト短時間でプログラムを構築することができる。また、この機能を利用すれば、出力対象データを元に、帳票管理アプリケーションの格納先を指定することもできる。以上で、本発明の概要の説明を終える。   As described above, according to the present invention, when storing a form, it is possible to register keywords easily, quickly and accurately, and to efficiently register keywords from the business application to the form management application. In addition, when configuring a new business application, it can be built at the minimum necessary cost. When renovating an existing business application, the document management attribute is set in the property of the form business information of the form definition body using the GUI. By setting, you can easily register forms and keywords in the form management application without any changes to existing business logic. In addition, since the attribute information to be registered in the form management application is set using the GUI (Graphical User Interface) for the form definition body, the development of business applications and the setting of keywords to be registered in the form management application are completely performed. Can be separated. In addition, because the item name of the form definition body is described in the form definition body and attribute information file, there is no need to create the logic to extract and set the value set for the keyword from the output target data on the business application side. A program can be constructed in a low cost and in a short time. If this function is used, the storage location of the form management application can be specified based on the output target data. This is the end of the description of the outline of the present invention.

[帳票キーワード登録装置の構成]
まず、本帳票キーワード登録装置の構成について説明する。図3は、本発明が適用される帳票キーワード登録装置の構成の一例を示すブロック図であり、該構成のうち本発明に関係する部分のみを概念的に示している。
[Configuration of form keyword registration device]
First, the configuration of the form keyword registration apparatus will be described. FIG. 3 is a block diagram showing an example of the configuration of a form keyword registration apparatus to which the present invention is applied, and conceptually shows only the portion related to the present invention.

図3において、帳票キーワード登録装置100は、概略的に、帳票キーワード登録装置100の全体を統括的に制御するCPU等の制御部102、入力装置112や出力装置114に接続される入出力制御インターフェース部108、および、各種のデータベースやテーブルなどを格納する記憶部106を備えて構成されており、これら各部は任意の通信路を介して通信可能に接続されている。   In FIG. 3, the form keyword registration device 100 is schematically an input / output control interface connected to a control unit 102 such as a CPU, an input device 112, and an output device 114 that collectively control the entire form keyword registration device 100. The unit 108 and a storage unit 106 for storing various databases, tables, and the like are configured. These units are communicably connected via an arbitrary communication path.

記憶部106に格納される各種のデータベースやテーブル(帳票定義体ファイル106a〜文書管理DB106h)は、固定ディスク装置等のストレージ手段であり、各種処理に用いる各種のプログラムやテーブルやファイルやデータベースやウェブページ等を格納する。   Various databases and tables (form definition file 106a to document management DB 106h) stored in the storage unit 106 are storage means such as a fixed disk device, and various programs, tables, files, databases, and webs used for various processes. Stores pages etc.

これら記憶部106の各構成要素のうち、帳票定義体ファイル106aは、帳票定義体を記憶する帳票定義体記憶手段である。ここで、帳票定義体は、出力対象データのデータ項目の順番を定義する並び情報と、帳票の電子文書に表示されるデータ項目のレイアウトを定義する出力様式情報と、を少なくとも有する。ここで、並び情報(レコード定義情報)は、出力様式の各項目と出力対象データのデータ項目とを対応付ける(マッピングする)ための情報であり、出力対象データのデータ項目の順番を定義する。また、帳票定義体は、帳票の出力方法(印刷、FAX配信、文書登録等)や、帳票管理アプリケーション(文書管理ソフトウェアや帳票管理アプリケーション等)に登録するキーワードなど、帳票業務に関する情報を保持してもよい。また、帳票定義体は、帳票の出力様式として、項目名や、データ形式(日本語、数字などの種別)、データ長、項目位置などの属性情報を有してもよい。また、帳票定義体は並び情報を含まず、出力対象データに並び情報を含む構成としてもよい。   Of these components of the storage unit 106, the form definition file 106a is a form definition storage means for storing the form definition. Here, the form definition body has at least alignment information that defines the order of data items of output target data, and output format information that defines the layout of data items displayed in the electronic document of the form. Here, the arrangement information (record definition information) is information for associating (mapping) each item of the output format with the data item of the output target data, and defines the order of the data items of the output target data. The form definition body holds information related to form operations such as form output methods (printing, FAX distribution, document registration, etc.) and keywords to be registered in form management applications (document management software, form management applications, etc.). Also good. Further, the form definition body may have attribute information such as item name, data format (type such as Japanese and numbers), data length, and item position as a form output form. Further, the form definition body may not include the alignment information but may include the alignment information in the output target data.

また、出力対象データファイル106bは、業務アプリケーションの実行により生成され出力された出力対象データを記憶する出力対象データ記憶手段である。ここで、図4は、出力対象データの一例を示す図である。この出力対象データファイル106bに格納される出力対象データは、図4に示すように、帳票のデータ項目単位の文字列を順番に列挙したデータである。なお、出力対象データは、この形態に限られず、任意の形態で構成されてもよい。また、出力対象データは並び情報を含み、帳票定義体は並び情報を含まない構成としてもよい。ここで、図5は、並び情報を含む出力対象データの一例を示す図である。図5に示すように、出力対象データは、帳票のデータ項目単位の文字列を順番に列挙したデータ(図の「データ行」)に対応付けて、データ項目の順番を定義する並び情報(図の「項目名ラベル行」)を含んでいてもよい。   The output target data file 106b is output target data storage means for storing output target data generated and output by execution of a business application. Here, FIG. 4 is a diagram illustrating an example of output target data. The output target data stored in the output target data file 106b is data in which character strings in units of data items of a form are listed in order as shown in FIG. Note that the output target data is not limited to this form, and may be configured in any form. The output target data may include arrangement information and the form definition body may not include arrangement information. Here, FIG. 5 is a diagram illustrating an example of output target data including arrangement information. As shown in FIG. 5, the output target data is array information that defines the order of data items in association with data (“data rows” in the figure) in which character strings in units of data items are listed in order. "Item name label line").

また、属性情報ファイル106cは、出力対象データの属性情報を記憶する属性情報記憶手段である。ここで、属性情報は、出力対象データの属性項目と属性値とを対応付けて格納した情報である。また、属性値としては、直値(置換対象ではない値)であっても、項目名を含む置換対象文字列であってもよい。また、属性情報は、帳票を帳票管理アプリケーションに登録する際の登録先情報でもよく、また、業務アプリケーション実行時に作成されたプロパティ情報等でもよい。また、属性情報は、帳票定義体に直接定義されてもよい。ここで、一例として、属性情報の属性項目としては、以下のものが挙げられる。   The attribute information file 106c is attribute information storage means for storing attribute information of output target data. Here, the attribute information is information in which attribute items and attribute values of the output target data are stored in association with each other. Further, the attribute value may be a direct value (a value that is not a replacement target) or a replacement target character string including an item name. Further, the attribute information may be registration destination information when a form is registered in the form management application, or may be property information created when the business application is executed. The attribute information may be directly defined in the form definition body. Here, as an example, the attribute items of the attribute information include the following.

登録先の文書管理製品の種類
帳票管理アプリケーションのログオンユーザ名
帳票管理アプリケーションのログオンユーザのパスワード
登録先の文書管理製品を特定する情報(URL、IPアドレス等)
文書ID(登録する文書を特定するための一意のID)
登録時に同一の文書IDが存在した場合の動作(エラー、改版、差し替え、紐付け等)
登録先の書庫名、キャビネット名、バインダ名
登録する文書の文書名
登録する文書の生成日
登録する文書の所有者ID
登録する文書の修正情報
Type of registered document management product Logon user name of form management application Logon user password of form management application Information specifying URL of registered document management product (URL, IP address, etc.)
Document ID (unique ID for identifying the document to be registered)
Operation when the same document ID exists at the time of registration (error, revision, replacement, linking, etc.)
Registration destination archive name, cabinet name, binder name Document name of the document to be registered Generation date of the document to be registered Owner ID of the document to be registered
Correction information of the document to be registered

ここで、図6は、属性情報の一例を示す図である。図において、右辺は属性項目を表し、左辺は属性値を表している。図6に示すように、この属性情報ファイル106cに格納される情報は、登録先の文書管理製品を特定する情報(TYPE=raku2dm)や、文書ID(DOCUMENTID=DOCUMENT00001)や、登録先のキャビネット名(CABINETNAME=文書管理連携)や、登録する文書の文書名(DOCUMENTNAME=機能設計書1.0)や、登録する文書の所有者ID(OWNERID=User0001)や、キーワードとして登録すべき出力対象データのデータ項目の項目名(COMMENT4=%ITEM002%)を定義する。なお、「%」で囲む文字列”%ITEM002%”は、項目名を含む置換対象文字列であり、キーワード情報作成時に出力対象データの該当する文字列に置換される。   Here, FIG. 6 is a diagram illustrating an example of attribute information. In the figure, the right side represents attribute items, and the left side represents attribute values. As shown in FIG. 6, information stored in the attribute information file 106c includes information (TYPE = raku2dm) for specifying a registration destination document management product, a document ID (DOCUMENTID = DOCUMENT00001), and a registration destination cabinet name. (CABINETNAME = document management cooperation), document name of the document to be registered (DOCUMENTNAME = functional design document 1.0), owner ID of the document to be registered (OWNERID = User0001), and output target data to be registered as a keyword Define the item name of the data item (COMMENT4 =% ITEM002%). A character string “% ITEM002%” enclosed in “%” is a replacement target character string including an item name, and is replaced with a corresponding character string of output target data when creating keyword information.

また、項目情報ファイル106dは、データ項目の項目名と文字列とを対応付けて格納した項目情報を記憶する項目情報記憶手段である。項目情報記憶手段は、帳票定義体が定義する出力様式の各項目の属性情報(データ長、フォント情報など)に基づいて、各項目の入力データを保持するためのメモリ上のデータ領域であり、出力対象データから対応するデータ項目の文字列データが抽出され生成された項目情報を保持する。   The item information file 106d is item information storage means for storing item information in which item names of data items and character strings are stored in association with each other. The item information storage means is a data area on the memory for holding input data of each item based on attribute information (data length, font information, etc.) of each item of the output format defined by the form definition body, The item information generated by extracting the character string data of the corresponding data item from the output target data is held.

また、キーワード情報ファイル106eは、作成されたキーワード情報を一時的に記憶するキーワード情報記憶手段である。キーワード情報は、属性情報の属性値に項目名を含む置換対象文字列である場合に当該項目名に対応する項目情報の文字列で当該属性値を置換した後の属性情報である。   The keyword information file 106e is keyword information storage means for temporarily storing the created keyword information. The keyword information is attribute information after the attribute value is replaced with the character string of the item information corresponding to the item name in the case where the replacement target character string includes the item name in the attribute value of the attribute information.

また、電子文書ファイル106fは、作成された電子文書を一時的に記憶する電子文書記憶手段である。電子文書のデータ形式は、一例としてPDF形式やExcel形式やWord形式等である。   The electronic document file 106f is an electronic document storage unit that temporarily stores the created electronic document. The data format of the electronic document is, for example, a PDF format, an Excel format, a Word format, or the like.

また、キーワード初期値ファイル106gは、キーワード情報の初期値を記憶するキーワード初期値記憶手段である。   The keyword initial value file 106g is keyword initial value storage means for storing initial values of keyword information.

また、文書管理DB106hは、帳票管理アプリケーションの実行により管理される文書管理データベースである。   The document management DB 106h is a document management database managed by executing a form management application.

また、図3において、入出力制御インターフェース部108は、入力装置112や出力装置114の制御を行う。ここで、出力装置114としては、モニタ(家庭用テレビを含む)の他、スピーカ等を用いることができる(なお、以下においては出力装置114をモニタとして記載する場合がある)。また、入力装置112としては、キーボード、マウス、およびマイク等を用いることができる。   In FIG. 3, the input / output control interface unit 108 controls the input device 112 and the output device 114. Here, as the output device 114, in addition to a monitor (including a home TV), a speaker or the like can be used (hereinafter, the output device 114 may be described as a monitor). As the input device 112, a keyboard, a mouse, a microphone, and the like can be used.

また、図3において、制御部102は、OS(Operating System)等の制御プログラム、各種の処理手順等を規定したプログラム、および所要データを格納するための内部メモリを有し、これらのプログラム等により、種々の処理を実行するための情報処理を行う。制御部102は、機能概念的に、業務アプリケーション部102a、項目情報生成部102b、キーワード情報作成登録部102c、電子文書作成登録部102d、帳票管理アプリケーション部102e、帳票定義体作成部102f、属性情報設定部102gを備えて構成されている。   In FIG. 3, the control unit 102 has a control program such as an OS (Operating System), a program that defines various processing procedures, and an internal memory for storing necessary data. Information processing for executing various processes is performed. The control unit 102 functionally conceptually includes a business application unit 102a, an item information generation unit 102b, a keyword information creation / registration unit 102c, an electronic document creation / registration unit 102d, a form management application unit 102e, a form definition body creation unit 102f, and attribute information. A setting unit 102g is provided.

このうち、業務アプリケーション部102aは、業務アプリケーションが実行されることにより機能し、帳票の出力対象データを生成し出力対象データファイル106bに出力する業務アプリケーション手段である。ここで、業務アプリケーション部102aは、帳票の出力対象データと共に、出力対象データの属性情報を生成し属性情報ファイル106cに格納してもよい。   Among these, the business application unit 102a functions as a business application is executed, and is business application means that generates output target data of a form and outputs it to the output target data file 106b. Here, the business application unit 102a may generate attribute information of the output target data together with the output target data of the form, and store it in the attribute information file 106c.

また、項目情報生成部102bは、帳票定義体ファイル106aに記憶された帳票定義体または出力対象データの並び情報(レコード定義情報等)に基づいて、出力対象データファイル106bに記憶された出力対象データから、各データ項目単位に文字列を抽出し、データ項目の項目名と、当該文字列そのもの、または、当該文字列の値に対して加工した文字列と、を対応付けて格納した項目情報を生成して、項目情報を項目情報ファイル106dに格納する項目情報生成手段である。ここで、項目情報生成部102bは、文字列の値に対して演算(例えば、合計演算)や他の文字列を結合する(例えば、空白パディング)等の加工を施して文字列を作成し、データ項目の項目名と対応付けて項目情報を生成してもよい。   The item information generation unit 102b also outputs the output target data stored in the output target data file 106b based on the form definition stored in the form definition file 106a or the arrangement information (record definition information) of the output target data. Character string is extracted for each data item, and the item information in which the item name of the data item is associated with the character string itself or the character string processed for the value of the character string is stored. Item information generation means for generating and storing item information in the item information file 106d. Here, the item information generation unit 102b creates a character string by performing processing such as calculation (for example, total calculation) or combination of other character strings (for example, blank padding) on the value of the character string, Item information may be generated in association with the item name of the data item.

また、キーワード情報作成登録部102cは、属性情報ファイル106cに記憶された属性情報の属性値が項目名を含む置換対象文字列である場合に、当該項目名に対応する項目情報の文字列で当該属性値を置換した後、属性情報をキーワード情報としてキーワード情報ファイル106eに格納し、帳票管理アプリケーションに登録するキーワード情報作成登録手段である。ここで、図7は、図6の属性情報に基づいて、キーワード情報作成登録部102cにより作成されたキーワード情報の一例を示す図である。一例として図7に示すように、キーワード情報作成登録部102cは、図6の属性情報のうち、「%」で囲まれた項目名(%ITEM002%)を、対応する項目情報(△△△電気)で置換してキーワード情報を作成する。   Further, when the attribute value of the attribute information stored in the attribute information file 106c is a replacement target character string including an item name, the keyword information creation / registration unit 102c uses the character string of the item information corresponding to the item name. This is keyword information creation / registration means for storing attribute information as keyword information in the keyword information file 106e and registering it in the form management application after replacing the attribute value. Here, FIG. 7 is a diagram illustrating an example of the keyword information created by the keyword information creation / registration unit 102c based on the attribute information of FIG. As an example, as illustrated in FIG. 7, the keyword information creation / registration unit 102 c converts the item name (% ITEM002%) enclosed in “%” among the attribute information in FIG. ) To create keyword information.

また、電子文書作成登録部102dは、帳票定義体の出力様式情報に基づいて、項目情報生成部102bにより生成された項目情報から電子文書を作成し、電子文書ファイル106fに格納し、帳票管理アプリケーションに登録する電子文書作成登録手段である。   Also, the electronic document creation / registration unit 102d creates an electronic document from the item information generated by the item information generation unit 102b based on the output format information of the form definition body, stores the electronic document in the electronic document file 106f, and generates a form management application. Electronic document creation / registration means to be registered in

また、帳票管理アプリケーション部102eは、帳票管理アプリケーションが実行されることにより機能し、電子文書の格納、検索、閲覧等の管理を行う帳票管理アプリケーション手段である。   The form management application unit 102e functions as a form management application is executed, and is a form management application unit that manages storage, retrieval, browsing, and the like of electronic documents.

また、帳票定義体作成部102fは、利用者に入力装置112を介して、出力対象データの並び情報を入力させるよう出力装置114を制御し、入力された並び情報を帳票定義体ファイル106aの帳票定義体に格納する帳票定義体作成手段である。   Further, the form definition creation unit 102f controls the output device 114 to allow the user to input the alignment information of the output target data via the input device 112, and the input alignment information is stored in the form definition file 106a. It is a form definition creation means for storing in a definition.

また、属性情報設定部102gは、利用者に入力装置112を介して属性値を設定させるよう出力装置114を制御し、属性情報ファイル106cに格納する属性情報設定手段である。ここで、属性情報設定部102gは、キーワードとして登録すべきデータ項目の項目名を選択させるよう制御し、選択された項目名を含む置換対象文字列を作成し、属性情報ファイル106cに格納してもよい。   The attribute information setting unit 102g is an attribute information setting unit that controls the output device 114 to cause the user to set an attribute value via the input device 112 and stores the attribute value in the attribute information file 106c. Here, the attribute information setting unit 102g controls to select the item name of the data item to be registered as a keyword, creates a replacement target character string including the selected item name, and stores it in the attribute information file 106c. Also good.

以上が、本帳票キーワード登録装置の構成の概要である。ここで、本帳票キーワード登録装置100は、帳票に関する外部データベースや帳票管理アプリケーション等の外部プログラム等を提供する外部システム200と、ネットワーク300を介して通信可能に接続されて構成してもよい。   The above is the outline of the configuration of the form keyword registration apparatus. Here, the form keyword registration device 100 may be configured to be communicably connected to an external system 200 that provides an external database such as an external database related to a form or a form management application, via a network 300.

この場合、帳票キーワード登録装置100は、通信回線等に接続されるルータ等の通信装置(図示せず)に接続される通信制御インターフェース部104を更に備えて構成され、ルータ等の通信装置および専用線等の有線または無線の通信回線を介して、ネットワーク300に通信可能に接続される。すなわち、図3において、通信制御インターフェース部104は、帳票キーワード登録装置100とネットワーク300(またはルータ等の通信装置)との間における通信制御を行い、他の端末と通信回線を介してデータを通信する機能を有する。ここで、ネットワーク300は、帳票キーワード登録装置100と外部システム200とを相互に接続する機能を有し、例えば、インターネット等である。   In this case, the form keyword registration device 100 further includes a communication control interface unit 104 connected to a communication device (not shown) such as a router connected to a communication line or the like. It is communicably connected to the network 300 via a wired or wireless communication line such as a line. That is, in FIG. 3, the communication control interface unit 104 performs communication control between the form keyword registration device 100 and the network 300 (or a communication device such as a router), and communicates data with other terminals via a communication line. Has the function of Here, the network 300 has a function of connecting the form keyword registration device 100 and the external system 200 to each other, such as the Internet.

また、図3において、外部システム200は、ネットワーク300を介して、帳票キーワード登録装置100と相互に接続され、利用者に対して帳票に関する外部データベースや帳票管理アプリケーション等の外部プログラム等を提供する機能を有する。   In FIG. 3, the external system 200 is connected to the form keyword registration device 100 via the network 300 and provides a user with an external program related to the form, an external program such as a form management application, and the like. Have

ここで、外部システム200は、WEBサーバやASPサーバ等として構成していてもよく、そのハードウェア構成は、一般に市販されるワークステーション、パーソナルコンピュータ等の情報処理装置およびその付属装置により構成していてもよい。また、外部システム200の各機能は、外部システム200のハードウェア構成中のCPU、ディスク装置、メモリ装置、入力装置、出力装置、通信制御装置等およびそれらを制御するプログラム等により実現される。   Here, the external system 200 may be configured as a WEB server, an ASP server, or the like, and its hardware configuration is configured by an information processing apparatus such as a commercially available workstation or a personal computer and its attached devices. May be. Each function of the external system 200 is realized by a CPU, a disk device, a memory device, an input device, an output device, a communication control device, and the like in the hardware configuration of the external system 200 and a program for controlling them.

[帳票キーワード登録装置の処理]
次に、このように構成された本実施の形態における本帳票キーワード登録装置100の処理の一例について、以下に図8〜図18を参照して詳細に説明する。
[Process of form keyword registration device]
Next, an example of processing performed by the form keyword registration apparatus 100 according to the present embodiment configured as described above will be described in detail with reference to FIGS.

[帳票キーワード登録処理]
まず、帳票キーワード登録処理の詳細について図8を参照して説明する。図8は、本実施の形態における本帳票キーワード登録装置100の帳票キーワード登録処理によるデータフローの一例を示すデータフロー図である。図8に示すように、本実施の形態においては、項目情報生成手段、キーワード情報作成手段、および、電子文書作成手段は、帳票出力インターフェースとして実現される。
[Form keyword registration process]
First, the details of the form keyword registration process will be described with reference to FIG. FIG. 8 is a data flow diagram showing an example of a data flow by the form keyword registration process of the form keyword registration apparatus 100 in the present embodiment. As shown in FIG. 8, in the present embodiment, the item information generating means, the keyword information creating means, and the electronic document creating means are realized as a form output interface.

図8に示すように、まず、帳票定義体作成部102fは、利用者に入力装置112を介して出力対象データのデータ項目の並び情報を入力させるよう出力装置114を制御し、入力された並び情報を帳票定義体に格納する(ステップSB−1)。   As illustrated in FIG. 8, the form definition creation unit 102 f first controls the output device 114 to allow the user to input the arrangement information of the data items of the output target data via the input device 112, and the inputted arrangement. Information is stored in the form definition body (step SB-1).

そして、業務アプリケーション部102aは、帳票の出力対象データを生成し出力対象データファイル106bに出力する(ステップSB−2)。ここで、業務アプリケーション部102aは、帳票の出力対象データと共に、出力対象データの属性情報を生成し属性情報ファイル106cに出力してもよい。   Then, the business application unit 102a generates form output target data and outputs it to the output target data file 106b (step SB-2). Here, the business application unit 102a may generate the attribute information of the output target data together with the output target data of the form and output it to the attribute information file 106c.

そして、出力インターフェースの機能として、帳票定義体ファイル106aに記憶された帳票定義体の並び情報(レコード定義情報)に基づいて、出力対象データファイル106bに記憶された出力対象データから、各データ項目単位に文字列を抽出し、データ項目の項目名と、当該文字列そのもの、または、当該文字列の値に対して演算もしくは他の文字列を結合して加工した文字列と、を対応付けて格納した項目情報を生成する(ステップSB−3)。   Then, as a function of the output interface, each data item unit is obtained from the output target data stored in the output target data file 106b based on the arrangement information (record definition information) of the form definition body stored in the form definition file 106a. A character string is extracted to and stored in association with the item name of the data item and the character string itself or a character string obtained by processing or processing other character strings with respect to the value of the character string. The generated item information is generated (step SB-3).

また、出力インターフェースの機能として、キーワード情報作成登録部102cは、属性情報ファイル106cに記憶された属性情報の属性値が項目名を含む置換対象文字列である場合に、当該項目名に対応する項目情報の文字列で当該属性値を置換した後、属性情報をキーワード情報としてキーワード情報ファイル106eに格納する(ステップSB−4)。   Also, as a function of the output interface, the keyword information creation / registration unit 102c, when the attribute value of the attribute information stored in the attribute information file 106c is a replacement target character string including the item name, corresponds to the item name. After the attribute value is replaced with a character string of information, the attribute information is stored as keyword information in the keyword information file 106e (step SB-4).

また、出力インターフェースの機能として、電子文書作成登録部102dは、帳票定義体の出力様式情報に基づいて、項目情報生成部102bにより生成された項目情報から電子文書を作成し、電子文書ファイル106fに格納する(ステップSB−5)。   In addition, as an output interface function, the electronic document creation / registration unit 102d creates an electronic document from the item information generated by the item information generation unit 102b based on the output format information of the form definition body, and stores it in the electronic document file 106f. Store (step SB-5).

出力インターフェースによる以上の処理が終わると(ステップSB−6)、キーワード情報作成登録部102cおよび電子文書作成登録部102dは、キーワード情報ファイル106eに記憶されたキーワード情報、および、電子文書ファイル106fに記憶された電子文書を文書管理DB106hに登録する(ステップSB−7)。ここで、キーワード情報作成登録部102cは、キーワード初期値ファイル106gに記憶されたキーワード初期値をキーワード情報ファイル106eに記憶されたキーワード情報に設定してもよい。   When the above processing by the output interface is completed (step SB-6), the keyword information creation / registration unit 102c and the electronic document creation / registration unit 102d store the keyword information stored in the keyword information file 106e and the electronic document file 106f. The registered electronic document is registered in the document management DB 106h (step SB-7). Here, the keyword information creation / registration unit 102c may set the keyword initial value stored in the keyword initial value file 106g as the keyword information stored in the keyword information file 106e.

そして、文書管理DB106hに登録された電子文書およびキーワード情報に基づいて、帳票管理アプリケーション部102eは、当該帳票を管理する(ステップSB−8)。具体的には、帳票管理アプリケーション部102eは、キーワード情報を電子文書の格納、管理、検索、閲覧等のために利用する。これにて、帳票キーワード登録処理が終了する。   Then, based on the electronic document and keyword information registered in the document management DB 106h, the form management application unit 102e manages the form (step SB-8). Specifically, the form management application unit 102e uses the keyword information for storing, managing, searching, browsing, and the like of electronic documents. This completes the form keyword registration process.

[属性情報設定処理]
次に、属性情報設定処理の詳細について図9を参照して説明する。図9は、本実施の形態における本帳票キーワード登録装置100の属性情報設定処理による表示画面の一例を示す図である。ここで、属性情報設定処理は、帳票定義体作成部102fと属性情報設定部102gとして機能する帳票定義体作成ツールにより実行されてもよい。ここで、図10は、帳票定義体作成ツールの処理により出力装置114を制御して表示された設定画面の一例を示すイメージ図である。
[Attribute information setting process]
Next, details of the attribute information setting process will be described with reference to FIG. FIG. 9 is a diagram showing an example of a display screen by attribute information setting processing of the form keyword registration device 100 according to the present embodiment. Here, the attribute information setting process may be executed by a form definition creation tool that functions as the form definition creation unit 102f and the attribute information setting unit 102g. Here, FIG. 10 is an image diagram showing an example of a setting screen displayed by controlling the output device 114 by the process of the form definition body creation tool.

属性情報設定部102gは、利用者に入力装置112を介して、利用者に入力装置112を介して、キーワードとして登録される属性値を入力させるよう出力装置114を制御する。   The attribute information setting unit 102g controls the output device 114 so that the user inputs an attribute value registered as a keyword via the input device 112 and the user via the input device 112.

例えば、属性情報設定部102gは、図9のMA−1に示すように、帳票定義体作成部102fの処理により、出力装置114に表示された帳票定義体のレイアウト表示画面を介して、利用者に入力装置112を介して、データ項目の項目名を選択させるよう制御する。図9のMA−1の例では、ITEM001〜003の項目が選択されている。属性情報設定部102gは、選択された項目名を含む置換対象文字列を作成し、属性情報ファイル106cに格納する。   For example, as shown by MA-1 in FIG. 9, the attribute information setting unit 102g receives the user via the layout display screen of the form definition displayed on the output device 114 by the process of the form definition creation unit 102f. To select the item name of the data item via the input device 112. In the example of MA-1 in FIG. 9, items ITEM001 to 003 are selected. The attribute information setting unit 102g creates a replacement target character string including the selected item name and stores it in the attribute information file 106c.

ここで、利用者が文書管理のプロパティを開くよう入力すると、帳票キーワード登録装置100は、図9のMA−2の画面を表示する。ここでは、利用者により「文書管理に登録する」チェックボックスがクリック等されることにより、帳票キーワード登録装置100は、帳票を電子文書として登録するよう制御する。また、文書管理ソフトタブで帳票管理アプリケーションの種類が選択されることにより、帳票キーワード登録装置100は、電子文書の登録先を制御する。すなわち、属性情報設定部102gは、登録先の属性項目に対応する属性値に入力された値を設定する。ここで、利用者により属性情報ボタンがクリック等されると、帳票定義体作成部102fは、図9のMA−3に示す画面を表示するよう制御する。   When the user inputs to open the document management property, the form keyword registration apparatus 100 displays the screen MA-2 in FIG. Here, when the user clicks the “Register in document management” check box or the like, the form keyword registration apparatus 100 controls to register the form as an electronic document. The form keyword registration device 100 controls the registration destination of the electronic document by selecting the form management application type in the document management software tab. That is, the attribute information setting unit 102g sets a value input to the attribute value corresponding to the registration destination attribute item. Here, when the attribute information button is clicked by the user, the form definition body creation unit 102f controls to display a screen indicated by MA-3 in FIG.

図9のMA−3は、属性情報の設定画面であり、属性情報設定部102gは、利用者に入力装置112を介して属性情報の属性値を設定させるよう制御する。   MA-3 in FIG. 9 is an attribute information setting screen, and the attribute information setting unit 102g controls the user to set the attribute value of the attribute information via the input device 112.

そして、属性情報設定部102gは、これら利用者により入力された属性値を属性情報ファイル106cに格納する。以上が、属性情報設定処理の一例である。   The attribute information setting unit 102g stores the attribute values input by these users in the attribute information file 106c. The above is an example of attribute information setting processing.

[帳票出力インターフェースによる処理]
次に、図8を用いて説明した帳票キーワード登録処理のうち、帳票出力インターフェースによる処理の詳細な一例について図11〜図17を用いて説明する。ここで、図11は、帳票出力インターフェースの一例を示す機能ブロックと、帳票出力インターフェースの処理によるデータフローの一例を示すデータフロー図である。
[Processing by form output interface]
Next, a detailed example of the process by the form output interface in the form keyword registration process described with reference to FIG. 8 will be described with reference to FIGS. Here, FIG. 11 is a functional block showing an example of a form output interface and a data flow diagram showing an example of a data flow by processing of the form output interface.

図11に示すように、一例として、帳票出力インターフェースの機能ブロックは、項目情報生成部102bの処理によるメイン処理ブロックと、キーワード情報作成登録部102cの処理による帳票フォーマット前処理ブロックと、電子文書作成登録部102dの処理による帳票フォーマット生成処理ブロックと、により構成される。   As shown in FIG. 11, as an example, the function block of the form output interface includes a main processing block by the process of the item information generation unit 102b, a form format pre-processing block by the process of the keyword information creation / registration part 102c, and an electronic document creation And a form format generation processing block by processing of the registration unit 102d.

[メイン処理:SC−1]
項目情報生成部102bは、帳票定義体ファイル106aから帳票定義体と、出力対象データファイル106bから出力対象データと、属性情報ファイル106cから属性情報と、を読み出し、帳票定義体と出力対象データとを項目情報生成処理ブロックに渡し、属性情報を帳票フォーマット前処理ブロックに渡し、電子文書とキーワード情報が出力されるよう制御する。そして、電子文書とキーワード情報の出力処理が終わると、文書登録処理に処理を移す。
[Main processing: SC-1]
The item information generating unit 102b reads the form definition body from the form definition body file 106a, the output target data from the output target data file 106b, and the attribute information from the attribute information file 106c, and extracts the form definition body and the output target data. It passes to the item information generation processing block, passes the attribute information to the form format preprocessing block, and controls to output the electronic document and keyword information. When the output process of the electronic document and the keyword information is finished, the process moves to the document registration process.

[項目情報生成処理:SC−2]
項目情報生成部102bは、受取った帳票定義体を読み込み、帳票定義体の各項目から項目情報(文字列データ未入力)を生成し、項目情報ファイル106d(メモリ上のデータ領域)を作成する。そして、項目情報生成部102bは、出力対象データの各行(各データ項目)を各要素に分解し、帳票定義体が保持しているレコード定義情報を元に、分解したテキストデータ(文字列データ)を、項目情報ファイル106dの項目情報に設定する。ここで、「レコード定義情報」とは、出力対象データの各行(各項目データ)の構造を定義した情報(例えば、並び情報)であり、出力対象データの各行の内容と項目情報とを対応付けるために利用される。ここで、図12は、項目情報のデータ構造の一例を示す図である。図12に示すように、項目情報のデータ構造は、以下のデータ領域を有する。ここで、(10)の出力データ格納領域には、印刷対象データから抽出した文字列データに対し、帳票定義体に指定された演算を行った結果、すなわち、帳票への出力データを格納する。また、(10)または(11)の領域は、属性情報ファイル106cの置換対象文字列「%(項目名)%」と置換する情報を格納する領域である。
[Item information generation processing: SC-2]
The item information generation unit 102b reads the received form definition body, generates item information (character string data not input) from each item of the form definition body, and creates an item information file 106d (data area on the memory). Then, the item information generation unit 102b decomposes each row (each data item) of the output target data into each element, and decomposes the text data (character string data) based on the record definition information held in the form definition body. Is set in the item information of the item information file 106d. Here, the “record definition information” is information (for example, arrangement information) that defines the structure of each row (each item data) of the output target data, and associates the contents of each row of the output target data with the item information. Used for Here, FIG. 12 is a diagram illustrating an example of the data structure of the item information. As shown in FIG. 12, the data structure of the item information has the following data areas. Here, in the output data storage area of (10), the result of the calculation specified in the form definition body for the character string data extracted from the print target data, that is, the output data to the form is stored. The area (10) or (11) is an area for storing information to be replaced with the replacement target character string “% (item name)%” in the attribute information file 106c.

(1):項目を識別するための帳票定義体で一意の名前(項目名)
(2):項目の位置を示す座標位置
(3):項目の範囲を示す値
(4):データの長さを示す値
(5):データの種類を示す値(テキストデータ、数値データ等)
(6):フォント名やフォントサイズを示す情報
(7):中央揃えなど文字の配置に関する情報
(8):データを編集して出力する場合の編集形式を示す情報
(9):レコードデータを格納する領域
(10):帳票への出力データ(演算済みデータ)を格納する領域
(11):空白パディングありの入力データを格納する領域
(1): Unique name (item name) in the form definition for identifying the item
(2): Coordinate position indicating item position (3): Value indicating item range (4): Value indicating data length (5): Value indicating data type (text data, numerical data, etc.)
(6): Information indicating font name and font size (7): Information on character arrangement such as center alignment (8): Information indicating editing format when data is edited and output (9): Store record data Area (10): Area for storing output data (calculated data) to the form (11): Area for storing input data with blank padding

図12に示すように、項目情報生成部102bは、出力対象データの対応するデータ項目の文字列データを、項目情報の入力データの保持領域(図12の(9)、(10)、(11)の領域)に保持する。ここで、項目情報生成部102bは、(11)の入力データ格納領域には、出力対象データから抽出した文字列データそのものを格納する。ここで、後の処理で、キーワード情報作成登録部102cは、属性情報の置換対象文字列「%(項目名)%」には、(11)の領域に格納された文字列を代入する。ここで、図13は、項目情報生成部102bが、出力対象データ、レコード定義情報、項目情報を対応付けする処理の一例を示すイメージ図である。   As shown in FIG. 12, the item information generation unit 102b converts the character string data of the data item corresponding to the output target data into the input data holding area ((9), (10), (11 in FIG. 12). ) Area). Here, the item information generation unit 102b stores the character string data itself extracted from the output target data in the input data storage area of (11). In the subsequent processing, the keyword information creation / registration unit 102c substitutes the character string stored in the area (11) for the replacement target character string “% (item name)%” of the attribute information. Here, FIG. 13 is an image diagram illustrating an example of processing in which the item information generation unit 102b associates output target data, record definition information, and item information.

図13に示すように、項目情報は、帳票の出力様式の各項目の項目名や、位置、データ長を定義しており、レコード情報は、出力対象データのデータ項目の並び順(例えば、項目名の並び順)を定義しているので、項目情報生成部102bは、出力対象データの各データ項目の文字列データを項目情報に対応付けることができる。ここで、図14は、出力対象データが並び情報を含む場合に、出力対象データと項目情報を対応付けする処理の一例を示すイメージ図である。   As shown in FIG. 13, the item information defines the item name, position, and data length of each item in the form output format, and the record information includes the order of the data items of the output target data (for example, item Since the name order is defined, the item information generation unit 102b can associate the character string data of each data item of the output target data with the item information. Here, FIG. 14 is an image diagram illustrating an example of processing for associating the output target data with the item information when the output target data includes alignment information.

図14に示すように、出力対象データに項目名の並び順を定義する並び情報が含まれる構成の場合には、項目情報生成部102bは、出力対象データの各データ項目の文字列データを、直接、項目情報に対応付けることができる。本構成の場合、帳票定義体は、並び情報を含む必要がない。   As shown in FIG. 14, when the output target data includes arrangement information that defines the arrangement order of the item names, the item information generation unit 102b converts the character string data of each data item of the output target data, It can be directly associated with item information. In the case of this configuration, the form definition body does not need to include arrangement information.

[帳票フォーマット前処理:SC−3]
キーワード情報作成登録部102cは、メイン処理ブロックから帳票定義体と項目情報を受取り、両データをキーワード情報作成処理と帳票フォーマット生成処理ブロックに渡す。
[Form format pre-processing: SC-3]
The keyword information creation / registration unit 102c receives the form definition body and item information from the main processing block, and passes both data to the keyword information creation process and the form format generation processing block.

[キーワード情報作成処理:SC−4]
キーワード情報作成登録部102cは、帳票定義体および属性情報をメモリ上で管理し、電子文書が作成されるよう制御した後、メモリ上のキーワード情報をキーワード情報ファイル106eに出力する。以降、処理の流れに沿って説明する。
[Keyword information creation process: SC-4]
The keyword information creation / registration unit 102c manages the form definition body and the attribute information on the memory, controls the creation of the electronic document, and then outputs the keyword information on the memory to the keyword information file 106e. Hereinafter, a description will be given along the flow of processing.

(1)キーワード情報作成登録部102cは、メイン処理ブロックから属性情報を受け取る。このとき、属性情報から、帳票管理アプリケーションに登録する情報そのもの(直値)と、置換対象文字列に含まれる項目名(「%」で囲まれた項目名の文字列)を抽出し、メモリ上に記憶する。   (1) The keyword information creation / registration unit 102c receives attribute information from the main processing block. At this time, the information itself (direct value) to be registered in the form management application and the item name included in the replacement target character string (the character string of the item name surrounded by “%”) are extracted from the attribute information and stored in the memory. To remember.

(2)キーワード情報作成登録部102cは、帳票フォーマット前処理ブロックから帳票定義体を受け取る。このとき、帳票定義体から、帳票管理アプリケーションに登録する情報そのもの(直値)と、置換対象文字列に含まれる項目名(「%」で囲まれた項目名の文字列)を抽出し、メモリ上に記憶する。   (2) The keyword information creation / registration unit 102c receives a form definition body from the form format preprocessing block. At this time, the information itself (direct value) to be registered in the form management application and the item name included in the replacement target character string (the character string of the item name surrounded by “%”) are extracted from the form definition application, and the memory Remember above.

(3)キーワード情報作成登録部102cは、メイン処理ブロックから、項目情報生成処理によって生成された項目情報を受け取る。そして、置換対象文字列に含まれる項目名と項目情報に対応付けられた項目名が一致する場合、キーワード情報作成登録部102cは、置換対象文字列を出力対象データから抽出した項目情報の文字列に置換する。ここで、図15は、項目名が一致する場合の置換処理の一例を示す図である。   (3) The keyword information creation / registration unit 102c receives item information generated by the item information generation processing from the main processing block. When the item name included in the replacement target character string matches the item name associated with the item information, the keyword information creation / registration unit 102c extracts the replacement target character string from the output target data. Replace with. Here, FIG. 15 is a diagram illustrating an example of replacement processing when item names match.

図15上図に示すように、項目情報生成部102bの処理により項目情報には、項目名”ITEM001”と、(11)入力データ格納領域に出力対象データの文字列データ「○○○会社」とが対応付けられている。キーワード情報作成登録部102cは、属性情報の置換対象文字列に含まれる項目名と、項目情報の項目名が一致するか否か判断し、一致すると判断した場合には、当該置換対象文字列「%(項目名)%」を対応する文字列データに置換する。図15右図の置換対象の項目名のリストのうち、「ITEM001」が図15上図の項目情報の項目名と一致するので、置換対象文字列”%ITEM001%”が文字列データ”○○○会社”に置換されている。ここで、図16は、演算済みデータを置換する構成とした場合に、項目名が一致する場合の置換処理の例を示す図である。   As shown in the upper diagram of FIG. 15, the item information generated by the item information generation unit 102 b includes item name “ITEM001” and (11) character string data “XX company” of the output target data in the input data storage area. Are associated with each other. The keyword information creation / registration unit 102c determines whether the item name included in the replacement target character string of the attribute information matches the item name of the item information, and when determining that they match, the replacement target character string “ % (Item name)% "is replaced with the corresponding character string data. In the list of item names to be replaced in the right side of FIG. 15, “ITEM001” matches the item name of the item information in the upper diagram of FIG. 15, so the replacement target character string “% ITEM001%” is the character string data “XX”. ○ “Company” has been replaced. Here, FIG. 16 is a diagram illustrating an example of a replacement process in a case where the item names match when the calculated data is replaced.

図16に示すように、項目情報生成部102bの処理により項目情報には、項目名”ITEM003”と、(10)出力データ格納領域に演算済みデータ”250,000”とが対応付けられている。すなわち、項目情報生成部102bは、項目情報生成処理(ステップSC−2)において、指定された演算式に基づいて、出力対象データから演算を行い、演算結果を(10)出力データ格納領域に格納している。例えば、項目情報生成部102bは、指定された演算式“SUM(単価)”に基づいて、項目名が「単価」の項目情報の(11)入力データ格納領域に格納された入力データの合計値を演算し、項目名”ITEM003”の項目情報の(10)出力データ領域に合計値”250,000”を設定する。そして、図16に示すように、キーワード情報作成登録部102cは、属性情報の置換対象文字列”%ITEM003%”に含まれる項目名「ITEM003」と、項目情報の項目名が一致するか否か判断し、一致すると判断した場合には、当該置換対象文字列”%ITEM003%”を、対応する(10)出力データ格納領域の文字列データ”250,000”に置換する。これにより、「単価」という項目名の項目への入力値の合計を、合計金額としてキーワード情報に設定することができる。   As shown in FIG. 16, by the processing of the item information generation unit 102b, the item information is associated with the item name “ITEM003” and (10) the calculated data “250,000” in the output data storage area. . That is, in the item information generation process (step SC-2), the item information generation unit 102b calculates from the output target data based on the specified calculation formula, and stores the calculation result in the (10) output data storage area. doing. For example, the item information generation unit 102b, based on the specified arithmetic expression “SUM (unit price)”, the total value of the input data stored in the (11) input data storage area of the item information whose item name is “unit price” And the total value “250,000” is set in the (10) output data area of the item information of the item name “ITEM003”. Then, as illustrated in FIG. 16, the keyword information creation / registration unit 102c determines whether the item name “ITEM003” included in the replacement character string “% ITEM003%” of the attribute information matches the item name of the item information. When it is determined that they match, the replacement target character string “% ITEM003%” is replaced with the corresponding character string data “250,000” in the output data storage area (10). Thereby, the total of the input values to the item with the item name “unit price” can be set as the total amount in the keyword information.

(4)キーワード情報作成登録部102cは、帳票フォーマット生成処理により電子文書(PDF、Excelなど)が生成された後、メモリ上のキーワード情報(置換後の属性情報)を、キーワード情報ファイル106eに格納する。   (4) The keyword information creation / registration unit 102c stores the keyword information (attribute information after replacement) in the memory in the keyword information file 106e after the electronic document (PDF, Excel, etc.) is generated by the form format generation process. To do.

[帳票フォーマット生成処理(電子文書作成処理):SC−5]
電子文書作成登録部102dは、帳票フォーマット処理ブロックから、帳票定義体と項目情報を受取り、帳票定義体の出力様式情報に基づいて、項目情報から電子文書を作成し、電子文書ファイル106fに格納する。ここで、図17は、以上の帳票出力インターフェースの各機能ブロックの処理によるフローの一例を示すフローチャートである。ここで、図17の右側の両矢印は、上述した各機能ブロックによる処理範囲を示す。
[Form format generation processing (electronic document creation processing): SC-5]
The electronic document creation registration unit 102d receives the form definition body and item information from the form format processing block, creates an electronic document from the item information based on the output format information of the form definition body, and stores the electronic document in the electronic document file 106f. . Here, FIG. 17 is a flowchart showing an example of a flow of processing of each functional block of the above-described form output interface. Here, the double arrows on the right side of FIG. 17 indicate the processing range of each functional block described above.

図17に示すように、まず、項目情報生成部102bは、属性情報ファイル106cから属性情報を読み込み、メモリ上に記憶する(ステップSD−1)。   As shown in FIG. 17, first, the item information generation unit 102b reads attribute information from the attribute information file 106c and stores it in the memory (step SD-1).

そして、項目情報生成部102bは、帳票定義体ファイル106aから帳票定義体を読み込み、文書登録に関連する情報をメモリ上に記憶する(ステップSD−2)。   Then, the item information generation unit 102b reads the form definition body from the form definition body file 106a, and stores information related to document registration on the memory (step SD-2).

そして、項目情報生成部102bは、出力対象データから1レコード(1行:1データ項目単位の文字列)を読み込む(ステップSD−3)。   Then, the item information generating unit 102b reads one record (one line: a character string in one data item unit) from the output target data (step SD-3).

そして、項目情報生成部102bは、出力対象データのレコード(文字列)が存在するか否かを判断する(ステップSD−4)。   Then, the item information generation unit 102b determines whether a record (character string) of the output target data exists (step SD-4).

そして、項目情報生成部102bは、レコードが存在すると判断した場合に(ステップSD−4、Yes)、並び情報に基づいて、項目名と当該レコードを対応付けた項目情報を生成する(ステップSD−5)。   When the item information generation unit 102b determines that a record exists (step SD-4, Yes), the item information generation unit 102b generates item information in which the item name is associated with the record based on the arrangement information (step SD- 5).

そして、キーワード情報作成登録部102cは、項目名を含む置換対象文字列(”%(項目名)%”)に基づいて、生成した項目情報の項目名が置換対象の項目名か否か判断する(ステップSD−6)。   Then, the keyword information creation / registration unit 102c determines whether the item name of the generated item information is the item name to be replaced based on the replacement target character string (“% (item name)%”) including the item name. (Step SD-6).

そして、当該項目名が置換対象の項目名であった場合(ステップSD−6、Yes)、キーワード情報作成登録部102cは、置換対象文字列を当該項目情報のレコード(文字列)で置換する(ステップSD−7)。ここで、当該項目名が置換対象の項目名でなかった場合(ステップSD−6、No)、置換処理を行わず次のステップに処理を移す。   If the item name is the item name to be replaced (step SD-6, Yes), the keyword information creation / registration unit 102c replaces the replacement target character string with a record (character string) of the item information ( Step SD-7). Here, if the item name is not the item name to be replaced (step SD-6, No), the process proceeds to the next step without performing the replacement process.

そして、キーワード情報作成登録部102cは、帳票フォーマット生成処理に当該項目情報を渡す(ステップSD−8)。   Then, the keyword information creation / registration unit 102c passes the item information to the form format generation process (step SD-8).

そして、再び、項目情報生成部102bは、新たに次のレコードを読み込む(ステップSD−3)。   Then, again, the item information generation unit 102b newly reads the next record (step SD-3).

このステップSD−3からステップSD−8の処理を、出力対象データのレコードがなくなるまで繰り返し(ステップSD−4、Yes)、レコードがなくなると(ステップSD−4、No)帳票フォーマット生成処理を終了する。すなわち、電子文書作成登録部102dは、出力対象文字列の全ての項目情報を得て生成された電子文書を電子文書ファイル106fに格納する(ステップSD−9)。   The processing from step SD-3 to step SD-8 is repeated until there are no more records of output target data (step SD-4, Yes). When there are no more records (step SD-4, No), the form format generation processing is completed. To do. That is, the electronic document creation / registration unit 102d stores the electronic document generated by obtaining all item information of the output target character string in the electronic document file 106f (step SD-9).

そして、キーワード情報作成登録部102cは、置換処理後の属性情報をキーワード情報として生成し格納する(ステップSD−10)。   Then, the keyword information creation / registration unit 102c generates and stores the attribute information after the replacement process as keyword information (step SD-10).

そして、項目情報生成部102bは、文書登録処理を呼び出す(ステップSD−11)。以上で、帳票出力インターフェースによる処理を終える。   Then, the item information generation unit 102b calls a document registration process (step SD-11). This completes the processing by the form output interface.

[文書登録処理]
次に、文書登録処理の一例について図18を参照して説明する。図18は、文書登録処理の一例を示すフローチャートである。
[Document Registration Process]
Next, an example of document registration processing will be described with reference to FIG. FIG. 18 is a flowchart illustrating an example of a document registration process.

項目情報生成部102bにより文書登録処理が呼び出されると、キーワード情報作成登録部102cは、キーワード初期値ファイル106gからキーワード初期値をメモリ上に読み込む(ステップSE−1)。   When the item registration process is called by the item information generation unit 102b, the keyword information creation / registration unit 102c reads the keyword initial value from the keyword initial value file 106g into the memory (step SE-1).

そして、キーワード情報作成登録部102cは、キーワード情報ファイル106eからキーワード情報を読み込み、キーワード初期値をマージする(ステップSE−2)。   Then, the keyword information creation / registration unit 102c reads the keyword information from the keyword information file 106e and merges the keyword initial values (step SE-2).

そして、電子文書作成登録部102dは、マージしたキーワード情報に基づいて、登録先の文書管理製品の種別に応じた登録情報(キーワード情報)を呼び出し、電子文書(PDF、Excelなど)を帳票管理アプリケーションに登録する(ステップSE−3)。以上で文書登録処理の説明を終える。   Then, the electronic document creation / registration unit 102d calls registration information (keyword information) according to the type of the document management product of the registration destination based on the merged keyword information, and uses the electronic document (PDF, Excel, etc.) as a form management application. (Step SE-3). This completes the description of the document registration process.

[属性情報設定]
属性情報設定部102gの処理による属性情報の設定制御について図19〜図23を用いて説明する。図19〜図23は、属性情報設定部102gの制御により表示された属性情報の設定画面の表示例を示す図である。
[Attribute information settings]
The attribute information setting control by the process of the attribute information setting unit 102g will be described with reference to FIGS. 19 to 23 are diagrams showing display examples of attribute information setting screens displayed under the control of the attribute information setting unit 102g.

すなわち、属性情報設定部102gは、属性情報を設定するためのGUI機能を実現する。以下、属性情報設定部102gの制御であることを前提として、利用者による属性情報の設定操作例について説明する。   That is, the attribute information setting unit 102g realizes a GUI function for setting attribute information. Hereinafter, on the assumption that the control is performed by the attribute information setting unit 102g, an example of setting attribute information by the user will be described.

図19に示すように、業務アプリケーションが提供する画面において、[プロパティ]を選択し、更に[文書管理]タブをクリック等すると、図21に示す文書管理タブが表示される。文書管理タブは、図20に示すように、業務アプリケーションが提供する画面において、[帳票業務情報の設定]を選択し、更に[文書管理]タブをクリック等することによっても表示される。   As shown in FIG. 19, when [Property] is selected on the screen provided by the business application and the [Document Management] tab is clicked, the document management tab shown in FIG. 21 is displayed. As shown in FIG. 20, the document management tab is also displayed by selecting [Form business information setting] on the screen provided by the business application and clicking the [Document management] tab.

図21に示す文書管理タブにおいては、以下の設定を行うことができる。すなわち、[文書管理に登録する]チェックボックスをチェックすると、出力実行時に帳票を電子化し、文書管理製品に登録することが選択される。[登録ファイル名]入力項目では、文書管理に登録するファイル名を指定することができる。[文書管理製品]選択タブにおいては、文書管理に使用する製品名を選択することができる。図21の例では、「楽ライブラリDocument Manager」という製品が選択されている。[登録方法]選択タブにおいては、文書管理にすでに登録済みの同一文書がある場合の登録方法を選択することができる。例えば、「改版登録」を選択すると、同名の文書名の文書が改版される。また、「差し替え登録」を選択すると、登録済みの文書が差し替えられる。また、「紐付け登録」を選択すると、登録済みの文書に紐付けて、添付ファイルとして登録される。 In the document management tab shown in FIG. 21, the following settings can be made. In other words, when the [Register in document management] check box is checked, it is selected that the form is digitized and registered in the document management product when output is executed. In the [Registered file name] input item, a file name to be registered in the document management can be designated. In the [Document Management Product] selection tab, a product name used for document management can be selected. In the example of FIG. 21, the product “Raku 2 Library Document Manager” is selected. In the [Registration Method] selection tab, it is possible to select a registration method when there is the same document already registered in the document management. For example, when “Register revision” is selected, a document having the same document name is revised. When “Replacement registration” is selected, the registered document is replaced. When “association registration” is selected, it is associated with a registered document and registered as an attached file.

次に、図21において[属性情報]ボタンをクリック等すると、図22に示す画面が表示される。図22に示すように、属性情報の設定画面では、登録先やバインダの階層名や文書名、所有者ユーザID等を入力することができる。また、文書コメント情報等として、帳票の出力対象データ項目を登録させたい場合は、[項目名の参照]ボタンをクリック等して、図23の項目名一覧を開いた後、一覧から登録させたい項目名を選択する。これにより、属性情報の属性値に項目名を含む置換対象文字列が設定される。以上が、属性情報の設定例である。   Next, when the [attribute information] button is clicked in FIG. 21, a screen shown in FIG. 22 is displayed. As shown in FIG. 22, on the attribute information setting screen, a registration destination, a binder hierarchy name, a document name, an owner user ID, and the like can be input. In addition, when registering an output target data item of a form as document comment information or the like, the item name list shown in FIG. 23 is opened by clicking the [reference item name] button or the like, and then registered from the list. Select the item name. Thereby, the replacement target character string including the item name is set in the attribute value of the attribute information. The above is an example of setting attribute information.

[他の実施の形態]
さて、これまで本発明の実施の形態について説明したが、本発明は、上述した実施の形態以外にも、上記特許請求の範囲に記載した技術的思想の範囲内において種々の異なる実施の形態にて実施されてよいものである。
[Other embodiments]
Although the embodiments of the present invention have been described so far, the present invention can be applied to various different embodiments in addition to the above-described embodiments within the scope of the technical idea described in the claims. May be implemented.

例えば、帳票キーワード登録装置100がスタンドアローンの形態で処理を行う場合を一例に説明したが、帳票キーワード登録装置100とは別筐体で構成されるクライアント端末からの要求に応じて処理を行い、その処理結果を当該クライアント端末に返却するように構成してもよい。ここで、図24は、業務アプリケーションを実行するクライアント端末装置100−1と、帳票管理アプリケーションを実行するサーバ装置100−2と、を別筐体で構成した例を示す図である。   For example, although the case where the form keyword registration apparatus 100 performs processing in a stand-alone form has been described as an example, the form keyword registration apparatus 100 performs processing in response to a request from a client terminal configured in a separate housing from the form keyword registration apparatus 100, You may comprise so that the process result may be returned to the said client terminal. Here, FIG. 24 is a diagram illustrating an example in which the client terminal device 100-1 that executes the business application and the server device 100-2 that executes the form management application are configured in separate housings.

すなわち、図24に示すように、クライアント端末装置100−1は、業務アプリケーションを実行して出力対象データや帳票定義体や属性情報をサーバ装置100−2に送信し、サーバ装置100−2は、受信データからキーワード情報と電子文書を作成して帳票管理アプリケーションに登録する。   That is, as illustrated in FIG. 24, the client terminal device 100-1 executes the business application and transmits the output target data, the form definition body, and the attribute information to the server device 100-2. Create keyword information and electronic documents from the received data and register them in the form management application.

また、実施の形態において説明した各処理のうち、自動的に行われるものとして説明した処理の全部または一部を手動的に行うこともでき、あるいは、手動的に行われるものとして説明した処理の全部または一部を公知の方法で自動的に行うこともできる。   In addition, among the processes described in the embodiment, all or part of the processes described as being automatically performed can be performed manually, or the processes described as being performed manually can be performed. All or a part can be automatically performed by a known method.

このほか、上記文献中や図面中で示した処理手順、制御手順、具体的名称、各処理の登録データや検索条件等のパラメータを含む情報、画面例、データベース構成については、特記する場合を除いて任意に変更することができる。   In addition, unless otherwise specified, the processing procedures, control procedures, specific names, information including registration data for each processing, parameters such as search conditions, screen examples, and database configurations shown in the above documents and drawings Can be changed arbitrarily.

また、帳票キーワード登録装置100に関して、図示の各構成要素は機能概念的なものであり、必ずしも物理的に図示の如く構成されていることを要しない。   Moreover, regarding the form keyword registration apparatus 100, each illustrated component is functionally conceptual and does not necessarily need to be physically configured as illustrated.

例えば、帳票キーワード登録装置100の各装置が備える処理機能、特に制御部102にて行われる各処理機能については、その全部または任意の一部を、CPU(Central Processing Unit)および当該CPUにて解釈実行されるプログラムにて実現することができ、あるいは、ワイヤードロジックによるハードウェアとして実現することも可能である。尚、プログラムは、後述する記録媒体に記録されており、必要に応じて帳票キーワード登録装置100に機械的に読み取られる。すなわち、ROMまたはHDなどの記憶部106などは、OS(Operating System)として協働してCPUに命令を与え、各種処理を行うためのコンピュータプログラムが記録されている。このコンピュータプログラムは、RAMにロードされることによって実行され、CPUと協働して制御部を構成する。   For example, all or some of the processing functions provided in each device of the form keyword registration device 100, particularly the processing functions performed by the control unit 102, are interpreted by a CPU (Central Processing Unit) and the CPU. It can be realized by a program to be executed, or can be realized as hardware by wired logic. The program is recorded on a recording medium to be described later, and is mechanically read by the form keyword registration device 100 as necessary. In other words, the storage unit 106 such as ROM or HD stores a computer program for performing various processes by giving instructions to the CPU in cooperation with an OS (Operating System). This computer program is executed by being loaded into the RAM, and constitutes a control unit in cooperation with the CPU.

また、このコンピュータプログラムは、帳票キーワード登録装置100に対して任意のネットワーク300を介して接続されたアプリケーションプログラムサーバに記憶されていてもよく、必要に応じてその全部または一部をダウンロードすることも可能である。   The computer program may be stored in an application program server connected to the form keyword registration device 100 via an arbitrary network 300, and may be downloaded in whole or in part as necessary. Is possible.

また、本発明に係るプログラムを、コンピュータ読み取り可能な記録媒体に格納することもできる。ここで、この「記録媒体」とは、フレキシブルディスク、光磁気ディスク、ROM、EPROM、EEPROM、CD−ROM、MO、DVD等の任意の「可搬用の物理媒体」、あるいは、LAN、WAN、インターネットに代表されるネットワークを介してプログラムを送信する場合の通信回線や搬送波のように、短期にプログラムを保持する「通信媒体」を含むものとする。   The program according to the present invention can also be stored in a computer-readable recording medium. Here, the “recording medium” refers to any “portable physical medium” such as a flexible disk, a magneto-optical disk, a ROM, an EPROM, an EEPROM, a CD-ROM, an MO, and a DVD, or a LAN, WAN, or Internet. It includes a “communication medium” that holds the program in a short period of time, such as a communication line or a carrier wave when the program is transmitted via a network represented by

また、「プログラム」とは、任意の言語や記述方法にて記述されたデータ処理方法であり、ソースコードやバイナリコード等の形式を問わない。なお、「プログラム」は必ずしも単一的に構成されるものに限られず、複数のモジュールやライブラリとして分散構成されるものや、OS(Operating System)に代表される別個のプログラムと協働してその機能を達成するものをも含む。なお、実施の形態に示した各装置において記録媒体を読み取るための具体的な構成、読み取り手順、あるいは、読み取り後のインストール手順等については、周知の構成や手順を用いることができる。   The “program” is a data processing method described in an arbitrary language or description method, and may be in any format such as source code or binary code. The “program” is not necessarily limited to a single configuration, but is distributed in the form of a plurality of modules and libraries, or in cooperation with a separate program represented by an OS (Operating System). Including those that achieve the function. Note that a well-known configuration and procedure can be used for a specific configuration for reading a recording medium, a reading procedure, an installation procedure after reading, and the like in each device described in the embodiment.

記憶部106に格納される各種のデータベース等(帳票定義体ファイル106a〜文書管理DB106h)は、RAM、ROM等のメモリ装置、ハードディスク等の固定ディスク装置、フレキシブルディスク、光ディスク等のストレージ手段であり、各種処理やウェブサイト提供に用いる各種のプログラムやテーブルやデータベースやウェブページ用ファイル等を格納する。   Various databases (form definition file 106a to document management DB 106h) stored in the storage unit 106 are storage means such as a memory device such as RAM and ROM, a fixed disk device such as a hard disk, a flexible disk, and an optical disk. Stores various programs, tables, databases, web page files, and the like used for various processes and website provision.

また、帳票キーワード登録装置100は、既知のパーソナルコンピュータ、ワークステーション等の情報処理装置を接続し、該情報処理装置に本発明の方法を実現させるソフトウェア(プログラム、データ等を含む)を実装することにより実現してもよい。   Further, the form keyword registration apparatus 100 is connected to an information processing apparatus such as a known personal computer or workstation, and software (including a program, data, etc.) for realizing the method of the present invention is installed in the information processing apparatus. May be realized.

更に、装置の分散・統合の具体的形態は図示するものに限られず、その全部または一部を、各種の負荷等に応じた任意の単位で、機能的または物理的に分散・統合して構成することができる。   Furthermore, the specific form of distribution / integration of the devices is not limited to the one shown in the figure, and all or a part thereof is configured to be functionally / physically distributed / integrated in arbitrary units according to various loads. can do.

以上詳述に説明したように、本発明によれば、帳票を格納する際に、簡単、高速、正確にキーワードを登録し、業務アプリケーションから帳票管理アプリケーションへのキーワードの登録を効率化することができる、帳票キーワード登録装置、帳票キーワード登録方法、および、プログラムを提供することができる。   As described above in detail, according to the present invention, when a form is stored, keywords can be registered easily, quickly and accurately, and the efficiency of keyword registration from a business application to a form management application can be improved. A form keyword registration device, a form keyword registration method, and a program can be provided.

本発明の基本原理を示す原理構成図である。It is a principle block diagram which shows the basic principle of this invention. 本発明の基本原理を示すフローチャートである。It is a flowchart which shows the basic principle of this invention. 本発明が適用される帳票キーワード登録装置の構成の一例を示すブロック図である。It is a block diagram which shows an example of a structure of the form keyword registration apparatus with which this invention is applied. 出力対象データの一例を示す図である。It is a figure which shows an example of output object data. 並び情報を含む出力対象データの一例を示す図である。It is a figure which shows an example of the output object data containing arrangement information. 属性情報の一例を示す図である。It is a figure which shows an example of attribute information. 図6の属性情報に基づいて、キーワード情報作成登録部102cにより作成されたキーワード情報の一例を示す図である。It is a figure which shows an example of the keyword information created by the keyword information creation registration part 102c based on the attribute information of FIG. 本実施の形態における本帳票キーワード登録装置100の帳票キーワード登録処理によるデータフローの一例を示すデータフロー図である。It is a data flow figure which shows an example of the data flow by the form keyword registration process of this form keyword registration apparatus 100 in this Embodiment. 本実施の形態における本帳票キーワード登録装置100の属性情報設定処理による表示画面の一例を示す図である。It is a figure which shows an example of the display screen by the attribute information setting process of this form keyword registration apparatus 100 in this Embodiment. 帳票定義体作成ツールの処理により出力装置114を制御して表示された設定画面の一例を示すイメージ図である。It is an image figure which shows an example of the setting screen displayed by controlling the output device 114 by the process of a form definition body creation tool. 帳票出力インターフェースの一例を示す機能ブロックと、帳票出力インターフェースの処理によるデータフローの一例を示すデータフロー図である。FIG. 5 is a functional block showing an example of a form output interface and a data flow diagram showing an example of a data flow by processing of the form output interface. 項目情報のデータ構造の一例を示す図である。It is a figure which shows an example of the data structure of item information. 項目情報生成部102bが、出力対象データ、レコード定義情報、項目情報を対応付けする処理の一例を示すイメージ図である。It is an image figure which shows an example of the process in which the item information generation part 102b matches output object data, record definition information, and item information. 出力対象データが並び情報を含む場合に、出力対象データと項目情報を対応付けする処理の一例を示すイメージ図である。It is an image figure which shows an example of the process which matches output object data and item information, when output object data contains arrangement information. 項目名が一致する場合の置換処理の一例を示す図である。It is a figure which shows an example of the replacement process in case an item name corresponds. 演算済みデータを置換する構成とした場合に、項目名が一致する場合の置換処理の例を示す図である。It is a figure which shows the example of the replacement process when it is set as the structure which replaces the calculated data, and an item name corresponds. 帳票出力インターフェースの各機能ブロックの処理によるフローの一例を示すフローチャートである。It is a flowchart which shows an example of the flow by the process of each functional block of a form output interface. 文書登録処理の一例を示すフローチャートである。It is a flowchart which shows an example of a document registration process. 属性情報の設定画面の表示例を示す図である。It is a figure which shows the example of a display of the setting screen of attribute information. 属性情報の設定画面の表示例を示す図である。It is a figure which shows the example of a display of the setting screen of attribute information. 属性情報の設定画面の表示例を示す図である。It is a figure which shows the example of a display of the setting screen of attribute information. 属性情報の設定画面の表示例を示す図である。It is a figure which shows the example of a display of the setting screen of attribute information. 属性情報の設定画面の表示例を示す図である。It is a figure which shows the example of a display of the setting screen of attribute information. 業務アプリケーションを実行するクライアント端末装置100−1と、帳票管理アプリケーションを実行するサーバ装置100−2と、の別筐体で構成した例を示す図である。It is a figure which shows the example comprised by the separate housing | casing of the client terminal device 100-1 which performs a business application, and the server apparatus 100-2 which performs a form management application.

符号の説明Explanation of symbols

100 帳票キーワード登録装置
102 制御部
102a 業務アプリケーション部
102b 項目情報生成部
102c キーワード情報作成登録部
102d 電子文書作成登録部
102e 帳票管理アプリケーション部
102f 帳票定義体作成部
102g 属性情報設定部
104 通信制御インターフェース部
106 記憶部
106a 帳票定義体ファイル
106b 出力対象データファイル
106c 属性情報ファイル
106d 項目情報ファイル
106e キーワード情報ファイル
106f 電子文書ファイル
106g キーワード初期値ファイル
106h 文書管理DB
108 入出力制御インターフェース部
112 入力装置
114 出力装置
200 外部システム
300 ネットワーク
100 form keyword registration device
102 Control unit
102a Business Application Department
102b Item information generation unit
102c Keyword information creation / registration section
102d Electronic Document Creation and Registration Department
102e Form management application part
102f Form definition body creation part
102g attribute information setting part
104 Communication control interface unit
106 Storage unit
106a Form definition file
106b Output target data file
106c Attribute information file
106d Item information file
106e Keyword information file
106f Electronic document file
106g Keyword initial value file
106h Document management DB
108 Input / output control interface
112 Input device
114 Output device 200 External system 300 Network

Claims (8)

記憶部と制御部とを備えた帳票キーワード登録装置であって、
上記記憶部は、
業務アプリケーションの実行により生成された帳票のデータ項目単位の文字列を順番に列挙した出力対象データと、
上記出力対象データの属性項目と属性値とを対応付けて格納した属性情報と、
上記出力対象データの上記データ項目の順番を定義する並び情報と、上記帳票の電子文書に表示される上記データ項目のレイアウトを定義する出力様式情報と、を少なくとも有する帳票定義体と、
を記憶し、
上記制御部は、
上記帳票定義体の上記並び情報に基づいて、上記出力対象データを上記各データ項目単位に上記文字列を抽出し、上記データ項目の項目名と、当該文字列そのもの、または、当該文字列の値に対して演算もしくは他の文字列を結合して加工した文字列と、を対応付けて格納した項目情報を生成する項目情報生成手段と、
上記属性情報の上記属性値が上記項目名を含む置換対象文字列である場合に、当該項目名に対応する上記項目情報の上記文字列で当該属性値を置換した後、上記属性情報をキーワード情報として格納するキーワード情報格納手段と、
上記帳票定義体の上記出力様式情報に基づいて、上記項目情報から上記電子文書を作成する電子文書作成手段と、
を備え、上記電子文書を管理するための帳票管理アプリケーションに上記電子文書と上記キーワード情報を登録することを特徴とする帳票キーワード登録装置。
A form keyword registration device comprising a storage unit and a control unit,
The storage unit
Output target data that enumerates the character string of the data item unit of the form generated by executing the business application in order,
Attribute information in which attribute items and attribute values of the output target data are stored in association with each other,
A form definition body having at least alignment information that defines the order of the data items of the output target data, and output format information that defines a layout of the data items displayed in the electronic document of the form;
Remember
The control unit
Based on the arrangement information of the form definition body, the character string is extracted from the output target data for each data item, and the item name of the data item and the character string itself or the value of the character string An item information generating means for generating item information stored in association with an operation or a character string processed by combining other character strings,
When the attribute value of the attribute information is a replacement target character string including the item name, after replacing the attribute value with the character string of the item information corresponding to the item name, the attribute information is replaced with the keyword information. Keyword information storage means for storing as:
An electronic document creation means for creating the electronic document from the item information based on the output format information of the form definition body;
A form keyword registration device for registering the electronic document and the keyword information in a form management application for managing the electronic document.
記憶部と制御部とを備えた帳票キーワード登録装置であって、
上記記憶部は、
業務アプリケーションの実行により生成された帳票のデータ項目単位の文字列を順番に列挙し、上記データ項目の順番を定義する並び情報を含む出力対象データと、
上記出力対象データの属性項目と属性値とを対応付けて格納した属性情報と、
上記帳票の電子文書に表示される上記データ項目のレイアウトを定義する出力様式情報を有する帳票定義体と、
を記憶し、
上記制御部は、
上記出力対象データの上記並び情報に基づいて、上記出力対象データを上記各データ項目単位に上記文字列を抽出し、上記データ項目の項目名と、当該文字列そのもの、または、当該文字列の値に対して演算もしくは他の文字列を結合して加工した文字列と、を対応付けて格納した項目情報を生成する項目情報生成手段と、
上記属性情報の上記属性値が上記項目名を含む置換対象文字列である場合に、当該項目名に対応する上記項目情報の上記文字列で当該属性値を置換した後、上記属性情報をキーワード情報として格納するキーワード情報格納手段と、
上記帳票定義体の上記出力様式情報に基づいて、上記項目情報から上記電子文書を作成する電子文書作成手段と、
を備え、上記電子文書を管理するための帳票管理アプリケーションに上記電子文書と上記キーワード情報を登録することを特徴とする帳票キーワード登録装置。
A form keyword registration device comprising a storage unit and a control unit,
The storage unit
Output target data including sequence information that enumerates the character strings in units of data items of the form generated by the execution of the business application and defines the order of the data items;
Attribute information in which attribute items and attribute values of the output target data are stored in association with each other,
A form definition body having output format information defining the layout of the data items displayed in the electronic document of the form;
Remember
The control unit
Based on the arrangement information of the output target data, the character string is extracted from the output target data for each data item unit, and the item name of the data item and the character string itself or the value of the character string An item information generating means for generating item information stored in association with an operation or a character string processed by combining other character strings,
When the attribute value of the attribute information is a replacement target character string including the item name, after replacing the attribute value with the character string of the item information corresponding to the item name, the attribute information is replaced with the keyword information. Keyword information storage means for storing as:
An electronic document creation means for creating the electronic document from the item information based on the output format information of the form definition body;
A form keyword registration device for registering the electronic document and the keyword information in a form management application for managing the electronic document.
請求項1または2に記載の帳票キーワード登録装置において、
更に入力装置と出力装置を備え、
上記制御部は、
利用者に上記入力装置を介して上記属性値を設定させるよう上記出力装置を制御し、上記属性情報に格納する属性情報設定手段、
を更に備えたことを特徴とする帳票キーワード登録装置。
In the form keyword registration device according to claim 1 or 2,
Furthermore, it has an input device and an output device,
The control unit
Attribute information setting means for controlling the output device to cause the user to set the attribute value via the input device, and storing the attribute value in the attribute information;
A form keyword registration device characterized by further comprising:
請求項3に記載の帳票キーワード登録装置において、
上記属性情報設定手段は、
上記利用者に上記入力装置を介して、上記データ項目の上記項目名を選択させるよう上記出力装置を制御し、選択された上記項目名を含む上記置換対象文字列を上記属性値として格納すること、
を特徴とする帳票キーワード登録装置。
In the form keyword registration device according to claim 3,
The attribute information setting means
Controlling the output device to cause the user to select the item name of the data item via the input device, and storing the replacement target character string including the selected item name as the attribute value ,
A form keyword registration device characterized by this.
記憶部と制御部とを備えた帳票キーワード登録装置において実行される帳票キーワード登録方法であって、
上記記憶部は、
業務アプリケーションの実行により生成された帳票のデータ項目単位の文字列を順番に列挙した出力対象データと、
上記出力対象データの属性項目と属性値とを対応付けて格納した属性情報と、
上記出力対象データの上記データ項目の順番を定義する並び情報と、上記帳票の電子文書に表示される上記データ項目のレイアウトを定義する出力様式情報と、を少なくとも有する帳票定義体と、
を記憶しており、
上記制御部において実行される、
上記帳票定義体の上記並び情報に基づいて、上記出力対象データを上記各データ項目単位に上記文字列を抽出し、上記データ項目の項目名と、当該文字列そのもの、または、当該文字列の値に対して演算もしくは他の文字列を結合して加工した文字列と、を対応付けて格納した項目情報を生成する項目情報生成ステップと、
上記属性情報の上記属性値が上記項目名を含む置換対象文字列である場合に、当該項目名に対応する上記項目情報の上記文字列で当該属性値を置換した後、上記属性情報をキーワード情報として格納するキーワード情報格納ステップと、
上記帳票定義体の上記出力様式情報に基づいて、上記項目情報から上記電子文書を作成する電子文書作成ステップと、
を含み、上記電子文書を管理するための帳票管理アプリケーションに上記電子文書と上記キーワード情報を登録することを特徴とする帳票キーワード登録方法。
A form keyword registration method executed in a form keyword registration apparatus including a storage unit and a control unit,
The storage unit
Output target data that enumerates the character string of the data item unit of the form generated by executing the business application in order,
Attribute information in which attribute items and attribute values of the output target data are stored in association with each other,
A form definition body having at least alignment information that defines the order of the data items of the output target data, and output format information that defines a layout of the data items displayed in the electronic document of the form;
Remember
Executed in the control unit,
Based on the arrangement information of the form definition body, the character string is extracted from the output target data for each data item, and the item name of the data item and the character string itself or the value of the character string An item information generation step for generating item information stored by associating a character string processed by combining operation or other character strings with respect to
When the attribute value of the attribute information is a replacement target character string including the item name, after replacing the attribute value with the character string of the item information corresponding to the item name, the attribute information is replaced with the keyword information. Keyword information storage step for storing as
An electronic document creation step for creating the electronic document from the item information based on the output format information of the form definition body;
And registering the electronic document and the keyword information in a form management application for managing the electronic document.
記憶部と制御部とを備えた帳票キーワード登録装置において実行される帳票キーワード登録方法であって、
上記記憶部は、
業務アプリケーションの実行により生成された帳票のデータ項目単位の文字列を順番に列挙し、上記データ項目の順番を定義する並び情報を含む出力対象データと、
上記出力対象データの属性項目と属性値とを対応付けて格納した属性情報と、
上記帳票の電子文書に表示される上記データ項目のレイアウトを定義する出力様式情報を有する帳票定義体と、
を記憶しており、
上記制御部において実行される、
上記出力対象データの上記並び情報に基づいて、上記出力対象データを上記各データ項目単位に上記文字列を抽出し、上記データ項目の項目名と、当該文字列そのもの、または、当該文字列の値に対して演算もしくは他の文字列を結合して加工した文字列と、を対応付けて格納した項目情報を生成する項目情報生成ステップと、
上記属性情報の上記属性値が上記項目名を含む置換対象文字列である場合に、当該項目名に対応する上記項目情報の上記文字列で当該属性値を置換した後、上記属性情報をキーワード情報として格納するキーワード情報格納ステップと、
上記帳票定義体の上記出力様式情報に基づいて、上記項目情報から上記電子文書を作成する電子文書作成ステップと、
を含み、上記電子文書を管理するための帳票管理アプリケーションに上記電子文書と上記キーワード情報を登録することを特徴とする帳票キーワード登録方法。
A form keyword registration method executed in a form keyword registration apparatus including a storage unit and a control unit,
The storage unit
Output target data including sequence information that enumerates the character strings in units of data items of the form generated by the execution of the business application and defines the order of the data items;
Attribute information in which attribute items and attribute values of the output target data are stored in association with each other,
A form definition body having output format information defining the layout of the data items displayed in the electronic document of the form;
Remember
Executed in the control unit,
Based on the arrangement information of the output target data, the character string is extracted from the output target data for each data item unit, and the item name of the data item and the character string itself or the value of the character string An item information generation step for generating item information stored by associating a character string processed by combining operation or other character strings with respect to
When the attribute value of the attribute information is a replacement target character string including the item name, after replacing the attribute value with the character string of the item information corresponding to the item name, the attribute information is replaced with the keyword information. Keyword information storage step for storing as
An electronic document creation step for creating the electronic document from the item information based on the output format information of the form definition body;
And registering the electronic document and the keyword information in a form management application for managing the electronic document.
記憶部と制御部とを備えた帳票キーワード登録装置に帳票キーワード登録方法を実行させるためのプログラムであって、
上記記憶部は、
業務アプリケーションの実行により生成された帳票のデータ項目単位の文字列を順番に列挙した出力対象データと、
上記出力対象データの属性項目と属性値とを対応付けて格納した属性情報と、
上記出力対象データの上記データ項目の順番を定義する並び情報と、上記帳票の電子文書に表示される上記データ項目のレイアウトを定義する出力様式情報と、を少なくとも有する帳票定義体と、
を記憶しており、
上記制御部において実行される、
上記帳票定義体の上記並び情報に基づいて、上記出力対象データを上記各データ項目単位に上記文字列を抽出し、上記データ項目の項目名と、当該文字列そのもの、または、当該文字列の値に対して演算もしくは他の文字列を結合して加工した文字列と、を対応付けて格納した項目情報を生成する項目情報生成ステップと、
上記属性情報の上記属性値が上記項目名を含む置換対象文字列である場合に、当該項目名に対応する上記項目情報の上記文字列で当該属性値を置換した後、上記属性情報をキーワード情報として格納するキーワード情報格納ステップと、
上記帳票定義体の上記出力様式情報に基づいて、上記項目情報から上記電子文書を作成する電子文書作成ステップと、
を含み、上記電子文書を管理するための帳票管理アプリケーションに上記電子文書と上記キーワード情報を登録することを特徴とする帳票キーワード登録方法を実行させるためのプログラム。
A program for causing a form keyword registration device including a storage unit and a control unit to execute a form keyword registration method,
The storage unit
Output target data that enumerates the character string of the data item unit of the form generated by executing the business application in order,
Attribute information in which attribute items and attribute values of the output target data are stored in association with each other,
A form definition body having at least alignment information that defines the order of the data items of the output target data, and output format information that defines a layout of the data items displayed in the electronic document of the form;
Remember
Executed in the control unit,
Based on the arrangement information of the form definition body, the character string is extracted from the output target data for each data item, and the item name of the data item and the character string itself or the value of the character string An item information generation step for generating item information stored by associating a character string processed by combining operation or other character strings with respect to
When the attribute value of the attribute information is a replacement target character string including the item name, after replacing the attribute value with the character string of the item information corresponding to the item name, the attribute information is replaced with the keyword information. Keyword information storage step for storing as
An electronic document creation step for creating the electronic document from the item information based on the output format information of the form definition body;
A program for causing a form management application for managing the electronic document to execute the form keyword registration method, wherein the electronic document and the keyword information are registered.
記憶部と制御部とを備えた帳票キーワード登録装置に帳票キーワード登録方法を実行させるためのプログラムであって、
上記記憶部は、
業務アプリケーションの実行により生成された帳票のデータ項目単位の文字列を順番に列挙し、上記データ項目の順番を定義する並び情報を含む出力対象データと、
上記出力対象データの属性項目と属性値とを対応付けて格納した属性情報と、
上記帳票の電子文書に表示される上記データ項目のレイアウトを定義する出力様式情報を有する帳票定義体と、
を記憶しており、
上記制御部において実行される、
上記出力対象データの上記並び情報に基づいて、上記出力対象データを上記各データ項目単位に上記文字列を抽出し、上記データ項目の項目名と、当該文字列そのもの、または、当該文字列の値に対して演算もしくは他の文字列を結合して加工した文字列と、を対応付けて格納した項目情報を生成する項目情報生成ステップと、
上記属性情報の上記属性値が上記項目名を含む置換対象文字列である場合に、当該項目名に対応する上記項目情報の上記文字列で当該属性値を置換した後、上記属性情報をキーワード情報として格納するキーワード情報格納ステップと、
上記帳票定義体の上記出力様式情報に基づいて、上記項目情報から上記電子文書を作成する電子文書作成ステップと、
を含み、上記電子文書を管理するための帳票管理アプリケーションに上記電子文書と上記キーワード情報を登録することを特徴とする帳票キーワード登録方法を実行させるためのプログラム。
A program for causing a form keyword registration device including a storage unit and a control unit to execute a form keyword registration method,
The storage unit
Output target data including sequence information that enumerates the character strings in units of data items of the form generated by the execution of the business application and defines the order of the data items;
Attribute information in which attribute items and attribute values of the output target data are stored in association with each other,
A form definition body having output format information defining the layout of the data items displayed in the electronic document of the form;
Remember
Executed in the control unit,
Based on the arrangement information of the output target data, the character string is extracted from the output target data for each data item unit, and the item name of the data item and the character string itself or the value of the character string An item information generation step for generating item information stored by associating a character string processed by combining operation or other character strings with respect to
When the attribute value of the attribute information is a replacement target character string including the item name, after replacing the attribute value with the character string of the item information corresponding to the item name, the attribute information is replaced with the keyword information. Keyword information storage step for storing as
An electronic document creation step for creating the electronic document from the item information based on the output format information of the form definition body;
A program for causing a form management application for managing the electronic document to execute the form keyword registration method, wherein the electronic document and the keyword information are registered.
JP2007272287A 2007-10-19 2007-10-19 Form keyword registration device, form keyword registration method, and program Active JP5214211B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007272287A JP5214211B2 (en) 2007-10-19 2007-10-19 Form keyword registration device, form keyword registration method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007272287A JP5214211B2 (en) 2007-10-19 2007-10-19 Form keyword registration device, form keyword registration method, and program

Publications (2)

Publication Number Publication Date
JP2009099090A JP2009099090A (en) 2009-05-07
JP5214211B2 true JP5214211B2 (en) 2013-06-19

Family

ID=40702004

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007272287A Active JP5214211B2 (en) 2007-10-19 2007-10-19 Form keyword registration device, form keyword registration method, and program

Country Status (1)

Country Link
JP (1) JP5214211B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6467826B2 (en) * 2014-09-01 2019-02-13 富士通株式会社 Form data management program, form data management method, and information processing apparatus
JP6283442B1 (en) * 2017-06-01 2018-02-21 フューチャー株式会社 Analysis device, analysis method, and analysis program

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000089846A (en) * 1998-09-08 2000-03-31 Asahi Optical Co Ltd Click mechanism
JP2006011503A (en) * 2004-06-22 2006-01-12 Pfu Ltd Business form data input/output processing method, device, and program
JP2006119888A (en) * 2004-10-21 2006-05-11 Toshiba Corp Business form data conversion apparatus and business form data conversion program
JP4096319B2 (en) * 2005-03-23 2008-06-04 株式会社日立情報システムズ Electronic form management system, management method, and program therefor

Also Published As

Publication number Publication date
JP2009099090A (en) 2009-05-07

Similar Documents

Publication Publication Date Title
JP5023715B2 (en) Information processing system, information processing apparatus, and program
US8584009B2 (en) Automatically propagating changes in document access rights for subordinate document components to superordinate document components
JP5407209B2 (en) Document management apparatus, document management program, and document management system
JP5129640B2 (en) Output device and control method thereof
JP2008003847A (en) Document use management system, document management server, and its program
JP2007109180A (en) Document processing device and method
JP2006074601A (en) Document management system and its method
JP5207696B2 (en) Information processing apparatus, information processing apparatus control method, and program
JP2006244467A (en) Document processing device and method and document processing system
JP2011076396A (en) Metadata setting method, metadata setting system and program
US20070185832A1 (en) Managing tasks for multiple file types
US20060203274A1 (en) Document processing apparatus, method of control of such apparatus and storage medium storing document processing program
JP5458861B2 (en) Document search device, program, document registration device, and document search system
JP5214211B2 (en) Form keyword registration device, form keyword registration method, and program
JP5045118B2 (en) Document management apparatus, document management system, and program
JP5082460B2 (en) Information processing apparatus, program, and information processing system
JP4645731B2 (en) Image processing apparatus, image data management method, and computer program
JPH1069476A (en) Document management system, document sharing method and recording medium
JP2005011055A (en) Electronic form designing and managing method and device, processing program and recording medium
JP2009075849A (en) Information processor, information processing method, program thereof, and storage medium
JP2008165409A (en) Electronic business form retrieving device, electronic business form retrieving method, and program
US20090271452A1 (en) Document management apparatus, document management method, and computer-readable encoding medium recorded with a computer program
JP6121126B2 (en) Form output device, form output method, and program
JP2010073012A (en) Document management apparatus, document management system and program
JP2011014138A (en) Information processor, control method of information processor, control program of information processor, and recording medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100715

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20121120

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130227

R150 Certificate of patent or registration of utility model

Ref document number: 5214211

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20160308

Year of fee payment: 3