JP2004102894A - Retrieval method for electronic business form - Google Patents

Retrieval method for electronic business form Download PDF

Info

Publication number
JP2004102894A
JP2004102894A JP2002266801A JP2002266801A JP2004102894A JP 2004102894 A JP2004102894 A JP 2004102894A JP 2002266801 A JP2002266801 A JP 2002266801A JP 2002266801 A JP2002266801 A JP 2002266801A JP 2004102894 A JP2004102894 A JP 2004102894A
Authority
JP
Japan
Prior art keywords
layout
search
data
items
definition
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2002266801A
Other languages
Japanese (ja)
Other versions
JP4585739B2 (en
Inventor
Tatsuhiko Okochi
大河内 達彦
Yosuke Suga
須賀 洋介
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.)
Hitachi Software Engineering Co Ltd
Original Assignee
Hitachi Software Engineering Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Software Engineering Co Ltd filed Critical Hitachi Software Engineering Co Ltd
Priority to JP2002266801A priority Critical patent/JP4585739B2/en
Publication of JP2004102894A publication Critical patent/JP2004102894A/en
Application granted granted Critical
Publication of JP4585739B2 publication Critical patent/JP4585739B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Document Processing Apparatus (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a retrieval method for electronic business form capable of retrieving data in consideration of the relationship of the data for any types of business forms. <P>SOLUTION: Layout is defined by forming the type of a business form in an assembly of lines of multiple types and the parentage of the layout is defined by a tree fashion, and the data of the business form is classified. Based on the definition of the layout, business form data is retrieved. Thus the data can be retrieved in consideration of the relationship of the data for any types of business forms. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
本発明は、電子帳票の検索方法に係り、特に、種々の形式を持つ帳票から希望のデータを検索することが可能な電子帳票の検索方法に関する。
【0002】
【従来の技術】
従来技術による電子帳票の検索は、固定レイアウトの検索を行うことにより、あるいは、複数行を1つのレイアウトとしてそのレイアウトの検索を行うことにより実行されている(例えば、特許文献1参照)。そして、従来技術による電子帳票の検索は、そのデータの関連性までを意識して行われるものではない。
【0003】
【特許文献1】
特開平11−161726号公報(第2−5頁、第1−6図)
【0004】
【発明が解決しようとする課題】
一般に、電子帳票の形式は様々であるため、前述した従来技術による検索方法は、帳票の形式によっては検索することができないものがあるという問題点を有している。また、従来技術による検索方法は、データ自体の関連性を意識していないため、データの関連性を意識した検索を行うことができないという問題点を有している。
【0005】
本発明の目的は、前述した従来技術の問題点を解決し、どのような形式の帳票からも、データの関連性を考慮したデータの検索を行うことを可能とした電子帳票の検索方法を提供することにある。
【0006】
【課題を解決するための手段】
本発明によれば前記目的は、電子帳票の検索方法において、帳票の形式を複数の形式の行の集合体としてレイアウトを定義すると共に、そのレイアウトの親子関係をツリー形式で定義して帳票のデータを分類しておき、前記レイアウトの定義に基づいて帳票データの検索を行うことにより達成される。
【0007】
また、前記目的は、前記レイアウト内に含まれるデータ項目に配列型項目の定義を行い、複数の項目を同じ意味を持つ項目として扱い、配列項目に関して親子関係を持つレイアウト間で関連付けを行って、特定の配列位置のデータの検索行うことにより達成される。
【0008】
前述した子を備える本発明によれば、どのような形式の帳票に対しても、データの関連性を考慮したデータの検索を行うことができ、また、異なった項目を同一の意味を持つ項目として検索することができ、さらに、配列型の項目の検索で同一の配列番号をもつ異なるレイアウトの項目と関連付けた検索を行うことができる。
【0009】
【発明の実施の形態】
以下、本発明による電子帳票の検索方法の実施形態を図面により詳細に説明する。本発明の実施形態が対象とする電子帳票は、任意の形式を持つものであり、このような帳票を扱う本発明の実施形態では、それらの帳票の形式を複数の形式の行の集合体としてそのレイアウトの定義を行い、かつ、そのレイアウトをツリー形式で関連付けることとする。なお、本発明の実施形態が対象とする電子帳票データは、全てコンピュータシステムにおける電子データとして定義され、コンピュータシステム上において動作するプログラムによって検索その他の処理が行われるものとする。
【0010】
図1はレイアウトの定義例について説明する図、図2はツリー形式のレイアウトの定義について説明する図である。まず、図1を参照して、帳票に含まれる行の集合体としてのレイアウトについて説明する。
【0011】
図1(a)に示す例は、1行を1つのレイアウトとした場合の定義例であり、この定義例1は、1行の中に、例えば、商品名、価格、個数等の項目が含まれ、これらの項目がレイアウト内の検索対象とされる。
【0012】
図1(b)に示す例は、複数行を1つのレイアウトとした場合の定義例であり、この定義例2は、2行を1つのレイアウトとした定義例である。そして、この定義例2は、例えば、その第1行に商品名、価格、個数等の項目を含み、第2行にその商品のメーカ名等の種別コード、補足情報を含んで構成される。
【0013】
図1(c)に示す例は、複数のレイアウトが混在する場合の定義例であり、この定義例3は、2つのレイアウトが混在する帳票でのレイアウト定義例である。そして、この定義例3において、上の行のレイアウトは、図示例では売り上げ情報であり、下の行のレイアウトは製品情報であり、これらの2つの行のレイアウトは、親子関係を持たせられている。これにより、特定の売り上げの中の特定の製品情報のレイアウトを検索することができるようになる。
【0014】
なお、図1(c)に示す例は、親子関係にある2つのレイアウトダイオード検出を示しているが、下の行の製品情報のレイアウトは、複数行あってもよく、また、図1(d)に示すように、各「子」のレイアウトに、「孫」となる1または複数のレイアウトがあってもよい。
【0015】
次に、図2を参照して、ツリー形式のレイアウトの定義例について説明する。図2に示す定義例は、売り上げ情報の下位に製品情報が定義され、さらに、製品情報の下位に各製品毎の情報が定義されたツリー形式の例である。ここで、レイアウトの親子関係の定義は、例えばコンピュータシステムの表示装置における画面上で、あらかじめ定義されたレイアウトデータをユーザが任意の位置に配置する、等の方法によって行う。
【0016】
図3は前述したようなレイアウトの組み合わせを持った帳票を検索する際の検索条件について説明する図である。
【0017】
図3に示す検索条件の第1の条件4は、ツリーの最上位にあるレイアウトを検索条件とするもので、「親」レイアウトだけを検索する条件である。この場合、例えば、図1(c)に示す定義例の場合、売り上げ情報の1月分に関する情報の検索を行うことができる。第2の検索条件5は、ツリーの最下位にあるレイアウトを検索条件とするもので、「子」レイアウトだけを検索する条件である。この場合、例えば、図1(c)に示す定義例の場合、売り上げ情報のテレビに関する情報の検索を行うことができる。また、第3の検索情報6は、ツリーの最上位にあるレイアウトから最下位にあるレイアウトまで全ての階層のレイアウトを検索条件とするもので、「親」、「子」、「孫」全てのレイアウトを検索する条件である。
【0018】
図4は図1、図2により説明したレイアウトを持つ帳票を図3により説明した検索条件で検索した場合の検索ヒットデータの出力例について説明する図である。ここでは検索ヒットデータをCSV(カンマ セパレート バリュー)形式で出力したときの例として示している。
【0019】
図4(a)に示す出力例7は、レイアウト1つ分の検索ヒットデータをCSV形式で出力した例であり、図1(a)に示すレイアウトのデータがヒットして抽出された場合の出力例である。図4(b)に示す出力例8は、図3に示す検索条件の第1の条件4による検索ヒットデータをCSV形式で出力した例であり、図示例では、図1(d)に示すレイアウトのデータが2件ヒットして抽出され、最上位、下位、最下位の各レイアウトとして出力された例である。
【0020】
図4(c)に示す出力例9は、図3に示す検索条件の第2の条件5による検索ヒットデータをCSV形式で出力した例であり、ツリーの下位のレイアウト内のデータが出力された例である。また、図4(d)に示す出力例10は、図3に示す検索条件の第3の条件6による検索ヒットデータをCSV形式で出力した例であり、図1(c)に示すレイアウトのデータがヒットして抽出され、最上位、下位、最下位の各レイアウトとして出力された例である。
【0021】
ここで、図3に示す検索条件は、最上位、最下位のレイアウトを指定するもの、または最上位から最下位までのすべての階層のレイアウトを指定するものに限らず、任意の階層のレイアウトを1つまたは複数指定するものであっても良い。
【0022】
図5は上位のレイアウトを指定した検索ヒットデータをCSV形式で出力した場合の一般的な形式について説明する図である。この図から判るように、上位のレイアウトが指定した検索が行われた場合、そのヒットデータは、最上位、下位、最下位というように、指定された検索条件のうち最上位のレイアウトからツリーの最下位にあるレイアウトまで全てが順番に並べられた形式となる。
【0023】
図6は1つのレイアウトにおける項目に入る値の数が不特定となる帳票の例を示す図、図7は図6に示す帳票に対してレイアウト定義した例を示す図であり、次に、これについて説明する。
【0024】
図6に示す帳票の例は、上位となるレイアウトとして、図7(a)に示すような年の値と月の配列とからなる年月データのレイアウトと、このレイアウトの下位となる図7(b)に示すような製品データのレイアウトからなる。下位レイアウトである製品データのレイアウトは、例えば、上位の年月データに対応する製品の売り上げ数であり、複数の製品についての下位レイアウトがあってよい。また、帳票には、このような上位、下位の関係にあるレイアウトを1組として、複数組のレイアウトがあってよく、そり場合に、各レイアウトに入る項目の数はレイアウト毎に異なってよい。
【0025】
図8は図6に示す帳票を配列項目を用いて検索した場合の検索ヒット情報をCSV形式で出力した例を示す図である。図8(a)に示す出力例11は、3月の売上げ数が5以上という条件で検索した場合の例であり、図6に示す例では、2000年の3月におけるビデオの売上げ数と、2001年の3月におけるテレビの売上げ数とが条件に合致することになる。このため、検索ヒット情報としては、2000年の年月データのレイアウトとその下位の製品レイアウトであるビデオのレイアウトとの全体、及び、2001年の年月データのレイアウトとその下位の製品レイアウトであるテレビのレイアウトとの全体が出力されることになる。
【0026】
また、図8(b)に示す出力例12は、ビデオの売上げ数が20以上の月を検索するという条件でその年月を検索した場合、すなわち、配列項目の配列位置を検索した検索ヒット情報をCSV形式で出力した例である。
【0027】
図9は図2により説明したツリー形式のレイアウトとして定義した売り上げ情報及び製品情報と、それらの情報を含む帳票の例とを示す図であり、次に、図9及び前述で説明した各図面による例を参照して、本発明の実施形態による電子帳票の検索方法について説明する。
【0028】
まず、レイアウトの定義において、レイアウトを構築する情報として帳票内でレコードを構成する行数とその行の中での複数の検索対象とする項目とを定義する必要がある。このようなレイアウトの定義を行うことによりレイアウト単位でデータを関連付けことができ、複数項目を条件としたデータをレイアウトとして検索することができる。
【0029】
すでに説明したように、図1(a)に示す定義例1は、1行のレイアウトの定義例であり、商品名、価格、個数の部分が検索対象とされる項目である。また、図1(b)に示す定義例2は、2行を1つのレイアウトとした定義例である。図1(c)、図1(d)に示す定義例3は、複数のレイアウトが混在する場合の定義例であり、上の行のレイアウト(売り上げ情報)は、下の行のレイアウト(製品情報)と親子関係を持たせられている。これにより、特定の売り上げの中の特定の製品情報のレイアウトを検索することができるようになる。例えば、売り上げ情報・月が1月で製品情報・製品がビデオといった条件でレイアウトを検索することができる。
【0030】
ここで、帳票に複数のレイアウトが含まれる場合に、ある行がどのレイアウトに対応するかのを判定することが必要になる。その判定法方として、レイアウトの項目で特定の1または複数の項目を判定するためのキーとなる項目として判定条件を付加することによりレイアウトの判定を行うことが可能である。判定条件としては、例えば、特定文字列が項目に入る、特定文字列でないもの(例えば、空白)が項目に入る、数値や日時等の特別な形式が項目に入る等である。本発明の実施形態においては、製品情報の識別項目に「*」、「**」という文字が入るという条件でレイアウトを判定することができるようにしている。また、売り上げ情報は、特に条件を指定しないで製品情報でない場合という条件でレイアウトを判定することができる。
【0031】
レイアウトの親子関係の定義方法は、すでに図2により説明したように、ツリー方式で定義される。ツリー形式で定義することにより、複雑なレイアウトの親子関係を定義することが可能になる。
【0032】
図3により親子関係を用いたレイアウトの検索条件について説明し、それらの検索条件で検索してヒットした場合の出力例を説明したが、複数の関連のあるレイアウトが存在する帳票の検索の場合、それらのデータをレイアウトの上下関係によりグルーピングしてからヒット表示する。グルーピングでは、上位のレイアウトの後に下位のレイアウトが続いている場合、同等以上のレイアウトが現れるまで1つのグループとして扱う。このようなグルーピングにより、関連データを関連した形でヒット表示することができる。
【0033】
具体的には、すでに説明したように、図3により説明した検索条件4での検索によりヒットした場合、ヒットしたレイアウトのグループが図4(b)に示したようにヒット表示される。これにより、関連するデータの固まりを一目で判断することができる。また、図3により説明した検索条件5での検索によりヒットした場合、特定のレイアウトの検索として、図4(c)に示したように該当する下位のレイアウトのみがヒット表示される。さらに、図3により説明した検索条件6での検索によりヒットした場合、図4(d)に示したように上位のレイアウトのグループをヒット表示して、かつ、下位のレイアウトも別の色でヒット表示する。これにより必要な情報を取得し易くすることができる。
【0034】
通常電子帳票の検索では、検索ヒット情報をCSV形式で出力してEXCEL(登録商標)等に取り込めるようにしている。図4に示す検索ヒット情報の各例は、ヒットデータをCSV形式で出力したときの出力例を示しており、図4(a)に示す例は、1つのレイアウトのデータを出力した例であり、1つのレイアウトが意味のあるデータの単位として扱われており1行単位で出力される。
【0035】
また、図5に示す例は、図3により説明した検索条件4の上位のレイアウトを指定した検索ヒットデータをCSV形式で出力した場合の一般的な形式を示すもので、最上位、下位、最下位というように、最上位のものからツリーの下位にある全てが順番に並べられた形式となり、具体的には、図4(b)に示すようなものとなる。
【0036】
次に、レイアウト中の項目を配列化してレイアウト中の各項目に関連性を持たせる方法にについて説明する。項目の配列化は、同一の意味を持つ項目が不特定数ある場合等に役立つ。項目を配列化しない場合、項目の全てを別々の項目として定義しなくてはならず、検索条件も複雑なものになる。特に、1つのレイアウトでの項目に入る値の数が不特定の場合に簡易に検索を行うことが可能になる。
【0037】
すでに説明した図6に示す1つのレイアウトでの項目に入る値の数が不特定となる帳票の例は、年によって月の個数がまちまちである。この場合、年と月とを表示している行を上位のレイアウトとして定義して、製品部分を下位のレイアウトとして定義する。そして、上位のレイアウトでは月の部分、下位のレイアウトでは数字部分の項目を配列項目として定義する。この場合のレイアウトの定義例については、すでに説明したように図7に示すようなものとなる。
【0038】
配列項目の検索は、各配列個別の項目を条件とする検索も可能であるが、本発明の実施形態は、配列を無視した集合体としての項目の検索も可能とする。例えば、3月と5月とがある年を検索する等である。
【0039】
さらに、本発明の実施形態は、配列項目を親子関係のあるレイアウトの項目と関連付けて検索することを可能とすることができ、これにより、複雑な条件の検索が可能となる。例えば、3月の数が5以上の製品を検索するというような条件での検索を行うことが可能になる。この場合の検索ヒット情報をCSV出力した例が、すでに図8(a)により説明した例である。また、例えば、売り上げ数の項目において、ビデオの数が20以上の月を検索するといった特定の配列位置の検索も可能になる。この場合の検索ヒット情報のCSV出力は、配列項目でヒットした配列のみ出力し、該当しない配列を無視したものとする。この場合の検索ヒット情報例が、すでに図8(b)により説明した例である。
【0040】
【発明の効果】
以上説明したように本発明によれば、電子帳票の検索において、どのような形式の帳票に対しても、データの関連性を考慮したデータの検索を行うことができる。
【図面の簡単な説明】
【図1】レイアウトの定義例について説明する図である。
【図2】ツリー形式のレイアウトの定義について説明する図である。
【図3】レイアウトの組み合わせを持った帳票を検索する際の検索条件について説明する図である。
【図4】図1、図2により説明したレイアウトを持つ帳票を図3により説明した検索条件で検索した場合の検索ヒットデータの出力例について説明する図である。
【図5】上位のレイアウトを指定した検索ヒットデータをCSV形式で出力した場合の一般的な形式について説明する図である。
【図6】1つのレイアウトにおける項目に入る値の数が不特定となる帳票の例を示す図である。
【図7】図6に示す帳票に対してレイアウト定義した例を示す図である。
【図8】図6に示す帳票を配列項目を用いて検索した場合の検索ヒット情報をCSV形式で出力した例を示す図である。
【図9】図2により説明したツリー形式のレイアウトとして定義した売り上げ情報及び製品情報と、それらの情報を含む帳票の例とを示す図である。
【符号の説明】
1〜3 レイアウトの定義例
4〜6 検索条件の例
7〜12 検索ヒットデータをCSV形式で出力した例
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to an electronic form search method, and more particularly to an electronic form search method capable of searching for desired data from forms having various formats.
[0002]
[Prior art]
2. Description of the Related Art A search for an electronic form according to the related art is executed by searching a fixed layout, or by searching a layout using a plurality of rows as one layout (for example, see Patent Document 1). The search of the electronic form according to the related art is not performed with consideration of the relevance of the data.
[0003]
[Patent Document 1]
JP-A-11-161726 (page 2-5, FIG. 1-6)
[0004]
[Problems to be solved by the invention]
In general, since the forms of electronic forms are various, the above-described search method according to the related art has a problem that some forms cannot be searched. Further, the conventional search method has a problem in that it is not possible to perform a search conscious of the relevance of data because the relevance of the data itself is not considered.
[0005]
SUMMARY OF THE INVENTION An object of the present invention is to provide an electronic form search method that solves the above-described problems of the conventional technology and enables data search in any form form in consideration of data relevance. Is to do.
[0006]
[Means for Solving the Problems]
According to the present invention, it is an object of the present invention to provide a search method for an electronic form, in which a layout of a form is defined as an aggregate of rows in a plurality of forms, and a parent-child relationship of the layout is defined in a tree form, and data of the form is defined. Are classified, and the form data is searched based on the definition of the layout.
[0007]
Further, the object is to define an array type item for a data item included in the layout, treat a plurality of items as items having the same meaning, perform association between layouts having a parent-child relationship with respect to the array item, This is achieved by searching for data at a specific sequence position.
[0008]
According to the present invention having the above-described child, data can be searched in consideration of data relevance for any form, and different items have the same meaning. Can be searched for, and a search associated with an item of a different layout having the same sequence number can be performed in the search for an array type item.
[0009]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, an embodiment of an electronic form search method according to the present invention will be described in detail with reference to the drawings. The electronic form targeted by the embodiment of the present invention has an arbitrary format, and in the embodiment of the present invention which handles such a form, the form of the form is set as a set of rows of a plurality of forms. The layout is defined, and the layout is associated in a tree format. It should be noted that electronic form data targeted by the embodiment of the present invention is all defined as electronic data in a computer system, and retrieval and other processes are performed by a program operating on the computer system.
[0010]
FIG. 1 is a diagram for explaining a definition example of a layout, and FIG. 2 is a diagram for explaining a definition of a layout in a tree format. First, a layout as an aggregate of rows included in a form will be described with reference to FIG.
[0011]
The example shown in FIG. 1A is a definition example in the case where one row is one layout, and this definition example 1 includes items such as a product name, a price, and a number in one row. These items are searched for in the layout.
[0012]
The example illustrated in FIG. 1B is a definition example in which a plurality of rows are defined as one layout, and the definition example 2 is a definition example in which two rows are defined as one layout. The definition example 2 includes, for example, a first line including items such as a product name, a price, and a number, and a second line including a type code such as a maker name of the product and supplementary information.
[0013]
The example shown in FIG. 1C is a definition example in the case where a plurality of layouts are mixed, and this definition example 3 is a layout definition example in a form in which two layouts are mixed. In the definition example 3, the layout of the upper row is sales information in the illustrated example, the layout of the lower row is product information, and the layouts of these two rows have a parent-child relationship. I have. As a result, the layout of the specific product information in the specific sales can be searched.
[0014]
Although the example shown in FIG. 1C shows detection of two layout diodes in a parent-child relationship, the layout of product information in the lower row may include a plurality of rows. ), Each “child” may have one or more layouts that are “grandchildren”.
[0015]
Next, with reference to FIG. 2, a definition example of a layout in a tree format will be described. The definition example shown in FIG. 2 is an example of a tree format in which product information is defined below sales information, and information for each product is defined below product information. Here, the parent-child relationship of the layout is defined by, for example, a method in which a user arranges predefined layout data at an arbitrary position on a screen of a display device of a computer system.
[0016]
FIG. 3 is a diagram illustrating search conditions when searching for a form having the above-described layout combination.
[0017]
The first condition 4 of the search condition shown in FIG. 3 uses the layout at the top of the tree as a search condition, and is a condition for searching only the “parent” layout. In this case, for example, in the case of the definition example shown in FIG. 1C, it is possible to search for information relating to January of the sales information. The second search condition 5 uses the layout at the bottom of the tree as a search condition, and is a condition for searching only the “child” layout. In this case, for example, in the case of the definition example shown in FIG. 1C, it is possible to search for information relating to the television of the sales information. The third search information 6 uses layouts of all hierarchies from the layout at the top of the tree to the layout at the bottom of the tree as search conditions, and includes all of “parent”, “child”, and “grandchild”. This is a condition for searching the layout.
[0018]
FIG. 4 is a diagram illustrating an example of output of search hit data when a form having the layout described with reference to FIGS. 1 and 2 is searched under the search conditions described with reference to FIG. Here, an example is shown in which search hit data is output in CSV (Comma Separated Value) format.
[0019]
Output example 7 shown in FIG. 4A is an example in which search hit data for one layout is output in CSV format, and is output when data of the layout shown in FIG. 1A is hit and extracted. It is an example. An output example 8 shown in FIG. 4B is an example in which search hit data according to the first condition 4 of the search condition shown in FIG. 3 is output in a CSV format. In the illustrated example, the layout shown in FIG. Is an example in which two data items are hit and extracted, and output as the top, bottom, and bottom layouts.
[0020]
An output example 9 shown in FIG. 4C is an example in which search hit data according to the second condition 5 of the search condition shown in FIG. 3 is output in CSV format, and data in a lower layout of the tree is output. It is an example. An output example 10 shown in FIG. 4D is an example in which search hit data according to the third condition 6 of the search condition shown in FIG. 3 is output in a CSV format, and the layout data shown in FIG. Are extracted as hits and output as the top, bottom, and bottom layouts.
[0021]
Here, the search conditions shown in FIG. 3 are not limited to those specifying the top and bottom layouts, or those specifying all the layouts from the top to the bottom. One or more may be specified.
[0022]
FIG. 5 is a view for explaining a general format when search hit data specifying a higher-order layout is output in CSV format. As can be seen from this figure, when a search specified by a higher-level layout is performed, the hit data is assigned to the tree from the highest-level layout of the specified search conditions, such as the top, bottom, and bottom. All layouts are arranged in order up to the lowest layout.
[0023]
FIG. 6 is a diagram showing an example of a form in which the number of values included in an item in one layout is unspecified, and FIG. 7 is a diagram showing an example of a layout defined for the form shown in FIG. Will be described.
[0024]
In the example of the form shown in FIG. 6, the layout of the year and month data including the year value and the array of the months as shown in FIG. 7A and the layout of FIG. The layout of the product data as shown in FIG. The layout of the product data as the lower layout is, for example, the number of sales of the product corresponding to the higher year / month data, and there may be a lower layout for a plurality of products. In addition, the form may include a plurality of layouts in which the layout having such a high-order or low-level relationship is one set, and in that case, the number of items included in each layout may be different for each layout.
[0025]
FIG. 8 is a diagram showing an example in which search hit information when the form shown in FIG. 6 is searched using array items is output in CSV format. The output example 11 shown in FIG. 8A is an example in the case where the number of sales in March is searched under the condition that the number of sales in March is 5 or more. In the example shown in FIG. The number of TV sales in March 2001 matches the condition. For this reason, the search hit information includes the entire layout of the year / month data of 2000 and the video layout which is the lower product layout thereof, and the layout of the year / month data of 2001 and the lower product layout thereof. The entire TV layout will be output.
[0026]
In addition, the output example 12 shown in FIG. 8B is a case where the year and month are searched under the condition that the number of sales of the video is 20 or more, that is, the search hit information obtained by searching the array position of the array item. Is output in a CSV format.
[0027]
FIG. 9 is a diagram showing sales information and product information defined as the tree format layout described with reference to FIG. 2 and an example of a form including the information. Next, FIG. 9 and each drawing described above will be used. With reference to an example, a description will be given of a method of searching an electronic form according to an embodiment of the present invention.
[0028]
First, in the definition of a layout, it is necessary to define the number of lines constituting a record in a form and a plurality of items to be searched in the line as information for constructing the layout. By defining such a layout, data can be associated in layout units, and data conditioned on a plurality of items can be searched as a layout.
[0029]
As described above, the definition example 1 shown in FIG. 1A is a definition example of the layout of one line, and the items of the product name, the price, and the number are items to be searched. Further, definition example 2 shown in FIG. 1B is a definition example in which two rows constitute one layout. The definition example 3 shown in FIGS. 1C and 1D is a definition example in a case where a plurality of layouts are mixed, and the layout of the upper row (sales information) is the layout of the lower row (product information). ) And a parent-child relationship. As a result, the layout of the specific product information in the specific sales can be searched. For example, a layout can be searched under conditions such as sales information / month is January and product information / product is video.
[0030]
Here, when a form includes a plurality of layouts, it is necessary to determine which layout corresponds to a certain row. As a determination method, a layout can be determined by adding a determination condition as a key item for determining one or more specific items in the layout items. As the determination conditions, for example, a specific character string is included in an item, a character string that is not a specific character string (for example, a blank) is included in an item, or a special format such as a numerical value or date and time is included in an item. In the embodiment of the present invention, the layout can be determined on the condition that the characters “*” and “**” are included in the identification item of the product information. In addition, the layout of the sales information can be determined on the condition that the sales information is not product information without specifying a condition.
[0031]
The method of defining the parent-child relationship of the layout is defined by a tree method as described above with reference to FIG. By defining in a tree format, it is possible to define a parent-child relationship of a complicated layout.
[0032]
The layout search conditions using the parent-child relationship have been described with reference to FIG. 3, and an output example in the case where a search has been performed with the search conditions has been described. In the case of a form search in which a plurality of related layouts exist, The data is grouped according to the hierarchical relationship of the layout and then displayed as hits. In the grouping, when a lower-level layout follows an upper-level layout, the layout is treated as one group until an equivalent or higher layout appears. By such grouping, related data can be displayed in a hit manner in a related form.
[0033]
Specifically, as described above, when a search is performed by the search under the search condition 4 described with reference to FIG. 3, the hit layout group is displayed as shown in FIG. 4B. This makes it possible to judge at a glance the cluster of related data. When a search is made by the search under the search condition 5 described with reference to FIG. 3, as a search for a specific layout, only the corresponding lower layout is hit and displayed as shown in FIG. 4C. Further, when a search is made by the search under the search condition 6 described with reference to FIG. 3, the upper layout group is displayed as a hit as shown in FIG. 4D, and the lower layout is also hit with another color. indicate. This makes it easier to obtain necessary information.
[0034]
Normally, in a search of an electronic form, search hit information is output in a CSV format and can be taken into EXCEL (registered trademark) or the like. Each example of the search hit information shown in FIG. 4 shows an output example when hit data is output in CSV format, and the example shown in FIG. 4A is an example in which data of one layout is output. One layout is treated as a meaningful data unit, and is output in units of rows.
[0035]
The example shown in FIG. 5 shows a general format when search hit data designating a higher-order layout of the search condition 4 described with reference to FIG. 3 is output in a CSV format. As shown in FIG. 4 (b), everything from the highest level to the lower level of the tree is arranged in order from the highest level to the lower level.
[0036]
Next, a method of arranging the items in the layout to make the items in the layout relevant will be described. The arrangement of items is useful when there is an unspecified number of items having the same meaning. If the items are not arranged, all of the items must be defined as separate items, and the search condition becomes complicated. In particular, when the number of values included in an item in one layout is not specified, it is possible to easily perform a search.
[0037]
In the example of the form in which the number of values included in the item in one layout shown in FIG. 6 described above is unspecified, the number of months varies depending on the year. In this case, the row displaying the year and month is defined as the upper layout, and the product portion is defined as the lower layout. Then, the month portion is defined as the array item in the upper layout, and the numeral portion is defined as the array item in the lower layout. An example of the layout definition in this case is as shown in FIG. 7 as described above.
[0038]
In the search for array items, it is possible to perform a search on the condition of each array individual item. However, the embodiment of the present invention also enables an item search as an aggregate ignoring the array. For example, a certain year such as March and May is searched.
[0039]
Further, the embodiment of the present invention can make it possible to perform a search by associating an array item with a layout item having a parent-child relationship, thereby enabling a search for complicated conditions. For example, it is possible to perform a search under such a condition that a product whose March number is 5 or more is searched. An example in which the search hit information in this case is output as a CSV is the example already described with reference to FIG. Further, for example, in the item of the number of sales, it is possible to search for a specific arrangement position such as searching for a month in which the number of videos is 20 or more. In this case, the CSV output of the search hit information is such that only the array hit in the array item is output and the non-applicable array is ignored. An example of the search hit information in this case is the example already described with reference to FIG.
[0040]
【The invention's effect】
As described above, according to the present invention, in a search for an electronic form, data can be searched for any form in consideration of data relevance.
[Brief description of the drawings]
FIG. 1 is a diagram illustrating a definition example of a layout.
FIG. 2 is a diagram illustrating the definition of a layout in a tree format.
FIG. 3 is a diagram illustrating search conditions when searching for a form having a combination of layouts.
FIG. 4 is a diagram illustrating an output example of search hit data when a form having the layout described with reference to FIGS. 1 and 2 is searched under the search conditions described with reference to FIG.
FIG. 5 is a diagram illustrating a general format when search hit data specifying a higher-order layout is output in a CSV format.
FIG. 6 is a diagram illustrating an example of a form in which the number of values included in an item in one layout is unspecified.
FIG. 7 is a diagram showing an example in which a layout is defined for the form shown in FIG. 6;
FIG. 8 is a diagram showing an example in which search hit information when the form shown in FIG. 6 is searched using array items is output in CSV format.
9 is a diagram showing sales information and product information defined as a layout in a tree format described with reference to FIG. 2, and an example of a form including the information.
[Explanation of symbols]
1-3 Example of layout definition 4-6 Example of search condition 7-12 Example of search hit data output in CSV format

Claims (3)

コンピュータシステムで扱う電子帳票の検索方法において、帳票の形式を複数の形式の行の集合体としてレイアウトを定義すると共に、そのレイアウトの親子関係をツリー形式で定義して帳票のデータを分類しておき、前記レイアウトの定義に基づいて帳票データの検索を行うことを特徴とする電子帳票の検索方法。In a method of searching an electronic form handled by a computer system, a layout is defined as an aggregate of rows in a plurality of forms, and a parent-child relationship of the layout is defined in a tree form to classify the form data. An electronic form search method, wherein form data is searched based on the definition of the layout. 前記レイアウト内に含まれるデータ項目に配列型項目の定義を行い、複数の項目を同じ意味を持つ項目として扱い、配列項目に関して親子関係を持つレイアウト間で関連付けを行って、特定の配列位置のデータの検索を行うことを特徴とする請求項1記載の電子帳票の検索方法。Define an array type item for the data items included in the layout, treat a plurality of items as items having the same meaning, perform association between layouts having a parent-child relationship with respect to array items, and specify data of a specific array position. 2. The search method for an electronic form according to claim 1, wherein the search is performed. 前記レイアウトの定義に基づく帳票データの検索のための検索条件は、前記レイアウトの親子関係のうち、少なくとも1つの階層のレイアウトを指定した検索条件であって、前記検索条件に該当する帳票データを全て抽出することを特徴とする請求項1または2記載の電子帳票の検索方法。The search condition for retrieving the form data based on the definition of the layout is a search condition designating at least one hierarchical layout in the parent-child relationship of the layout, and all the form data corresponding to the search condition are searched. 3. The method according to claim 1, wherein the electronic form is extracted.
JP2002266801A 2002-09-12 2002-09-12 How to search electronic forms Expired - Lifetime JP4585739B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002266801A JP4585739B2 (en) 2002-09-12 2002-09-12 How to search electronic forms

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002266801A JP4585739B2 (en) 2002-09-12 2002-09-12 How to search electronic forms

Publications (2)

Publication Number Publication Date
JP2004102894A true JP2004102894A (en) 2004-04-02
JP4585739B2 JP4585739B2 (en) 2010-11-24

Family

ID=32265512

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002266801A Expired - Lifetime JP4585739B2 (en) 2002-09-12 2002-09-12 How to search electronic forms

Country Status (1)

Country Link
JP (1) JP4585739B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007179201A (en) * 2005-12-27 2007-07-12 Canon Marketing Japan Inc Electronic document management device, search result output method, program, and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007179201A (en) * 2005-12-27 2007-07-12 Canon Marketing Japan Inc Electronic document management device, search result output method, program, and storage medium

Also Published As

Publication number Publication date
JP4585739B2 (en) 2010-11-24

Similar Documents

Publication Publication Date Title
US6738761B1 (en) Information processing system capable of indicating tendency to change
JP3883810B2 (en) Information management, retrieval and display system and related methods
US7620651B2 (en) System for dynamic product summary based on consumer-contributed keywords
JP3001460B2 (en) Document classification device
US8081198B1 (en) Compact clustered 2-D layout
EP2763054A1 (en) Information processing device, information processing method, and information processing program
JP2004102400A (en) Data management system, method, and computer program
US20080046412A1 (en) System and method for monitoring information of trademarks
JPH11175218A (en) Local classification for downloaded table
JP5827874B2 (en) Keyword acquiring apparatus, content providing system, keyword acquiring method, program, and content providing method
JP2010198058A (en) Document processing system and method
JP4992301B2 (en) Search processing method and apparatus
CN101976250A (en) Cost performance search engine
WO2017208922A1 (en) Data exchange system, data exchange method, and data exchange program
US7083091B2 (en) Commodity information management program, computer readable medium storing the program, and data structure of commodity classification master database used by the program
US7882114B2 (en) Data processing method and data processing program
JP2004102894A (en) Retrieval method for electronic business form
CN100456285C (en) Method and device for accessing a database
JP5360512B1 (en) Search support device and search support program
JP5292956B2 (en) Test data generation program
JP5247543B2 (en) Information providing apparatus, information providing method, and program
JP2004145442A (en) Database structure, database storage method, and database system
JPH08287118A (en) Component standardization system
KR20010114004A (en) Product information database construction method in an online shopping mall
JP3424472B2 (en) Data processing system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20041213

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070911

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20071112

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20071211

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080208

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20080225

A912 Re-examination (zenchi) completed and case transferred to appeal board

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20080321

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100906

R150 Certificate of patent or registration of utility model

Ref document number: 4585739

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

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20130910

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20160910

Year of fee payment: 6

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

EXPY Cancellation because of completion of term