JPH11191108A - Data retrieval system and record medium - Google Patents

Data retrieval system and record medium

Info

Publication number
JPH11191108A
JPH11191108A JP9358493A JP35849397A JPH11191108A JP H11191108 A JPH11191108 A JP H11191108A JP 9358493 A JP9358493 A JP 9358493A JP 35849397 A JP35849397 A JP 35849397A JP H11191108 A JPH11191108 A JP H11191108A
Authority
JP
Japan
Prior art keywords
data
record
level
parameter
database
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP9358493A
Other languages
Japanese (ja)
Inventor
Terubumi Iwadate
光史 岩館
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP9358493A priority Critical patent/JPH11191108A/en
Publication of JPH11191108A publication Critical patent/JPH11191108A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To easily perform retrieval by digging when retrieving a data base storing records partitioned at plural hierarchical levels. SOLUTION: Concerning a data retrieval system for retrieving data from a data base 4 storing the records partitioned at the plural hierarchical levels, first of all, a parameter is generated for extracting the record at the hierarchical level lower next to the record at the designated level extracted from the data base 4 based on the contents of this record. Next, this generated parameter is made correspondent to display object data to be a display object in the record at the designated level, and the correspondent display object data are displayed. When the display object data are designated by a user, the data base 4 is retrieved by digging while using the parameter made correspondent to these display object data.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明はデータ検索システ
ム、及びデータ検索のためのプログラムが記録された記
録媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data retrieval system and a recording medium on which a data retrieval program is recorded.

【0002】[0002]

【従来の技術】近年、例えばWWWブラウザとWWWサ
ーバーとをインターネット等で接続した構成において、
WWWサーバーがWWWブラウザからの検索依頼により
特定のプログラムを起動してデータベースを検索し、検
索結果をWWWブラウザ側に返すデータ検索システムが
知られている。このときに用いられるプログラムはCG
I(Common Gateway Interface)プログラムと呼ばれ、C
GIはWWWサーバーでプログラムを起動するときの標
準的なインターフェースを意味する。
2. Description of the Related Art In recent years, for example, in a configuration in which a WWW browser and a WWW server are connected via the Internet or the like,
There is known a data search system in which a WWW server starts a specific program in response to a search request from a WWW browser, searches a database, and returns a search result to the WWW browser. The program used at this time is CG
I (Common Gateway Interface) program, C
GI means a standard interface for starting a program on a WWW server.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、上記し
た従来のデータ検索システムにおいて、WWWサーバー
は、WWWブラウザからの指示に基づいて、データの掘
り下げ(ドリルダウン)を行なってその結果をWWWブ
ラウザ側に返すことはできなかった。
However, in the above-described conventional data search system, the WWW server digs down (drills down) the data based on an instruction from the WWW browser and sends the result to the WWW browser. I couldn't return.

【0004】本発明の課題は、複数階層レベルで区分さ
れたレコードを記憶したデータベースを検索するにあた
って、掘り下げによる検索を簡単に行なうことができる
ようにすることである。
An object of the present invention is to make it possible to easily perform a deep search when searching a database storing records divided at a plurality of hierarchical levels.

【0005】[0005]

【課題を解決するための手段】請求項1の発明の手段は
次の通りである。複数階層レベルで区分されたレコード
を記憶したデータベースからデータを検索するデータ検
索システムであって、パラメータ生成手段は、前記デー
タベースから抽出された指定レベルのレコードの内容に
基づいて、このレコードを上位とする1つ下の階層レベ
ルのレコードを抽出するためのパラメータを生成する。
Means of the present invention are as follows. A data retrieval system for retrieving data from a database storing records divided at a plurality of hierarchical levels, wherein the parameter generating means designates this record as a higher order based on the contents of a record of a specified level extracted from the database. A parameter for extracting the record of the next lower hierarchy level is generated.

【0006】対応付け手段は、前記パラメータ生成手段
によって生成されたパラメータと、前記指定レベルのレ
コードの中の表示対象となる表示対象データとを対応付
ける。
The associating means associates the parameter generated by the parameter generating means with display target data to be displayed in the record of the specified level.

【0007】表示手段は、前記対応付け手段によって対
応付けられた上記表示対象データを表示する。検索手段
は、前記表示手段を介して前記表示対象データが指定さ
れたときに、この表示対象データに対応付けられた前記
パラメータを用いて前記データベースを検索する。
[0007] The display means displays the display target data associated by the association means. When the display target data is specified via the display unit, the search unit searches the database using the parameters associated with the display target data.

【0008】また、請求項2の発明の手段は次の通りで
ある。コンピュータが読み取り可能な記録媒体は、デー
タの検索を行なう際に、以下の処理をコンピュータに実
行させるための命令を含むプログラムを格納する。
[0008] The means of the invention of claim 2 is as follows. The computer-readable recording medium stores a program including instructions for causing a computer to execute the following processing when searching for data.

【0009】複数階層レベルで区分されたレコードを記
憶したデータベースからデータを検索するにあたって、
第1の処理は、前記データベースから抽出された指定レ
ベルのレコードの内容に基づいて、このレコードを上位
とする1つ下の階層レベルのレコードを抽出するための
パラメータを生成する処理である。
In retrieving data from a database storing records divided at a plurality of hierarchical levels,
The first process is a process for generating, based on the contents of a record of a specified level extracted from the database, a parameter for extracting a record of a hierarchy level one level lower than this record.

【0010】第2の処理は、この生成されたパラメータ
と、前記指定レベルのレコードの中の表示対象となる表
示対象データとを対応付ける処理である。第3の処理
は、前記表示対象データが指定されたときに、この表示
対象データに対応付けられたパラメータを用いて前記デ
ータベースを検索する処理である。
The second process is a process of associating the generated parameters with display target data to be displayed in the record of the specified level. The third process is a process of searching the database using the parameters associated with the display target data when the display target data is specified.

【0011】次に、請求項1及び2の発明の手段の作用
は次の通りである。複数階層レベルで区分されたレコー
ドを記憶したデータベースからデータを検索するにあた
って、まず、前記データベースから抽出された指定レベ
ルのレコードの内容に基づいて、このレコードを上位と
する1つ下の階層レベルのレコードを抽出するためのパ
ラメータを生成し、この生成されたパラメータと、前記
指定レベルのレコードの中の表示対象となる表示対象デ
ータとを対応付ける。次に、上記表示対象データを表示
し、この表示されている表示対象データが指定されたと
きには、対応付けられた前記パラメータを用いて前記デ
ータベースを検索するようにする。
Next, the operation of the means according to the first and second aspects of the present invention is as follows. In retrieving data from a database storing records divided at a plurality of hierarchical levels, first, based on the contents of a record at a specified level extracted from the database, a record of a next lower hierarchical level having this record as an upper rank is set. A parameter for extracting a record is generated, and the generated parameter is associated with display target data to be displayed in the record of the specified level. Next, the display target data is displayed, and when the displayed display target data is designated, the database is searched using the associated parameter.

【0012】[0012]

【発明の実施の形態】以下に図面を参照して本発明の実
施形態を詳細に説明する。まず本発明の第1実施形態の
概略を説明する。図1は本発明の第1実施形態に係るデ
ータ検索システムのシステム構成図であり、WWWブラ
ウザ1とWWWサーバー2とが図示せぬインターネット
等により接続されている。ここでは、WWWブラウザが
インストールされたマシンをも含めてWWWブラウザと
呼ぶ。WWWサーバーについても同様である。WWWブ
ラウザ1はWWWサーバー2からの検索結果を表示する
ための表示部を備えている。また、WWWサーバー2は
本実施形態による検索を実行するためのCGIプログラ
ム3と複数階層レベルで区分されたレコードを記憶した
データベース4とを備えている。
Embodiments of the present invention will be described below in detail with reference to the drawings. First, an outline of a first embodiment of the present invention will be described. FIG. 1 is a system configuration diagram of a data search system according to a first embodiment of the present invention, in which a WWW browser 1 and a WWW server 2 are connected via the Internet or the like (not shown). Here, a WWW browser is also referred to including a machine on which the WWW browser is installed. The same applies to the WWW server. The WWW browser 1 has a display unit for displaying a search result from the WWW server 2. Further, the WWW server 2 includes a CGI program 3 for executing a search according to the present embodiment and a database 4 storing records divided at a plurality of hierarchical levels.

【0013】このような構成において、WWWブラウザ
1がWWWサーバー2に対してデータの掘り下げの指示
(100)を行なうと、WWWサーバー2はCGIプロ
グラム3を起動する(101)。起動されたCGIプロ
グラム3は、掘り下げの内容を表すパラメータを用いて
階層別に集計された複数のデータからなるデータベース
4を検索し、その検索結果に基づいて次の集計レベルの
HTML文書を作成する(102)。WWWサーバー2
はこのHTML文書を受け取ってWWWブラウザ1に送
信する(103)。
In such a configuration, when the WWW browser 1 instructs the WWW server 2 to dig into the data (100), the WWW server 2 starts the CGI program 3 (101). The started CGI program 3 searches the database 4 composed of a plurality of data totalized for each hierarchy using the parameters indicating the details of the drilling, and creates an HTML document of the next totaling level based on the search result ( 102). WWW server 2
Receives this HTML document and transmits it to the WWW browser 1 (103).

【0014】以下に、上記した概略を図2のフローチャ
ートに示す処理の流れに基づいて詳細に説明する。ここ
で、本実施形態で扱われるデータは、商品のセグメント
名が品目、ジャンル、製品の3レベルの階層によって集
計されたデータであるものとする。すなわち、管理項目
である売上金額が上記の3レベルの階層で集計されてい
るものとする。
Hereinafter, the above outline will be described in detail based on the flow of processing shown in the flowchart of FIG. Here, it is assumed that the data handled in the present embodiment is data in which the segment names of commodities are totaled according to three levels of hierarchy of items, genres, and products. That is, it is assumed that the sales amounts, which are management items, are totaled in the three levels of hierarchy.

【0015】図3はこのような階層別に集計されたデー
タを全て印刷した例を示している。図4は図3に示すデ
ータをデータファイルの形式で表した図である。図4に
おいて、レベルBとレベルCのフィールドの内容が空欄
になっている部分は、このフィールドにはデータが記憶
されていないことを示している。本実施形態では図4に
示すようなデータファイル形式のデータが図1に示すデ
ータベース4に格納されているものとする。
FIG. 3 shows an example in which all the data tabulated for each layer is printed. FIG. 4 is a diagram showing the data shown in FIG. 3 in a data file format. In FIG. 4, a blank portion of the contents of the level B and level C fields indicates that no data is stored in this field. In the present embodiment, it is assumed that data in a data file format as shown in FIG. 4 is stored in the database 4 shown in FIG.

【0016】まず、WWWブラウザ1がWWWサーバー
2のホームページにアクセスすると(ステップS1)、
WWWサーバー2によって検索手段及びパラメータ生成
手段としてのCGIプログラム3が起動される。CGI
プログラム3はトップレベル表示用のHTML文書を作
成する。この時点ではまだデータの掘り下げを行なう前
なのでWWWサーバー2は後述する掘り下げ用のパラメ
ータをWWWブラウザ1から受け取らない。したがっ
て、CGIプログラム3は、 レベルA≠“ ” でかつ、 レベルB=“ ” でかつ、 レベルC=“ ” の抽出条件、すなわち図4において、レベルAにおいて
データが記憶されているフィールドで、レベルB及びレ
ベルCにおいてデータが記憶されていないフィールドを
有するレコードをデータベース3を検索して探す。これ
によって、トップレベルのレコード、すなわち図4のレ
コードNo.1とレコードNo.8のレコードが抽出さ
れる。CGIプログラム3はこれらのレコードの内容に
基づいてトップレベルのHTML文書を作成する。図5
はこのときに作成されたHTML文書を示している。W
WWサーバー2はこのようなHTML文書をWWWブラ
ウザ1に送る(ステップS2)と、WWWブラウザ1は
これを解釈して図6に示すようなトップレベルの表示を
行なう。図6からわかるように、トップレベルの表示で
は2つのレコードの内容、すなわち、“品目A”と“品
目B”と、対応する売上金額(“1000”、“100
0”)のみが表示される。この表の“品目A”と“品目
B”の文字列部分にハイパーリンクであることを示す下
線が付加されており、これらの文字列は掘り下げ用のパ
ラメータであることを示している。また、ここでは図5
のHTML文書のヘッダ部分の表示を省略している。
First, when the WWW browser 1 accesses the home page of the WWW server 2 (step S1),
The WGI server 2 starts a CGI program 3 as a search unit and a parameter generation unit. CGI
Program 3 creates an HTML document for top-level display. At this point, since the data has not yet been drilled down, the WWW server 2 does not receive the drilling parameters described later from the WWW browser 1. Therefore, the CGI program 3 performs the extraction condition of level A ≠ “”, level B = “”, and level C = “”, that is, in FIG. The database 3 is searched for records having fields in which no data is stored at B and level C. Thereby, the top-level record, that is, the record No. in FIG. 1 and record No. Eight records are extracted. The CGI program 3 creates a top-level HTML document based on the contents of these records. FIG.
Indicates the HTML document created at this time. W
When the WWW server 2 sends such an HTML document to the WWW browser 1 (step S2), the WWW browser 1 interprets this and performs a top-level display as shown in FIG. As can be seen from FIG. 6, in the top level display, the contents of the two records, namely, “item A” and “item B”, and the corresponding sales amounts (“1000”, “100”)
0 ”) are displayed. The character strings of“ item A ”and“ item B ”in this table are underlined to indicate that they are hyperlinks, and these character strings are parameters for drilling down. In this case, FIG.
The display of the header portion of the HTML document is omitted.

【0017】ここで、図6に示すようなトップレベルの
表示を実現しているHTML文書は前記した図5に示す
ような内容になっている。ヘッダ10、見出し11の後
に、12で示す部分にハイパーリンクの記述がある。こ
の部分において、drilldown.cgi (13)というのはW
WWサーバー2側で起動されるプログラム(図1のCG
Iプログラム3)の指示パラメータである。また、?の
後の“品目A”の文字列14がこのプログラムに渡され
る掘り下げ用のパラメータである。さらに15、16で
示される部分は実際に表示される表示データである。さ
らに、17で示す部分には“品目B”に関するハイパー
リンクの記述があるが、その意味するところは12で示
す部分のハイパーリンクと同様に考えることができる。
Here, the HTML document realizing the top-level display as shown in FIG. 6 has the content as shown in FIG. After the header 10 and the heading 11, there is a description of a hyperlink at a portion indicated by reference numeral 12. In this part, drilldown.cgi (13) is W
The program started on the WW server 2 (CG in FIG. 1)
This is an instruction parameter of the I program 3). Also,? The character string 14 of "item A" after the character is a parameter for deepening passed to this program. Further, portions indicated by 15 and 16 are display data actually displayed. Further, the portion indicated by 17 has a description of a hyperlink relating to “item B”, and the meaning can be considered in the same manner as the hyperlink of the portion indicated by 12.

【0018】したがって、ユーザが図6におけるハイパ
ーリンクのある“品目A”の文字列をマウス等でクリッ
クすると、このデータがWWWサーバー2側に送られて
(ステップS3)、drilldown.cgi (13)のCGIプ
ログラムが起動されるとともに、掘り下げ用のパラメー
タ“品目A”がこのCGIプログラム3に渡される。C
GIプログラム3は、このパラメータが最下位レベル表
示用のパラメータでないことを確認して(ステップS
4)、パラメータ“品目A”に基づいて掘り下げを行な
って、次の集計レベルのHTML文書をデータベース3
の集計データから作成してWWWブラウザ1に送る(ス
テップS5)。すなわち、まず、掘り下げ用のパラメー
タ“品目A”を受けることより、 レベルA=“品目A” でかつ、 レベルB≠“ ” でかつ、 レベルC=“ ” の抽出条件、すなわち図4において、レベルAにおいて
“品目A”がデータとして記憶されているフィールド
で、かつ、レベルBにおいてデータが記憶されたフィー
ルドで、かつ、レベルCにおいてデータが記憶されてい
ないフィールドを有するレコードをデータベース3を検
索して探す。これにより、レコードNo.2とNo.5
が抽出される。そして、次の掘り下げを指示するパラメ
ータとして、“品目A”と、レベルBの内容(ジャンル
AA又はジャンルBB)をHTML文書のハイパーリン
クの記述の中に埋め込む。これに加えて、実際に表示す
る内容として、レベルBの内容(ジャンルAA又はジャ
ンルBB)と売上金額の内容(300又は700)とを
含めてHTML文書を作成する。このようにして作成さ
れるHTML文書は図8に示すような内容になる。図8
において、21で示される部分にはハイパーリングの記
載がある。この部分において、18は新たに生成された
パラメータであり、“品目A”と“ジャンルAA”とを
合成したものになっている。19、20は実際に表示さ
れる表示データである。22で示す部分には“ジャンル
AB”に関するハイパーリンクがあるが、“ジャンルA
A”についてのハイパーリンクと同様に考えることがで
きる。
Therefore, when the user clicks the character string of "item A" having a hyperlink in FIG. 6 with a mouse or the like, this data is sent to the WWW server 2 (step S3), and drilldown.cgi (13) Is started, and the parameter “item A” for digging is passed to the CGI program 3. C
The GI program 3 confirms that this parameter is not a parameter for displaying the lowest level (step S
4) Drill down based on the parameter “item A” and store the next aggregation level HTML document in the database 3
And sends it to the WWW browser 1 (step S5). That is, first, by receiving the parameter “item A” for in-depth extraction, the extraction condition of level A = “item A”, level B ≠ “”, and level C = “”, that is, in FIG. The database 3 is searched for a record having a field in which “item A” is stored as data in A, a field in which data is stored in level B, and a field in which data is not stored at level C. Search. Thereby, the record No. 2 and No. 5
Is extracted. Then, “item A” and the content of the level B (genre AA or genre BB) are embedded in the hyperlink description of the HTML document as parameters for instructing the next digging. In addition, an HTML document is created including the contents of level B (genre AA or genre BB) and the contents of the sales amount (300 or 700) as the contents to be actually displayed. The HTML document created in this way has the contents as shown in FIG. FIG.
In the part indicated by 21, there is a description of a hyper ring. In this part, 18 is a newly generated parameter, which is a combination of "item A" and "genre AA". 19 and 20 are display data actually displayed. A hyperlink related to “genre AB” is shown in the portion indicated by 22, but “genre A”
Similar to the hyperlink for A ".

【0019】このようにして作成されたHTML文書を
WWWサーバー2を介してWWWブラウザ1に送ると図
7に示すような表示がなされる。図7において、次にユ
ーザが終了を要求しないで(ステップS7)、“ジャン
ルAB”の文字列をマウス等でクリックすると、このこ
とがWWWサーバー2に送られる(ステップS3)。こ
こで、CGIプログラム3はこの掘り下げ用のパラメー
タが最下位レベル表示用のパラメータであることを確認
した上で(ステップS4)、掘り下げにより最下位レベ
ル表示用のHTML文書を作成してWWWブラウザ1に
送る(ステップS6)。すなわち、まず、掘り下げ用の
パラメータ“品目A,ジャンルAB”を受けることよ
り、 レベルA=“品目A” でかつ、 レベルB=“ジャンルAB” でかつ、 レベルC≠“ ” の抽出条件、すなわち図4において、レベルAにおいて
“品目A”がデータとして記憶されているフィールド
で、かつ、レベルBにおいて“ジャンルAB”がデータ
として記憶されたフィールドで、かつ、レベルCにおい
てデータが記憶されているフィールドを有するレコード
をデータベース3を検索して探す。これにより、ジャン
ルABの1つ下のレベルである“製品ABA”と“製品
ABB”の2つのレコード(レコードNo.6、No.
7)が抽出される。そして、実際に表示する内容とし
て、レベルCの内容(製品ABA、ABB)と売上金額
の内容(300、400)とを含めてHTML文書を作
成する。また、このHTML文書は再下位レベル表示用
のHTML文書であるのでハイパーリンクの記述は行な
わず掘り下げ用パラメータの埋め込みも行なわない。こ
のようにして作成されたHTML文書をWWWサーバー
2を介してWWWブラウザ1に送ると図9に示すような
表示がなされる。このとき表示される内容にはハイパー
リンクの記述は行なわれていないので“製品ABA”と
“製品ABB”には下線が付与されていない。最後にス
テップS7で終了の要求があったことを確認して終了す
る。上記した第1実施形態によれば、HTML文書に掘
り下げ用パラメータを埋め込んでこれをハイパーリンク
として作成し、これをWWWブラウザにより表示させ、
ハイパーリンクが付与された部分をマウス等でクリック
されることに対応して掘り下げを行なうようにしたの
で、ユーザは簡単な操作で掘り下げを行なうことができ
る。また、掘り下げ用パラメータはそのつど自動的に生
成するので、データベースのデータが更新されてもHT
ML文書の作成において更新された後のデータを反映さ
せることができる。
When the HTML document thus created is sent to the WWW browser 1 via the WWW server 2, a display as shown in FIG. 7 is made. In FIG. 7, if the user does not request the end (step S7), and clicks the character string of "Genre AB" with a mouse or the like, this is sent to the WWW server 2 (step S3). Here, the CGI program 3 confirms that the parameter for indentation is a parameter for displaying the lowest level (step S4), creates an HTML document for indentation by indentation, and creates a WWW browser 1 (Step S6). That is, first, by receiving the in-depth parameter “item A, genre AB”, the extraction condition of level A = “item A”, level B = “genre AB”, and level C ≠ “”, that is, In FIG. 4, at level A, a field where "item A" is stored as data, at level B, a field where "genre AB" is stored as data, and at level C, data is stored. The database 3 is searched for records having fields. Thereby, two records (record No. 6, No. 6) of “product ABA” and “product ABB” which are one level below genre AB.
7) is extracted. Then, an HTML document is created including the contents of level C (products ABA and ABB) and the contents of the sales amount (300 and 400) as the contents to be actually displayed. Further, since this HTML document is an HTML document for lower level display, it does not describe a hyperlink and does not embed an in-depth parameter. When the HTML document created in this way is sent to the WWW browser 1 via the WWW server 2, a display as shown in FIG. 9 is made. Since no hyperlink is described in the displayed content, “Product ABA” and “Product ABB” are not underlined. Finally, in step S7, it is confirmed that there is a termination request, and the processing is terminated. According to the above-described first embodiment, the in-depth parameters are embedded in the HTML document and are created as hyperlinks, which are displayed by a WWW browser,
Since the digging is performed in response to the clicking of the hyperlinked portion with the mouse or the like, the user can dig down with a simple operation. In addition, the parameters for drilling are automatically generated each time, so even if the data in the database is updated, the HT
Data updated after the creation of the ML document can be reflected.

【0020】また、あらかじめ階層別に集計されたデー
タを使用するので、集計演算を行なうことなしに検索結
果を高速に表示することができる。また、必要とするレ
ベルでかつ、絞り込まれたデータのみをWWWブラウザ
側に転送するので転送するデータの量が少なくて済み、
これによって検索結果を高速に表示することができる。
Further, since the data that has been totaled for each hierarchy is used in advance, the retrieval result can be displayed at high speed without performing the totaling operation. Also, since only the narrowed data at the required level is transferred to the WWW browser, the amount of data to be transferred is small,
As a result, search results can be displayed at high speed.

【0021】さらに、画面上でトップダウンのデータ分
析が可能となるので、図3に示す印刷例のように全ての
データを印刷して見る必要がなくなる。なお、上記した
実施形態では集計レベルを3レベルとしたが、レコード
をそれ以上のレベルに区別して記憶するようにしてもよ
い。また、管理項目の数やレコードの総数についても上
記の実施形態のものに限定されない。
Furthermore, since top-down data analysis can be performed on the screen, it is not necessary to print and view all data as in the print example shown in FIG. In the above-described embodiment, the totaling level is set to three levels. However, records may be stored in different levels. Further, the number of management items and the total number of records are not limited to those in the above embodiment.

【0022】さらに上記した実施形態ではWWWブラウ
ザとWWWサーバーとがインターネットを介して接続さ
れている場合を想定したが、これに限定されず、1つの
オフィス内にWWWブラウザとWWWサーバーとが1つ
のシステムとして配置されていてもよいことは勿論であ
る。
Further, in the above-described embodiment, it is assumed that the WWW browser and the WWW server are connected via the Internet. However, the present invention is not limited to this, and one WWW browser and one WWW server are provided in one office. Of course, it may be arranged as a system.

【0023】以下、図10を参照して本発明の第2実施
形態を説明する。第2実施形態では、帳票作成用サーバ
によって作成された帳票データを上記した第1実施形態
の構成で利用することを意図している。すなわち、図1
0において、帳票作成サーバ203はクライアント20
5からの依頼により所定のプログラムを起動してスペッ
クファイルと集計データを作成してデータベース204
に格納する。このようにして作成されたデータをWWW
サーバー200にデータベース201として登録してお
き、WWWブラウザ202からの指示に応じて掘り下げ
たデータを表示するようにする。すなわち、WWWサー
バー200は、スペックファイルから表のヘッダや見出
しの内容などを取り出し、集計データはそのまま、必要
なレベルで絞り込みをしてHTML文書を作成してWW
Wブラウザ202により表示するようにする。上記した
第2実施形態によれば、帳票として印刷するためのスペ
ックファイルと集計データとをそのまま利用できるとい
う利点がある。
Hereinafter, a second embodiment of the present invention will be described with reference to FIG. The second embodiment intends to use the form data created by the form creation server in the configuration of the first embodiment. That is, FIG.
0, the form creation server 203
5 starts a predetermined program in response to a request from 5 and creates a specification file and total data, and
To be stored. The data created in this way is
The data is registered in the server 200 as a database 201, and in-depth data is displayed according to an instruction from the WWW browser 202. That is, the WWW server 200 extracts the contents of the table headers and headings from the specification file, creates the HTML document by narrowing down the aggregated data at a necessary level as it is, and
It is displayed by the W browser 202. According to the above-described second embodiment, there is an advantage that the specification file for printing as a form and the aggregation data can be used as they are.

【0024】[0024]

【発明の効果】請求項1及び2に記載の発明によれば、
複数階層レベルで区分されたレコードを記憶したデータ
ベースを検索するにあたって、掘り下げによる検索を簡
単に行なうことができるようになる。
According to the first and second aspects of the present invention,
When searching a database that stores records divided at a plurality of hierarchical levels, it is possible to easily perform a deep search.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の第1実施形態に係るデータ検索システ
ムのシステム構成図である。
FIG. 1 is a system configuration diagram of a data search system according to a first embodiment of the present invention.

【図2】第1実施形態におけるデータ検索としての掘り
下げ動作を説明するためのフローチャートである。
FIG. 2 is a flowchart for explaining a digging operation as a data search in the first embodiment.

【図3】階層別に集計されたデータを全て印刷した例を
示す図である。
FIG. 3 is a diagram illustrating an example in which all data aggregated for each layer is printed.

【図4】図3に示すデータをデータファイルの形式で表
した図である。
FIG. 4 is a diagram showing the data shown in FIG. 3 in a data file format.

【図5】トップレベルの表示を行なうためのHTML文
書の内容を示す図である。
FIG. 5 is a diagram showing the contents of an HTML document for performing top-level display.

【図6】WWWブラウザによってトップレベルの表示を
行なった例を示す図である。
FIG. 6 is a diagram illustrating an example in which a top-level display is performed by a WWW browser.

【図7】WWWブラウザによって品目Aの下のレベルを
表示した例を示す図である。
FIG. 7 is a diagram showing an example in which a level below item A is displayed by a WWW browser.

【図8】図7に示すような品目Aの下のレベルの表示を
行なうためのHTML文書の内容を示す図である。
8 is a diagram showing the contents of an HTML document for displaying a lower level of item A as shown in FIG.

【図9】品目Aの下でジャンルABの下のレベルを表示
した例を示す図である。
FIG. 9 is a diagram showing an example of displaying a level below a genre AB under an item A;

【図10】本発明の第2実施形態を説明するためのシス
テム構成図である。
FIG. 10 is a system configuration diagram for explaining a second embodiment of the present invention.

【符号の説明】[Explanation of symbols]

1…WWWブラウザ、 2…WWWサーバー、 3…CGIプログラム、 4…データベース、 100…掘り下げ指示、 101…CGIプログラムの起動、 102…次の集計レベルのHTML文書のWWWサーバ
ーへの送信、 103…次の集計レベルのHTML文書のWWWブラウ
ザへの送信。
DESCRIPTION OF SYMBOLS 1 ... WWW browser, 2 ... WWW server, 3 ... CGI program, 4 ... database, 100 ... digging instruction, 101 ... activation of CGI program, 102 ... Transmission of the next aggregation level HTML document to WWW server 103 ... Next Transmission of the HTML document of the aggregation level of the above to the WWW browser.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 複数階層レベルで区分されたレコードを
記憶したデータベースからデータを検索するデータ検索
システムであって、 前記データベースから抽出された指定レベルのレコード
の内容に基づいて、このレコードを上位とする1つ下の
階層レベルのレコードを抽出するためのパラメータを生
成するパラメータ生成手段と、 このパラメータ生成手段によって生成されたパラメータ
と、前記指定レベルのレコードの中の表示対象となる表
示対象データとを対応付ける対応付け手段と、 この対応付け手段によって対応付けられた上記表示対象
データを表示する表示手段と、 この表示手段を介して前記表示対象データが指定された
ときに、この表示対象データに対応付けられた前記パラ
メータを用いて前記データベースを検索する検索手段
と、 を具備することを特徴とするデータ検索システム。
1. A data retrieval system for retrieving data from a database storing records divided at a plurality of hierarchical levels, wherein the record is identified as a higher level based on the contents of a record of a specified level extracted from the database. Parameter generation means for generating a parameter for extracting a record at the next lower hierarchy level, parameters generated by the parameter generation means, and display target data to be displayed in the record at the specified level. A display unit for displaying the display target data associated with the display unit; and a display unit that displays the display target data when the display target data is designated via the display unit. Search means for searching the database using the attached parameters Data retrieval system characterized by comprising a.
【請求項2】 複数階層レベルで区分されたレコードを
記憶したデータベースからデータを検索するにあたっ
て、前記データベースから抽出された指定レベルのレコ
ードの内容に基づいて、このレコードを上位とする1つ
下の階層レベルのレコードを抽出するためのパラメータ
を生成する処理と、 この生成されたパラメータと、前記指定レベルのレコー
ドの中の表示対象となる表示対象データとを対応付ける
処理と、 前記表示対象データが指定されたときに、この表示対象
データに対応付けられたパラメータを用いて前記データ
ベースを検索する処理と、 をコンピュータに実行させるための命令を含むプログラ
ムを格納した、コンピュータが読み取り可能な記録媒
体。
2. When retrieving data from a database storing records divided at a plurality of hierarchical levels, based on the contents of a record of a specified level extracted from the database, the next lower record is set to a higher level. A process of generating a parameter for extracting a record of a hierarchy level; a process of associating the generated parameter with display target data to be displayed in the record of the specified level; And a computer-readable recording medium storing a program that includes a process for causing a computer to execute a process of searching the database using a parameter associated with the display target data when the process is performed.
JP9358493A 1997-12-25 1997-12-25 Data retrieval system and record medium Pending JPH11191108A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9358493A JPH11191108A (en) 1997-12-25 1997-12-25 Data retrieval system and record medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9358493A JPH11191108A (en) 1997-12-25 1997-12-25 Data retrieval system and record medium

Publications (1)

Publication Number Publication Date
JPH11191108A true JPH11191108A (en) 1999-07-13

Family

ID=18459607

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9358493A Pending JPH11191108A (en) 1997-12-25 1997-12-25 Data retrieval system and record medium

Country Status (1)

Country Link
JP (1) JPH11191108A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003337832A (en) * 2002-01-29 2003-11-28 Rolls Royce Plc Database
KR101130528B1 (en) 2004-01-23 2012-03-27 마이크로소프트 코포레이션 Selective multi level expansion of data base via pivot point data

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003337832A (en) * 2002-01-29 2003-11-28 Rolls Royce Plc Database
KR101130528B1 (en) 2004-01-23 2012-03-27 마이크로소프트 코포레이션 Selective multi level expansion of data base via pivot point data

Similar Documents

Publication Publication Date Title
JP4467878B2 (en) Payment-type placement search system and method enabling search list management by advertiser using grouping
US10929487B1 (en) Customization of search results for search queries received from third party sites
US7099861B2 (en) System and method for facilitating internet search by providing web document layout image
US6006217A (en) Technique for providing enhanced relevance information for documents retrieved in a multi database search
US6226655B1 (en) Method and apparatus for retrieving data from a network using linked location identifiers
US7614004B2 (en) Intelligent forward resource navigation
US6041324A (en) System and method for identifying valid portion of computer resource identifier
US8478792B2 (en) Systems and methods for presenting information based on publisher-selected labels
US6850940B2 (en) Automated on-line information service and directory, particularly for the world wide web
KR101191531B1 (en) Search systems and methods using in-line contextual queries
US5982370A (en) Highlighting tool for search specification in a user interface of a computer system
US8826116B2 (en) Creating annotations of transient computer objects
US20080162506A1 (en) Device and method for world wide web organization
US20060184566A1 (en) Crosslink data structure, crosslink database, and system and method of organizing and retrieving information
US20080294978A1 (en) Semantic navigation through web content and collections of documents
EP1148427A1 (en) Method of and system for creating a button type bookmark in a web browser displaying a user-selected part of the corresponding data file
JP2003016085A (en) System, method and program for contents retrieval, and recording medium
KR20000007034A (en) The method for displaying the results of research in web search sites
GB2328050A (en) Network information searching
JP4010058B2 (en) Document association apparatus, document browsing apparatus, computer-readable recording medium recording a document association program, and computer-readable recording medium recording a document browsing program
JP5423470B2 (en) Name identification check support device, name identification check support program, and name identification check support method
JPH11191108A (en) Data retrieval system and record medium
WO2000007133A1 (en) Method and system for applying user specified hyperlinks
JP2002132808A (en) Retrieval service device
JP5187064B2 (en) Web resource tracking management program, Web resource tracking management device, and Web resource tracking management method