JPH10293764A - Structured document database retrieving method, structured document database retrieval system and recording medium - Google Patents

Structured document database retrieving method, structured document database retrieval system and recording medium

Info

Publication number
JPH10293764A
JPH10293764A JP9102159A JP10215997A JPH10293764A JP H10293764 A JPH10293764 A JP H10293764A JP 9102159 A JP9102159 A JP 9102159A JP 10215997 A JP10215997 A JP 10215997A JP H10293764 A JPH10293764 A JP H10293764A
Authority
JP
Japan
Prior art keywords
document
keyword
input
search
structured document
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP9102159A
Other languages
Japanese (ja)
Other versions
JP3643943B2 (en
Inventor
Masatomo Goto
正智 後藤
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 JP10215997A priority Critical patent/JP3643943B2/en
Publication of JPH10293764A publication Critical patent/JPH10293764A/en
Application granted granted Critical
Publication of JP3643943B2 publication Critical patent/JP3643943B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To provide a retrieving method of a structured document database which easily designates an element of an object to be retrieved, easily inputs a keyword to the element and performs retrieval in a short time even at the time of retrieving a structured document that is unknown to a user in a retrieving method to a database which accumulates element names that constitute document and structured documents in which the hierarchical structure of an element is defined. SOLUTION: This device shows a document format diagram that defines layout positions of contents of an element, accepts an input of a keyword that is associated with the layout position of the document format diagram, identifies an element that is an object to be retrieved through the layout position where a keyword in inputted, retrieves the content of the identified element based on an inputted keyword and acquires a document.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、例えば SGML (Sta
ndard Generalized Markup Language :ISO 8879)で記述
された文書のように、文書を構成するエレメントの名
称、及びエレメントの階層構造が定義された構造化文書
が蓄積されているデータベースに対する検索方法、検索
システム及びそのデータベースに対する検索のコンピュ
ータプログラムが記録されている記録媒体に関する。
[0001] The present invention relates to, for example, SGML (Sta
A method for searching a database storing a structured document in which the names of elements constituting the document and the hierarchical structure of the elements are defined, such as a document described in ndard Generalized Markup Language (ISO 8879), a search system, and the like. The present invention relates to a recording medium on which a computer program for searching the database is recorded.

【0002】[0002]

【従来の技術】アメリカでは、国防総省、多くの学術研
究機関がSGMLを導入しており、民生利用も拡大してい
る。また、インターネットで人気が高いWWW (World-Wid
e Web)で流通しているコンテンツも、HTML (Hyper Text
Markup Language) で記述された構造化文書である。ま
た、インターネット/イントラネットの普及により、イ
ンターネットの場合は世界中の文書に、イントラネット
の場合は会社のようなグループ内の文書にネットワーク
を通じてアクセスできるようになっている。
2. Description of the Related Art In the United States, the Pentagon and many academic research institutions have introduced SGML, and consumer use is expanding. In addition, WWW (World-Wid
e-Web), HTML (Hyper Text
It is a structured document described in Markup Language). The spread of the Internet / intranet has made it possible to access documents all over the world in the case of the Internet and documents in a group such as a company in the case of the intranet through the network.

【0003】特にイントラネットの普及で、社内文書の
ような定型文書が電子化されて蓄積されるようになり、
ペーパーレス化が促進されている。アメリカ国防総省
が、企業活動に関わるすべての情報を電子化してオンラ
イン上で情報交換できるようにしようと展開しているCA
LS (Continuous Acquisition and Life-cycle Support)
プロジェクトでは、情報交換にSGMLを採用しているの
で、構造化文書はより一般的になると考えられる。
[0003] In particular, with the spread of the intranet, standard documents such as in-house documents have been digitized and stored.
Paperless is being promoted. The U.S. Department of Defense is deploying CA to digitize all information related to business activities so that information can be exchanged online
LS (Continuous Acquisition and Life-cycle Support)
Because the project uses SGML for information exchange, structured documents are likely to be more common.

【0004】構造化文書は論理構造を持っているため、
この論理構造を利用することで検索が高速にしかも容易
に行える。即ち、SGML文書は文書型定義 (DTD)により文
書の構造が定義され、その構造は図11に示すようなツリ
ー構造で表される。従って、例えば、「レポート」とい
うエレメントが「宛先」「タイトル」「本文」「担当」
及び「発信元」のエレメントから構成され、これらの中
の「本文」が「概要」及び「詳細」のエレメントから構
成されている文書構造を持つ文書群から、「○○さん」
を宛先として発信されたレポートを検索する場合、全文
を検索の対象としなくても、「宛先」のエレメントを指
定し、「○○さん」をキーワードとして検索すればよ
い。
[0004] Since a structured document has a logical structure,
By using this logical structure, retrieval can be performed at high speed and easily. That is, the structure of an SGML document is defined by a document type definition (DTD), and the structure is represented by a tree structure as shown in FIG. Therefore, for example, if the element "report" is "address", "title", "body", "charge"
From the document group having a document structure in which the “body” is composed of “summary” and “detail” elements.
When searching for a report sent to the destination, the element of “destination” may be specified and the search may be performed using “xx” as a keyword without searching the full text.

【0005】[0005]

【発明が解決しようとする課題】しかし、構造化文書に
おいて上述のような検索を行おうとする場合、ユーザ
は、キーワードを与えるときに検索対象とすべき文書構
造を指定しなければならないので構造化文書の文書構造
を把握しておく必要がある。
However, when performing a search as described above in a structured document, the user has to specify the document structure to be searched when giving a keyword, so that the structured It is necessary to know the document structure of the document.

【0006】例えば、ユーザは、図11のような8つのエ
レメントからなるツリー構造のノード毎に付けられてい
るタグ名(エレメント名)を把握して、「○○さん」に
発信されたレポートを検索する場合は、「宛先」という
エレメント名が検索対象であることを指定し、「○○さ
ん」をキーワードとして入力してやらなければならな
い。
For example, the user grasps the tag name (element name) assigned to each node of the tree structure composed of eight elements as shown in FIG. 11, and reports the report transmitted to “Mr. When searching, it is necessary to specify that the element name "destination" is to be searched, and to input "san" as a keyword.

【0007】従って、このような検索手法は、高速に検
索ができるにもかかわらず、構造化文書の文書構造を把
握しておかなければならないという負担が大きいため、
ユーザは、従来の全文検索の手法、リレーショナルデー
タベースの検索手法等を用いる方が検索が容易であると
感じる。
[0007] Therefore, such a search method has a large burden that the document structure of the structured document must be grasped, although the search can be performed at high speed.
The user feels that the search is easier if a conventional full-text search method, a relational database search method, or the like is used.

【0008】本発明はこのような問題点を解決するため
になされたものであって、構造化文書の文書構造の図式
をエレメント名を用いてユーザに示し、図式上のエレメ
ント名に対してユーザがキーワードを入力したエレメン
トを対象として検索することにより、文書構造がユーザ
にとって未知である構造化文書を検索する場合であって
も、検索対象のエレメントの指定、及びそのエレメント
に対するキーワードの入力が容易であって、検索が短時
間で行える構造化文書データベースの検索方法、検索シ
ステム及び構造化文書データベース検索のコンピュータ
プログラムが記録されている記録媒体の提供を目的とす
る。
SUMMARY OF THE INVENTION The present invention has been made to solve such a problem, and a diagram of a document structure of a structured document is shown to a user using an element name. Makes it easy to specify an element to be searched and input a keyword for that element even when searching for a structured document whose document structure is unknown to the user by searching for the element for which the keyword has been input. It is another object of the present invention to provide a structured document database search method, a search system, and a recording medium on which a computer program for structured document database search is recorded in which a search can be performed in a short time.

【0009】[0009]

【課題を解決するための手段】図1は本発明の構造化文
書データベース検索方法を実施するシステムの構成図で
ある。表示装置1は、エレメント名を用いた、エレメン
トの内容のレイアウト位置を規定した文書フォーマット
図、構造化文書の文書構造の所定の階層の構造、又はエ
レメントの階層構造の構造図といった、構造化文書の文
書構造の図式と図式上のエレメント名に対するキーワー
ドの入力画面、検索対象のエレメントがキーワードを入
力されたエレメントだけであるか、下位の階層のエレメ
ントを含むかを指定し、またOR、AND の検索条件を指定
する画面、検索結果をディスプレイに表示する。
FIG. 1 is a block diagram of a system for implementing a structured document database search method according to the present invention. The display device 1 uses a structured document such as a document format diagram that specifies the layout position of the content of the element using the element name, a predetermined hierarchical structure of the document structure of the structured document, or a structural diagram of the hierarchical structure of the element. The input screen for the keyword of the document structure diagram and the element name on the diagram. Specify whether the search target element is only the element for which the keyword is input or includes the element of the lower hierarchy. A screen for specifying search conditions and the search results are displayed on the display.

【0010】キーボード、マウス等からなる入力装置2
は、画面に表示された文書構造の図式上のエレメント名
に対してキーワードを入力する手段、またキーワードの
入力方法を指定する手段、検索条件を指定する手段、各
種入力画面の表示命令を入力する手段、及び検索の実行
命令を入力する手段である。
An input device 2 including a keyboard, a mouse, etc.
Means for inputting a keyword for an element name on a diagram of the document structure displayed on the screen, means for specifying a method of inputting a keyword, means for specifying a search condition, and input of display instructions for various input screens And a means for inputting a search execution command.

【0011】インタフェースモジュール3は、入力装置
2を用いた、ユーザによるキーワード、検索条件等の入
力フォームを作成して表示装置1に表示させたり、表示
に対する入力装置2からのユーザの入力を受け付け、そ
の入力から問い合わせ(クエリ)言語を作成してサーチ
エンジン4に渡す。
The interface module 3 creates an input form such as a keyword and a search condition by a user using the input device 2 and displays it on the display device 1 or accepts a user input from the input device 2 for display. A query language is created from the input and passed to the search engine 4.

【0012】サーチエンジン4は渡された問い合わせ言
語により、構造化文書が蓄積されているドキュメントDB
(データベース)7に対して検索を行う。SGMLパーサ5
はDTD を基に、SGML文書を構文解析(パース)してその
妥当性を検証し、SGML文書のエンティティツリーを作成
する。
The search engine 4 uses the passed query language to send a document DB in which structured documents are stored.
(Database) 7 is searched. SGML parser 5
Parses an SGML document based on the DTD, verifies its validity, and creates an entity tree of the SGML document.

【0013】エンティティマネージャ6は構文解析した
結果をドキュメントDB7へ格納し、文書の実体を管理す
る。ドキュメントDB7には、ドキュメントを構成するエ
レメントの名称及びエレメントの階層構造がDTD により
定義された構造化文書がエレメントに分割されて蓄積さ
れている。上述のSGMLパーサ5、エンティティマネージ
ャ6、及びドキュメントDB7によって構成されるSGMLシ
ステムは、構造化文書を構文解析し、エレメントに分割
して格納する機能を提供する。
The entity manager 6 stores the result of the syntax analysis in the document DB 7 and manages the entity of the document. In the document DB 7, a structured document in which the names of the elements constituting the document and the hierarchical structure of the elements are defined by the DTD is divided into elements and stored. The SGML system constituted by the SGML parser 5, the entity manager 6, and the document DB 7 provides a function of parsing a structured document, dividing the structured document into elements, and storing the divided elements.

【0014】スタイルシートDB9は、SGML文書のDTD に
応じた文書成形の規則を定めたスタイルシートが蓄積さ
れている。DSSSL エンジン8は、構文解析されたSGML文
書を、スタイルシートDB9に蓄積されている、SGML文書
のDTD に応じた文書成形の規則を定めたスタイルシート
に沿って表示するための文書成形を行う。上述のDSSSL
エンジン8及びスタイルシートDB9によって構成される
DSSSL システムは、SGML文書を表示するための機能を提
供する。
The style sheet DB 9 stores a style sheet that defines a rule for forming a document according to the DTD of the SGML document. The DSSSL engine 8 forms a document for displaying the parsed SGML document according to a style sheet stored in the style sheet DB 9 and defining a document forming rule according to the DTD of the SGML document. DSSSL mentioned above
Consists of engine 8 and style sheet DB 9
The DSSSL system provides a function for displaying SGML documents.

【0015】インタフェースモジュール3は、SGMLシス
テム(5,6,7) から文書構造を読み出し、表示形式に沿っ
て表示装置1に入力フォームを出力し、またDSSSL シス
テム(8,9) と連携してキーワードを取得する。サーチエ
ンジン4はSGMLシステム(5,6,7) 及びDSSSL システム
(8,9) と連携して、与えられたクエリに応じて検索を行
う。
The interface module 3 reads a document structure from the SGML system (5, 6, 7), outputs an input form to the display device 1 in accordance with a display format, and cooperates with the DSSSL system (8, 9). Get keywords. Search engine 4 is SGML system (5,6,7) and DSSSL system
Search in accordance with the given query in cooperation with (8,9).

【0016】本発明の構造化文書データベース検索方
法、構造化文書検索システム及び記録媒体は、インタフ
ェースモジュール3が、ドキュメントDB7に蓄積されて
いるDTD 、及びスタイルシートDB9に蓄積されているそ
のDTD のスタイルシートによって、エレメントの内容の
レイアウト位置を規定した文書フォーマット図を、表示
装置1に、例えば枠組みで表示し、文書フォーマット図
のレイアウト位置の上下左右等、レイアウト位置に対応
付けたキーワードの入力を受け付け、キーワードが入力
されたレイアウト位置によって検索対象のエレメントを
識別する。サーチエンジン4は、入力されたキーワード
に基づいて、ドキュメントDB7に蓄積されているドキュ
メントの中の、インタフェースモジュール3が識別した
エレメントの内容を検索し、文書を獲得する。
According to the structured document database search method, structured document search system and recording medium of the present invention, the interface module 3 has the DTD stored in the document DB 7 and the DTD style stored in the style sheet DB 9. A document format diagram defining the layout position of the content of the element by the sheet is displayed on the display device 1 in, for example, a frame, and an input of a keyword corresponding to the layout position such as up, down, left, or right of the layout position of the document format diagram is received. The element to be searched is identified by the layout position where the keyword is input. The search engine 4 searches the content of the element identified by the interface module 3 in the document stored in the document DB 7 based on the input keyword, and acquires the document.

【0017】また、本発明の構造化文書データベース検
索方法、構造化文書検索システム及び記録媒体は、イン
タフェースモジュール3が、ドキュメントDB7に蓄積さ
れているDTD によって、まずエレメントの階層構造のう
ち、所定の階層に属するエレメント名とその階層関係を
表す情報とを表示装置1に表示し、表示したエレメント
名及びその階層関係を表す情報とに基づく、エレメント
名を表示すべき階層の指定を受け付け、指定された階層
のエレメント名を、その階層関係を表す情報とともに表
示装置1に表示し、エレメント名に対応付けた、例えば
ダイアログボックスへのキーワードの入力を受け付け、
キーワードが入力されたエレメント名によって検索対象
のエレメントを識別する。サーチエンジン4は、入力さ
れたキーワードに基づいて、ドキュメントDTD 7に蓄積
されているドキュメントの中の、インタフェースモジュ
ール3が識別したエレメントの内容を検索し、文書を獲
得する。
Further, in the structured document database search method, structured document search system and recording medium of the present invention, the interface module 3 uses the DTD stored in the document DB 7 to first determine a predetermined one of the element hierarchical structure. The element names belonging to the hierarchy and the information representing the hierarchical relationship are displayed on the display device 1. Based on the displayed element names and the information representing the hierarchical relationship, the designation of the hierarchy in which the element names are to be displayed is received, and the designated hierarchy is received. The display unit 1 displays the element name of the hierarchy with the information indicating the hierarchical relationship on the display device 1 and receives an input of a keyword, for example, in a dialog box associated with the element name
The search target element is identified by the element name in which the keyword is input. The search engine 4 searches the content of the element identified by the interface module 3 in the document stored in the document DTD 7 based on the input keyword, and acquires the document.

【0018】さらに、本発明の構造化文書データベース
検索方法、構造化文書検索システム及び記録媒体は、イ
ンタフェースモジュール3が、ドキュメントDB7に蓄積
されているDTD によって、検索対象のエレメントを含む
文書を構成する全てのエレメントのエレメント名を用い
て、エレメントの階層構造を示す構造図を表示し、この
構造図のエレメント名に対応付けた、例えばダイアログ
ボックスへのキーワードの入力を受け付け、キーワード
が入力されたエレメント名によって検索対象のエレメン
トを識別する。サーチエンジン4は、入力されたキーワ
ードに基づいて、ドキュメントDTD 7に蓄積されている
ドキュメントの中の、インタフェースモジュール3が識
別したエレメントの内容を検索し、文書を獲得する。
Further, in the structured document database search method, structured document search system and recording medium of the present invention, the interface module 3 configures a document including an element to be searched by the DTD stored in the document DB 7. Using the element names of all the elements, a structure diagram showing the hierarchical structure of the elements is displayed, and for example, an input of a keyword in a dialog box associated with the element name of the structure diagram is accepted, and the element in which the keyword is input is displayed. Identify the element to be searched by name. The search engine 4 searches the content of the element identified by the interface module 3 in the document stored in the document DTD 7 based on the input keyword, and acquires the document.

【0019】従って、本発明の構造化文書データベース
検索方法、構造化文書検索システム及び記録媒体は、文
書構造がユーザにとって未知である構造化文書を検索す
る場合であっても、検索対象のエレメントの指定、及び
そのエレメントに対するキーワードの入力が容易であっ
て、検索を短時間で行うことができる。
Therefore, the structured document database search method, structured document search system and recording medium of the present invention provide a method for searching a structured document whose document structure is unknown to a user, even when searching for a structured document. It is easy to specify and input a keyword for the element, and search can be performed in a short time.

【0020】[0020]

【発明の実施の形態】以下に、本発明の構造化文書デー
タベース検索方法(以下、本発明方法という)を図に基
づいて説明する。まず、本発明方法に、前述の文書フォ
ーマット図であるスタイル情報を用いる場合について、
図2のキーワード入力の説明図、図3のフローチャー
ト、及び図4のキーワード入力例の図に基づき説明す
る。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A structured document database search method according to the present invention (hereinafter, referred to as the present method) will be described below with reference to the drawings. First, in the method of the present invention, a case where style information, which is the above-described document format diagram, is used,
The description will be made based on the explanatory diagram of the keyword input of FIG. 2, the flowchart of FIG. 3, and the diagram of the keyword input example of FIG.

【0021】SGMLでは文書型定義(DTD) で文書の型、即
ち、章、節、項といった文書構造を定義する。インタフ
ェースモジュール3は、ドキュメントDB7に格納されて
いるSGML文書のDTD を読み出し、「レポート」「手紙」
といった、ツリー構造の最上位の階層のエレメントを一
覧表示する。
In SGML, a document type is defined by a document type definition (DTD), that is, a document structure such as a chapter, a section, and a section is defined. The interface module 3 reads out the DTD of the SGML document stored in the document DB 7, and outputs “report”, “letter”
The list of elements at the highest level of the tree structure, such as

【0022】ユーザは、画面に一覧表示されたDTD の中
から、検索する文書の型に合ったDTD として、例えば
「レポート」を選択して、スタイル情報を表示すべきDT
D を決定する(ステップS1)。DSSSL エンジン8は、
決定されたDTD 、本例では「レポート」の文書成形の規
則を定めたスタイルシートをスタイルシートDB9から読
み込み(ステップS2)、フローオブジェクトを生成し
て、図2に示すような「レポート」の文書フォーマット
図を表示装置1に表示する(ステップS3)。
The user selects, for example, "report" from the DTDs listed on the screen as the DTD suitable for the type of the document to be searched, and selects the DT for which style information is to be displayed.
D is determined (step S1). DSSSL Engine 8
The determined DTD, in this example, a style sheet that defines the rules for forming the document “report” is read from the style sheet DB 9 (step S2), a flow object is generated, and the “report” document as shown in FIG. The format diagram is displayed on the display device 1 (step S3).

【0023】この文書フォーマット図により、ユーザは
その文書構造を知らなくても、「レポート」が、「宛
先」「発信元」「タイトル」「本文」及び「担当」のエ
レメントから構成され、「本文」が「概要」及び「詳
細」のエレメントから構成されていることと、それぞれ
のエレメントの内容の表示されるレイアウト位置がどの
辺りであるかを、その枠組みで視覚的に把握することが
できる。
According to this document format diagram, even if the user does not know the document structure, the "report" is composed of the elements of "destination", "source", "title", "body", and "charge". Is composed of “summary” and “detail” elements, and the layout position where the content of each element is displayed can be visually grasped in the framework.

【0024】インタフェースモジュール3は、表示され
た文書フォーマット図に対してキーワードの入力がある
か否かを監視し(ステップS4)、キーワードが入力さ
れた場合は、その入力位置から、キーワードが入力され
たエレメントを判定する。インタフェースモジュール3
は、入力されたキーワードからクエリを作成してサーチ
エンジン4に渡す(ステップS5)。サーチエンジン4
はインタフェースモジュール3から渡されたクエリによ
り、ドキュメントDB7の中の検索対象のエレメントの内
容を検索して目的の文書を獲得する(ステップS6)。
The interface module 3 monitors whether or not a keyword has been input to the displayed document format diagram (step S4). If a keyword has been input, the keyword is input from the input position. Judge the element that has changed. Interface module 3
Creates a query from the input keywords and passes it to the search engine 4 (step S5). Search engine 4
Retrieves the contents of the element to be searched in the document DB 7 by the query passed from the interface module 3 to obtain the target document (step S6).

【0025】このとき、図4に示すように、複数のエレ
メントに対するキーワードの入力が可能である。複数の
エレメントに対してキーワードが入力された場合、イン
タフェースモジュール3は、入力された複数のキーワー
ドとデフォルトで設定されている検索条件(OR検索又は
AND 検索)とからクエリを作成するか、又は、図4に示
すように、検索条件の入力画面を表示してユーザに選択
を促し、選択された検索条件と入力されたキーワードと
からクエリを作成する。
At this time, as shown in FIG. 4, it is possible to input a keyword for a plurality of elements. When keywords are input for a plurality of elements, the interface module 3 searches the input keywords and search conditions (OR search or
AND search), or, as shown in FIG. 4, display a search condition input screen to prompt the user to make a selection, and create a query from the selected search condition and the entered keyword. I do.

【0026】例えば、「タイトル」エレメントにキーワ
ード「見積もり」が、また「担当」エレメントにキーワ
ード「富士太郎」が入力され、AND 検索を行う場合は、
「タイトル」エレメントの中に文字列「見積もり」が含
まれるとともに、「担当」エレメントの中に文字列「富
士太郎」が含まれる文書を検索する。上述の入力でOR検
索を行う場合は、エレメント「タイトル」の中に文字列
「見積もり」が含まれるか、又はエレメント「担当」の
中に文字列「富士太郎」が含まれる文書を検索する。
For example, when the keyword “estimate” is entered in the “title” element and the keyword “Fujitaro” is entered in the “in charge” element and an AND search is performed,
The document in which the character string "estimate" is included in the "title" element and the character string "Fujitaro" is included in the "in charge" element is searched. When performing an OR search with the above input, a document in which the character string "estimate" is included in the element "title" or the character string "Fujitaro" is included in the element "in charge" is searched.

【0027】図4は、検索条件の指定においてエレメン
ト間の関係( and ,or) を表したリンクを別のリンクの
対象とする場合の入力例を示している。「宛先」エレメ
ントにキーワード「経理」、「発信元」エレメントにキ
ーワード「経理」、「タイトル」エレメントにキーワー
ド「見積もり」、「担当」エレメントにキーワード「富
士太郎」が入力されている。
FIG. 4 shows an input example in the case where a link indicating the relationship (and, or) between elements is designated as another link in the specification of the search condition. The keyword “accounting” is input in the “destination” element, the keyword “accounting” is input in the “source” element, the keyword “estimate” is input in the “title” element, and the keyword “Fujitaro” is input in the “charge” element.

【0028】入力したキーワードによって、「AND 検
索」「OR検索」「複合検索」のいずれを実行するかをユ
ーザに選択させるために、例えばボタン、メニュー等を
表示する。さらに「複合検索」においては「AND リン
ク」「ORリンク」のいずれを設定するかをユーザに選択
させるためのボタン、メニュー等を表示する。
Buttons, menus, and the like are displayed in order to allow the user to select one of “AND search”, “OR search”, and “composite search” based on the input keyword. Further, in the “composite search”, a button, a menu, and the like are displayed for allowing the user to select one of “AND link” and “OR link”.

【0029】例えば、ユーザが、ボタン、メニュー等の
「複合検索」及び「AND リンク」を選択し、ポインタP
によって「発信元」、「タイトル」、及び「担当」エレ
メントを指定すると、これらのエレメントが、例えば実
線で結ばれ、AND リンクが設定されたことが表示され
る。次に、ユーザが「ORリンク」を選択し、AND リンク
の実線と、「宛先」エレメントをポインタPによって指
定すると、AND リンクの実線と「宛先」エレメントと
が、例えば破線で結ばれ、ORリンクが設定されたことが
表示される。
For example, the user selects “combined search” and “AND link” such as buttons and menus, and
When the "source", "title", and "charge" elements are specified, these elements are connected by, for example, a solid line, and it is displayed that an AND link has been set. Next, when the user selects “OR link” and designates the solid line of the AND link and the “destination” element by the pointer P, the solid line of the AND link and the “destination” element are connected by, for example, a broken line, and the OR link is connected. Is displayed.

【0030】以上の設定の結果、「発信元」エレメント
に文字列「経理」が含まれ、かつ「タイトル」エレメン
トに文字列「見積もり」が含まれ、かつ「担当」エレメ
ントに文字列「富士太郎」が含まれる文書か、又は「宛
先」エレメントに文字列「経理」が含まれる文書を検索
するクエリが作成される。
As a result of the above setting, the character string "accounting" is included in the "source" element, the character string "estimate" is included in the "title" element, and the character string "Fujitaro" is included in the "charge" element. Is created, or a query is created to search for documents that contain the string "Accounting" in the "destination" element.

【0031】さらに、検索条件として、キーワードが入
力されたエレメントだけを検索対象とする「単体検索」
か、そのエレメントの下位の階層のエレメントも検索対
象に含む「階層検索」かを選択することもできるように
なっている。
Further, as a search condition, a "simple search" in which only an element for which a keyword is input is to be searched.
Alternatively, it is possible to select "hierarchical search" in which an element in a lower hierarchy of the element is also included in the search target.

【0032】なお、検索条件の選択方法はメニュー、ボ
タンに限定されるものではなく、文字入力、番号選択等
の他の選択方法も可能である。また、複合検索における
AND リンク、ORリンクの別を表す方法は実線、破線等の
線種による方法に限らず、線の色を変える、AND/ORの文
字で表示する等の他の方法であってもよい。さらに、必
ずしも表示しなくてもよい。
The selection method of the search condition is not limited to the menu and the button, but other selection methods such as character input and number selection are also possible. Also, in compound search
The method of expressing the distinction between the AND link and the OR link is not limited to a method using a line type such as a solid line or a broken line, but may be another method such as changing the color of the line or displaying the character with AND / OR. Furthermore, it is not always necessary to display.

【0033】次に、本発明方法にエレメント構造情報の
みを用いる場合について、図5のキーワード入力の説明
図、図6のフローチャート、及び図7のキーワード入力
例の図に基づいて説明する。前述の場合と同様に、イン
タフェースモジュール3は、ドキュメントDB7に格納さ
れているSGML文書のDTD を読み出し、「レポート」「手
紙」といった、ツリー構造の最上位の階層の一覧を表示
するが、本例ではリスト形式で表示する(ステップS1
1)。
Next, a case where only the element structure information is used in the method of the present invention will be described with reference to the explanatory diagram of keyword input in FIG. 5, the flowchart of FIG. 6, and the diagram of keyword input example in FIG. As described above, the interface module 3 reads the DTD of the SGML document stored in the document DB 7 and displays a list of the highest hierarchy of the tree structure such as “report” and “letter”. Is displayed in a list format (step S1
1).

【0034】ユーザは、画面にリスト形式で一覧表示さ
れたDTD の中から、検索する文書の型に合ったDTD を決
定する(ステップS12)。このとき、インタフェースモ
ジュール3は、例えば「レポート」の文字列上がクリッ
クされたか、又は「レポート」の欄に設けられた、下位
の階層が存在することを示すマークがクリックされたか
を識別して、エレメントが選択されたか否かを判定する
(ステップS13)。エレメントの欄のマークがクリック
された場合、「レポート」の下位の階層の「宛先」「タ
イトル」…のエレメント名(タグ名)をリスト形式で表
示する(ステップS14)。
The user determines a DTD that matches the type of the document to be searched from among the DTDs displayed in a list on the screen (step S12). At this time, the interface module 3 identifies, for example, whether the character string of “report” is clicked or the mark provided in the column of “report” indicating that a lower hierarchy exists is clicked. It is determined whether an element has been selected (step S13). If the mark in the element column is clicked, the element names (tag names) of “destination”, “title”,... In the lower hierarchy of “report” are displayed in a list format (step S14).

【0035】「レポート」の階層の場合と同様、下位の
階層のエレメントの文字列上がクリックされたか、又は
エレメントの欄に設けられているマークがクリックされ
たかを識別して、エレメントが選択されたか否かを判定
する(ステップS13)。例えば、「本文」のエレメント
の欄のマークがクリックされた場合は、さらに下位の階
層のタグリストを表示する(ステップS14)。
As in the case of the “report” layer, the element is selected by identifying whether the character string of the element of the lower layer has been clicked or the mark provided in the element column has been clicked. It is determined whether or not it has been performed (step S13). For example, when the mark in the column of the "body" element is clicked, a tag list of a lower hierarchy is displayed (step S14).

【0036】一方、エレメントの文字列がクリックされ
た場合は、キーワードの入力画面を表示し、カーソルを
点滅させてキーワードの入力待ちとなる(ステップS1
5)。キーワードが入力されると、検索の開始が指示さ
れたか否かをチェックし(ステップS16)、検索の開始
が指示されない場合はステップS13に戻って、ユーザか
らの次の入力待ちになる。
On the other hand, when the character string of the element is clicked, a keyword input screen is displayed, and the cursor blinks to wait for a keyword input (step S1).
Five). When the keyword is input, it is checked whether or not a search start has been instructed (step S16). If the search has not been instructed, the process returns to step S13 to wait for the next input from the user.

【0037】前述の場合と同様、入力したキーワードに
よって、「AND 検索」「OR検索」「複合検索」のいずれ
を実行するかをユーザに選択させるために、例えばボタ
ン、メニュー等を表示する。さらに「複合検索」におい
ては「AND リンク」「ORリンク」のいずれを設定するか
をユーザに選択させるためのボタン、メニュー等を表示
する。また、前述の場合と同様、検索条件として、キー
ワードが入力されたエレメントだけを検索対象とする
「単体検索」か、そのエレメントの下位の階層のエレメ
ントも検索対象に含む「階層検索」かを選択することも
できるようになっている。
As in the case described above, for example, buttons, menus, and the like are displayed in order to allow the user to select one of “AND search”, “OR search”, and “composite search” based on the input keyword. Further, in the “composite search”, a button, a menu, and the like are displayed for allowing the user to select one of “AND link” and “OR link”. In addition, as in the case described above, as the search condition, select either “simple search”, which searches only the element for which the keyword is input, or “hierarchical search”, which includes the elements of the lower hierarchy of the element as the search target. You can also do it.

【0038】検索の開始が指示されると、インタフェー
スモジュール3は、入力されたキーワードからクエリを
作成して(ステップS17)サーチエンジン4に渡し、サ
ーチエンジン4はインタフェースモジュール3から渡さ
れたクエリにより、ドキュメントDB7の中の検索対象の
エレメントの内容を検索して目的の文書を獲得する(ス
テップS18)。
When the start of the search is instructed, the interface module 3 creates a query from the input keyword (step S17) and passes it to the search engine 4. The search engine 4 receives the query from the interface module 3 according to the query. Then, the contents of the element to be searched in the document DB 7 are searched to obtain the target document (step S18).

【0039】このとき、図7に示すように、複数のエレ
メントに対するキーワードの入力が可能である。複数の
エレメントに対してキーワードが入力された場合、イン
タフェースモジュール3は、入力された複数のキーワー
ドとデフォルトで設定されている検索条件(OR検索又は
AND 検索)とからクエリを作成するか、又は、図7に示
すように、検索条件の入力画面を表示してユーザに選択
を促し、選択された検索条件と入力されたキーワードと
からクエリを作成する。
At this time, as shown in FIG. 7, it is possible to input a keyword for a plurality of elements. When keywords are input for a plurality of elements, the interface module 3 searches the input keywords and search conditions (OR search or
AND search) or, as shown in FIG. 7, a search condition input screen is displayed to prompt the user to make a selection, and a query is created from the selected search condition and the entered keyword. I do.

【0040】図7のようなキーワード入力で、AND 検索
と単体検索とが選択された場合、「レポート」エレメン
トに文字列「経理」が含まれ、かつ「タイトル」エレメ
ントに文字列「見積もり」が含まれ、かつ「本文」エレ
メントに文字列「FMV 」が含まれる文書を検索するクエ
リが作成される。
When the keyword search as shown in FIG. 7 selects the AND search and the simplex search, the character string “Accounting” is included in the “Report” element, and the character string “Estimate” is included in the “Title” element. A query is created to search for documents that are included and that contain the string “FMV” in the “body” element.

【0041】また図7のようなキーワード入力で、OR検
索と単体検索とが選択された場合、「レポート」エレメ
ントに文字列「経理」が含まれるか、又は「タイトル」
エレメントに文字列「見積もり」が含まれるか、又は
「本文」エレメントに文字列「FMV 」が含まれる文書を
検索するクエリが作成される。なお、各エレメントに与
えるキーワードにAND 、OR、正規表現を記述することも
できる。
When the OR search and the simple search are selected by the keyword input as shown in FIG. 7, the character string "Accounting" is included in the "Report" element, or the "Title"
A query is created to search for documents whose element contains the string "estimate" or whose "body" element contains the string "FMV". In addition, AND, OR, and a regular expression can be described in the keyword given to each element.

【0042】図7のようなキーワード入力で、AND 検索
と階層検索とが選択された場合、「レポート」エレメン
トより下位のエレメントに文字列「経理」が含まれ、か
つ「タイトル」エレメントに文字列「見積もり」が含ま
れ、かつ「本文」エレメントより下位のエレメントに文
字列「FMV 」が含まれる文書を検索するクエリが作成さ
れる。
When AND search and hierarchical search are selected in the keyword input as shown in FIG. 7, the character string "Accounting" is included in the element below the "Report" element, and the character string is included in the "Title" element. A query is created to search for a document that includes “estimate” and that has the character string “FMV” in an element below the “body” element.

【0043】以上のように、本例の場合は階層順を追っ
てエレメントの構造図を表示していくので、一画面でエ
レメントの構造を表示できない巨大な構造の構造化文書
に対しても、目的のエレメントにキーワードをスムーズ
に与えることができる。
As described above, in the case of this example, since the element structure diagram is displayed in the order of the hierarchy, even for a large structured document that cannot display the element structure on one screen, Keywords can be given smoothly to the elements.

【0044】次に、本発明方法にエレメント構造情報の
みを用いる他の場合について、図8のキーワード入力の
説明図、図9のフローチャート、及び図10のキーワード
入力例の図に基づいて説明する。前述の場合と同様に、
インタフェースモジュール3は、ドキュメントDB7に格
納されているSGML文書のDTD を読み出し「レポート」
「手紙」といった、ツリー構造の最上位の階層のエレメ
ントを一覧表示する。
Next, another case in which only the element structure information is used in the method of the present invention will be described with reference to the explanatory diagram of keyword input in FIG. 8, the flowchart in FIG. 9, and the example of keyword input in FIG. As before,
The interface module 3 reads out the DTD of the SGML document stored in the document DB 7 and “reports”
List the elements at the top level of the tree structure, such as "letter".

【0045】ユーザは、画面にリスト形式で一覧表示さ
れたDTD の中から、検索する文書の型に合ったDTD を決
定する(ステップS21)。DSSSL エンジン8は、決定さ
れたDTD 、本例では「レポート」の文書成形の規則を定
めたスタイルシートをスタイルシートDB9から読み込
み、フローオブジェクトを生成して、図8に示すよう
な、「レポート」のツリー構造の構造図を表示装置1に
表示する(ステップS22)。
The user determines a DTD that matches the type of the document to be searched from among the DTDs displayed in a list on the screen (step S21). The DSSSL engine 8 reads from the style sheet DB 9 a style sheet that defines the determined DTD, in this example, the rules for forming a document of “report”, generates a flow object, and generates a “report” as shown in FIG. Is displayed on the display device 1 (step S22).

【0046】この構造図により、ユーザはその文書構造
を知らなくても、「レポート」が、「宛先」「発信元」
「タイトル」「本文」及び「担当」のエレメントから構
成され、「本文」が「概要」及び「詳細」のエレメント
から構成されていることを把握することができる。
According to this structural diagram, even if the user does not know the document structure, the "report" can be converted to "destination", "source"
It can be understood that it is composed of elements of "title", "body" and "charge", and that "body" is composed of elements of "summary" and "details".

【0047】インタフェースモジュール3は検索の開始
が指示されたか否かをチェックし(ステップS23)、検
索開始が指示されない場合は、表示した構造図のエレメ
ントに対する選択入力待ちとなる(ステップS24)。い
ずれかのエレメントが選択されると、そのエレメントに
対応付けて、キーワードの入力画面を表示し、カーソル
を点滅させてキーワードの入力待ちとなる(ステップS
25)。
The interface module 3 checks whether a search start has been instructed (step S23). If the search start has not been instructed, the interface module 3 waits for a selection input for an element of the displayed structural diagram (step S24). When any one of the elements is selected, a keyword input screen is displayed in association with the selected element, and the cursor blinks to wait for a keyword input (step S).
twenty five).

【0048】キーワードが入力されると、検索の開始が
指示されたか否かをチェックし(ステップS23)、検索
の開始が指示されない場合は、表示した構造図のエレメ
ントに対する選択入力待ちとなる(ステップS24)。い
ずれかのエレメントが選択されると、そのエレメントに
対応付けて、キーワードの入力画面を表示し、カーソル
を点滅させてキーワードの入力待ちとなる(ステップS
25)。
When the keyword is input, it is checked whether or not the start of the search has been instructed (step S23). If the start of the search has not been instructed, a selection input for the displayed element of the structural drawing is awaited (step S23). S24). When any one of the elements is selected, a keyword input screen is displayed in association with the selected element, and the cursor blinks to wait for a keyword input (step S).
twenty five).

【0049】検索の開始が指示されると、インタフェー
スモジュール3は、入力されたキーワードからクエリを
作成してサーチエンジン4に渡し(ステップS26)、サ
ーチエンジン4はインタフェースモジュール3から渡さ
れたクエリにより、ドキュメントDB7の中の検索対象の
エレメントの内容を検索して目的の文書を獲得する(ス
テップS27)。
When the start of the search is instructed, the interface module 3 creates a query from the input keyword and passes it to the search engine 4 (step S26). Then, the contents of the element to be searched in the document DB 7 are searched to obtain the target document (step S27).

【0050】前述の場合と同様、入力したキーワードに
よって、「AND 検索」「OR検索」「複合検索」のいずれ
を実行するかをユーザに選択させるために、例えばボタ
ン、メニュー等を表示する。さらに「複合検索」におい
ては「AND リンク」「ORリンク」のいずれを設定するか
をユーザに選択させるためのボタン、メニュー等を表示
する。
As in the case described above, for example, buttons, menus, and the like are displayed to allow the user to select one of “AND search”, “OR search”, and “composite search” based on the input keyword. Further, in the “composite search”, a button, a menu, and the like are displayed for allowing the user to select one of “AND link” and “OR link”.

【0051】また、前述の場合と同様、検索条件とし
て、キーワードが入力されたエレメントだけを検索対象
とする「単体検索」か、そのエレメントの下位の階層の
エレメントも検索対象に含む「階層検索」かを選択する
こともできるようになっている。なお、各エレメントに
与えるキーワードにAND 、OR、正規表現を記述すること
ができる。
As in the case described above, as a search condition, a “simple search” in which only an element for which a keyword is input is a search target, or a “hierarchical search” in which an element of a lower hierarchy of the element is also included in the search target You can also choose whether or not. In addition, AND, OR, and a regular expression can be described in the keyword given to each element.

【0052】このとき、図10に示すように、複数のエレ
メントに対するキーワードの入力が可能である。複数の
エレメントに対してキーワードが入力された場合、イン
タフェースモジュール3は、入力された複数のキーワー
ドとデフォルトで設定されている検索条件(OR検索又は
AND 検索)とからクエリを作成するか、又は、図10に示
すように、検索条件の入力画面を表示してユーザに選択
を促し、選択された検索条件と入力されたキーワードと
からクエリを作成する。
At this time, as shown in FIG. 10, it is possible to input a keyword for a plurality of elements. When keywords are input for a plurality of elements, the interface module 3 searches the input keywords and search conditions (OR search or
AND search), or create a query from the selected search condition and the entered keyword by prompting the user to display a search condition input screen as shown in Fig. 10. I do.

【0053】図10のようなキーワード入力で、AND 検索
と単体検索とが選択された場合、「タイトル」エレメン
トに文字列「見積もり」が含まれ、かつ「担当」エレメ
ントに文字列「富士太郎」が含まれる文書を検索するク
エリが作成される。また図10のようなキーワード入力
で、OR検索と単体検索とが選択された場合、「タイト
ル」エレメントに文字列「見積もり」が含まれるか、又
は「担当」エレメントに文字列「富士太郎」が含まれる
文書を検索するクエリが作成される。
When the keyword search as shown in FIG. 10 selects AND search or simplex search, the character string "estimate" is included in the "title" element, and the character string "Fujitaro" is included in the "charge" element. A query is created to search for documents containing. When OR search and simple search are selected by keyword input as shown in Fig. 10, the character string "Estimate" is included in the "Title" element, or the character string "Fujitaro" is A query is created to search for contained documents.

【0054】なお、上述のようなキーワード入力のいず
れかをユーザに選択させるメニュー画面を設けてもよ
い。
A menu screen may be provided to allow the user to select one of the above-described keyword inputs.

【0055】[0055]

【発明の効果】以上のように、本発明の構造化文書デー
タベースの検索方法、検索システム及び記録媒体は、構
造化文書の文書構造の図式をエレメント名を用いてユー
ザに示し、図式上のエレメント名に対してユーザがキー
ワードを入力したエレメントを対象として検索するの
で、文書構造がユーザにとって未知である構造化文書を
検索する場合であっても、検索対象のエレメントの指
定、及びそのエレメントに対するキーワードの入力が容
易であって、検索が短時間で行えるという優れた効果を
奏する。
As described above, the retrieval method, retrieval system, and recording medium for the structured document database of the present invention show the schema of the document structure of the structured document to the user using the element names, and display the elements on the schema. Since the search is performed with respect to the element in which the user inputs a keyword for the name, even when a structured document whose document structure is unknown to the user is searched, the search target element is specified and the keyword for the element is specified. Is easy to input, and an excellent effect that search can be performed in a short time is achieved.

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

【図1】本発明のシステム構成図である。FIG. 1 is a system configuration diagram of the present invention.

【図2】スタイル情報を用いたキーワード入力の説明図
である。
FIG. 2 is an explanatory diagram of keyword input using style information.

【図3】図2による検索方法のフローチャートである。FIG. 3 is a flowchart of a search method according to FIG. 2;

【図4】スタイル情報を用いたキーワード入力例の図で
ある。
FIG. 4 is a diagram illustrating an example of keyword input using style information.

【図5】構造情報を用いたキーワード入力の説明図(そ
の1)である。
FIG. 5 is an explanatory diagram (part 1) of keyword input using structure information.

【図6】図5による検索方法のフローチャートである。FIG. 6 is a flowchart of a search method according to FIG. 5;

【図7】図5の構造情報を用いたキーワード入力例の図
である。
FIG. 7 is a diagram showing an example of keyword input using the structure information of FIG. 5;

【図8】構造情報を用いたキーワード入力の説明図(そ
の2)である。
FIG. 8 is an explanatory diagram (part 2) of keyword input using structure information.

【図9】図8による検索方法のフローチャートである。FIG. 9 is a flowchart of a search method according to FIG. 8;

【図10】図8の構造情報を用いたキーワード入力例の
図である。
FIG. 10 is a diagram illustrating an example of keyword input using the structure information of FIG. 8;

【図11】構造化文書の構造の一例の図である。FIG. 11 is a diagram showing an example of the structure of a structured document.

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

1 表示装置 2 入力装置 3 インタフェースモジュール 4 サーチエンジン 5 SGMLパーサ 6 エンティティマネージャ 7 ドキュメントDB 8 DSSSL エンジン 9 スタイルシートDB DESCRIPTION OF SYMBOLS 1 Display device 2 Input device 3 Interface module 4 Search engine 5 SGML parser 6 Entity manager 7 Document DB 8 DSSSL engine 9 Stylesheet DB

Claims (13)

【特許請求の範囲】[Claims] 【請求項1】 文書を構成するエレメントの名称、及び
エレメントの階層構造が定義され、文書におけるエレメ
ントの内容の表示方法を規定する文書の成形規則が関連
付けられた構造化文書が構造的に分割されて蓄積されて
いる構造化文書データベースに対する検索方法におい
て、 エレメントの内容のレイアウト位置を規定した文書フォ
ーマット図を表示し、 文書フォーマット図の前記レイアウト位置に対応付けた
キーワードの入力を受け付け、 キーワードが入力されたレイアウト位置によって検索対
象のエレメントを識別し、 入力されたキーワードに基づいて、識別したエレメント
の内容を検索し、文書を獲得することを特徴とする構造
化文書データベース検索方法。
1. A structured document in which the names of elements constituting a document and the hierarchical structure of the elements are defined, and a document shaping rule defining a method of displaying the content of the element in the document is associated is structurally divided. In a search method for a structured document database stored and stored, a document format diagram defining a layout position of the content of an element is displayed, an input of a keyword associated with the layout position of the document format diagram is received, and the keyword is input. A structured document database search method comprising: identifying an element to be searched based on a layout position specified; searching for the content of the identified element based on an input keyword; and acquiring a document.
【請求項2】 文書を構成するエレメントの名称、及び
エレメントの階層構造が定義された構造化文書が構造的
に分割されて蓄積されている構造化文書データベースに
対する検索方法において、 所定の階層に位置するエレメント名を、その下位の階層
情報の表示情報とともに表示し、 表示したエレメント名より下位の階層に位置する、エレ
メント名を表示すべき階層の指定を受け付け、 指定された階層のエレメント名を、その階層関係を表す
情報とともに表示し、 表示したエレメント名に対応付けたキーワードの入力を
受け付け、 キーワードが入力されたエレメント名によって検索対象
のエレメントを識別し、 入力されたキーワードに基づき、識別したエレメントの
内容を検索し、文書を獲得することを特徴とする構造化
文書データベース検索方法。
2. A retrieval method for a structured document database in which a structured document in which a name of an element constituting a document and a hierarchical structure of the element are defined is divided and stored in a structured manner. The element name to be displayed is displayed together with the display information of the lower hierarchy information, and the specification of the hierarchy at which the element name is to be displayed, which is located at a lower hierarchy than the displayed element name, is received. The keyword is displayed together with the information indicating the hierarchical relationship, an input of a keyword corresponding to the displayed element name is received, the element to be searched is identified by the element name in which the keyword is input, and the identified element is determined based on the input keyword. Structured document database characterized by searching contents of documents and acquiring documents retrieval method.
【請求項3】 文書を構成するエレメントの名称、及び
エレメントの階層構造が定義された構造化文書が構造的
に分割されて蓄積されている構造化文書データベースに
対する検索方法において、 検索対象のエレメントを含む文書を構成する全てのエレ
メントのエレメント名を用いて、エレメントの階層構造
を示す構造図を表示し、 該構造図のエレメント名に対応付けたキーワードの入力
を受け付け、 キーワードが入力されたエレメント名によって検索対象
のエレメントを識別し、 入力されたキーワードに基づいて、識別したエレメント
の内容を検索し、文書を獲得することを特徴とする構造
化文書データベース検索方法。
3. A retrieval method for a structured document database in which a structured document in which the names of elements constituting a document and the hierarchical structure of the elements are defined is divided and stored in a structured manner. A structure diagram showing the hierarchical structure of the elements is displayed by using the element names of all the elements constituting the containing document, an input of a keyword corresponding to the element name of the structure diagram is received, and the element name in which the keyword is input A structured document database search method characterized in that an element to be searched is identified by using a keyword, and the content of the identified element is searched based on an input keyword to obtain a document.
【請求項4】 文書を構成するエレメントの名称、及び
エレメントの階層構造が定義され、文書におけるエレメ
ントの内容の表示方法を規定する文書の成形規則が関連
付けられた構造化文書が構造的に分割されて蓄積されて
いる構造化文書データベースに対する検索方法におい
て、 キーワードの入力方法の指定を受け付け、 指定された入力方法に応じて、 エレメントの内容のレイアウト位置を規定した文書フォ
ーマット図を表示し、 文書フォーマット図の前記レイアウト位置に対応付けた
キーワードの入力を受け付け、 キーワードが入力されたレイアウト位置によって検索対
象のエレメントを識別し、 又は、 所定の階層に属するエレメント名を、その階層関係を表
す情報とともに表示し、 表示したエレメント名及びその階層関係を表す情報に基
づく、エレメント名を表示すべき階層の指定を受け付
け、 指定された階層のエレメント名を、その階層関係を表す
情報とともに表示し、 表示したエレメント名に対応付けたキーワードの入力を
受け付け、 キーワードが入力されたエレメント名によって検索対象
のエレメントを識別し、 又は、 検索対象のエレメントを含む文書を構成する全てのエレ
メントのエレメント名を用いて、エレメントの階層構造
を示す構造図を表示し、 該構造図のエレメント名に対応付けたキーワードの入力
を受け付け、 キーワードが入力されたエレメント名によって検索対象
のエレメントを識別し、 指定された入力方法によって識別したエレメントの内容
を、入力されたキーワードに基づいて検索し、文書を獲
得することを特徴とする構造化文書データベース検索方
法。
4. A structured document in which a name of an element constituting a document and a hierarchical structure of the element are defined, and a document forming rule defining a display method of the content of the element in the document is associated, is structurally divided. In a search method for a structured document database that has been stored in the form, a keyword input method is specified, and a document format diagram that specifies the layout position of element contents is displayed according to the specified input method. An input of a keyword corresponding to the layout position in the figure is received, an element to be searched is identified by the layout position where the keyword is input, or an element name belonging to a predetermined hierarchy is displayed together with information indicating the hierarchical relationship. The displayed element names and information indicating their hierarchical relationship Receiving the designation of the hierarchy at which the element name is to be displayed, displaying the element name of the designated hierarchy together with the information indicating the hierarchical relationship, accepting the input of the keyword corresponding to the displayed element name, The search target element is identified by the input element name, or a structure diagram showing the hierarchical structure of the element is displayed by using the element names of all the elements constituting the document including the search target element, and The keyword input corresponding to the element name in the figure is accepted, the element to be searched is identified by the element name in which the keyword is input, and the content of the element identified by the specified input method is determined based on the input keyword. A structured document database characterized by searching and acquiring documents Source search method.
【請求項5】 識別したエレメントに加え、該エレメン
トの下位の階層に属するエレメントを検索対象とする請
求項1乃至4のいずれかに記載の構造化文書データベー
ス検索方法。
5. The structured document database search method according to claim 1, wherein in addition to the identified element, an element belonging to a lower hierarchy of the element is to be searched.
【請求項6】 検索対象のエレメントが複数の場合、A
ND検索又はOR検索のいずれかの検索条件で検索を実
行する請求項1乃至5のいずれかに記載の構造化文書デ
ータベース検索方法。
6. When there are a plurality of elements to be searched, A
6. The structured document database search method according to claim 1, wherein the search is performed under one of an ND search and an OR search.
【請求項7】 検索対象のエレメントが複数の場合、A
ND検索及び/又はOR検索の指定を受け付け、指定さ
れた検索条件で検索を実行する請求項1乃至5のいずれ
かに記載の構造化文書データベース検索方法。
7. When there are a plurality of elements to be searched, A
The structured document database search method according to any one of claims 1 to 5, wherein the specification of the ND search and / or the OR search is received, and the search is executed under the specified search conditions.
【請求項8】 文書を構成するエレメントの名称、及び
エレメントの階層構造が定義され、文書におけるエレメ
ントの内容の表示方法を規定する文書の成形規則が関連
付けられた構造化文書が構造的に分割されて蓄積されて
いる構造化文書データベースの検索システムにおいて、 エレメントの内容のレイアウト位置を規定した文書フォ
ーマット図を表示する手段と、 文書フォーマット図の前記レイアウト位置に対応付けた
キーワードの入力を受け付ける手段と、 キーワードが入力されたレイアウト位置によって検索対
象のエレメントを識別する手段と、 入力されたキーワードに基づいて、識別したエレメント
の内容を検索し、文書を獲得する手段とを備えたことを
特徴とする構造化文書データベース検索システム。
8. The structured document in which the names of the elements constituting the document and the hierarchical structure of the elements are defined, and the document shaping rules that define the method of displaying the contents of the elements in the document are associated is structurally divided. Means for displaying a document format diagram defining a layout position of the content of an element, and means for receiving an input of a keyword associated with the layout position of the document format diagram in a retrieval system for a structured document database stored and stored. Means for identifying an element to be searched based on a layout position where a keyword is input, and means for searching the content of the identified element based on the input keyword and acquiring a document. Structured document database search system.
【請求項9】 文書を構成するエレメントの名称、及び
エレメントの階層構造が定義された構造化文書が構造的
に分割されて蓄積されている構造化文書データベースの
検索システムにおいて、 所定の階層に位置するエレメント名を、その下位の階層
情報の表示情報とともに表示する手段と、 表示したエレメント名より下位の階層に位置する、エレ
メント名を表示すべき階層の指定を受け付ける手段と、 指定された階層のエレメント名を、その階層関係を表す
情報とともに表示する手段と、 表示したエレメント名に対応付けたキーワードの入力を
受け付ける手段と、 キーワードが入力されたエレメント名によって検索対象
のエレメントを識別する手段と、 入力されたキーワードに基づき、識別したエレメントの
内容を検索し、文書を獲得する手段とを備えたことを特
徴とする構造化文書データベース検索システム。
9. In a structured document database search system in which a structured document in which the names of elements constituting a document and the hierarchical structure of elements are defined and divided and stored is structurally located at a predetermined level. Means for displaying the element name to be displayed together with the display information of the lower hierarchy information, means for receiving the designation of the hierarchy at which the element name is to be displayed, which is located at a hierarchy lower than the displayed element name, and Means for displaying an element name together with information indicating its hierarchical relationship, means for receiving an input of a keyword associated with the displayed element name, means for identifying an element to be searched by the element name to which the keyword has been input, Search for the content of the identified element based on the entered keyword and obtain a document Means for searching a structured document database.
【請求項10】 文書を構成するエレメントの名称、及
びエレメントの階層構造が定義された構造化文書が構造
的に分割されて蓄積されている構造化文書データベース
の検索システムにおいて、 検索対象のエレメントを含む文書を構成する全てのエレ
メントのエレメント名を用いて、エレメントの階層構造
を示す構造図を表示する手段と、 該構造図のエレメント名に対応付けたキーワードの入力
を受け付ける手段と、 キーワードが入力されたエレメント名によって検索対象
のエレメントを識別する手段と、 入力されたキーワードに基づいて、識別したエレメント
の内容を検索し、文書を獲得する手段とを備えたことを
特徴とする構造化文書データベース検索システム。
10. In a structured document database search system in which a structured document in which the names of elements constituting a document and the hierarchical structure of the elements are defined is divided and stored structurally, an element to be searched is Means for displaying a structural diagram showing the hierarchical structure of the elements using the element names of all the elements constituting the containing document; means for receiving an input of a keyword associated with the element name of the structural diagram; A structured document database comprising: means for identifying an element to be searched based on the element name obtained; and means for searching the content of the identified element based on an input keyword and acquiring a document. Search system.
【請求項11】 文書を構成するエレメントの名称、及
びエレメントの階層構造が定義され、文書におけるエレ
メントの内容の表示方法を規定する文書の成形規則が関
連付けられた構造化文書が構造的に分割されて蓄積され
ている構造化文書データベースに対して検索を実行する
コンピュータでの読み取りが可能なプログラムコード手
段を格納しており、前記コンピュータでの使用が可能な
記録媒体において、 前記プログラムコード手段が、 前記コンピュータに、エレメントの内容のレイアウト位
置を規定した文書フォーマット図を表示させるコード手
段と、 前記コンピュータに、文書フォーマット図の前記レイア
ウト位置に対応付けたキーワードの入力を受け付けさせ
るコード手段と、 前記コンピュータに、キーワードが入力されたレイアウ
ト位置によって検索対象のエレメントを識別させるコー
ド手段と、 前記コンピュータに、入力されたキーワードに基づい
て、識別したエレメントの内容を検索させ、文書を獲得
させるコード手段とを含むことを特徴とする記録媒体。
11. A structured document in which a name of an element constituting a document and a hierarchical structure of the element are defined, and a document forming rule defining a display method of the content of the element in the document is associated, is structurally divided. A computer-readable program code means for executing a search on the structured document database stored and stored, and in a recording medium usable by the computer, wherein the program code means comprises: Code means for causing the computer to display a document format diagram defining a layout position of the content of the element; code means for causing the computer to receive an input of a keyword associated with the layout position of the document format diagram; The keyword entered in the Recording means for identifying an element to be searched by an out position, and code means for causing the computer to search for the content of the identified element based on an input keyword to obtain a document. Medium.
【請求項12】 文書を構成するエレメントの名称、及
びエレメントの階層構造が定義された構造化文書が構造
的に分割されて蓄積されている構造化文書データベース
に対して検索を実行するコンピュータでの読み取りが可
能なプログラムコード手段を格納しており、前記コンピ
ュータでの使用が可能な記録媒体において、 前記プログラムコード手段が、 前記コンピュータに、所定の階層に位置するエレメント
名を、その下位の階層情報の表示情報とともに表示させ
るコード手段と、 前記コンピュータに、表示したエレメント名より下位の
階層に位置する、エレメント名を表示すべき階層の指定
を受け付けさせるコード手段と、 前記コンピュータに、指定された階層のエレメント名
を、その階層関係を表す情報とともに表示させるコード
手段と、 前記コンピュータに、表示したエレメント名に対応付け
たキーワードの入力を受け付けさせるコード手段と、 前記コンピュータに、キーワードが入力されたエレメン
ト名によって検索対象のエレメントを識別させるコード
手段と、 前記コンピュータに、入力されたキーワードに基づき、
識別したエレメントの内容を検索させ、文書を獲得させ
るコード手段とを含むことを特徴とする記録媒体。
12. A computer for executing a search on a structured document database in which a structured document in which the names of elements constituting a document and a hierarchical structure of the elements are defined is divided and stored in a structured manner. A computer-readable recording medium storing readable program code means, wherein the program code means stores, in the computer, an element name located in a predetermined hierarchy, and lower hierarchy information thereof. Code means for displaying together with display information of the following; code means for causing the computer to accept designation of a hierarchy at which an element name is to be displayed, which is located in a hierarchy lower than the displayed element name; and Code that displays the element name of the Code means for causing the computer to receive an input of a keyword associated with the displayed element name; code means for causing the computer to identify an element to be searched by the element name for which the keyword has been input; and , Based on the keywords entered,
Code means for causing the contents of the identified element to be retrieved and to obtain a document.
【請求項13】 文書を構成するエレメントの名称、及
びエレメントの階層構造が定義された構造化文書が構造
的に分割されて蓄積されている構造化文書データベース
に対して検索を実行するコンピュータでの読み取りが可
能なプログラムコード手段を格納しており、前記コンピ
ュータでの使用が可能な記録媒体において、 前記プログラムコード手段が、 前記コンピュータに、検索対象のエレメントを含む文書
を構成する全てのエレメントのエレメント名を用いて、
エレメントの階層構造を示す構造図を表示させるコード
手段と、 前記コンピュータに、該構造図のエレメント名に対応付
けたキーワードの入力を受け付けさせるコード手段と、 前記コンピュータに、キーワードが入力されたエレメン
ト名によって検索対象のエレメントを識別させるコード
手段と、 前記コンピュータに、入力されたキーワードに基づい
て、識別したエレメントの内容を検索させ、文書を獲得
させるコード手段とを含むことを特徴とする記録媒体。
13. A computer for executing a search on a structured document database in which a structured document in which a name of an element constituting a document and a hierarchical structure of the element are defined is structurally divided and stored. In a recording medium which stores readable program code means and which can be used in the computer, the program code means stores, in the computer, elements of all elements constituting a document including an element to be searched By name
Code means for displaying a structural diagram showing a hierarchical structure of elements; code means for causing the computer to receive an input of a keyword associated with an element name of the structural diagram; and an element name for which the keyword has been input to the computer. A recording medium, comprising: code means for identifying an element to be searched by the computer; and code means for causing the computer to search for the content of the identified element based on an input keyword to obtain a document.
JP10215997A 1997-04-18 1997-04-18 Structured document database search method, structured document database search system, and recording medium Expired - Fee Related JP3643943B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10215997A JP3643943B2 (en) 1997-04-18 1997-04-18 Structured document database search method, structured document database search system, and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10215997A JP3643943B2 (en) 1997-04-18 1997-04-18 Structured document database search method, structured document database search system, and recording medium

Publications (2)

Publication Number Publication Date
JPH10293764A true JPH10293764A (en) 1998-11-04
JP3643943B2 JP3643943B2 (en) 2005-04-27

Family

ID=14319957

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10215997A Expired - Fee Related JP3643943B2 (en) 1997-04-18 1997-04-18 Structured document database search method, structured document database search system, and recording medium

Country Status (1)

Country Link
JP (1) JP3643943B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7246107B2 (en) 2003-01-10 2007-07-17 International Business Machines Corporation System and method for creating a data file for use in searching a database
JP2016015113A (en) * 2014-06-30 2016-01-28 バイドゥ オンライン ネットワーク テクノロジー(ペキン) カンパニー リミテッド Method and apparatus for processing input information

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7246107B2 (en) 2003-01-10 2007-07-17 International Business Machines Corporation System and method for creating a data file for use in searching a database
JP2016015113A (en) * 2014-06-30 2016-01-28 バイドゥ オンライン ネットワーク テクノロジー(ペキン) カンパニー リミテッド Method and apparatus for processing input information

Also Published As

Publication number Publication date
JP3643943B2 (en) 2005-04-27

Similar Documents

Publication Publication Date Title
JP3842573B2 (en) Structured document search method, structured document management apparatus and program
US6594669B2 (en) Method for querying a database in which a query statement is issued to a database management system for which data types can be defined
US7739257B2 (en) Search engine
CA2546514C (en) Legal research system
US7293018B2 (en) Apparatus, method, and program for retrieving structured documents
US8117552B2 (en) Incrementally designing electronic forms and hierarchical schemas
JP4343206B2 (en) Structured document search support apparatus and program
JP3914081B2 (en) Access authority setting method and structured document management system
KR100934270B1 (en) Method and system for generating reports using object-oriented programs
JP2002215519A (en) Method and system for web page generation, web page generating program, and recording medium
JP3842576B2 (en) Structured document editing method and structured document editing system
JP3643943B2 (en) Structured document database search method, structured document database search system, and recording medium
JP3842572B2 (en) Structured document management method, structured document management apparatus and program
JPH11288412A (en) Method and system for preparing document, and computer readable recording medium for recording document preparation program
JP2004118543A (en) Method for retrieving structured document, and method, device and program for supporting retrieval
JP3842574B2 (en) Information extraction method, structured document management apparatus and program
KR20020061443A (en) Method and system for data gathering, processing and presentation using computer network
JP4014065B2 (en) Structured document processing device
JP3842575B2 (en) Structured document search method, structured document management apparatus and program
WO2023195051A1 (en) Related information display device, program, and related information display method
JP3910901B2 (en) Document structure search method, document structure search apparatus, and document structure search program
AU2012200686B2 (en) Improved search engine
JP2597286B2 (en) Data processing system
AU2010212480B2 (en) Improved search engine
JP2003271668A (en) Structured data management program, method and device

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040629

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040817

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050118

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20080210

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20090210

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20090210

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20100210

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20110210

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20110210

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20120210

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20130210

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20130210

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20140210

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees