Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP5061996B2 - Database search program, search device, and search method - Google Patents
[go: Go Back, main page]

JP5061996B2 - Database search program, search device, and search method - Google Patents

Database search program, search device, and search method Download PDF

Info

Publication number
JP5061996B2
JP5061996B2 JP2008084828A JP2008084828A JP5061996B2 JP 5061996 B2 JP5061996 B2 JP 5061996B2 JP 2008084828 A JP2008084828 A JP 2008084828A JP 2008084828 A JP2008084828 A JP 2008084828A JP 5061996 B2 JP5061996 B2 JP 5061996B2
Authority
JP
Japan
Prior art keywords
data
value
database
item
search
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2008084828A
Other languages
Japanese (ja)
Other versions
JP2009238027A (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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2008084828A priority Critical patent/JP5061996B2/en
Publication of JP2009238027A publication Critical patent/JP2009238027A/en
Application granted granted Critical
Publication of JP5061996B2 publication Critical patent/JP5061996B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

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

Description

本発明は、データベースの検索技術に係り、特に、表によりデータを管理するデータベースからデータを絞り込むデータベースの検索プログラム、検索装置及び検索方法に関する。   The present invention relates to a database search technique, and more particularly, to a database search program, a search apparatus, and a search method for narrowing down data from a database that manages data using a table.

コンピュータシステムにおいては、データを効率的に管理するための手段としてデータベースが用いられる。データベースは、使用目的の観点から、トランザクション処理を主体とする「基幹系データベース」と、履歴型データを取り扱う「情報系データベース」に分類される。基幹系データベースは、銀行の勘定系システム、座席予約、販売管理、在庫引当などの企業の日常業務を直接支援するために活用され、日々、発生・変化するデータを取り扱う。情報系データベースは、その日々、発生・変化するデータを、時系列をキーとして、履歴データとして蓄積する。情報系データベースは、企業戦略の立案、マーケティング、経営シミュレーション等を支援するために活用される。特に、履歴型データの検索を主体に構築されるデータベースは、「データウェアハウス」と呼ばれる。データウェアハウスは、流通業などの産業分野において、日々の顧客単位の販売情報の蓄積や、マーケティングや店舗単位での品揃えなどに利用されている。   In a computer system, a database is used as a means for efficiently managing data. From the viewpoint of the purpose of use, the database is classified into a “basic database” that mainly handles transaction processing and an “information database” that handles historical data. The core database is used to directly support daily business operations such as bank accounting systems, seat reservation, sales management, and inventory allocation, and handles data that is generated and changed daily. The information database accumulates data that is generated and changed every day as history data using time series as a key. The information database is used to support corporate strategy planning, marketing, management simulation, and the like. In particular, a database constructed mainly by retrieving historical data is called a “data warehouse”. Data warehouses are used to accumulate daily sales information for each customer in the industrial field such as the distribution industry, as well as for marketing and store assortment.

データベースは、現在、リレーショナルデータベースが主流である。リレーショナルデータベースは、表(テーブル)によってデータを管理する表形式のデータベースである。リレーショナルデータベースにおいては、表の各行には1件のデータ(レコード)が格納される。表は、通常、複数の列から構成され、各列には同じ項目(属性)のデータが格納されるようになっている。したがって、表の各行のデータは、1または複数の項目(列項目とも呼ぶ)の値(属性値)から構成される。   Currently, relational databases are mainstream. The relational database is a tabular database that manages data by a table. In a relational database, one data (record) is stored in each row of a table. A table is usually composed of a plurality of columns, and data of the same item (attribute) is stored in each column. Therefore, the data of each row of the table is composed of values (attribute values) of one or more items (also called column items).

このようなデータベースから所望のデータを抽出する際には、通常、「絞り込み検索」が行われる。この絞り込み検索を行うためには、検索条件(データの抽出条件)を設定することが必要となる。検索条件の設定は、レコードの1または複数の項目の値として、抽出しようとするデータの項目と同じ値を指定する操作である。   When extracting desired data from such a database, “refining search” is usually performed. In order to perform this narrowing search, it is necessary to set a search condition (data extraction condition). The search condition setting is an operation for designating the same value as the item of data to be extracted as the value of one or more items of the record.

従来、データベースのデータ絞り込み検索は、例えば、以下の手順で行われていた。
1)列(列項目)の設定条件画面が表示される。
2)設定条件画面上で、1または複数の項目にOR条件またはAND条件を設定する。
3)設定条件に従ってデータベースを検索し、検索条件に一致するデータを画面に表示する。
4)抽出されたデータ件数が多ければ、さらに、追加の条件を、上記2)と同様な方法で設定し、再び、データベースを検索する。
5)上記4)の処理を、抽出件数が適当な量になるまで繰り返す。
6)上記4)の検索の結果、絞り込みすぎて、抽出件数が予定より少なくなった場合には、設定条件画面上でOR条件を追加して、再度、上記3)の処理を実行するか、または、ひとつ手前の検索結果画面に戻る(例えば、特許文献1参照)。
Conventionally, a database data refinement search is performed, for example, by the following procedure.
1) A setting condition screen for a column (column item) is displayed.
2) Set an OR condition or AND condition for one or more items on the setting condition screen.
3) The database is searched according to the set condition, and data matching the search condition is displayed on the screen.
4) If the number of extracted data is large, additional conditions are set in the same manner as in 2) above, and the database is searched again.
5) Repeat the process of 4) until the number of extractions reaches an appropriate amount.
6) As a result of the search in the above 4), if the number of extractions is less than expected due to excessive filtering, an OR condition is added on the setting condition screen, and the above processing in 3) is executed again. Alternatively, the screen returns to the previous search result screen (see, for example, Patent Document 1).

また、本発明に関連する従来技術として、文書データベースから複数の条件を用いてデータを絞り込むシステムが知られている(例えば、特許文献2参照)。
特開2006−18647号公報 特開平5−28910号公報
Further, as a prior art related to the present invention, a system for narrowing down data using a plurality of conditions from a document database is known (for example, see Patent Document 2).
JP 2006-18647 A Japanese Patent Laid-Open No. 5-28910

上記従来のデータベースの絞り込み検索手法は、検索実行後に単に検索結果を画面に表示するだけなので、追加条件を設定しただけでは絞り込みがうまくいくか分からず、検索を実行させて、その検索結果を画面で見て初めて絞り込みが成功したかどうか分かるようになっていた。   The above-mentioned conventional database refinement search method simply displays the search results on the screen after executing the search, so it is not known whether the refinement will be successful just by setting additional conditions. For the first time, I was able to see if the narrowing was successful.

このため、適切な絞り込み条件を事前に知ることができず、絞り込みを効率よく行うことができなかった。この欠点は、データベースの規模が大きくなるにつれて顕著になるので問題となっていた。   For this reason, it was not possible to know appropriate narrowing conditions in advance, and narrowing down could not be performed efficiently. This disadvantage has become a problem because it becomes more prominent as the size of the database increases.

本発明の目的は、データベースの絞込み検索を効率的に行えるようにすることである。   An object of the present invention is to enable efficient database search.

本発明のデータベースの検索プログラムの一態様によれば、コンピュータを、表形式の第1のデータベースの各行に配置されるデータの全項目の中から、データの絞り込みに使用するために利用者が一括選択した項目を入力する手段Aと、前記第1のデータベース内のデータの前記手段Aが入力した前記一括選択された各項目についてその値の種類と各値を有するデータの件数を取得し、該一括選択された各項目についてその値の種類と各値のデータの件数を表示する手段Bと、前記手段Bによって値の種類と各値のデータ件数が表示された各項目の中から、一つの項目の値を指定する手段Cと、前記第1のデータベースまたは下記手段Eにより作成された第2のデータベースを検索して、前記手段Cまたは下記手段Gにより指定された項目値を有するデータを抽出する手段Dと、前記手段Dにより抽出されたデータが各行に格納された表形式の第2のデータベースを作成する手段Eと、前記第2のデータベース内のデータの前記手段Aが入力した項目の内、前記手段Cまたは下記手段Gによってまだ値が指定されていない未指定項目についてその値の種類と各値のデータの件数を取得し、該未指定項目についてその値の種類と各値を有するデータの件数を表示する手段Fと、前記手段Fによって値の種類と各値のデータ件数が表示された項目の中から、一つの項目とその項目の値を指定する手段Gと、前記手段Gにより項目値が指定される毎に、前記手段D、手段E、手段F及び手段Gを順次繰り返し実行させる手段Hと、を有するデータベースの検索装置として機能させる。   According to one aspect of the database search program of the present invention, a user can collectively use a computer to narrow down data from all items of data arranged in each row of the tabular first database. A means A for inputting the selected item, and a type of the value and the number of data having each value for each of the batch selected items input by the means A of the data in the first database, A means B for displaying the type of value and the number of data of each value for each item selected at once, and one of the items in which the type of value and the number of data of each value are displayed by the means B The item specified by the means C or the following means G by searching the means C for designating the value of the item and the second database created by the first database or the following means E. Means D for extracting data having the following: means E for creating a tabular second database in which the data extracted by means D is stored in each row; and means A for the data in the second database Among the items inputted by the above-mentioned means C or the following means G, the type of the value and the number of data of each value are obtained for the non-designated item for which the value has not yet been designated. And means F for displaying the number of data having each value, and means G for designating one item and the value of the item from the items in which the type of value and the number of data of each value are displayed by the means F Each time an item value is designated by the means G, the means D, means E, means F, and means H are sequentially executed, and a function as a database search device is provided.

本発明のデータベースの検索プログラムの他の態様によれば、コンピュータを、表形式の第1のデータベースの各行に格納されるデータの複数の項目の中から、まだデータの絞込み検索に使用されていない項目を一つ選択する手段Aと、前記第1のデータベースまたは下記手段Eにより作成された第2のデータベースに格納されているデータの前記手段のステップで選択された項目について、その値の種類と各値のデータ件数を取得し、該項目の値の種類と各値のデータ件数を表示する手段Bと、前記手段Bによって表示された項目の値の中から一つの値を指定する手段Cと、前記第1のデータベースまたは下記手段Eにより作成された第2のデータベースを検索して、前記手段Cにより指定された項目の値を有するデータを抽出する手段Dと、前記手段Dによって抽出されたデータが各行に格納された表形式の第2のデータベースを作成する手段Eと、前記手段Aによって未指定項目が選択される毎に、前記手段B、手段C、手段D及び手段Eを繰り返し実行させる手段Fと、を有するデータベースの検索装置として機能させる。   According to another aspect of the database search program of the present invention, the computer has not yet been used for a data refinement search from a plurality of items of data stored in each row of the tabular first database. Means A for selecting one item, and the type of the value selected for the item selected in the step of the means of data stored in the first database or the second database created by means E below Means B for obtaining the number of data items of each value and displaying the type of value of the item and the number of data items of each value; means C for designating one value from the item values displayed by the means B; Means D for searching the first database or the second database created by means E to extract data having the value of the item designated by means C , A means E for creating a tabular second database in which the data extracted by the means D is stored in each row, and each time an unspecified item is selected by the means A, the means B, means C, And means F for causing the means D and E to be executed repeatedly.

本発明によれば、データベースを絞込み検索する際、データの検索項目を選択すると、その選択された検索項目について、予め、その値の種類とそれぞれの値を有するデータの件数が表示される。また、検索を実行してデータを抽出すると、その抽出したデータの集合を新たな検索母体のデータベースとする。そして、その新たな検索母体のデータベース内のデータに基づいて、未指定の検索項目の値の種類とそれぞれの値を有するデータの件
数を表示する。
According to the present invention, when a search item of data is selected when narrowing down a database, the type of value and the number of data having each value are displayed in advance for the selected search item. Further, when data is extracted by executing a search, a set of the extracted data is set as a new database of search bases. Then, based on the data in the database of the new search matrix, the value type of the unspecified search item and the number of data having each value are displayed.

開示のプログラムによれば、データベースを絞込み検索する際、検索に使用する項目について、値の種類とそれぞれの値を有するデータの件数を、予め表示する。したがって、データベースの絞込み検索を効率良く行うことができる。   According to the disclosed program, when searching a database, the type of value and the number of data having each value are displayed in advance for the items used for the search. Therefore, it is possible to efficiently perform a database search.

以下、図面を参照しながら、本発明の実施形態を説明する。
[構成]
{システム構成}
図1は、本発明の実施形態を適用したサーバを含むコンピュータシステムの全体構成図である。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
[Constitution]
{System configuration}
FIG. 1 is an overall configuration diagram of a computer system including a server to which an embodiment of the present invention is applied.

図1に示すコンピュータシステムは、Webサーバ10、端末(利用者端末)20、DBサーバ(データベースサーバ)30を備えている。Webサーバ10と端末20は、例えば、インターネットやVPN(Virtual Private Network)などのWAN(ワイドエリアネットワーク)40で通信接続されている。また、Webサーバ10とDBサーバ30は、例えば、LAN(ローカルエリアネットワーク)などのネットワーク50で接続されている。このLANは、例えば不図示のルーターなどを介してWAN40に接続されている。   The computer system shown in FIG. 1 includes a Web server 10, a terminal (user terminal) 20, and a DB server (database server) 30. The Web server 10 and the terminal 20 are communicatively connected via a WAN (Wide Area Network) 40 such as the Internet or VPN (Virtual Private Network). The Web server 10 and the DB server 30 are connected by a network 50 such as a LAN (Local Area Network). This LAN is connected to the WAN 40 via a router (not shown), for example.

Webサーバ10には、本発明の実施形態である分析支援ツール11が実装されている。この分析支援ツール11は、コンピュータであるWebサーバ10によって実行される。端末20には、HTTP(Hyper Text Transfer Protocol)などの通信プロトコルによって、Webサーバ10からHTML(Hyper Text Markup Language)やXML(eXtensible Markup Language)などで記述された文書(ファイル)を受信するブラウザ(閲覧ソフト)21が実装されている。   An analysis support tool 11 that is an embodiment of the present invention is mounted on the Web server 10. The analysis support tool 11 is executed by a Web server 10 that is a computer. The terminal 20 uses a communication protocol such as HTTP (Hyper Text Transfer Protocol) to receive a document (file) written in HTML (Hyper Text Markup Language), XML (eXtensible Markup Language), or the like from the Web server 10 ( (Browsing software) 21 is installed.

DBサーバ30はDBMS(データベース管理システムであり)として機能するサーバであり、DB(データベース)31と検索エンジン32を備えている。DB31は、複数の表(テーブル)311を格納している。このDB31は、DBサーバ30によって管理されている。検索エンジン32は、Webサーバ10からの要求(問い合わせ)に応じてDB31内のテーブル311を検索し、テーブル311から要求された条件に該当するデータを抽出する。DBサーバ30は、検索エンジン32により抽出されたデータをWebサーバ10に返す。   The DB server 30 is a server that functions as a DBMS (database management system), and includes a DB (database) 31 and a search engine 32. The DB 31 stores a plurality of tables 311. This DB 31 is managed by the DB server 30. The search engine 32 searches the table 311 in the DB 31 in response to a request (inquiry) from the Web server 10 and extracts data corresponding to the requested condition from the table 311. The DB server 30 returns the data extracted by the search engine 32 to the Web server 10.

Webサーバ10は、例えば、CGI(Common Gateway Interface)などを利用してDBサーバ30にDB31内のデータベース311に対する各種要求を行い、DBサーバ30からその要求に対する処理結果を受け取る。Webサーバ10は、DBサーバ30から受け取った処理結果を分析支援ツール11により分析・加工し、ブラウザ21に送信するためのHTMLファイルなどを作成する。   The Web server 10 makes various requests for the database 311 in the DB 31 to the DB server 30 using, for example, CGI (Common Gateway Interface), and receives processing results for the request from the DB server 30. The Web server 10 analyzes and processes the processing result received from the DB server 30 by the analysis support tool 11 and creates an HTML file or the like for transmission to the browser 21.

分析支援ツール11は、WAN40を介して端末20上のブラウザ21と通信を行い、ブラウザ21の画面表示を制御する。分析支援ツール11は、DB31内のデータベース311を絞込み検索するための画面やその絞込み検索結果などを表示する画面をブラウザ21に表示させるためのHTMLファイル(HTML文書)を作成し、それをブラウザ21に送信する。ブラウザ21は、分析支援ツール11から受信するHTMLファイルを解析して、端末20にそれらの画面を表示させる。   The analysis support tool 11 communicates with the browser 21 on the terminal 20 via the WAN 40 and controls the screen display of the browser 21. The analysis support tool 11 creates an HTML file (HTML document) for causing the browser 21 to display a screen for narrowing and searching the database 311 in the DB 31 and a screen for displaying the narrowed search results. Send to. The browser 21 analyzes the HTML file received from the analysis support tool 11 and displays the screen on the terminal 20.

{Webサーバのハードウェア構成}
図2は、Webサーバ10のハードウェア構成を示す図である。
Webサーバ10は、CPU(中央演算処理装置)101、メモリ102、入力装置103、表示装置104、外部記憶装置105及び通信装置106を備えている。CPU101とその他の装置102〜106は、バス107によって互いに接続されている。
{Hardware configuration of Web server}
FIG. 2 is a diagram illustrating a hardware configuration of the Web server 10.
The Web server 10 includes a CPU (Central Processing Unit) 101, a memory 102, an input device 103, a display device 104, an external storage device 105, and a communication device 106. The CPU 101 and the other devices 102 to 106 are connected to each other by a bus 107.

CPU101は、システムの各構成要素102から103を制御して、システム全体の処理を制御する。メモリ102は、例えば、ROMやRAMなどの半導体メモリである。メモリ102は、分析支援ツール11などのソフトウェア(プログラム)がロードされるプログラムロードエリア102aや該ソフトウェアが処理を行う際に使用する作業領域(ワークエリア)102bなどを備えている。   The CPU 101 controls each component 102 to 103 of the system to control processing of the entire system. The memory 102 is a semiconductor memory such as a ROM or a RAM, for example. The memory 102 includes a program load area 102a in which software (program) such as the analysis support tool 11 is loaded, a work area (work area) 102b used when the software performs processing, and the like.

入力装置103は、キーボードやマウスなどのポインティングデバイスなどから構成されており、分析支援ツール11などのプログラム(ソフトウェア)のインストールや起動をするために使用される。ソフトウェアのインストールや起動は、例えば、マウス操作により行われる。表示装置104は、例えばCRTディスプレイや液晶ディスプレイなどであり、システム管理用のGUI(Graphical User Interface)画面などを表示させる。外部記憶装置105は、OS(基本ソフトウェア)や前記分析支援ツール11などのプログラム(ソフトウェア)を格納している。この外部記憶装置105は、例えば、HDD(Hard Disk Drive)、光磁気ディスク装置、光ディスク装置またはSDD(Solid State Disk)などである。分析支援ツール11などのプログラムは、外部記憶装置105からメモリ102にロードされてCPU101により実行されることで、本実施形態の本発明に関係する主要な処理を実行する。ネットワーク接続装置106は、Webサーバ10がWAN40やネットワーク50を介して端末20やDBサーバ30と通信するために利用されるネットワーク接続機器であり、Webサーバ10をLANに接続するためのNIC(ネットワーク・インタフェースカード)などである。また、ネットワーク接続装置106は、分析支援ツール11をWAN40やネットワーク50を介して外部記憶装置31にダウンロードするためにも使用される。また、特に図示していないが、Webサーバ10は、CDやDVDなどの可搬性記憶媒体の読み取り装置も備えており、本体に設けられた可搬性記憶媒体用のスロットなどに分析支援ツール11が格納された可搬性記憶媒体を装着することで、その可搬性記憶媒体から外部記憶装置31に分析支援ツール11をダウンロードすることも可能になっている。   The input device 103 includes a pointing device such as a keyboard and a mouse, and is used for installing and starting a program (software) such as the analysis support tool 11. The software is installed and activated by, for example, a mouse operation. The display device 104 is, for example, a CRT display or a liquid crystal display, and displays a GUI (Graphical User Interface) screen for system management. The external storage device 105 stores an OS (basic software) and programs (software) such as the analysis support tool 11. The external storage device 105 is, for example, an HDD (Hard Disk Drive), a magneto-optical disk device, an optical disk device, or an SDD (Solid State Disk). Programs such as the analysis support tool 11 are loaded from the external storage device 105 into the memory 102 and executed by the CPU 101, thereby executing main processing related to the present invention of the present embodiment. The network connection device 106 is a network connection device used for the Web server 10 to communicate with the terminal 20 or the DB server 30 via the WAN 40 or the network 50, and is a NIC (network for connecting the Web server 10 to the LAN. Interface card). The network connection device 106 is also used for downloading the analysis support tool 11 to the external storage device 31 via the WAN 40 or the network 50. Although not particularly illustrated, the Web server 10 also includes a portable storage medium reading device such as a CD or DVD, and the analysis support tool 11 is installed in a slot for a portable storage medium provided in the main body. The analysis support tool 11 can be downloaded from the portable storage medium to the external storage device 31 by mounting the stored portable storage medium.

{分析支援ツール11の構成}
図3は、分析支援ツール11の機能ブロック図である。
分析支援ツール11は、ブラウザ制御手段11a、ブラウザ画面作成手段11b、DB検索結果解析手段11c、サブテーブル作成手段11d、履歴情報作成手段11e及びDBサーバ検索手段11fなどを備えている。
{Configuration of analysis support tool 11}
FIG. 3 is a functional block diagram of the analysis support tool 11.
The analysis support tool 11 includes browser control means 11a, browser screen creation means 11b, DB search result analysis means 11c, sub-table creation means 11d, history information creation means 11e, DB server search means 11f, and the like.

ブラウザ制御手段11aは、ブラウザ21へのHTMLファイルの送信やブラウザ21からの利用者入力データの受信などを行う。ブラウザ画面作成手段11bは、ブラウザ21が端末20に表示する画面の内容や形式などが定義されたHTMLファイルを作成する。DBサーバ検索手段11fは、DBサーバ30に対してテーブル311の検索要求などを送信する。また、DBサーバ30からテーブル311の検索結果などを受信する。DB検索結果解析手段11cは、DBサーバ検索手段11fからテーブル311の検索結果を受け取り、その内容を解析して、ブラウザ21の表示画面に必要な情報や、サブテーブルの作成に必要な情報などを取得する。ここで、サブテーブルとは、テーブル311を絞込み検索する際の中間結果のことであり、現時点までに抽出されたデータの集合体(表)のことである。また、ブラウザ21の表示画面に必要な情報とは、データの抽出条件となる項目の値の種類や各値の件数などである。これらについては、具体例により、後に詳述す
る。サブテーブル作成手段11dは、DB検索結果解析手段11cから受け取るデータを基に、上記サブテーブルを作成し、それをメモリ102内のワークエリア102bに格納する。履歴情報作成手段11eは、DB検索結果解析手段11cから受け取る情報を基に、テーブル311の絞込み検索における履歴情報を作成し、それを前記ワークエリア102bに格納する。この履歴情報は、例えば、絞込み検索の対象となるテーブル311の総数、初回、第2回、第3回、・・・、第n回の絞込み検索により抽出されたデータ数などから構成される。
The browser control unit 11 a transmits an HTML file to the browser 21 and receives user input data from the browser 21. The browser screen creation unit 11b creates an HTML file in which the content and format of the screen displayed on the terminal 20 by the browser 21 is defined. The DB server search unit 11 f transmits a search request for the table 311 to the DB server 30. Further, the search result of the table 311 is received from the DB server 30. The DB search result analysis unit 11c receives the search result of the table 311 from the DB server search unit 11f, analyzes the contents thereof, and obtains information necessary for the display screen of the browser 21 and information necessary for creating the subtable. get. Here, the sub-table is an intermediate result when the table 311 is narrowed down and is a collection (table) of data extracted up to the present time. The information necessary for the display screen of the browser 21 is the type of the item value as the data extraction condition, the number of each value, and the like. These will be described in detail later by specific examples. The sub table creation unit 11 d creates the sub table based on the data received from the DB search result analysis unit 11 c and stores it in the work area 102 b in the memory 102. Based on the information received from the DB search result analysis unit 11c, the history information creation unit 11e creates history information in the narrow search of the table 311 and stores it in the work area 102b. This history information is composed of, for example, the total number of tables 311 to be subjected to the narrowing search, the number of data extracted by the first, second, third,.

{ワークエリア102bの構成}
図4は、ワークエリア102bの構成を示す図である。
図4に示すように、ワークエリア102bは、履歴情報格納エリア1021b、絞込件数格納エリア1022b、サブテーブル格納エリア1023b及びブラウザ画面表示データ格納エリア1024bを備えている。
{Configuration of work area 102b}
FIG. 4 is a diagram showing the configuration of the work area 102b.
As shown in FIG. 4, the work area 102b includes a history information storage area 1021b, a narrowed number storage area 1022b, a sub-table storage area 1023b, and a browser screen display data storage area 1024b.

履歴情報格納エリア1021bは、上記履歴情報が書き込まれる領域である。絞込件数格納エリア1022bは、現時点でのデータの絞込み数(抽出データ数)が書き込まれる領域である。サブテーブル格納エリア1023bは、各回のサブテーブルが書き込まれる領域である。ブラウザ画面表示データ格納エリア1024bは、ブラウザ画面の表示用データが書き込まれる領域である。この表示用データは、例えば、HTML形式の文書である。   The history information storage area 1021b is an area in which the history information is written. The narrowed-down number storage area 1022b is an area in which the current number of narrowed-down data (the number of extracted data) is written. The subtable storage area 1023b is an area where the subtable is written each time. The browser screen display data storage area 1024b is an area in which browser screen display data is written. This display data is, for example, an HTML document.

{検索条件設定画面の一例}
図5に、上記検索条件設定画面の一例を示す。図5(a)、(b)、(c)は、上記一例である一括条件抽出画面110(110A、110B、110C)の形式を示す図である。
{Example of search condition setting screen}
FIG. 5 shows an example of the search condition setting screen. 5A, 5B, and 5C are diagrams showing the format of the collective condition extraction screen 110 (110A, 110B, 110C) as an example.

一括条件抽出画面110は、上方から「列項目名」フィールド1101、「件数表示」フィールド1102、「抽出」ボタン1103が配置された構成となっている。列項目フィールド1101は、端末20の利用者(以下、利用者と呼ぶ)により選択された「列項目の名称(列項目名)」が表示されるフィールドである。件数表示フィールド1102は、同一画面上の列項目名フィールド1101に設定された列項目名の「値」とその値を有するデータの「件数」が組みになって一覧表示されるフィールドである。利用者は、この件数表示フィールド1102から、抽出条件となる「値」を指定(選択)する。抽出ボタン1103は、一括条件抽出画面110上で選択された抽出条件(検索条件)、すなわち、列項目名フィールド1101に表示されている列項目名の値が上記選択した「値」に一致するデータの抽出(検索)実行を指示するボタンである。尚、列項目とは、表であるテーブル311の各行に格納されるデータの項目のことである。したがって、本明細書で述べる「列項目」と「項目」は同じ意味である。   The batch condition extraction screen 110 has a “column item name” field 1101, a “number of cases display” field 1102, and an “extract” button 1103 arranged from above. The column item field 1101 is a field in which “column item name (column item name)” selected by the user of the terminal 20 (hereinafter referred to as a user) is displayed. The number display field 1102 is a field in which the “value” of the column item name set in the column item name field 1101 on the same screen and the “number” of data having the value are displayed as a list. The user designates (selects) “value” as an extraction condition from the number display field 1102. The extraction button 1103 is used to select the extraction condition (search condition) selected on the collective condition extraction screen 110, that is, data in which the value of the column item name displayed in the column item name field 1101 matches the selected “value”. This is a button for instructing execution of extraction (search). The column item is an item of data stored in each row of the table 311 which is a table. Therefore, “column item” and “item” described in this specification have the same meaning.

本実施形態では、ブラウザ21と分析支援ツール11を利用して、DB31に格納されている表形式のテーブル311から絞込み検索を行う。この絞込み検索は、一括条件抽出画面110A、一括条件抽出画面110B、一括条件抽出画面110Cというように、個々の一括条件抽出画面110を介して、表形式のテーブル311の「列項目」を一つずつ順番に選択(指定)することによって行われる。尚、図5には、3つの一括条件抽出画面を示しているが、これは、あくまでも一例にすぎない。本実施形態の絞込み検索においては、抽出されたデータの数が所望値以下になるまで、一括条件抽出画面を介して1つの列項目を順次指定しながら絞込み検索を続行していく。したがって、絞込み検索に要する一括条件抽出画面の数は必ずしも3つに限定されるものではない。   In the present embodiment, the browser 21 and the analysis support tool 11 are used to perform a narrowing search from a table 311 in a tabular format stored in the DB 31. In this narrowing search, one “column item” in the table format table 311 is selected via each batch condition extraction screen 110 such as the batch condition extraction screen 110A, the batch condition extraction screen 110B, and the batch condition extraction screen 110C. This is done by selecting (specifying) in order. FIG. 5 shows three collective condition extraction screens, but this is only an example. In the refinement search of this embodiment, the refinement search is continued while sequentially specifying one column item via the collective condition extraction screen until the number of extracted data becomes equal to or less than the desired value. Therefore, the number of collective condition extraction screens required for the narrow search is not necessarily limited to three.

尚、図5(a)〜(c)に示す一括条件抽出画面110(110A、110B、110
C)においては、件数表示フィールド1102の行数が全ての画面で同じになっているが、実際には、その行数は抽出結果に応じて変化するので、必ずしも一致するわけではない。
In addition, the collective condition extraction screens 110 (110A, 110B, 110) shown in FIGS.
In C), the number of lines in the number display field 1102 is the same on all the screens. However, in actuality, the number of lines varies depending on the extraction result, and therefore does not necessarily match.

{DB31の構成例}
図6は、DB31の構成例を示す図である。
図6に示すDB31は、注文テーブル311、価格マスタ312及び単価マスタ313などの表形式のデータベースを格納している。
{DB31 configuration example}
FIG. 6 is a diagram illustrating a configuration example of the DB 31.
The DB 31 illustrated in FIG. 6 stores tabular databases such as an order table 311, a price master 312, and a unit price master 313.

注文テーブル311は、「商品名」、「注文月」、「納期」、「単価(円)」、「数量」及び「金額(円)」の各列項目から構成されており、注文(発注)する各商品A、B、・・・Hについて、その注文月、納期、単価(円)、数量及び金額(円)を格納してしいる。尚、金額(円)は、注文する合計金額である。   The order table 311 includes column items of “product name”, “order month”, “delivery date”, “unit price (yen)”, “quantity”, and “amount (yen)”. The order month, delivery date, unit price (yen), quantity and amount (yen) are stored for each product A, B,. The amount (yen) is the total amount to be ordered.

[動作]
{本実施形態における絞込み検索の概要}
図7〜図12は、図6に示す注文テーブル311から所望の注文商品の一覧を検索する場合の方法を説明する図である。図7〜図11に示す例は、具体的には、注文テーブル311から、「2008年1月納期で、注文月が一番早い商品の注文の一覧」という条件を満足するデータを絞込み検索により抽出する例である。
[Operation]
{Overview of refined search in this embodiment}
7 to 12 are diagrams for explaining a method for searching a list of desired ordered products from the order table 311 shown in FIG. Specifically, in the examples shown in FIG. 7 to FIG. 11, the data satisfying the condition “a list of orders for products with the delivery date of January 2008 and the earliest order month” from the order table 311 is narrowed down and searched. This is an example of extraction.

このデータ抽出(絞込み検索)の場合、抽出キー(検索キー)となる列項目は「納期」と「注文月」であり、納期の値は「2008.01」となる。以下、図7〜図11を参照しながら、上記条件を満足する商品データを、注文テーブル311から絞込み検索により抽出するための操作・処理手順を説明する。   In the case of this data extraction (restriction search), the column items that serve as extraction keys (search keys) are “delivery date” and “order month”, and the value of the delivery date is “2008.01”. Hereinafter, an operation / processing procedure for extracting product data satisfying the above conditions from the order table 311 by a narrowing search will be described with reference to FIGS.

(1)まず、分析支援ツール11は、ブラウザ21を制御して、ブラウザ21に図7に示す抽出画面200−1を表示させる。この抽出画面200−1においては、画面の上段の項目一覧フィールド120に注文テーブル311の全ての列項目が表示される。   (1) First, the analysis support tool 11 controls the browser 21 to display the extraction screen 200-1 shown in FIG. In this extraction screen 200-1, all the column items of the order table 311 are displayed in the item list field 120 at the top of the screen.

(2)利用者は、抽出画面200−1の項目一覧フィールド120から、絞込み検索の第1の検索項目として「納期」を選択し、それを、図8の矢印のマークで示すように項目一覧フィールド120の下段のエリアまでドラッグ&ドロップ操作する。この操作により、図8に示すように、抽出画面200−2には一括条件抽出画面110−1が自動的に表示され、その列項目名フィールド1101−1には「納期」が設定・表示される。また、一括条件抽出画面110−1の件数表示フィールド1102−1には、注文テーブル311に存在する全ての納期の値(年.月)とそれぞれの値の件数が、件数の隆順に一覧表示される。   (2) The user selects “Delivery” from the item list field 120 of the extraction screen 200-1 as the first search item of the narrow search, and displays the item list as indicated by the arrow mark in FIG. Drag and drop to the lower area of the field 120. By this operation, as shown in FIG. 8, the collective condition extraction screen 110-1 is automatically displayed on the extraction screen 200-2, and “delivery date” is set and displayed in the column item name field 1101-1. The The number display field 1102-1 of the collective condition extraction screen 110-1 displays a list of all delivery date values (year / month) and the number of each value existing in the order table 311 in order of the number of cases. The

以上の処理は次のようにしてなされる。ブラウザ21は、上記ドラッグ&ドロップ操作により、列項目名フィールド1101−1に「納期」が設定されると、分析支援ツール11に対し、注文テーブル311の絞込み検索の第一の検索条件として「納期」を送信する。分析支援ツール11は、ブラウザ21から受信する第一の抽出条件を、DBサーバ30に送る。DBサーバ30は、分析支援ツール11から注文テーブル311の第一の抽出条件として「納期」を受け取ると、検索エンジン32により注文テーブル311の各行を全て検索し、「納期」フィールドの全ての値を抽出し、それぞれの値の件数を計数する。そして、納期の個々の値とそれぞれ値の件数(データ数)の一覧データを作成する。この一覧データは、DBサーバ30から分析支援ツール11に送られる。分析支援ツール11は、その件数一覧データを基に、抽出画面200−2の件数表示フィールド1102―2に表示すべきデータ(第1の件数一覧表示データ)を作成し、それをブラウザ21に送る。ブラウザ21は、分析支援ツール11から受信する第1の件数一覧表示データを基に、一括条件抽出画面110−1の件数表示フィールド1102−1に納期の件数一覧を表示する(図8参照)。   The above processing is performed as follows. When “Delivery date” is set in the column item name field 1101-1 by the drag-and-drop operation, the browser 21 sets “Delivery date” as the first search condition of the refinement search of the order table 311 to the analysis support tool 11. ". The analysis support tool 11 sends the first extraction condition received from the browser 21 to the DB server 30. When the DB server 30 receives “delivery date” as the first extraction condition of the order table 311 from the analysis support tool 11, the search engine 32 searches all the rows of the order table 311 and sets all the values in the “delivery date” field. Extract and count the number of each value. Then, list data of individual values of delivery date and the number of values (number of data) is created. This list data is sent from the DB server 30 to the analysis support tool 11. Based on the number list data, the analysis support tool 11 creates data (first number list display data) to be displayed in the number display field 1102-2 of the extraction screen 200-2 and sends it to the browser 21. . Based on the first number list display data received from the analysis support tool 11, the browser 21 displays a list of number of delivery dates in the number display field 1102-1 of the collective condition extraction screen 110-1 (see FIG. 8).

(3)利用者は、図8に示す件数表示フィールド1102−1から、列項目「納期」の値が「2008.01」となっている行(この場合、第2行)を選択し、その後、抽出ボタン1103−1をクリックする。このクリック操作が行われると、ブラウザ21は、分析支援ツール11に対し、絞込み検索の第一の検索条件として「納期の値=2008.01」を送信する。分析支援ツール11は、ブラウザ21から受け取った上記第一の検索条件をDBサーバ30に送る。これにより、検索エンジン32は、DB31の注文テーブル311の検索(第1の検索)を実行する。この第1の検索において、検索エンジン32は、注文テーブル311から納期フィールドの値が「2008年1月」となっているデータを抽出する。この結果、検索エンジン32は、注文テーブル311から3件のデータ(商品名がA、B、Cとなっているデータ)を抽出する。検索エンジン32は、これら3件のデータを基に、図9に示すサブテーブル300−1を作成し、それをDBサーバ30内のメモリ(不図示)に保存する。このサブテーブル300−1は、検索エンジン32の次回の検索に使用されるデータベースであり、上記第1の検索によって、注文テーブル311から絞り込まれたデータの集合体である。   (3) The user selects a row (in this case, the second row) in which the value of the column item “delivery date” is “2008.01” from the number display field 1102-1 shown in FIG. Click the Extract button 1103-1. When this click operation is performed, the browser 21 transmits “Delivery value = 2008.01” as the first search condition of the narrow search to the analysis support tool 11. The analysis support tool 11 sends the first search condition received from the browser 21 to the DB server 30. Thereby, the search engine 32 executes a search (first search) of the order table 311 in the DB 31. In this first search, the search engine 32 extracts data in which the value of the delivery date field is “January 2008” from the order table 311. As a result, the search engine 32 extracts three pieces of data (data whose product names are A, B, and C) from the order table 311. The search engine 32 creates a sub-table 300-1 shown in FIG. 9 based on these three pieces of data, and stores it in a memory (not shown) in the DB server 30. The sub-table 300-1 is a database used for the next search of the search engine 32, and is a collection of data narrowed down from the order table 311 by the first search.

(4)利用者は、上記(2)のときと同様にして、図10に示す抽出画面200−3の項目一覧フィールド120から「注文月」を選択し、それを、項目一覧フィールド120の下段のエリアまでドラッグ&ドロップ操作する。これにより、図11に示す一括条件抽出画面110−2が自動的に表示され、その列項目名フィールド1101−2には「注文月」が設定・表示される。また、一括条件抽出画面110―3の件数表示フィールド1102―3には、納期が「2008年1月」となっている注文テーブル311内のデータの「注文月」の全ての値とそれぞれの値の件数が、件数の隆順に一覧表示される。   (4) The user selects “order month” from the item list field 120 of the extraction screen 200-3 shown in FIG. Drag and drop to the area. Thus, the collective condition extraction screen 110-2 shown in FIG. 11 is automatically displayed, and “order month” is set and displayed in the column item name field 1101-2. Further, the number display field 1102-3 on the collective condition extraction screen 110-3 includes all the values of “order month” of the data in the order table 311 whose delivery date is “January 2008” and the respective values. Are listed in descending order.

(5)利用者は、一括条件抽出画面110−2の件数表示フィールド1102−2から、最も注文月が早い「2007.08」の行(第一行)を選択し、抽出ボタン1103をクリックする。このクリック操作により、ブラウザ21は、分析支援ツール11に対し、絞込み検索の第2の検索条件として「注文月の値=2007.08」を送信する。分析支援ツール11は、ブラウザ21から上記第2の検索条件を受け取ると、それをDBサーバ30に送る。DBサーバ30は、分析支援ツール11から上記第2の検索条件を受け取ると、検索エンジン32を起動し、検索エンジン32に上記第2の検索条件を渡す。検索エンジン32は、上記(3)で作成したデータ300−1に格納されているデータを検索し、「注文月」フィールドの値が「2007.8」となっているデータを抽出する。この結果、検索エンジン32は、図9に示すサブテーブル300−1から「商品名」フィールドの名称が「B」となっているデータを抽出する。検索エンジン32は、その1件のデータから構成されるサブテーブル(図11に示すサブテーブル300−2)を作成し、それをDBサーバ30内のメモリに保存する。DBサーバ30は、上記検索エンジン32により抽出されたデータを分析支援ツール11に送る。分析支援ツール11は、DBサーバ30から上記抽出データを受け取ると、その抽出データをブラウザ21に画面表示させるためのHTML文書を作成し、そのHTML文書をブラウザ21に送る。ブラウザ21は、分析支援ツール11から上記HTML文書を受信すると、図12に示す抽出画面200−4に商品名が「B」のデータ(データ1−3)を表示させる。   (5) The user selects the row (first row) “2007.08” with the earliest order month from the number display field 1102-2 of the collective condition extraction screen 110-2, and clicks the extraction button 1103. . By this click operation, the browser 21 transmits “order month value = 2007.08” to the analysis support tool 11 as the second search condition for the narrow search. Upon receiving the second search condition from the browser 21, the analysis support tool 11 sends it to the DB server 30. When the DB server 30 receives the second search condition from the analysis support tool 11, the DB server 30 starts the search engine 32 and passes the second search condition to the search engine 32. The search engine 32 searches the data stored in the data 300-1 created in the above (3), and extracts data in which the value of the “order month” field is “2007.8”. As a result, the search engine 32 extracts data in which the name of the “product name” field is “B” from the sub-table 300-1 shown in FIG. The search engine 32 creates a sub-table (sub-table 300-2 shown in FIG. 11) composed of the one piece of data, and stores it in the memory in the DB server 30. The DB server 30 sends the data extracted by the search engine 32 to the analysis support tool 11. Upon receiving the extracted data from the DB server 30, the analysis support tool 11 creates an HTML document for displaying the extracted data on the browser 21 and sends the HTML document to the browser 21. When the browser 21 receives the HTML document from the analysis support tool 11, the browser 21 displays data (data 1-3) having the product name “B” on the extraction screen 200-4 shown in FIG.

以上のようにして、上記(1)〜(5)の一連の処理により、DB31内の注文テーブル311から、「2008年1月納期で、注文月が一番早い商品」である商品名がBのデータが絞込み検索により抽出される。尚、図7、8、10、12に示す抽出画面200(200−1〜200−4)内の矢印の記号及び操作1〜3の表記とそれらを囲む矩形枠は操作説明用のイメージであり、画面には実際には表示されない。   As described above, the product name “Product with the earliest order date in January 2008 delivery date” is obtained from the order table 311 in the DB 31 by the series of processes (1) to (5). Are extracted by a refined search. 7, 8, 10, and 12, the arrow symbols and the operations 1 to 3 in the extraction screen 200 (200-1 to 200-4) and the rectangular frame surrounding them are images for explaining operations. , Not actually displayed on the screen.

{分析支援ツール11の処理}
図13は、分析支援ツール11の処理手順を示すフローチャートである。図13を参照しながら、分析支援ツール11の処理手順を説明する。尚、このフローチャートには、ブラウザ21側の処理も含まれている。
{Processing of analysis support tool 11}
FIG. 13 is a flowchart showing the processing procedure of the analysis support tool 11. The processing procedure of the analysis support tool 11 will be described with reference to FIG. This flowchart includes processing on the browser 21 side.

図13に示すフローチャートは、データの絞込み検索の対象となるテーブル(テーブル311)が選択された後の絞込み検索処理を示している。
分析支援ツール11は、まず、上記絞込み検索対象のテーブルの全項目を、ブラウザ画面に一覧表示させる(ステップS11)。利用者は、その一覧表示から、絞込み検索の抽出条件で用いる項目を一括選択する(ステップS12)この一括選択された項目の情報は、ブラウザ21から分析支援ツール11に送信される。
The flowchart shown in FIG. 13 shows a narrowing search process after a table (table 311) to be subjected to a data narrowing search is selected.
The analysis support tool 11 first displays a list of all items in the narrowed search target table on the browser screen (step S11). From the list display, the user selects items to be used as extraction criteria for the refined search (step S12). Information on the items selected at once is transmitted from the browser 21 to the analysis support tool 11.

分析支援ツール11は、上記絞込み検索対象のテーブルをDBサーバ30から取得する。そして、DB検索結果解析手段11cにより該テーブルを解析し、上記絞込み検索対象のテーブルについて、上記一括選択された各項目について、その値の種類と各値の件数を集計する。そして、ブラウザ画面に、上記一括選択された各項目について、それぞれ、値の種類と各値の件数を表示させる(ステップS13)。   The analysis support tool 11 obtains the above-described narrowed search target table from the DB server 30. Then, the table is analyzed by the DB search result analyzing means 11c, and the value type and the number of values of each value are totalized for each item selected in the batch for the table to be narrowed search. Then, the type of value and the number of values of each value are displayed on the browser screen for each item selected at once (step S13).

利用者は、ブラウザ画面上で、抽出条件設定用の最初の項目を選択する(ステップS14)。この選択項目の条件指定には、直接に値を指定する方法と条件式(演算式など)を設定(指定)する方法がある。   The user selects the first item for setting the extraction condition on the browser screen (step S14). There are two methods for specifying the condition of this selection item: a method of directly specifying a value and a method of setting (specifying) a conditional expression (such as an arithmetic expression).

したがって、条件式の設定の有無を判別し(ステップS15)、条件式の設定が無ければ(ステップS15、No)、選択項目の値を指定する(ステップS16)。一方、条件式の設定が有れば(ステップS15、Yes)、条件式とその条件式で用いる値を設定(指定)する(ステップS17)。   Therefore, it is determined whether or not a conditional expression is set (step S15). If no conditional expression is set (step S15, No), the value of the selection item is specified (step S16). On the other hand, if a conditional expression is set (step S15, Yes), the conditional expression and a value used in the conditional expression are set (designated) (step S17).

続いて、利用者が、ブラウザ画面上で上記ステップS16またはステップS17で指定した抽出条件による絞込み検索の指示操作を行った否かを判断する(ステップS18)。指示操作が行われたと判断するまで、ステップS18の処理を繰り返す。   Subsequently, it is determined whether or not the user has performed a refined search instruction operation based on the extraction condition specified in step S16 or step S17 on the browser screen (step S18). The process of step S18 is repeated until it is determined that an instruction operation has been performed.

ステップS18において、利用者が抽出(絞込み検索)の指示操作を行ったと判断すると(ステップS18、Yes)、ブラウザ21は、分析支援ツール11に上記抽出条件を送信する。分析支援ツール11は、ブラウザ21から上記抽出条件を受信すると、DBサーバ検索手段11fにより、その抽出条件を満足するデータの検索をDBサーバ30に依頼し、上記絞込み検索対象のテーブルからデータを抽出する(ステップS19)。   If it is determined in step S18 that the user has performed an instruction operation for extraction (refinement search) (step S18, Yes), the browser 21 transmits the extraction condition to the analysis support tool 11. When the analysis support tool 11 receives the extraction condition from the browser 21, the DB server search unit 11f requests the DB server 30 to search for data that satisfies the extraction condition, and extracts the data from the narrowed search target table. (Step S19).

分析支援ツール11のサブテーブル作成手段11dは、上記抽出されたデータから構成されるサブテーブルを作成し、それをサブテーブル格納エリア1023bに格納する(ステップS20)。   The sub-table creating means 11d of the analysis support tool 11 creates a sub-table composed of the extracted data and stores it in the sub-table storage area 1023b (step S20).

分析支援ツール11のDB検索結果解析手段11cは、上記サブテーブルを解析し、上記サブテーブルにおける上記選択項目の値の種類と各値の件数などの集計を行う。履歴情報作成手段11eは、DB検索結果解析手段11cの集計結果を基に、履歴情報を作成し、それを履歴情報格納エリア1021bに格納する(ステップS21)。   The DB search result analysis unit 11c of the analysis support tool 11 analyzes the sub-table, and tabulates the value type of the selection item and the number of each value in the sub-table. The history information creation unit 11e creates history information based on the tabulation result of the DB search result analysis unit 11c, and stores it in the history information storage area 1021b (step S21).

分析支援ツール11のブラウザ画面作成手段11bは、DB検索結果解析手段11cの集計結果を基に、ブラウザ画面に、今回の絞込み件数(抽出されたデータ数)と上記選択
項目の(値、件数)の組の一覧を表示させる(ステップS22)。
The browser screen creation means 11b of the analysis support tool 11 displays the number of narrowed-down items (the number of extracted data) and the above-mentioned selection items (value, number) on the browser screen based on the tabulated result of the DB search result analyzing means 11c. A list of pairs is displayed (step S22).

次に、抽出条件が未指定の選択項目が有るか否かを判断する(ステップS23)。そして、抽出条件が未指定の選択項目が残っていれば、処理をステップS14に戻す。一方、抽出条件が未指定の選択項目が無ければ、本フローチャートの処理を終了する。   Next, it is determined whether or not there is a selection item whose extraction condition is not specified (step S23). If there remains a selection item whose extraction condition is not specified, the process returns to step S14. On the other hand, if there is no selection item whose extraction condition is not specified, the process of this flowchart is terminated.

このようにして、ステップS12で一括選択された全ての項目について、ステップS13〜S22の処理を行い、絞込み検索対象のテーブルについて絞込み検索を行い、該テーブルからデータを抽出する。この場合、ステップS19でのDBサーバ30へのデータ検索依頼におけるデータ抽出条件は、それまでにステップS16またはステップS17で指定された全ての抽出条件のANDとなる。この場合、データベース操作言語であるSQLの「CREATE VIEW」文を使用することで、ステップS19におけるデータ抽出において、検索母体となるテーブル(絞込み検索対象のテーブル)を、前回までの絞込み検索で得られたデータの集合体である「ビューテーブル(仮想表)」とすることが可能である。このビューテーブルはDBサーバ30によって作成され、分析支援ツール11は、SELECT文によりそのビューテーブルからデータを抽出することができる。また、このビューテーブルは、分析支援ツール11が作成するサブテーブルに等しい。したがって、分析支援ツール11は、後述するテーブルビュー画面を表示する際、SELECT文を用いて、DBサーバ30上に作成されたビューテーブルから全データを読み出し、それらのデータを基に、ブラウザ21にテーブルビュー画面を表示させるためのHTML文書を作成することも可能である。   In this way, the processing of steps S13 to S22 is performed for all items selected at once in step S12, a narrowing search is performed for the table to be narrowed and searched, and data is extracted from the table. In this case, the data extraction condition in the data search request to the DB server 30 in step S19 is an AND of all the extraction conditions specified so far in step S16 or step S17. In this case, by using the “CREATE VIEW” sentence of SQL that is a database operation language, the table that becomes the search base (table to be narrowed search) can be obtained by the narrowed search up to the previous time in the data extraction in step S19. It is possible to use a “view table (virtual table)” that is a collection of data. This view table is created by the DB server 30, and the analysis support tool 11 can extract data from the view table using a SELECT statement. This view table is equivalent to a sub-table created by the analysis support tool 11. Therefore, the analysis support tool 11 reads all data from the view table created on the DB server 30 using the SELECT statement when displaying a table view screen to be described later, and sends it to the browser 21 based on the data. It is also possible to create an HTML document for displaying the table view screen.

上記で、図6〜図12を参照しながら説明したように、絞込み検索が行われる毎に、抽出されるデータの数は少なくなっていく。したがって、絞込み検索の途中で、データ数が所望の数の範囲に収まる場合もありうる。したがって、このような場合に備え、図13のフローチャートの中に、絞込み検索の中止指示を判断するステップを加え、絞込み検索の中止が指示された場合には処理を終了するようにしてもよい。図13のフローチャートの処理の具体例については、後述する実施例において詳細に説明する。   As described above with reference to FIGS. 6 to 12, the number of data to be extracted decreases each time a narrowing search is performed. Therefore, there may be a case where the number of data falls within a desired number range during the narrowing search. Therefore, in preparation for such a case, a step of determining an instruction to cancel the narrowing search may be added to the flowchart of FIG. 13, and the process may be terminated when an instruction to stop the narrowing search is instructed. A specific example of the processing of the flowchart of FIG. 13 will be described in detail in an embodiment described later.

[実施例]
本発明の具体的な実施例を説明する。
ここでは、発注条件マスタテーブルから絞込み検索により所望のデータを抽出する例について説明する。図14は、本実施例のデータ抽出対象となる発注条件マスタテーブルの全データ(全レコード)を表示するテーブルビュー画面2000を示す図である。テーブルビュー画面2000では、発注条件マスタテーブルの全データを閲覧することができる。テーブルビュー画面2000においては、発注条件マスタテーブルの全データ(全レコード)がレコードNo.(Rec No)の隆順に表示され、スクロール操作により全てのデータの内容を確認することができるようになっている。
[Example]
Specific examples of the present invention will be described.
Here, an example will be described in which desired data is extracted from the order condition master table by a narrow search. FIG. 14 is a diagram showing a table view screen 2000 that displays all data (all records) of the ordering condition master table that is a data extraction target of the present embodiment. On the table view screen 2000, all data in the ordering condition master table can be viewed. In the table view screen 2000, all data (all records) in the ordering condition master table are record numbers. They are displayed in the order of (Rec No), and the contents of all data can be confirmed by scrolling.

本実施例の発注条件マスタテーブルの全データ数(全レコード数)は、173999件である。この発注条件マスタテーブルから所望のデータを抽出する場合には、不図示のテーブル選択画面から発注条件マスタテーブルを選択する。すると、図15に示す「発注条件マスタテーブル」の抽出画面2100−1(以下、抽出画面2100−1と略記する)が表示される。   The total number of data (total number of records) in the order condition master table of this embodiment is 173999. When extracting desired data from the order condition master table, the order condition master table is selected from a table selection screen (not shown). Then, an “ordering condition master table” extraction screen 2100-1 (hereinafter, abbreviated as extraction screen 2100-1) shown in FIG. 15 is displayed.

抽出画面2100−1は、主として、画面上段に設けられた項目一覧フィールド2110と、その下段に設けられた条件設定フィールド2120から構成される。項目一覧フィールド2110の右方には表示切り替えチェックボックス群2150と作業ボタン群2160が設けられている。表示切り替えチェックボックス群2150と作業ボタン群2160は、本発明の要部ではないので詳しい説明は省略する。   The extraction screen 2100-1 mainly includes an item list field 2110 provided at the upper stage of the screen and a condition setting field 2120 provided at the lower stage thereof. On the right side of the item list field 2110, a display switching check box group 2150 and a work button group 2160 are provided. Since the display switching check box group 2150 and the work button group 2160 are not the main part of the present invention, detailed description thereof will be omitted.

項目一覧フィールド2110には、発注条件マスタテーブルの全ての項目(列項目)が表示される。この表示は、図13のフローチャートのステップS11の処理に該当する。項目一覧フィールド2110に表示されている任意の項目を、ドラッグ&ドロップ操作により条件設定フィールド2120内に移動させると、抽出画面2100―1は図16に示す抽出画面2100−2に変化する。抽出画面2100―2においては、条件設定フィールド2120の左端側に、その項目の条件設定ボックス2130が自動的に表示される。このとき、項目一覧フィールド2110からドラッグ&ドロップ操作により条件式設定フィールド2132に移動させられた項目は、項目一覧フィールド2120において非表示となる。これらの条件設定ボックス2130を表示させる操作は、図13のフローチャートのステップS12の処理に該当する。   In the item list field 2110, all items (column items) of the order condition master table are displayed. This display corresponds to the processing in step S11 in the flowchart of FIG. When an arbitrary item displayed in the item list field 2110 is moved into the condition setting field 2120 by a drag and drop operation, the extraction screen 2100-1 is changed to an extraction screen 2100-2 shown in FIG. In the extraction screen 2100-2, a condition setting box 2130 for the item is automatically displayed on the left end side of the condition setting field 2120. At this time, the item moved from the item list field 2110 to the conditional expression setting field 2132 by the drag and drop operation is hidden in the item list field 2120. The operation for displaying these condition setting boxes 2130 corresponds to the processing in step S12 in the flowchart of FIG.

条件設定ボックス2130は、項目名フィールド2131、条件式設定フィールド2132、表示条件フィールド2133、抽出方法選択タブ2134、データ選択フィールド2135及び抽出ボタン2136を備える。   The condition setting box 2130 includes an item name field 2131, a conditional expression setting field 2132, a display condition field 2133, an extraction method selection tab 2134, a data selection field 2135, and an extraction button 2136.

データ選択フィールド2135は、項目の属性値(以下、項目値と呼ぶ)とその項目値を有するデータの件数を同一行に表示するフィールドである。データ選択フィールド2135の表示形態は、表示条件フィールド2133に設けられた「値隆順」、「件数順」及び「抽出対象外」という3つのチェックボックスにチェックを入れる(付ける)ことによって選択できるようになっている。例えば、「値隆順」チェックボックスにチェックを付けると値が大きい順番に、「件数順」チェックボックスにチェックを付けると件数が多い順から順番に表示される。また、データ選択フィールド2135の各行の右側には行番号が表示される。この行番号は、値が設定されている行についてのみ表示される。尚、本例では、項目のデータが「名称」など値以外の場合であっても、それを、便宜上、「値」と呼ぶことにする。したがって、項目のデータも項目値と呼ぶことにする。また、データ選択フィールド2135において、行番号の上部には、データ選択フィールド2135に表示されている行数が表示される。この行数は項目値の種類数に等しい。以上のデータ選択フィールド2135の表示は、図13のフローチャートのステップS13の処理に該当する。   The data selection field 2135 is a field that displays the attribute value of an item (hereinafter referred to as item value) and the number of data having the item value on the same line. The display form of the data selection field 2135 can be selected by checking (attaching) three check boxes provided in the display condition field 2133, which are “value order”, “number order”, and “not subject to extraction”. It has become. For example, if the “value order” check box is checked, the values are displayed in descending order, and if the “number order” check box is checked, the items are displayed in order from the largest number. A line number is displayed on the right side of each line in the data selection field 2135. This line number is displayed only for the line for which a value is set. In this example, even if the item data is other than a value such as “name”, it is referred to as “value” for convenience. Therefore, item data is also referred to as item value. In the data selection field 2135, the number of lines displayed in the data selection field 2135 is displayed above the line number. This number of lines is equal to the number of types of field values. The above display of the data selection field 2135 corresponds to the process of step S13 in the flowchart of FIG.

以下では、発注条件マスタテーブルから下記の抽出条件を全て満足するデータを、絞込み検索により抽出する場合の操作方法とそれに伴う画面遷移を説明する。
[抽出条件]:発注条件マスタテーブルから、販売担当課コードが“68”に属する販売担当者の中の担当している件数が一番多い社員の持つ発注条件情報のうちで、発注区分が“B”に相当し、適用開始日が「2006年4月以降」となっているデータを抽出する。
In the following, an operation method and associated screen transition when extracting data satisfying all of the following extraction conditions from the order condition master table by narrowing search will be described.
[Extraction condition]: From the order condition master table, the order classification of the order person condition information of the sales person who has the largest number of sales persons belonging to the sales department section code “68” has the order classification “ Data corresponding to B ″ and whose application start date is “after April 2006” is extracted.

上記抽出条件において、絞込み検索の対象となる項目は、「購買担当課コード」、「購買担当者コード」、「発注区分」及び「適用開始日」であり、購買担当課コードの値は“68”、発注区分の記号は“B”である。   In the above extraction condition, the items to be narrowed down are “purchasing department code”, “purchasing person code”, “ordering category”, and “application start date”, and the value of the purchasing department code is “68”. ", The order classification symbol is" B ".

(1)図15に示す初期表示状態の抽出画面2100−1の項目一覧フィールド2110から、上記4つの検索対象項目を条件設定フィールド2120にドラッグ&ドロップ操作する(図13のフローチャートのステップS12の処理に該当)。ここでは、購買担当課コード、購買担当者コード、発注区分、適用開始日の順にドラッグ&ドロップ操作を行う。これらの一連のドラッグ&ドロップ操作により、図17に示すように、抽出画面2100−3の条件設定フィールド2120内には、画面の左方から順に、購買担当課コード用の条件設定ボックス2130−1、購買担当者コード用の条件設定ボックス2130−2、発注区分用の条件設定ボックス2130−3、適用開始日用の条件設定ボックス2130−4が表示される(図13のフローチャートのステップS13の処理に該当)。図17に示す抽出画面2100−3においては、購買担当者コード用の条件設定ボックス2130−2の表示条件フィールド2133の件数順チェックボックス2133−2にチェックが入っているため、データ選択フィールド2135においては、購買担当者コードの値が件数の隆順に表示される。これは、「担当件数が一番多い担当者であること」が上記抽出条件の一条件となっているためである。購買担当者コード以外の条件設定ボックス2130の表示条件フィールド2133のチェックボックスにはチェックが入っていない。このため、その他の条件設定ボックス2130の表示条件フィールド2133には、「項目値」と「その項目値を有するデータの件数」から構成される行がレコード番号順に表示される。尚、本例では、絞込み検索の初期段階で4つの項目全てを一括選択するようにしているが、一項目ずつ順次選択しながら絞込み検索を行うようにしてもよい。   (1) The above four search target items are dragged and dropped to the condition setting field 2120 from the item list field 2110 of the initial display state extraction screen 2100-1 shown in FIG. 15 (processing of step S12 in the flowchart of FIG. 13) Fall under). Here, the drag-and-drop operation is performed in the order of purchasing department code, purchasing person code, order category, and application start date. As a result of these series of drag and drop operations, as shown in FIG. 17, in the condition setting field 2120 of the extraction screen 2100-3, a condition setting box 2130-1 for the department in charge of purchasing in order from the left side of the screen. , A condition setting box 2130-2 for purchaser code, a condition setting box 2130-3 for order classification, and a condition setting box 2130-4 for application start date are displayed (processing in step S13 in the flowchart of FIG. 13). Fall under). In the extraction screen 2100-3 shown in FIG. 17, since the check box 2133-2 in the display condition field 2133 of the condition setting box 2130-2 for the purchaser code is checked, in the data selection field 2135. The purchaser code values are displayed in order of increasing number of cases. This is because “the person in charge with the largest number of cases in charge” is one of the extraction conditions. A check box in the display condition field 2133 of the condition setting box 2130 other than the purchaser code is not checked. For this reason, in the display condition field 2133 of the other condition setting box 2130, rows composed of “item values” and “the number of data having the item values” are displayed in the order of record numbers. In this example, all four items are selected at a time in the initial stage of the narrowing search, but the narrowing search may be performed while sequentially selecting each item.

図17に示す抽出画面2100−3は、例えば、分析支援ツール11がDBサーバ30に対して、発注条件マスタテーブルから上記4つの選択項目を列とするビューテーブル(仮想表)を生成するSQLのCREATE VIEW文を送ることによって作成される。より詳細に説明すると、DBサーバ30は、このCREATE VIEW文を受け取ると、発注条件マスタテーブルから上記4つの選択項目を列とするビューテーブル(第1のビューテーブル)を生成する。次に、分析支援ツール11は、DBサーバ30に対して、その第1のビューテーブルの全データを選択するSELECT文を送る。これを受けて、DBサーバ30は、上記第1のビューテーブルの全データを分析支援ツール11に返す。分析支援ツール11は、それらのデータをメモリ102のワークエリア102bのサブテーブル格納エリア1023bに格納する。そして、それらのデータを分析して、抽出画面2100−3をブラウザ21に表示させるためのHTML文書を作成し、それをブラウザ21に送信する。これにより、ブラウザ21は、抽出画面2100−3を端末20の画面に表示させる。本実施例における以後の抽出画面2100の表示は、上述した一連の処理によって行われるものとする。尚、CREATE VIEW文を使用せずに、SELECT文のみを使用しても同様の処理が可能である。但し、本実施例においては、各回の絞込み検索結果を確認するためにテーブルビュー画面2000を表示するようにしているので、CREATE VIEW文を使用した方が処理が高速になり、端末20の利用者に対する応答速度が向上する。   The extraction screen 2100-3 shown in FIG. 17 is, for example, an SQL in which the analysis support tool 11 generates a view table (virtual table) having the above four selection items as columns from the order condition master table for the DB server 30. Created by sending a CREATE VIEW statement. More specifically, when receiving the CREATE VIEW statement, the DB server 30 generates a view table (first view table) having the above four selection items as columns from the order condition master table. Next, the analysis support tool 11 sends a SELECT statement for selecting all data in the first view table to the DB server 30. In response to this, the DB server 30 returns all data of the first view table to the analysis support tool 11. The analysis support tool 11 stores these data in the sub-table storage area 1023b of the work area 102b of the memory 102. Then, the data is analyzed, an HTML document for displaying the extraction screen 2100-3 on the browser 21 is created, and the HTML document is transmitted to the browser 21. Thereby, the browser 21 displays the extraction screen 2100-3 on the screen of the terminal 20. The subsequent display of the extraction screen 2100 in this embodiment is performed by the series of processes described above. It should be noted that the same processing is possible even if only the SELECT statement is used without using the CREATE VIEW statement. However, in this embodiment, the table view screen 2000 is displayed in order to confirm each narrowed search result, so that the processing is faster when the CREATE VIEW statement is used, and the user of the terminal 20 Response speed is improved.

(2)図17に示す抽出画面2100−3において、購買担当課コードの条件設定ボックス2130−1のデータ選択フィールド2135−1をスクロール操作して、図18に示す抽出画面2100−4に示すように、購買担当課コードの条件設定ボックス2130−1に購買担当課コード“68”を表示させる。購買担当課コードの条件設定ボックス2130−1には、購買担当課コード“68”と共にその購買担当課コードが“68”に設定されているデータ件数(この場合、33181件)が表示される。データ選択フィールド2135−1において、値が“68”の購買担当課コードを選択する(以上の処理は、図13のフローチャートのステップS14→S15→S16の処理に該当する)。そして、抽出ボタン2136−1をクリックする(図13のフローチャートのステップS18、Yesの処理に該当)。   (2) On the extraction screen 2100-3 shown in FIG. 17, scroll the data selection field 21135-1 of the condition setting box 2130-1 for the section in charge of purchasing as shown in the extraction screen 2100-4 shown in FIG. The purchasing department code “68” is displayed in the condition setting box 2130-1 for the purchasing department code. In the purchasing department code condition setting box 2130-1, the number of data (in this case, 33181) in which the purchasing department code is set to “68” is displayed together with the purchasing department code “68”. In the data selection field 2135-1, a purchase department section code whose value is “68” is selected (the above processing corresponds to the processing of steps S14 → S15 → S16 in the flowchart of FIG. 13). Then, the extraction button 2136-1 is clicked (corresponding to step S18 in the flowchart of FIG. 13, Yes).

これにより、ブラウザ21は、絞込み検索の第1の抽出条件として、「購買担当課コード=68」をWebサーバ10の分析支援ツール11に送る。分析支援ツール11は、該第1の抽出条件を受け取ると、DBサーバ30に対して、発注条件マスタテーブルから「購買担当課コード=68」となっているデータ(レコード)を抽出するための要求を送る。DBサーバ30は、該要求を受け取ると、検索エンジン32によりDB31内の発注条件マスタテーブルを検索し、発注条件マスタテーブルから33168件のデータを抽出する(図13のフローチャートのステップS19の処理に該当)。そして、それらの抽出データをWebサーバ10に送る。Webサーバ10の分析支援ツール11は、DBサーバ30から受信する33168件のデータを基に、それらのデータで構成されるサブテーブル(第1のサブテーブル)を作成し、それをサブテーブル格納エリア1023bに格納する(図13のフローチャートのステップS20の処理に該当)。分析支援ツール11は、さらに、今回、抽出されたデータ件数などを基に履歴情報(第1の履歴情報)を作成し、それを履歴情報格納エリア1021bに格納する(図13のフローチャートのステップS21の処理に該当)。このようにして、発注条件マスタテーブルのデータが33168件に絞り込まれる。   Accordingly, the browser 21 sends “purchasing department code = 68” to the analysis support tool 11 of the Web server 10 as the first extraction condition for the narrow search. Upon receiving the first extraction condition, the analysis support tool 11 requests the DB server 30 to extract data (record) having “purchasing department code = 68” from the ordering condition master table. Send. Upon receiving the request, the DB server 30 searches the order condition master table in the DB 31 by the search engine 32 and extracts 33168 items of data from the order condition master table (corresponding to step S19 in the flowchart of FIG. 13). ). Then, the extracted data is sent to the Web server 10. The analysis support tool 11 of the Web server 10 creates a sub-table (first sub-table) composed of the data based on 33168 pieces of data received from the DB server 30, and stores it in the sub-table storage area. 1023b (corresponding to step S20 in the flowchart of FIG. 13). The analysis support tool 11 further creates history information (first history information) based on the number of data items extracted this time and stores it in the history information storage area 1021b (step S21 in the flowchart of FIG. 13). Applicable to processing). In this way, the data of the order condition master table is narrowed down to 33168 cases.

上記処理は、例えば、SQLのCREATE VIEW文とSELECT文により行われる。この場合、分析支援ツール11は、前記第1のビューテーブルから購買担当課コードが“68”となっているデータのみから構成される第2のビューテーブルを作成するためのCREATE VIEW文をDBサーバ30に送り、DBサーバ30に第2のビューテーブルを生成させる。次に、分析支援ツール11は、DBサーバ30に対して、第2のビューテーブルの全データを選択するSELECT文を送る。これにより、DBサーバ30は、第2のビューテーブル内の全データを分析支援ツール11に返す。分析支援ツール11は、DBサーバ30から受け取る上記データを基に、第1のサブテーブルを作成し、それをサブテーブル格納エリア1023bに格納する。   The above processing is performed by, for example, an SQL CREATE VIEW statement and a SELECT statement. In this case, the analysis support tool 11 creates a CREATE VIEW statement for creating a second view table composed only of data from the first view table whose purchase section code is “68”. 30 to cause the DB server 30 to generate a second view table. Next, the analysis support tool 11 sends a SELECT statement for selecting all data in the second view table to the DB server 30. As a result, the DB server 30 returns all data in the second view table to the analysis support tool 11. The analysis support tool 11 creates a first sub-table based on the data received from the DB server 30, and stores it in the sub-table storage area 1023b.

尚、図18に示す抽出画面2100−4においては、購買担当者コードの条件設定ボックス2130−2の件数順チェックボックスのチェックを外している。したがって、条件設定ボックス2130−2のデータ選択フィールド2135−2には、購買担当者コードの値と各値の件数が、レコード番号順に表示されている。   In addition, in the extraction screen 2100-4 illustrated in FIG. Therefore, in the data selection field 2135-2 of the condition setting box 2130-2, the value of the person in charge of purchase and the number of cases of each value are displayed in the order of record numbers.

(3)分析支援ツール11は、端末20のブラウザ21の表示を図18から図19に変化させる。図19に示すように、ブラウザ21が表示する抽出画面2100−5は、条件設定ボックス2130−1〜2130−4の表示形態が変化する。すなわち、購買担当課コードの条件設定ボックス2130−1のデータ選択フィールド2135−1には、購買担当課コード“68”とそのコードが設定されているデータの件数“333181”のみが表示される。また、条件設定ボックス2130−2〜2130−4のデータ選択フィールド2135(2135−2〜2135−4)の表示も、上記33181件のデータに関連する内容に変化する。すなわち、データ選択フィールド2135の各行には、絞り込まれた33181件のデータの「購買担当者コード」、「発注区分」、「適用開始日」のそれぞれ値の種類と各値の件数が表示される。   (3) The analysis support tool 11 changes the display of the browser 21 of the terminal 20 from FIG. 18 to FIG. As shown in FIG. 19, on the extraction screen 2100-5 displayed by the browser 21, the display forms of the condition setting boxes 2130-1 to 2130-4 are changed. That is, only the purchase department code “68” and the number of data items “333181” in which the code is set are displayed in the data selection field 215-1 of the condition setting box 2130-1 for the purchase department code. In addition, the display of the data selection field 2135 (2135-2 to 2135-4) in the condition setting boxes 2130-2 to 2130-4 also changes to contents related to the 33181 data. That is, in each row of the data selection field 2135, the type of value and the number of values of each value of “purchaser person code”, “ordering category”, and “application start date” of the 33181 narrowed-down data are displayed. .

上記抽出画面2100−5の表示は、以下のようにして行われる。分析支援ツール11は、前記第1のサブテーブルを基に、ブラウザ21に図19に示す抽出画面2100―5を表示させるためのHTML文書を作成する。Webサーバ10は、ブラウザ制御手段11aにより、そのHTML文書をブラウザ21に送信する。ブラウザ21は、Webサーバ10から受け取るHTML文書を解析して、端末20の画面に抽出画面2100−5を表示させる。   The extraction screen 2100-5 is displayed as follows. The analysis support tool 11 creates an HTML document for causing the browser 21 to display the extraction screen 2100-5 shown in FIG. 19 based on the first sub-table. The Web server 10 transmits the HTML document to the browser 21 by the browser control unit 11a. The browser 21 analyzes the HTML document received from the Web server 10 and displays the extraction screen 2100-5 on the screen of the terminal 20.

以上のようにして、購買担当課コードの値が“68”であるという第1の抽出条件により、発注条件マスタテーブル内のデータは33181個まで絞りこまれる。そして、このデータ抽出結果に応じて、「購買担当者コード」、「発注区分」及び「適用開始日」の各データ選択フィールド2135の表示は、それら33181件のデータに関する内容に変化する。具体的には、図19に示すように、上記33181件のデータの「購買担当者コード」の値の種類が“25”、「発注区分」の値の種類が“4”、「適用開始日」の値の種類が“783”であることを示す表示に変化し、各値とそれぞれの件数も表示される。上述したように、種類数は行数の表示から知ることができる。   As described above, the first extraction condition that the value of the section in charge of purchasing is “68” narrows down the data in the ordering condition master table to 33181. And according to this data extraction result, the display of each data selection field 2135 of "purchaser person code", "ordering category", and "application start date" changes to the contents related to 33181 items of data. Specifically, as shown in FIG. 19, the type of “purchaser code” of the above 33181 data is “25”, the value of “order category” is “4”, “application start date” "Is changed to a display indicating that the value type is" 783 ", and each value and the number of cases are also displayed. As described above, the number of types can be known from the display of the number of rows.

図19に示す抽出画面2100−5において、「テーブルビュー」タブ2141を選択すると、ブラウザ21は、その操作情報をWebサーバ10に送る。Webサーバ10の分析支援ツール11は、その操作情報をブラウザ制御手段11aから受け取り、サブテーブル格納エリア1023bに格納されている前記第1のサブテーブルと履歴情報格納エリア1021bに格納されている第1の履歴情報を基に、ブラウザ21に図20に示すテーブルビュー画面2200−1を表示させる(図13のフローチャートのステップS22の処理に該当)。この表示は、分析支援ツール11のブラウザ画面作成手段11bが作成するHTML文書を基に行われる。ブラウザ画面作成手段11bは、前記第1のサブテーブルと前記第1の履歴情報を基に、ブラウザ21がテーブルビュー画面2200−2を表示するためのHTML文書を作成する。このHTML文書は、ブラウザ制御手段11aにより、ブラウザ21に送信される。ブラウザ21は、Webサーバ10から受け取るHTML文書を解析し、端末20の画面にテーブルビュー画面2200を表示させる。   When the “table view” tab 2141 is selected on the extraction screen 2100-5 shown in FIG. 19, the browser 21 sends the operation information to the Web server 10. The analysis support tool 11 of the Web server 10 receives the operation information from the browser control unit 11a, and stores the first subtable stored in the subtable storage area 1023b and the history information storage area 1021b. The table view screen 2200-1 shown in FIG. 20 is displayed on the browser 21 based on the history information (corresponding to step S22 in the flowchart of FIG. 13). This display is performed based on the HTML document created by the browser screen creation means 11b of the analysis support tool 11. The browser screen creation unit 11b creates an HTML document for the browser 21 to display the table view screen 2200-2 based on the first sub-table and the first history information. This HTML document is transmitted to the browser 21 by the browser control means 11a. The browser 21 analyzes the HTML document received from the Web server 10 and displays the table view screen 2200 on the screen of the terminal 20.

テーブルビュー画面2200−1は、データ表示エリア2210と絞込み検索履歴表示エリア2220を備えている。データ表示エリア2210には、上記絞り込まれた33181件のデータの内容がレコード番号順に表形式で表示される。表の各行が各データに対応している。また、データ表示エリア2210の左方に設けられた絞込み検索履歴表示エリア2220には、絞込み検索の履歴が最初のデータ件数から順に表示される。すなわち、先頭には、発注条件マスタテーブルの全データ件数“173999”が表示され、次に、今回の絞込み検索により抽出されたデータの件数“33181”が表示される。このように、テーブルビュー画面2000には、現在までに発注条件マスタテーブルから抽出されたデータの総覧と、現在までの絞込み検索の過程が表示される。したがって、端末20の利用者は、ブラウザ21に表示されるテーブルビュー画面2000を参照することで、現在までに抽出された全データの内容と、今までの絞込み検索の過程を知ることができる。   The table view screen 2200-1 includes a data display area 2210 and a narrowed search history display area 2220. In the data display area 2210, the contents of the 33181 narrowed-down data are displayed in the form of a table in the order of record numbers. Each row in the table corresponds to each data. Further, in the refinement search history display area 2220 provided on the left side of the data display area 2210, the refinement search history is displayed in order from the first data number. That is, the total number of data items “1739999” in the ordering condition master table is displayed at the top, and then the number of data items “33181” extracted by the current narrowing search is displayed. As described above, the table view screen 2000 displays a list of data extracted from the ordering condition master table up to now and the process of narrowing search up to the present. Therefore, the user of the terminal 20 can know the contents of all the data extracted up to now and the process of the refined search so far by referring to the table view screen 2000 displayed on the browser 21.

(4)続いて、購買担当者コードによる絞込み検索を行う(図13のフローチャートのステップS23、Yes→S14の処理に該当)。購買担当者コードの抽出条件は、「担当している件数が一番多い社員」なので、まず、図19に示す抽出画面2100−5において、購買担当者コードの条件設定ボックス2130−2の件数チェックボックスにチェックを入れる。これにより、ブラウザ21の画面は、図21に示す抽出画面2100−6に変化する。抽出画面2100−6の購買担当者コードの条件設定ボックス2130−2のデータ選択フィールド2135−2には、購買担当者コードの値が、その件数順に表示される。    (4) Subsequently, a narrowing search based on the person in charge of purchase is performed (corresponding to the processing of step S23, Yes → S14 in the flowchart of FIG. 13). Since the extraction condition of the purchaser code is “employee who has the most number of persons in charge”, first, in the extraction screen 2100-5 shown in FIG. 19, the number of cases in the purchaser code condition setting box 2130-2 is checked. Check the box. As a result, the screen of the browser 21 changes to an extraction screen 2100-6 shown in FIG. In the data selection field 21352-2 of the condition setting box 2130-2 for the purchaser code on the extraction screen 2100-6, values of the purchaser code are displayed in order of the number of cases.

したがって、この場合は、1行目に表示されている購買担当者コード“221”を抽出対象として選択し(図13のフローチャートのステップS16の処理に該当)、抽出ボタン2136−2をクリックする(図13のフローチャートのステップS17、Yesに該当)。   Therefore, in this case, the purchaser code “221” displayed in the first line is selected as an extraction target (corresponding to the process of step S16 in the flowchart of FIG. 13), and the extraction button 2136-2 is clicked ( This corresponds to step S17 in the flowchart of FIG. 13, Yes).

ブラウザ21は、Webサーバ10の分析支援ツール11のブラウザ制御手段11aに対して、「購買担当者コード=221」を第2の抽出条件として送る。
分析支援ツール11のDBサーバ検索手段11fは、前記第2のビューテーブルに格納されているデータから、購買担当課コードが“221”に設定されているデータのみを抽出し、それらの抽出データのみから構成される第3のビューテーブルを生成するためのCREATE VIEW文をDBサーバ30に送る。DBサーバ30は、そのCREATE
VIEW文を受信すると、上記第3のビューテーブルを生成・保存する。次に、DBサーバ検索手段11fは、DBサーバ30に対して、前記第3のビューテーブルの全データを選択するためのSELECT文をDBサーバ30に送り、DBサーバ30から前記第3のビューテーブル内の全データを取得する。以上の結果、発注条件マスタテーブルから、前記第1の抽出条件と前記第2の抽出条件を共に満足するデータのみが抽出される(図13のフローチャートのステップS19の処理に該当)。
The browser 21 sends “purchaser code = 221” as the second extraction condition to the browser control unit 11 a of the analysis support tool 11 of the Web server 10.
The DB server search means 11f of the analysis support tool 11 extracts only the data in which the purchasing section code is set to “221” from the data stored in the second view table, and only the extracted data. A CREATE VIEW statement for generating a third view table composed of the following is sent to the DB server 30. The DB server 30 uses the CREATE
When the VIEW statement is received, the third view table is generated and saved. Next, the DB server search unit 11f sends a SELECT statement for selecting all data in the third view table to the DB server 30 to the DB server 30. The DB server 30 then sends the SELECT statement to the third view table. Get all the data in As a result, only data satisfying both the first extraction condition and the second extraction condition is extracted from the order condition master table (corresponding to the process of step S19 in the flowchart of FIG. 13).

続いて、DB検索結果解析手段11cとサブテーブル作成手段11dは、上記抽出されたデータから構成される第2のサブテーブルを作成し、それをサブテーブル格納エリア1023bに格納する(図9のフローチャートのステップS20の処理に該当)。また、上記抽出データの件数を基にして第2の履歴情報を作成し、それを履歴情報格納エリア1021bに格納する(図13のフローチャートのステップS21)。続いて、分析支援ツール11は、ブラウザ画面作成手段11bとブラウザ制御手段11aにより、ブラウザ21の画面に、図22に示す抽出画面2100−7を表示させる(図13のフローチャートのステップS22)。   Subsequently, the DB search result analysis unit 11c and the sub table creation unit 11d create a second sub table composed of the extracted data and store it in the sub table storage area 1023b (the flowchart of FIG. 9). Corresponds to the process of step S20). Also, the second history information is created based on the number of the extracted data and stored in the history information storage area 1021b (step S21 in the flowchart of FIG. 13). Subsequently, the analysis support tool 11 displays the extraction screen 2100-7 shown in FIG. 22 on the screen of the browser 21 by the browser screen creation means 11b and the browser control means 11a (step S22 in the flowchart of FIG. 13).

図22に示す抽出画面2100−7において、購買担当者コードの条件設定ボックス2130−2のデータ選択フィールド2135−2には、上記選択した購買担当者コード“221”とその件数“16242”が表示される。また、購買担当課コードの条件設定ボックス2130−1のデータ選択フィールド2135−1の件数表示も、“33181”から“16242”に変化する。これにより、端末20の利用者は、今回、購買担当課コードを“221”として絞込み検索したことで、発注条件マスタテーブル内のデータ(レコード)を16242件まで絞り込むことができたことを知ることができる。また、発注区分の条件設定ボックス2130−3と適用開始日条件設定ボックス2130−4のそれぞれのデータ選択フィールド2135−3、2135−4の表示も、上記抽出された16242件のデータに則した内容に自動的に変化する。発注区分の条件設定ボックス2130−3のデータ選択フィールド2135には3種類の発注区分の値が表示され、適用開始日の条件設定ボックス2130−4のデータ選択フィールド2135−4のデータ選択フィールド2135−4には223種類の適用開始日の値が表示される。図21と図22のそれぞれの抽出画面2100−6、2100−7を比較参照すれば分かるように、発注区分の値は4種類から3種類に絞り込まれ、適用開始日の値は783種類から223種類に絞りこまれている。このように、本実施例においては、購買担当課コード、購買担当者コードと順に絞り込んでいくと、まだ、絞込みをおこなっていない項目についても自動的に絞込みが行われる。これは、分析支援ツール11が、絞込み検索を行う毎に、絞り込まれたデータから構成されるサブテーブルを作成し、このサブテーブルの内容を基に、条件設定フィールド2120に表示されている全ての条件設定ボックス2130のデータ選択フィールド2135の表示を変化させるように、ブラウザ21の画面を制御するからである。   In the extraction screen 2100-7 shown in FIG. 22, the selected purchaser code “221” and the number of cases “16242” are displayed in the data selection field 21352-2 of the condition setting box 2130-2 of the purchaser code. Is done. In addition, the number display in the data selection field 21135-1 in the condition setting box 2130-1 of the purchasing department code also changes from “33181” to “16242”. Thereby, the user of the terminal 20 knows that the data (records) in the order condition master table can be narrowed down to 16242 by performing a narrowing search with the purchasing department section code “221” this time. Can do. In addition, the display of the data selection fields 2135-3 and 2135-4 of the order setting condition setting box 2130-3 and the application start date condition setting box 2130-4 is also in accordance with the extracted 16242 items of data. Automatically changes. Three types of order category values are displayed in the data selection field 2135 of the order category condition setting box 2130-3, and the data selection field 2135-4 of the data selection field 2135-4 of the condition setting box 2130-4 of the application start date is displayed. 4 displays 223 types of application start date values. As can be seen by comparing the extraction screens 2100-6 and 2100-7 in FIGS. 21 and 22, the order category values are narrowed down from four types to three types, and the application start date values are changed from 783 types to 223. It is narrowed down to the type. As described above, in this embodiment, when the purchaser section code and purchaser code are narrowed down in order, items that have not been narrowed down are automatically narrowed down. This is because every time the analysis support tool 11 performs a refinement search, a subtable composed of the refined data is created, and all the contents displayed in the condition setting field 2120 are based on the contents of the subtable. This is because the screen of the browser 21 is controlled so that the display of the data selection field 2135 of the condition setting box 2130 is changed.

上記(3)で述べた操作と同様にして、図22に示す抽出画面2100のテーブルビュータブ2141を選択操作することで、現在までに抽出された全てのデータの内容を調べることができる。この場合、図22に示す抽出画面2100−7においてテーブルビュータブ2141を選択する。すると、図23に示すテーブルビュー画面2000−2が端末20の画面に表示される。   Similar to the operation described in (3) above, by selecting and operating the table view tab 2141 on the extraction screen 2100 shown in FIG. 22, the contents of all the data extracted up to now can be examined. In this case, the table view tab 2141 is selected on the extraction screen 2100-7 shown in FIG. Then, a table view screen 2000-2 shown in FIG. 23 is displayed on the screen of the terminal 20.

該テーブルビュー画面2000−2において、データ表示エリア2210には上記抽出された16242件のデータが表示される。また、その絞込み検索履歴表示エリア2220には、「購買担当課コード」→「購買担当者コード」という絞込み検索の各過程で抽出されたデータの件数(サイズ)が、検索順に表示される。
これらの表示は、上述した処理により、分析支援ツール11がブラウザ21を制御することで実行される。
In the table view screen 2000-2, the extracted 16242 pieces of data are displayed in the data display area 2210. In the refinement search history display area 2220, the number (size) of data extracted in each process of refinement search of “purchasing department code” → “purchaser person code” is displayed in the order of retrieval.
These displays are executed by the analysis support tool 11 controlling the browser 21 by the processing described above.

(5)続いて、「発注区分」により、さらに絞込みを行う。この絞込みを、図24を参照しながら説明する。図24に示す抽出画面2100−8は、上述した図22に示す抽出画面2100−7と同じものである。前述したように、発注区分の抽出条件は「B」であ
る。上記抽出画面2100−8の発注区分の条件設定ボックス2130−3のデータ選択フィールド2135−3の一行目には、発注区分の値“B”とその件数“14117”が表示されている。すなわち、現在までに、14117件のレコード(データ)を発注条件マスタテーブルから抽出できている。
(5) Next, further narrowing down by “order classification”. This narrowing will be described with reference to FIG. The extraction screen 2100-8 shown in FIG. 24 is the same as the extraction screen 2100-7 shown in FIG. As described above, the order category extraction condition is “B”. On the first line of the data selection field 2135-3 of the condition setting box 2130-3 for the order category on the extraction screen 2100-8, the order category value “B” and the number of cases “14117” are displayed. That is, so far, 14117 records (data) have been extracted from the order condition master table.

図24に示す抽出画面2100−8において、発注区分の条件設定ボックス2130−3のデータ選択フィールド2135−3の「B」を選択し(図13のフローチャートのステップS14の処理に該当)、次に、抽出ボタン2136−3をクリックする(図13のフローチャートのステップS15の処理に該当)。   In the extraction screen 2100-8 shown in FIG. 24, “B” is selected in the data selection field 2135-3 of the order setting condition setting box 2130-3 (corresponding to the process of step S14 in the flowchart of FIG. 13), and then Then, the extraction button 2136-3 is clicked (corresponding to step S15 in the flowchart of FIG. 13).

このクリック操作により、発注条件マスタテーブルに対する3回目の絞込み検索が実行される。この絞込み検索における抽出条件(第3の抽出条件)は、「発注区分=“B”」である。   By this click operation, the third narrowing search for the order condition master table is executed. The extraction condition (third extraction condition) in this narrowing search is “order category =“ B ””.

上記クリック操作がなされると、分析支援ツール11のDBサーバ検索手段11fは、DBサーバ30に対して、「前記第3のビューテーブルから発注区分が“B”に設定されているデータを抽出し、該データから構成される第4のビューテーブルを生成させるための」CREATE VIEW文を送る。これにより、DBサーバ30は、該第4のビューテーブルを生成・保存する。   When the click operation is performed, the DB server search unit 11 f of the analysis support tool 11 extracts “data with the order classification set to“ B ”from the third view table” to the DB server 30. , “CREATE VIEW statement for generating a fourth view table composed of the data” is sent. Thereby, the DB server 30 generates and stores the fourth view table.

次に、分析支援ツール11のDBサーバ検索手段11fは、DBサーバ30に対して、前記第4のビューテーブルの全データを選択するSELECT文を送る。これにより、DBサーバ30は、前記第4のビューテーブルの全データをDBサーバ検索手段11fに返す。この結果、分析支援ツール11は、発注条件マスタテーブルから、前記第1の抽出条件、前記第2の抽出条件及び前記第3の抽出条件の全てを満足するデータを取得する。分析支援ツール11のDB検索結果解析手段11cとサブテーブル作成手段11dは、上記DBサーバ30から受信するデータから構成される第3のサブテーブルを作成し、それをサブテーブル格納エリア1023bに格納する(図13のフローチャートのステップS20)。また、履歴情報作成手段11eは、今回抽出されたデータの件数を基に履歴情報を作成し、それを履歴情報格納エリア1021bに格納する(図13のフローチャートのステップS21)。ブラウザ画面作成手段11bは、前記第3のサブテーブルを基に、図25に示す抽出画面2100−9をブラウザ21に表示させるためのHTML文書を作成する。ブラウザ制御手段11aは、そのHTML文書をブラウザ21に送信する。ブラウザ21は、Webサーバ10から受信するHTML文書を解析して、図25に示す抽出画面2100−9を端末20の画面に表示させる(図13のフローチャートのステップ22)。   Next, the DB server search unit 11 f of the analysis support tool 11 sends a SELECT statement for selecting all data in the fourth view table to the DB server 30. Thereby, the DB server 30 returns all the data of the fourth view table to the DB server search unit 11f. As a result, the analysis support tool 11 acquires data satisfying all of the first extraction condition, the second extraction condition, and the third extraction condition from the order condition master table. The DB search result analysis unit 11c and the sub table creation unit 11d of the analysis support tool 11 create a third sub table composed of data received from the DB server 30, and store it in the sub table storage area 1023b. (Step S20 in the flowchart of FIG. 13). The history information creating unit 11e creates history information based on the number of data extracted this time, and stores it in the history information storage area 1021b (step S21 in the flowchart of FIG. 13). The browser screen creation means 11b creates an HTML document for causing the browser 21 to display the extraction screen 2100-9 shown in FIG. 25 based on the third sub-table. The browser control unit 11a transmits the HTML document to the browser 21. The browser 21 analyzes the HTML document received from the Web server 10 and displays the extraction screen 2100-9 shown in FIG. 25 on the screen of the terminal 20 (step 22 in the flowchart of FIG. 13).

図25に示すように、抽出画面2100−9の購買担当課コード、購買担当者コード、発注区分、適用開始日の全ての条件設定ボックス2130のデータ選択フィールド2135の表示内容は、上記絞込み検索に応じた内容に変化する。購買担当課コードと購買担当者コードの条件設定ボックス2130のデータ選択フィールド2135においては、件数の表示が“14117”に変化する。また、発注区分の条件設定ボックス2130−3のデータ選択フィールド2135−3には、上記絞込み検索の抽出条件であった値“B”とその値を有するデータの件数のみが表示される。また、適用開始日の条件設定ボックス2130−4のデータ選択フィールド2135−4には、購買担当課コードが“6”、購買担当課コードが“221”かつ発注区分が“B”である14117件のデータにおける適用開始日の値の種類数“143”と、それら143種類の各値の件数が、適用開始日の値の隆順に表示される。   As shown in FIG. 25, the contents displayed in the data selection field 2135 of all the condition setting boxes 2130 of the purchase department section code, purchase person code, order classification, and application start date on the extraction screen 2100-9 are the above-mentioned refined search. The content changes accordingly. In the data selection field 2135 of the condition setting box 2130 for the purchase department code and purchase person code, the display of the number of cases changes to “14117”. In the data selection field 2135-3 of the order setting condition setting box 2130-3, only the value “B” that is the extraction condition of the narrowing search and the number of data having the value are displayed. In addition, in the data selection field 2135-4 of the condition setting box 2130-4 of the application start date, 14117 cases where the purchasing department code is “6”, the purchasing department code is “221”, and the order classification is “B”. The number of types of application start date “143” and the number of values of each of these 143 types are displayed in the order of the value of the application start date.

図25に示す抽出画面2100−9において、テーブルビュータブ2141をクリック
すると、端末20の画面には図26に示すテーブルビュー画面2200−3が表示される。
When the table view tab 2141 is clicked on the extraction screen 2100-9 shown in FIG. 25, the table view screen 2200-3 shown in FIG.

このテーブルビュー画面2200―3では、今までの絞込み検索により抽出された14117件のデータ(レコード)の全ての内容を閲覧することができる。テーブルビュー画面2000−3の絞込み検索履歴表示エリア2220には、現段階までの絞込み検索における絞り込みの過程が表示される。   In this table view screen 2200-3, all contents of 14117 data (records) extracted by the narrowed-down search so far can be browsed. In the refinement search history display area 2220 of the table view screen 2000-3, the process of refinement in the refinement search up to the current stage is displayed.

このテーブルビュー画面2200−3の表示は、分析支援ツール11のブラウザ画面作成手段11bがサブテーブル格納エリア1023bに格納されている第3のサブテーブルと履歴情報格納エリア1021bに格納されている履歴情報を元にして作成するHTML文書をブラウザ21が解析することにより実行される。ブラウザ21は、上記HTML文書を分析支援ツール11のブラウザ制御手段11aから受信する。   The table view screen 2200-3 is displayed by the third subtable stored in the subtable storage area 1023b by the browser screen creation means 11b of the analysis support tool 11 and the history information stored in the history information storage area 1021b. This is executed by the browser 21 analyzing an HTML document created based on the above. The browser 21 receives the HTML document from the browser control unit 11 a of the analysis support tool 11.

(6)4番目の抽出条件(本例の最後の抽出条件)の項目は「適用開始日」である。上述したように、適用開始日の抽出条件は、「2006年4月以降」である。したがって、この場合、図25に示す抽出画面2100−9において、抽出方法選択タブ2134の「直接入力」タブをクリックして(図13のフローチャートのステップS14→S15、Yes)、図27に示すように、抽出画面2100−10に「直接入力」エリア2136−4を表示させる。この直接入力エリア2136−4は、データ選択フィールド2135−4の上部の前面に表示される。ここでは、直接入力エリア2136に2006年4月1日を表す“20060401”を入力する。そして、条件式設定フィールド2132−4のプルダウンメニュから「結果>=x」を選択し(図13のフローチャートのステップS17)、抽出ボタン2136−4をクリックする(図13のフローチャートのステップS18)。   (6) The item of the fourth extraction condition (the last extraction condition in this example) is “application start date”. As described above, the extraction condition of the application start date is “after April 2006”. Therefore, in this case, in the extraction screen 2100-9 shown in FIG. 25, the “direct input” tab of the extraction method selection tab 2134 is clicked (step S14 → S15, Yes in the flowchart of FIG. 13), as shown in FIG. The “direct input” area 2136-4 is displayed on the extraction screen 2100-10. This direct input area 2136-4 is displayed in front of the upper part of the data selection field 2135-4. Here, “20060401” representing April 1, 2006 is input to the direct input area 2136. Then, “Result> = x” is selected from the pull-down menu of the conditional expression setting field 2132-4 (step S17 in the flowchart in FIG. 13), and the extraction button 2136-4 is clicked (step S18 in the flowchart in FIG. 13).

このクリック操作により、分析支援ツール11のDBサーバ検索手段11fは、前記第4のビューテーブルから“「適用開始日」が2006年4月以降”に設定されているデータを抽出し、該抽出データから構成される第5のビューテーブルを生成させるためのCREATE VIEW文をDBサーバ30に送る。これにより、DBサーバ30の検索エンジン32は、第5のビューテーブルから「適用開始日」項目の値が“20060401”以上となっているデータを抽出し、該抽出データを基に第5のビューテーブルを生成する。次に、分析支援ツール11のDBサーバ検索手段11fは、DBサーバ30に対して、前記第5のビューテーブルから全データを抽出するためのSELECT文を送る。これにより、DBサーバ30は前記第5のビューテーブルの全データをDBサーバ検索手段11fに返す(図13のフローチャートのステップS19)。分析支援ツール11のサブテーブル作成手段11dは、DBサーバ検索手段11fから前記第5のビューテーブルの全データを受け取り、それを基に、第4のサブテーブルを作成する。そして、それを、サブテーブル格納エリア1023bに保存する(図13のフローチャートのステップS20)。分析支援ツール11の履歴情報作成手段11eは、該第4のサブテーブルのデータ数を調べ、そのデータ数を履歴情報格納エリア1021bに書き加えて、履歴情報格納エリア1021b内の履歴情報を更新する(図13のフローチャートのステップS21)。   By this click operation, the DB server search unit 11f of the analysis support tool 11 extracts the data in which “the“ application start date ”is set to April 2006 or later” from the fourth view table, and the extracted data A CREATE VIEW statement for generating a fifth view table composed of the following is sent to the DB server 30. As a result, the search engine 32 of the DB server 30 sets the value of the “application start date” item from the fifth view table. Is extracted as “20060401” or more, and a fifth view table is generated based on the extracted data. Next, the DB server search unit 11 f of the analysis support tool 11 sends a SELECT statement for extracting all data from the fifth view table to the DB server 30. Thereby, the DB server 30 returns all data of the fifth view table to the DB server search unit 11f (step S19 in the flowchart of FIG. 13). The sub table creation unit 11d of the analysis support tool 11 receives all the data of the fifth view table from the DB server search unit 11f, and creates a fourth sub table based on the received data. And it is preserve | saved in the subtable storage area 1023b (step S20 of the flowchart of FIG. 13). The history information creation means 11e of the analysis support tool 11 checks the number of data in the fourth subtable, adds the number of data to the history information storage area 1021b, and updates the history information in the history information storage area 1021b. (Step S21 in the flowchart of FIG. 13).

分析支援ツール11のDB検索結果解析手段11cは、サブテーブル格納エリア1023bに格納されている前記第4のサブテーブルを解析し、その第4のサブテーブル内の各データの「適用開始日」項目の値を調べ、値の種類と各値の件数を集計する。ブラウザ画面作成手段11bは、DB検索結果解析手段11cにより取得された集計結果を基に、ブラウザ21の画面に表示する抽出画面2100のHTML文書を作成すし、それをブラウザ21に送信する。ブラウザ21は、Webサーバ10から受け取った前記HTML文書を解析して、端末20のディスプレイに図28に示す抽出画面2100−11を表示する(図13のフローチャートのステップS22)。   The DB search result analysis unit 11c of the analysis support tool 11 analyzes the fourth subtable stored in the subtable storage area 1023b, and “application start date” item of each data in the fourth subtable. Investigate the value of, and count the type of value and the number of each value. The browser screen creation unit 11b creates an HTML document of the extraction screen 2100 to be displayed on the screen of the browser 21 based on the aggregation result acquired by the DB search result analysis unit 11c, and transmits it to the browser 21. The browser 21 analyzes the HTML document received from the Web server 10 and displays the extraction screen 2100-11 shown in FIG. 28 on the display of the terminal 20 (step S22 in the flowchart of FIG. 13).

図28に示すように、抽出画面2100−11の適用開始日の条件設定ボックス2130−4のデータ選択フィールド2135−4には、69種類の値とそれぞれの値の件数が一覧表示される。また、購買担当課コード、購買担当者コード、発注区分及び適用開始日のそれぞれのデータ選択フィールド2135の件数表示は“14117”から“5202”に変化する。この“5202”という件数は、適用開始日の抽出条件により絞り込まれたデータの件数である。したがって、ブラウザ21の利用者は、最終的に抽出されたデータの件数が5202件であると知ることができる。   As shown in FIG. 28, the data selection field 2135-4 of the condition setting box 2130-4 on the application start date of the extraction screen 2100-11 displays a list of 69 types of values and the number of each value. In addition, the display of the number of items in the data selection field 2135 for each of the purchase department code, purchase person code, order classification, and application start date changes from “14117” to “5202”. The number of “5202” is the number of data narrowed down by the extraction condition of the application start date. Therefore, the user of the browser 21 can know that the number of data finally extracted is 5202.

図28に示す抽出画面2100−11において、テーブルビュータブ2141をクリックすると、分析支援ツール11は前記第4のサブテーブルを基に、図29に示すテーブルビュー画面2000をブラウザ21に表示させる。このテーブルビュー画面2000のデータ表示エリア2210には最終的に抽出されたデータの全項目が表示され、絞込み検索履歴表示エリア2220には、新たに、適用開始日の抽出条件により抽出されたデータの件数“5202”が付け加えられる。   When the table view tab 2141 is clicked on the extraction screen 2100-11 shown in FIG. 28, the analysis support tool 11 displays the table view screen 2000 shown in FIG. 29 on the browser 21 based on the fourth sub-table. All items of the finally extracted data are displayed in the data display area 2210 of the table view screen 2000, and the data of the newly extracted data based on the extraction condition of the application start date is newly displayed in the narrowed search history display area 2220. The number “5202” is added.

以上のようにして、発注条件マスタテーブルの173999件のデータから、{「購買担当課コード=68」 AND 「購買担当者コード=221」 AND 「発注区分=B」 AND 「適用開始日は2006年4月以降」}という抽出条件による絞込み検索により、5242件のデータを抽出することができた。   As described above, from the data of 173999 items in the order condition master table, {"purchaser section code = 68" AND "purchaser section code = 221" AND "order category = B" AND "application start date is 2006 By the narrowing search with the extraction condition “from April”, 5242 data could be extracted.

本実施例の場合、Webサーバ10に実装される分析支援ツール11が、端末20に実装されたブラウザ21に対してHTML文書を送ることで、ブラウザ21に端末20の画面に抽出画面2100やテーブルビュー画面2200などを表示させる。このため、端末20の処理負担は少なく、端末20の画面には、抽出画面2100やテーブルビュー画面2200が素早い応答で高速に表示される。また、Webサーバ10と端末20をインターネットで接続するシステム構成にすることで、インターネット接続環境が整った場所であれば、いつでも、どこでも、データデータベース(テーブル)の絞込み検索を行うことができる。また、絞込み検索で使用するデータ(レコード)の項目は利用者が端末20から自由に選択でき、該項目の検索条件(抽出条件)も項目毎に個別に設定できるので、利用者は表形式のデータベースを多様な観点から絞込み検索することができる。また、データの一つの項目について絞込み検索を行う毎に、その項目の値とその値を有するデータの件数がペアとなって一覧表示されるので、絞込み検索を効率的に行うことができる。この効果は、特に、大量な大規模データベースの絞込み検索において顕著であり、大量のデータの中に埋め込まれている価値のある情報を容易に発見することが可能となる。   In the case of the present embodiment, the analysis support tool 11 mounted on the Web server 10 sends an HTML document to the browser 21 mounted on the terminal 20, whereby an extraction screen 2100 and a table are displayed on the screen of the terminal 20 to the browser 21. A view screen 2200 or the like is displayed. Therefore, the processing load on the terminal 20 is small, and the extraction screen 2100 and the table view screen 2200 are displayed on the screen of the terminal 20 at high speed with a quick response. Further, by adopting a system configuration in which the Web server 10 and the terminal 20 are connected via the Internet, it is possible to perform a narrowing search of the data database (table) anytime and anywhere as long as the Internet connection environment is in place. In addition, the items of data (records) used in the refined search can be freely selected by the user from the terminal 20, and the search conditions (extraction conditions) of the items can be individually set for each item. The database can be narrowed and searched from various viewpoints. Each time a narrow search is performed for one item of data, the value of the item and the number of data having the value are displayed as a pair, so that the narrow search can be performed efficiently. This effect is particularly noticeable in a narrow search of a large amount of large-scale database, and it becomes possible to easily find valuable information embedded in a large amount of data.

尚、上記実施形態は、本発明をクライアント/サーバ・モデルのシステムに適用したものであるが、本発明はそのシステム形態に限定されるものではなく、コンピュータシステムの各種形態に適用可能である。例えば、スタンドアロン型のコンピュータに実装することで、スタンドアロン型のコンピュータにおけるデータベースの絞込み検索も可能となる。   In the above embodiment, the present invention is applied to a client / server model system. However, the present invention is not limited to the system form, and can be applied to various forms of a computer system. For example, by implementing on a stand-alone computer, it becomes possible to narrow down the database in the stand-alone computer.

以上の実施形態に関し、更に、以下の付記を開示する。
(付記1)
コンピュータを、
表形式の第1のデータベースの各行に配置されるデータの全項目の中から、データの絞り込みに使用するために利用者が一括選択した項目を入力する手段Aと、
前記第1のデータベース内のデータの前記手段Aが入力した前記一括選択された各項目についてその値の種類と各値を有するデータの件数を取得し、該一括選択された各項目に
ついてその値の種類と各値のデータの件数を表示する手段Bと、
前記手段Bによって値の種類と各値のデータ件数が表示された各項目の中から、一つの項目の値を指定する手段Cと、
前記第1のデータベースまたは下記手段Eにより作成された第2のデータベースを検索して、前記手段Cまたは下記手段Gにより指定された項目値を有するデータを抽出する手段Dと、
前記手段Dにより抽出されたデータが各行に格納された表形式の第2のデータベースを作成する手段Eと、
前記第2のデータベース内のデータの前記手段Aが入力した項目の内、前記手段Cまたは下記手段Gによってまだ値が指定されていない未指定項目についてその値の種類と各値のデータの件数を取得し、該未指定項目についてその値の種類と各値を有するデータの件数を表示する手段Fと、
前記手段Fによって値の種類と各値のデータ件数が表示された項目の中から、一つの項目とその項目の値を指定する手段Gと、
前記手段Gにより項目値が指定される毎に、前記手段D、手段E、手段F及び手段Gを順次繰り返し実行させる手段Hと、
を有するデータベースの検索装置として機能させるためのログラム。
(付記2)
コンピュータを、
表形式の第1のデータベースの各行に格納されるデータの複数の項目の中から、まだデータの絞込み検索に使用されていない項目を一つ選択する手段Aと、
前記第1のデータベースまたは下記手段Eにより作成された第2のデータベースに格納されているデータの前記手段のステップで選択された項目について、その値の種類と各値のデータ件数を取得し、該項目の値の種類と各値のデータ件数を表示する手段Bと、
前記手段Bによって表示された項目の値の中から一つの値を指定する手段Cと、
前記第1のデータベースまたは下記手段Eにより作成された第2のデータベースを検索して、前記手段Cにより指定された項目の値を有するデータを抽出する手段Dと、
前記手段Dによって抽出されたデータが各行に格納された表形式の第2のデータベースを作成する手段Eと、
前記手段Aによって未指定項目が選択される毎に、前記手段B、手段C、手段D及び手段Eを繰り返し実行させる手段Fと、
を有するデータベースの検索装置として機能させるためのプログラム。
(付記3)
付記1または2記載のプログラムであって、
コンピュータを、
さらに、
各回の検索で抽出されたデータの件数を履歴情報として記憶手段に記憶する手段を、
有するデータベースの検索装置として機能させる。
(付記4)
付記3記載のログラムであって、
コンピュータを、
さらに、
前記記憶手段に記憶されている履歴情報を基にして、各回の検索で抽出されたデータ件数を表示する手段を、
有するデータベースの検索装置として機能させる。
(付記5)
付記1乃至4のいずれか1項に記載のプログラムであって、
コンピュータを、
さらに、
前記第2のデータベースを、記憶手段に保存する手段を、
有するデータベースの検索装置として機能させる。
(付記6)
付記1乃至5のいずれか1項に記載のプログラムであって、
コンピュータを、
さらに、
前記第2のデータベースのデータを表示する手段を、
有するデータベースの検索装置として機能させる。
(付記7)
表形式の第1のデータベースの各行に配置されるデータの全項目の中から、データの絞り込みに使用する項目を一括選択する一括選択手段と、
該一括選択手段により一括選択された各項目についてその値の種類と各値を有するデータの件数を取得し、該一括選択された各項目についてその値の種類と各値のデータの件数を表示する第1の表示手段と、
該第1の表示手段によって値の種類と各値のデータ件数が表示された各項目の中から、一つの項目の値を指定する第1の指定手段と、
前記第1のデータベースまたは下記データベース作成手段により作成された第2のデータベースを検索して、前記第1の指定手段または下記第2の指定手段により指定された項目値を有するデータを抽出するデータ抽出手段と、
該データ抽出手段により抽出されたデータが各行に格納された表形式の第2のデータベースを作成するデータベース作成手段と、
該第2のデータベース作成手段により作成された前記第2のデータベース内のデータの前記一括選択手段により選択された項目の内、前記第1の指定手段または下記の第2の指定手段によりまだ値が指定されていない未指定項目についてその値の種類と各値のデータの件数を取得し、該未指定項目についてその値の種類と各値を有するデータの件数を表示する第2の表示手段と、
該第2の表示手段によって値の種類と各値のデータ件数が表示された項目の中から、一つの項目とその項目の値を指定する第2の指定手段と、
該第2の指定手段により項目値が指定される毎に、前記データ抽出手段、前記データベース作成手段、前記第2の表示手段及び第2の指定手段を制御して、それらの手段による一連の処理を繰り返し実行させる制御手段と、
を有することを特徴とするデータベースの検索装置。
(付記8)
表形式の第1のデータベースの各行に格納されるデータの複数の項目の中から、まだデータの絞込み検索に使用されていない項目を一つ選択する未指定項目選択手段と、
前記第1のデータベースまたは下記データベース作成手段により作成された第2のデータベースに格納されているデータの前記未指定項目選択手段により選択された項目について、その値の種類と各値のデータ件数を取得し、該項目の値の種類と各値のデータ件数を表示する第1の表示手段と、
該第1の表示手段によって表示された項目の値の中から一つの値を指定する指定手段と、
前記第1のデータベースまたは下記データベース作成手段により作成された第2のデータベースを検索して、前記指定手段により指定された項目の値を有するデータを抽出するデータ抽出手段と、
該データ抽出手段により抽出されたデータが各行に格納された表形式の第2のデータベースを作成するデータベース作成手段と、
前記未指定項目選択手段により項目が選択される毎に、前記第1の表示手段、前記指定手段、前記データベース作成手段及び前記データ抽出手段を制御して、それらの手段に一連の処理を繰り返し実行させる制御手段と、
を有することを特徴とするデータベースの検索装置。
(付記9)
(a) 表形式の第1のデータベースの各行に配置されるデータの全項目の中から、データの絞り込みに使用する項目を一括選択するステップと、
(b) 前記第1のデータベース内のデータの前記(a)のステップで一括選択された各項目についてその値の種類と各値を有するデータの件数を取得し、該一括選択された各項目についてその値の種類と各値のデータの件数を表示するステップと、
(c) 前記(b)のステップによって値の種類と各値のデータ件数が表示された各項目の中から、一つの項目の値を指定するステップと、
(d) 前記第1のデータベースまたは下記(e)のステップで作成された第2のデータベースを検索して、前記(c)または下記(g)のステップで指定された項目値を有するデータを抽出するステップと、
(e) 前記(d)のステップで抽出されたデータが各行に格納された表形式の第2のデータベースを作成するステップと、
(f) 前記第2のデータベース内のデータの前記(a)のステップで選択された項目の内、前記(c)または下記(g)のステップでまだ値が指定されていない未指定項目についてその値の種類と各値のデータの件数を取得し、該未指定項目についてその値の種類と各値を有するデータの件数を表示するステップと、
(g) 前記(f)のステップによって値の種類と各値のデータ件数が表示された項目の中から、一つの項目とその項目の値を指定するステップと、
(h) 前記(g)のステップで項目値が指定される毎に、前記(d)〜(g)のステップの処理を繰り返し実行させるステップと、
を有するデータベースの検索方法。
(付記10)
(a) 表形式の第1のデータベースの各行に格納されるデータの複数の項目の中から、まだデータの絞込み検索に使用されていない項目を一つ選択するステップと、
(b) 前記第1のデータベースまたは下記(e)のステップで作成された第2のデータベースに格納されているデータの前記(a)のステップで選択された項目について、その値の種類と各値のデータ件数を取得し、該項目の値の種類と各値のデータ件数を表示するステップと、
(c) 前記(b)のステップによって表示された項目の値の中から一つの値を指定するステップと、
(d) 前記第1のデータベースまたは下記(e)のステップで作成された第2のデータベースを検索して、前記(c)のステップで指定された項目の値を有するデータを抽出するステップと、
(e) 前記(d)のステップで抽出されたデータが各行に格納された表形式の第2のデータベースを作成するステップと、
(f) 前記(a)のステップで未指定項目が選択される毎に、前記(b)〜(e)のステップの処理を繰り返し実行させるステップと、
を有するデータベースの検索方法。
Regarding the above embodiment, the following additional notes are disclosed.
(Appendix 1)
Computer
Means A for inputting items collectively selected by a user for use in data narrowing down from all items of data arranged in each row of the first database in a tabular format;
For each item selected at once by the means A of the data in the first database, the type of value and the number of data having each value are obtained, and the value of the value for each item selected at once is acquired. Means B for displaying the type and the number of data of each value;
Means C for designating the value of one item from among the items in which the type of value and the number of data of each value are displayed by the means B;
Means D for searching the first database or the second database created by means E below, and extracting data having item values designated by means C or means G;
Means E for creating a tabular second database in which the data extracted by the means D is stored in each row;
Among the items input by the means A of the data in the second database, the type of value and the number of data of each value for an unspecified item whose value has not yet been specified by the means C or the means G below. Means F for acquiring and displaying the type of value and the number of data having each value for the unspecified item;
A means G for designating one item and the value of the item from the items in which the type of value and the number of data of each value are displayed by the means F;
Means H for repeatedly executing the means D, means E, means F and means G each time an item value is designated by the means G;
A program for functioning as a database search device having
(Appendix 2)
Computer
Means A for selecting one item that has not yet been used in the data refinement search from a plurality of items of data stored in each row of the first database in the table format;
For the item selected in the step of the means of the data stored in the first database or the second database created by means E described below, the type of value and the number of data items of each value are acquired, Means B for displaying the value type of the item and the number of data of each value;
Means C for designating one value among the values of the items displayed by the means B;
Means D for searching the first database or the second database created by means E below to extract data having the value of the item specified by means C;
Means E for creating a tabular second database in which the data extracted by the means D is stored in each row;
Means F for repeatedly executing the means B, means C, means D and means E each time an unspecified item is selected by the means A;
A program for causing a database to function as a database search device.
(Appendix 3)
A program according to appendix 1 or 2,
Computer
further,
Means for storing the number of data extracted in each search in the storage means as history information;
It functions as a database search device.
(Appendix 4)
The program described in Appendix 3,
Computer
further,
Based on the history information stored in the storage means, means for displaying the number of data extracted in each search,
It functions as a database search device.
(Appendix 5)
A program according to any one of appendices 1 to 4,
Computer
further,
Means for storing the second database in a storage means;
It functions as a database search device.
(Appendix 6)
The program according to any one of appendices 1 to 5,
Computer
further,
Means for displaying data of the second database;
It functions as a database search device.
(Appendix 7)
A batch selection means for batch-selecting items to be used for narrowing down data from all items of data arranged in each row of the first database in a tabular format;
For each item selected by the batch selection means, the value type and the number of data having each value are acquired, and for each item selected in batch, the value type and the number of data of each value are displayed. First display means;
A first designating unit for designating a value of one item from among the items in which the type of value and the number of data of each value are displayed by the first display unit;
Data extraction for searching the first database or the second database created by the following database creation means to extract data having item values designated by the first designation means or the second designation means below Means,
Database creation means for creating a tabular second database in which the data extracted by the data extraction means is stored in each row;
Of the items selected by the batch selection means of the data in the second database created by the second database creation means, the value is still set by the first designation means or the second designation means described below. Second display means for acquiring the type of value and the number of data of each value for an unspecified item not specified, and displaying the type of the value and the number of data having each value for the unspecified item;
A second designation unit for designating one item and a value of the item from among the items in which the type of value and the number of data of each value are displayed by the second display unit;
Each time an item value is designated by the second designation means, the data extraction means, the database creation means, the second display means, and the second designation means are controlled, and a series of processes by these means is performed. A control means for repeatedly executing
A database search apparatus characterized by comprising:
(Appendix 8)
Unspecified item selection means for selecting one item that has not yet been used in the data refinement search from a plurality of items of data stored in each row of the first database in the tabular format;
For the item selected by the unspecified item selection means of the data stored in the first database or the second database created by the following database creation means, the value type and the number of data of each value are obtained. First display means for displaying the value type of the item and the number of data of each value;
Designating means for designating one value from the values of the items displayed by the first display means;
Data extraction means for searching the first database or the second database created by the database creation means described below, and extracting data having the value of the item designated by the designation means;
Database creation means for creating a tabular second database in which the data extracted by the data extraction means is stored in each row;
Each time an item is selected by the unspecified item selection means, the first display means, the designation means, the database creation means, and the data extraction means are controlled, and a series of processing is repeatedly executed on these means. Control means for causing
A database search apparatus characterized by comprising:
(Appendix 9)
(A) a step of collectively selecting items to be used for narrowing down data from all items of data arranged in each row of the first database in a tabular format;
(B) For each item selected in the step (a) of the data in the first database, the type of the value and the number of data having each value are acquired, and for each item selected in a batch Displaying the type of the value and the number of data for each value;
(C) a step of designating a value of one item from each item in which the type of value and the number of data items of each value are displayed in the step (b);
(D) Search the first database or the second database created in the step (e) below, and extract data having the item value specified in the step (c) or (g) below And steps to
(E) creating a tabular second database in which the data extracted in step (d) is stored in each row;
(F) Among the items selected in the step (a) of the data in the second database, the items that have not been specified yet in the step (c) or (g) Obtaining the type of value and the number of data of each value, and displaying the type of value and the number of data having each value for the unspecified item;
(G) Specifying one item and the value of the item from the items in which the type of value and the number of data items of each value are displayed in the step (f),
(H) Each time an item value is specified in the step (g), the step of repeating the steps (d) to (g) is performed.
Search method of database having
(Appendix 10)
(A) selecting one item that has not yet been used for a data refinement search from a plurality of items of data stored in each row of the first database in a tabular format;
(B) For the item selected in the step (a) of the data stored in the first database or the second database created in the step (e) below, the value type and each value Obtaining the number of data items, and displaying the type of value of the item and the number of data items of each value;
(C) designating one value among the values of the items displayed in the step (b);
(D) searching the first database or the second database created in the step (e) below to extract data having the value of the item specified in the step (c);
(E) creating a tabular second database in which the data extracted in step (d) is stored in each row;
(F) Every time an unspecified item is selected in the step (a), a step of repeatedly executing the processes of the steps (b) to (e);
Search method of database having

本発明の実施形態を適用したサーバを含むコンピュータシステムの全体構成図である。1 is an overall configuration diagram of a computer system including a server to which an embodiment of the present invention is applied. Webサーバのハードウェア構成を示す図である。It is a figure which shows the hardware constitutions of a Web server. 分析支援ツールの機能ブロック図である。It is a functional block diagram of an analysis support tool. ワークエリアの構成を示す図である。It is a figure which shows the structure of a work area. 検索条件設定画面の一例を示す図である。It is a figure which shows an example of a search condition setting screen. 図1のDB(データベース)の構成例を示す図である。It is a figure which shows the structural example of DB (database) of FIG. 図6に示す注文テーブル311から所望の注文商品の一覧を検索する場合の方法を説明する図(その1)である。FIG. 7 is a diagram (part 1) illustrating a method for searching a list of desired ordered products from the order table 311 illustrated in FIG. 6; 図6に示す注文テーブル311から所望の注文商品の一覧を検索する場合の方法を説明する図(その2)である。FIG. 7 is a diagram (part 2) illustrating a method for searching a list of desired ordered products from the order table 311 illustrated in FIG. 6; 図6に示す注文テーブル311から所望の注文商品の一覧を検索する場合の方法を説明する図(その3)である。FIG. 7 is a diagram (No. 3) for explaining a method when a list of desired ordered products is searched from the order table 311 shown in FIG. 6; 図6に示す注文テーブル311から所望の注文商品の一覧を検索する場合の方法を説明する図(その4)である。FIG. 7 is a diagram (No. 4) illustrating a method when a list of desired ordered products is searched from the order table 311 illustrated in FIG. 6. 図6に示す注文テーブル311から所望の注文商品の一覧を検索する場合の方法を説明する図(その5)である。FIG. 7 is a diagram (No. 5) illustrating a method when a list of desired ordered products is searched from the order table 311 illustrated in FIG. 6. 図6に示す注文テーブル311から所望の注文商品の一覧を検索する場合の方法を説明する図(その4)である。FIG. 7 is a diagram (No. 4) illustrating a method when a list of desired ordered products is searched from the order table 311 illustrated in FIG. 6. 分析支援ツールの処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of an analysis assistance tool. 本発明の実施例のデータ抽出対象となる発注条件マスタテーブルの全データ(全レコード)を表示するテーブルビュー画面を示す図である。It is a figure which shows the table view screen which displays all the data (all records) of the order condition master table used as the data extraction object of the Example of this invention. テーブル選択画面から発注条件マスタテーブルを選択した場合に表示される発注条件マスタテーブルの抽出画面を示す図である。It is a figure which shows the extraction screen of the order condition master table displayed when the order condition master table is selected from the table selection screen. 発注条件マスタテーブルの項目一覧フィールドから「依頼元コード」をドラッグ&ドロップ操作により条件設定フィールド内に移動させた場合に、条件式設定フィールド内に表示される条件設定ボックスの構成を示す図である。It is a figure which shows the structure of the condition setting box displayed in a conditional expression setting field, when "request source code" is moved into a condition setting field by drag & drop operation from the item list field of an ordering condition master table. . 図15に示す初期表示状態の抽出画面の項目一覧フィールドから、4つの検索対象項目を条件設定フィールドにドラッグ&ドロップ操作することにより、抽出画面の条件設定フィールド内に表示される上記4つの条件設定ボックスの表示形態を示す図である。The above four condition settings displayed in the condition setting field of the extraction screen by dragging and dropping the four search target items to the condition setting field from the item list field of the extraction screen in the initial display state shown in FIG. It is a figure which shows the display form of a box. 図17に示す抽出画面において、購買担当課コードの条件設定ボックスのデータ選択フィールドをスクロール操作して、購買担当者コードの条件設定ボックスに値が“68”の購買担当課コードを表示させた状態を示す図である。In the extraction screen shown in FIG. 17, the data selection field of the condition setting box for the purchaser section code is scrolled to display the purchaser section code whose value is “68” in the condition setting box for the purchaser code. FIG. 購買担当課コードのデータ選択フィールドにおいて、値が“68”の購買担当課コードを選択した後、抽出ボタンをクリックした後の抽出画面の表示状態を示す図である。It is a figure which shows the display state of the extraction screen after clicking the extraction button after selecting the purchase charge section code whose value is "68" in the data selection field of the purchase charge section code. 図19に示す抽出画面において、「テーブルビュー」タブを選択した場合にブラウザ21に表示されるテーブルビュー画面を示す図である。FIG. 20 is a diagram showing a table view screen displayed on the browser 21 when the “table view” tab is selected on the extraction screen shown in FIG. 19. 図19に示す抽出画面において、購買担当者コードの条件設定ボックスの件数チェックボックスにチェックを入れた場合に、ブラウザに表示される抽出画面を示す図である。FIG. 20 is a diagram showing an extraction screen displayed on the browser when the number of cases check box in the condition setting box of the purchaser code is checked in the extraction screen shown in FIG. 19. 図21に示す抽出画面の購買担当者コードの条件設定ボックスのデータ選択フィールドの1行目に表示されている購買担当者コードを抽出対象として選択し、抽出ボタンをクリックした場合に表示される抽出画面を示す図である。Extraction displayed when the purchaser code displayed in the first row of the data selection field in the condition setting box for the purchaser code in the extraction screen shown in FIG. 21 is selected as an extraction target and the extraction button is clicked. It is a figure which shows a screen. 図22に示す抽出画面のテーブルビュータブの選択操作によって表示されるテーブルビュー画面を示す図である。It is a figure which shows the table view screen displayed by selection operation of the table view tab of the extraction screen shown in FIG. 図22に示す抽出画面において、発注区分の条件設定ボックスのデータ選択フィールドを用いて、発注区分の値指定により絞込み検索を行う操作方法を説明するための図である。FIG. 23 is a diagram for explaining an operation method for performing a narrowing search by specifying a value of an order category using a data selection field of an order category condition setting box on the extraction screen illustrated in FIG. 22. 図24に示す抽出画面において、発注区分により絞込み検索を行った場合に表示される抽出画面を示す図である。FIG. 25 is a diagram showing an extraction screen displayed when a narrowing search is performed by order classification in the extraction screen shown in FIG. 24. 図25に示す抽出画面において、テーブルビュータブをクリックすることで表示されるテーブルビュー画面を示す図である。It is a figure which shows the table view screen displayed by clicking a table view tab in the extraction screen shown in FIG. 図25に示す抽出画面において、抽出方法選択タブの「直接入力」タブをクリックした場合に表示される「直接入力」エリアを示す図である。It is a figure which shows the "direct input" area displayed when the "direct input" tab of the extraction method selection tab is clicked on the extraction screen shown in FIG. 絞込み検索により発注条件マスタテーブルから最終的に抽出されたデータ件数などを示す図である。It is a figure which shows the data number etc. which were finally extracted from the order condition master table by refinement search. 絞込み検索により発注条件マスタテーブルから最終的に抽出されたデータの一部を示す図である。It is a figure which shows a part of data finally extracted from the order condition master table by refinement search.

符号の説明Explanation of symbols

10 Webサーバ
11 分析支援ツール
11a ブラウザ制御手段
11b ブラウザ画面作成手段
11c DB検索結果解析手段
11d サブテーブル作成手段
11e 履歴情報作成手段
11f DBサーバ検索手段
101 CPU
102 メモリ
102a プログラムロードエリア
102b ワークエリア
1021b 履歴情報格納エリア
1022b 絞込件数格納エリア
1023b サブテーブル格納エリア
1024b ブラウザ画面表示データ格納エリア
103 入力装置
104 表示装置
105 外部記憶装置
106 ネットワーク接続装置
107 バス
110(110A、100B、110C) 一括条件抽出画面
1101 列項目名フィール
1102 件数表示フィールド
1103 抽出ボタン
2100(2100−1〜2100−11) 発注条件マスタテーブルの抽出画面
2110 項目一覧フィールド
2120 条件設定フィールド
2130 条件設定ボックス
2131 項目名フィールド
2132 条件式設定フィールド
2133 表示条件フィールド
2134 抽出方法選択タブ
2135 データ選択フィールド
2136 抽出ボタン
2200(2200−1〜2200−4) テーブルビュー画面
2210 データ表示エリア
2220 絞込み検索履歴表示エリア
DESCRIPTION OF SYMBOLS 10 Web server 11 Analysis support tool 11a Browser control means 11b Browser screen creation means 11c DB search result analysis means 11d Subtable creation means 11e History information creation means 11f DB server search means 101 CPU
102 Memory 102a Program load area 102b Work area 1021b History information storage area 1022b Narrowed number storage area 1023b Sub-table storage area 1024b Browser screen display data storage area 103 Input device 104 Display device 105 External storage device 106 Network connection device 107 Bus 110 ( 110A, 100B, 110C) Collective condition extraction screen 1101 Column item name field 1102 Number display field 1103 Extraction button 2100 (2100-1 to 2100-11) Ordering condition master table extraction screen 2110 Item list field 2120 Condition setting field 2130 Condition setting Box 2131 Item name field 2132 Conditional expression setting field 2133 Display condition field 2134 Extraction method selection Tab 2135 data selection field 2136 extraction button 2200 (2200-1~2200-4) table view screen 2210 data display area 2220 narrowing-down search history display area

Claims (8)

コンピュータを、
表形式の第1のデータベースの各行に配置されるデータの全項目の中から、データの絞り込みに使用するために利用者が一括選択した項目を入力する手段Aと、
前記第1のデータベース内のデータの前記手段Aが入力した前記一括選択された各項目についてその値の種類と各値を有するデータの件数を取得し、該一括選択された各項目についてその値の種類と各値のデータの件数を表示する手段Bと、
前記手段Bによって値の種類と各値のデータ件数が表示された各項目の中から、一つの項目の値を指定する手段Cと、
前記第1のデータベースまたは下記手段Eにより作成された第2のデータベースを検索して、前記手段Cまたは下記手段Gにより指定された項目値を有するデータを抽出する手段Dと、
前記手段Dにより抽出されたデータが各行に格納された表形式の第2のデータベースを作成する手段Eと、
前記第2のデータベース内のデータの前記手段Aが入力した項目の内、前記手段Cまたは下記手段Gによってまだ値が指定されていない未指定項目についてその値の種類と各値のデータの件数を取得し、該未指定項目についてその値の種類と各値を有するデータの件数を表示する手段Fと、
前記手段Fによって値の種類と各値のデータ件数が表示された項目の中から、一つの項目とその項目の値を指定する手段Gと、
前記手段Gにより項目値が指定される毎に、前記手段D、手段E、手段F及び手段Gを順次繰り返し実行させる手段Hと、
を有するデータベースの検索装置として機能させるためのプログラム
Computer
Means A for inputting items collectively selected by a user for use in data narrowing down from all items of data arranged in each row of the first database in a tabular format;
For each item selected at once by the means A of the data in the first database, the type of value and the number of data having each value are obtained, and the value of the value for each item selected at once is acquired. Means B for displaying the type and the number of data of each value;
Means C for designating the value of one item from among the items in which the type of value and the number of data of each value are displayed by the means B;
Means D for searching the first database or the second database created by means E below, and extracting data having item values designated by means C or means G;
Means E for creating a tabular second database in which the data extracted by the means D is stored in each row;
Among the items input by the means A of the data in the second database, the type of value and the number of data of each value for an unspecified item whose value has not yet been specified by the means C or the means G below. Means F for acquiring and displaying the type of value and the number of data having each value for the unspecified item;
A means G for designating one item and the value of the item from the items in which the type of value and the number of data of each value are displayed by the means F;
Means H for repeatedly executing the means D, means E, means F and means G each time an item value is designated by the means G;
A program for causing a database to function as a database search device.
コンピュータを、
表形式の第1のデータベースの各行に格納されるデータの複数の項目の中から、まだデータの絞込み検索に使用されていない項目を一つ選択する手段Aと、
前記第1のデータベースまたは下記手段Eにより作成された第2のデータベースに格納されているデータの前記手段のステップで選択された項目について、その値の種類と各値のデータ件数を取得し、該項目の値の種類と各値のデータ件数を表示する手段Bと、
前記手段Bによって表示された項目の値の中から一つの値を指定する手段Cと、
前記第1のデータベースまたは下記手段Eにより作成された第2のデータベースを検索して、前記手段Cにより指定された項目の値を有するデータを抽出する手段Dと、
前記手段Dによって抽出されたデータが各行に格納された表形式の第2のデータベースを作成する手段Eと、
前記手段Aによって未指定項目が選択される毎に、前記手段B、手段C、手段D及び手段Eを繰り返し実行させる手段Fと、
を有するデータベースの検索装置として機能させるためのプログラム。
Computer
Means A for selecting one item that has not yet been used in the data refinement search from a plurality of items of data stored in each row of the first database in the table format;
For the item selected in the step of the means of the data stored in the first database or the second database created by means E described below, the type of value and the number of data items of each value are acquired, Means B for displaying the value type of the item and the number of data of each value;
Means C for designating one value among the values of the items displayed by the means B;
Means D for searching the first database or the second database created by means E below to extract data having the value of the item specified by means C;
Means E for creating a tabular second database in which the data extracted by the means D is stored in each row;
Means F for repeatedly executing the means B, means C, means D and means E each time an unspecified item is selected by the means A;
A program for causing a database to function as a database search device.
請求項1または2記載のプログラムであって、
コンピュータを、
さらに、
各回の検索で抽出されたデータの件数を履歴情報として記憶手段に記憶する手段を、
有するデータベースの検索装置として機能させる。
A program according to claim 1 or 2,
Computer
further,
Means for storing the number of data extracted in each search in the storage means as history information;
It functions as a database search device.
請求項3記載のログラムであって、
コンピュータを、
さらに、
前記記憶手段に記憶されている履歴情報を基にして、各回の検索で抽出されたデータ件
数を表示する手段を、
有するデータベースの検索装置として機能させる。
The program according to claim 3,
Computer
further,
Based on the history information stored in the storage means, means for displaying the number of data extracted in each search,
It functions as a database search device.
請求項1乃至4のいずれか1項に記載のプログラムであって、
コンピュータを、
さらに、
前記第2のデータベースを、記憶手段に保存する手段を、
有するデータベースの検索装置として機能させる。
A program according to any one of claims 1 to 4,
Computer
further,
Means for storing the second database in a storage means;
It functions as a database search device.
請求項1乃至5のいずれか1項に記載のプログラムであって、
コンピュータを、
さらに、
前記第2のデータベースのデータを表示する手段を、
有するデータベースの検索装置として機能させる。
A program according to any one of claims 1 to 5,
Computer
further,
Means for displaying data of the second database;
It functions as a database search device.
表形式の第1のデータベースの各行に配置されるデータの全項目の中から、データの絞り込みに使用する項目を一括選択する一括選択手段と、
該一括選択手段により一括選択された各項目についてその値の種類と各値を有するデータの件数を取得し、該一括選択された各項目についてその値の種類と各値のデータの件数を表示する第1の表示手段と、
該第1の表示手段によって値の種類と各値のデータ件数が表示された各項目の中から、一つの項目の値を指定する第1の指定手段と、
前記第1のデータベースまたは下記データベース作成手段により作成された第2のデータベースを検索して、前記第1の指定手段または下記第2の指定手段により指定された項目値を有するデータを抽出するデータ抽出手段と、
該データ抽出手段により抽出されたデータが各行に格納された表形式の第2のデータベースを作成するデータベース作成手段と、
該第2のデータベース作成手段により作成された前記第2のデータベース内のデータの前記一括選択手段により選択された項目の内、前記第1の指定手段または下記の第2の指定手段によりまだ値が指定されていない未指定項目についてその値の種類と各値のデータの件数を取得し、該未指定項目についてその値の種類と各値を有するデータの件数を表示する第2の表示手段と、
該第2の表示手段によって値の種類と各値のデータ件数が表示された項目の中から、一つの項目とその項目の値を指定する第2の指定手段と、
該第2の指定手段により項目値が指定される毎に、前記データ抽出手段、前記データベース作成手段、前記第2の表示手段及び第2の指定手段を制御して、それらの手段による一連の処理を繰り返し実行させる制御手段と、
を有することを特徴とするデータベースの検索装置。
A batch selection means for batch-selecting items to be used for narrowing down data from all items of data arranged in each row of the first database in a tabular format;
For each item selected by the batch selection means, the value type and the number of data having each value are acquired, and for each item selected in batch, the value type and the number of data of each value are displayed. First display means;
A first designating unit for designating a value of one item from among the items in which the type of value and the number of data of each value are displayed by the first display unit;
Data extraction for searching the first database or the second database created by the following database creation means to extract data having item values designated by the first designation means or the second designation means below Means,
Database creation means for creating a tabular second database in which the data extracted by the data extraction means is stored in each row;
Of the items selected by the batch selection means of the data in the second database created by the second database creation means, the value is still set by the first designation means or the second designation means described below. Second display means for acquiring the type of value and the number of data of each value for an unspecified item not specified, and displaying the type of the value and the number of data having each value for the unspecified item;
A second designation unit for designating one item and a value of the item from among the items in which the type of value and the number of data of each value are displayed by the second display unit;
Each time an item value is designated by the second designation means, the data extraction means, the database creation means, the second display means, and the second designation means are controlled, and a series of processes by these means is performed. A control means for repeatedly executing
A database search apparatus characterized by comprising:
(a) 表形式の第1のデータベースの各行に配置されるデータの全項目の中から、データの絞り込みに使用する項目を一括選択するステップと、
(b) 前記第1のデータベース内のデータの前記(a)のステップで一括選択された各項目についてその値の種類と各値を有するデータの件数を取得し、該一括選択された各項目についてその値の種類と各値のデータの件数を表示するステップと、
(c) 前記(b)のステップによって値の種類と各値のデータ件数が表示された各項目の中から、一つの項目の値を指定するステップと、
(d) 前記第1のデータベースまたは下記(e)のステップで作成された第2のデータベースを検索して、前記(c)または下記(g)のステップで指定された項目値を有するデータを抽出するステップと、
(e) 前記(d)のステップで抽出されたデータが各行に格納された表形式の第2のデ
ータベースを作成するステップと、
(f) 前記第2のデータベース内のデータの前記(a)のステップで選択された項目の内、前記(c)または下記(g)のステップでまだ値が指定されていない未指定項目についてその値の種類と各値のデータの件数を取得し、該未指定項目についてその値の種類と各値を有するデータの件数を表示するステップと、
(g) 前記(f)のステップによって値の種類と各値のデータ件数が表示された項目の中から、一つの項目とその項目の値を指定するステップと、
(h) 前記(g)で項目値が指定される毎に、前記(d)〜(g)のステップの処理を繰り返し実行させるステップと、
を有するデータベースの検索方法。
(A) a step of collectively selecting items to be used for narrowing down data from all items of data arranged in each row of the first database in a tabular format;
(B) For each item selected in the step (a) of the data in the first database, the type of the value and the number of data having each value are acquired, and for each item selected in a batch Displaying the type of the value and the number of data for each value;
(C) a step of designating a value of one item from each item in which the type of value and the number of data items of each value are displayed in the step (b);
(D) Search the first database or the second database created in the step (e) below, and extract data having the item value specified in the step (c) or (g) below And steps to
(E) creating a tabular second database in which the data extracted in step (d) is stored in each row;
(F) Among the items selected in the step (a) of the data in the second database, the items that have not been specified yet in the step (c) or (g) Obtaining the type of value and the number of data of each value, and displaying the type of value and the number of data having each value for the unspecified item;
(G) Specifying one item and the value of the item from the items in which the type of value and the number of data items of each value are displayed in the step (f),
(H) Each time an item value is specified in (g), a step of repeatedly executing the steps (d) to (g);
Search method of database having
JP2008084828A 2008-03-27 2008-03-27 Database search program, search device, and search method Expired - Fee Related JP5061996B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008084828A JP5061996B2 (en) 2008-03-27 2008-03-27 Database search program, search device, and search method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008084828A JP5061996B2 (en) 2008-03-27 2008-03-27 Database search program, search device, and search method

Publications (2)

Publication Number Publication Date
JP2009238027A JP2009238027A (en) 2009-10-15
JP5061996B2 true JP5061996B2 (en) 2012-10-31

Family

ID=41251866

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008084828A Expired - Fee Related JP5061996B2 (en) 2008-03-27 2008-03-27 Database search program, search device, and search method

Country Status (1)

Country Link
JP (1) JP5061996B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5589931B2 (en) * 2011-03-31 2014-09-17 富士通株式会社 Search program, search server device, and search method
JP6565628B2 (en) 2015-11-19 2019-08-28 富士通株式会社 Search program, search device, and search method
JP7211600B1 (en) 2021-08-06 2023-01-24 国立大学法人長岡技術科学大学 Information analysis system
JP7741027B2 (en) * 2022-05-13 2025-09-17 株式会社オービック Display control device, display control method, and display control program

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3167412B2 (en) * 1992-04-28 2001-05-21 富士通株式会社 Database search processor
JPH08171508A (en) * 1994-12-19 1996-07-02 Canon Inc Database management method and apparatus
JP2000112982A (en) * 1998-10-07 2000-04-21 Ricoh Co Ltd Heterogeneous database integration system
JP2000293351A (en) * 1999-04-09 2000-10-20 Fujitsu Ltd Field influence display device and program recording medium
JP2004213347A (en) * 2002-12-27 2004-07-29 Canon Sales Co Inc Database retrieval query generating method, database retrieval method, database retrieval device, program and recording medium
JP2005251002A (en) * 2004-03-05 2005-09-15 Koyo Thermo System Kk Database search system and database search method

Also Published As

Publication number Publication date
JP2009238027A (en) 2009-10-15

Similar Documents

Publication Publication Date Title
US12050598B2 (en) Dynamic dashboard with guided discovery
JP5129743B2 (en) User interface providing summary information or status pane for web analysis tools
US10606855B2 (en) Embedding analytics within transaction search
JP5130222B2 (en) Website visit data set comparison
KR20040058166A (en) Context management super tools and filter/sort model for aggregated display webpages
US11386264B2 (en) Configuring complex tables in a client experience framework
US20130159308A1 (en) Interactive Global Map
US20100185929A1 (en) Software user interface using h-grid navigation
US8578260B2 (en) Apparatus and method for reformatting a report for access by a user in a network appliance
JP5061996B2 (en) Database search program, search device, and search method
JP5237460B2 (en) Database, management server, and management program
JP5129742B2 (en) A technique for incrementally adding segmentation criteria to a dataset
US20070106705A1 (en) System and method for integrating data between computer systems
CN113126849B (en) Spreadsheet interactive mapping virtual system based on database and interactive mapping method
US12189664B2 (en) Using an object model to view data associated with data marks in a data visualization
CN101233483B (en) User interface that provides summary information or status panes in web analytics tools
JP2006127144A (en) Commodity retrieval system, server to be used for the same, commodity retrieving method, and cmmodity retrieving program
JP5982135B2 (en) Data management device
US11899912B2 (en) Smart filtering in an overview page
JP2004287874A (en) Data analysis method and sales support system
JP5716484B2 (en) Document management method, document management apparatus, and document management program
JP2001022770A (en) Storage medium storing database analysis management system and data analysis management control program
Bloor Big data analytics-This time it’s personal
WO2016157707A1 (en) Table operation system, method, and program
JP6487135B2 (en) Sales method at shopping site and server device for operating shopping site

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20101216

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

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

R150 Certificate of patent or registration of utility model

Ref document number: 5061996

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

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees