JPH09204350A - Method and system for processing dynamic hyper document generating database - Google Patents

Method and system for processing dynamic hyper document generating database

Info

Publication number
JPH09204350A
JPH09204350A JP8011301A JP1130196A JPH09204350A JP H09204350 A JPH09204350 A JP H09204350A JP 8011301 A JP8011301 A JP 8011301A JP 1130196 A JP1130196 A JP 1130196A JP H09204350 A JPH09204350 A JP H09204350A
Authority
JP
Japan
Prior art keywords
layout
database
information
input sentence
hyper
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
JP8011301A
Other languages
Japanese (ja)
Inventor
Tomoko Kamitsuma
朋子 上妻
Minoru Kiyama
稔 木山
Takeshi Ogiwara
健 荻原
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP8011301A priority Critical patent/JPH09204350A/en
Publication of JPH09204350A publication Critical patent/JPH09204350A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To make it possible to be used generally by retrieving an application table based on layout information so as to obtain prescribed application data and describing this application data so as to generate a hyper document. SOLUTION: A database 200 is provided with a layout control table 210 recording layout information and the application table 220 recording application data. Then a layout retrieving means 110 retrieves the layout control table 210 based on an inputted sentence to obtain prescribed layout information. A database access execution means 120 retrieves the application table 220 based on layout information to obtain prescribed application data. Then a document generation means 130 describes data obtained based on layout information obtained by the layout retrieving means 110 to generate the hyper document.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、動的ハイパー文書
生成データベース処理方法及びシステムに係り、特に、
データベースからある情報に関する文書をコンピュータ
により論理的に結合させて利用できるようにした電子化
された文書であるハイパー文書を端末からの要求時に動
的に生成するための動的ハイパー文書生成データベース
処理方法及びシステムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a dynamic hyper document generation database processing method and system, and more particularly,
Dynamic hyper-document generation database processing method for dynamically generating a hyper document, which is a digitized document that can be used by logically combining documents relating to certain information from a database with a computer, when requested by a terminal And the system.

【0002】ハイパー文書とは、一般の文書、マルチメ
ディア文書及びその他の情報オブジェクトの中に含まれ
ている静的なまたは、動的な情報が互いに結び付けら
れ、同期がとれている場合、それらの情報を含んでいる
文書を指す。ハイパー文書の代表的な例として、WWW
(World Wide Web) 、MHEG(Multimedia Hypermedi
a Expert Group, ISO/IEC JTC1/SC18/WG8, 1991)、HyTi
me(Hypermedia/Time-based Structuring Language, ISO
/IEC 10744, 1992) 、Hyper ODA (Hyper Open Document
Architecuture, ISO/IEC JTC1/SC18/WG3)等が挙げられ
る。
A hyper document is a static document or dynamic information contained in a general document, a multimedia document, and other information objects, which are linked to each other and are synchronized with each other. Refers to a document that contains information. As a typical example of a hyper document, WWW
(World Wide Web), MHEG (Multimedia Hypermedi
a Expert Group, ISO / IEC JTC1 / SC18 / WG8, 1991), HyTi
me (Hypermedia / Time-based Structuring Language, ISO
/ IEC 10744, 1992), Hyper ODA (Hyper Open Document
Architecuture, ISO / IEC JTC1 / SC18 / WG3) etc.

【0003】WWWは、クライアント/サーバ・モデル
に基づく情報システムで、情報を表示するためのブラウ
ザ(クライアント)、ブラウザからの要求に従って情報
を提供するサーバ、ハイパーメディア情報を保持するド
キュメントから構成される。ハイパー文書システムは、
ハイパー文書記述言語、ハイパー文書サーバ、通信プロ
トコル、ハイパー文書記述解釈機構、ハイパー文書参照
表記から構成される。例えば、WWWの場合、情報提供
は以下のように行われる。ハイパー文書サーバであるW
WWサーバ上に存在するHTML(Hypertext Markup L
anguage)で記述されたハイパー文書のファイルをHTT
P(Hypertext Transfer Protcol) の通信プロトコルで
クライアントに送信し、WWWブラウザがHTMLの記
述を解釈し、表示画面を生成し、ティスプレイ上に表示
する。ハイパー文書の参照には、URL(Uniform Reso
urce Locator) と呼ばれる表記が用いられる。
The WWW is an information system based on a client / server model and is composed of a browser (client) for displaying information, a server for providing information in response to a request from the browser, and a document holding hypermedia information. . Hyper Document System
It consists of a hyper document description language, a hyper document server, a communication protocol, a hyper document description interpretation mechanism, and a hyper document reference notation. For example, in the case of WWW, information is provided as follows. W which is a hyper document server
HTML (Hypertext Markup L) existing on the WW server
anguage) hypertext file described in HTT
It is transmitted to the client by the P (Hypertext Transfer Protocol) communication protocol, the WWW browser interprets the HTML description, generates a display screen, and displays it on the display. URLs (Uniform Reso
The notation called urce Locator) is used.

【0004】[0004]

【従来の技術】ハイパー文書は、文書の論理構造を表現
したタグ部と実際の内容を記述したデータ部に分けられ
る。例えば、HTMLで“〈Title 〉商品販売〈/Titl
e〉〈Body〉〈H1〉黒マグロ〈/H1 〉〈H3〉1000円
〈/H3 〉〈Body〉”のような記述が有る場合、〈Title
〉〈/Title〉〈Body〉〈H1〉〈/H1 〉〈H3〉〈/H3 〉
〈Body〉がタグ部であり、“商品販売”、“黒マグ
ロ”、“1000円”がデータ部である。
2. Description of the Related Art A hyper document is divided into a tag part expressing the logical structure of the document and a data part describing the actual contents. For example, in HTML, "<Title> product sales </ Title
e><Body><H1> Black tuna </ H1><H3> 1000 yen </ H3><Body> ”, if there is a description such as <Title
〉 〈/ Title〉 〈Body〉 〈H1〉 〈/ H1〉 〈H3〉 〈/ H3〉
<Body> is the tag part, and “commercial product sales”, “black tuna”, and “1000 yen” are the data parts.

【0005】多量のデータを扱う場合に、このハイパー
文書の特徴を生かし、データ部だけをまとめてデータベ
ース管理システムで管理し、クライアント側から要求が
生じた際に、ハイパー文書記述を動的に生成する方法が
ある。図8は、WWWを例にした従来のハイパー文書生
成データベース処理システムを説明するための図であ
る。
When handling a large amount of data, the characteristics of this hyper document are used to manage only the data part in a database management system, and a hyper document description is dynamically generated when a request is made from the client side. There is a way to do it. FIG. 8 is a diagram for explaining a conventional hyper document generation database processing system using WWW as an example.

【0006】データベースと連携したWWWシステム
は、HTML(ハイパー文書)生成プログラムを有して
いることが特徴である。同図に示すシステムは、WWW
ブラウザ10、WWWサーバ11、HTML生成プログ
ラム12、データベース管理システム16、データベー
ス17より構成される。
A WWW system linked with a database is characterized by having an HTML (hyper document) generation program. The system shown in the figure is WWW
It comprises a browser 10, a WWW server 11, an HTML generation program 12, a database management system 16 and a database 17.

【0007】HTML生成プログラム12は、データベ
ース17をアクセスするDBアクセス部14、HTML
の生成を行う文書生成部13、及びHTMLの論理記述
を格納するタグ格納域15から構成される。HTMLの
データ部は、データベース17に置かれ、データベース
管理システム16によって管理される。WWWブラウザ
10から起動するHTML生成プログラム名が書かれた
URL(Uniform Resouce Locator:ブラウザからのWW
Wドキュメントの指定や、あるWWWドキュメントから
他のドキュメントへのリンクに使用される)が送られて
くると、WWWサーバ11は、対応するHTML生成プ
ログラム12を起動する。
The HTML generation program 12 includes a DB access unit 14 for accessing the database 17 and HTML.
And a tag storage area 15 for storing a logical description of HTML. The HTML data section is placed in the database 17 and managed by the database management system 16. URL (Uniform Resource Locator: WW from the browser) in which the name of the HTML generation program activated from the WWW browser 10 is written
When used to specify a W document or used for linking one WWW document to another document), the WWW server 11 activates the corresponding HTML generation program 12.

【0008】HTML生成プログラム12は、まず、デ
ータベースアクセス部14でデータベース管理システム
16を介して必要なデータをデータベース17から取得
し、次に、文書生成部13において、データベース17
から取得したデータとタグ格納域15の論理構造を統合
してHTML文書を作成し、WWWサーバ11に返却す
る。
The HTML generation program 12 first obtains necessary data from the database 17 via the database management system 16 in the database access unit 14, and then in the document generation unit 13, the database 17 is acquired.
The HTML document is created by integrating the data acquired from the above and the logical structure of the tag storage area 15, and the HTML document is returned to the WWW server 11.

【0009】WWWサーバ11は、生成されたHTML
をクライアントに送り、WWWブラウザ10がこれを解
釈し、ディスプレイに表示する。なお、UTLには、H
TML生成プログラム名の他にデータベース17を検索
するための条件(例えば、“価格が1000円以上”)
を記述することができる。
The WWW server 11 uses the generated HTML.
To the client, and the WWW browser 10 interprets this and displays it on the display. In addition, H
Conditions for searching the database 17 in addition to the TML generation program name (for example, "price is 1000 yen or more")
Can be described.

【0010】上記のように、データ部の管理にデータベ
ース管理システムを使用することにより、共有制御、障
害回復等のDBMSの持つデータ管理機能を使うことが
できると共に、“1000円以上の商品を検索”といっ
た条件検索を行うことができる。
As described above, by using the database management system for managing the data section, the data management functions of the DBMS such as sharing control and failure recovery can be used, and "search for a product of 1000 yen or more" can be performed. It is possible to perform a conditional search such as ".

【0011】[0011]

【発明が解決しようとする課題】しかしながら、上記の
従来のシステムでは、ハイパー文書の論理構造をHTM
L(ハイパー文書)生成プログラムの中に持つため、デ
ータベース、あるいはハイパー文書の論理構造が変わる
と、HTML生成プログラムを修正する必要がある。
However, in the above-mentioned conventional system, the logical structure of the hyper document is changed to HTM.
Since it is included in the L (hyper document) generation program, it is necessary to modify the HTML generation program when the logical structure of the database or the hyper document changes.

【0012】図9において、食品の一覧を表示する食品
HTML生成プログラムAは、一覧を横に並べて表示す
る論理構造(タグ)を持つものとする。自動車の一覧
は、横ではなく縦に並べて表示したいとすると、論理構
造が変わるため、HTML生成プログラムの処理ロジッ
クも変わり、別のプログラムが必要となる。
In FIG. 9, the food HTML generation program A for displaying a list of foods has a logical structure (tag) for displaying the list side by side. If it is desired to display the list of cars vertically instead of horizontally, the logical structure changes, so the processing logic of the HTML generation program also changes, and another program is required.

【0013】また、“黒マグロ”と“紀州みかん”を表
示するための論理構造が異なる場合(図9において、
“黒マグロ”は横書き、“紀州みかん”は縦書きで表
示)は、それぞれの論理構造に対応するHTML生成プ
ログラムを作成する必要がある。さらには、一定のルー
ル(例えば、1000円以下は、横書き、それ以外は縦
書き)により各商品の論理構造を決めることができない
場合は、商品名と対応する論理構造の関係をHTML生
成プログラムの内部で管理する必要が生じる。
When the logical structure for displaying "black tuna" and "kishu mandarin orange" is different (in FIG. 9,
"Black tuna" is written horizontally, and "Kishu mandarin orange" is written vertically). It is necessary to create an HTML generation program corresponding to each logical structure. Furthermore, when the logical structure of each product cannot be determined by a certain rule (for example, horizontal writing for 1000 yen or less, vertical writing for other cases), the relationship between the product name and the logical structure corresponding to the product name is determined by the HTML generation program. It will need to be managed internally.

【0014】このように、従来のシステムでは、ハイパ
ー文書生成プログラムの内部にハイパー文書の論理構造
とデータベースアクセス文を持つため、異なる論理構造
やデータベースに対して異なるハイパー文書作成プログ
ラムが必要である。また、データベースの各レコードと
それに対応する論理構造の関係をHTML生成プログラ
ムの内部に持つ必要があり、対応関係が変わった場合も
プログラムの変更が必要である。
As described above, in the conventional system, the hyper document generation program has the logical structure of the hyper document and the database access statement. Therefore, different hyper document creation programs are required for different logical structures and databases. Further, it is necessary to have the relationship between each record in the database and the corresponding logical structure inside the HTML generation program, and the program must be changed even when the correspondence relationship changes.

【0015】本発明は、上記の点に鑑みなされたもの
で、ハイパー文書の論理構造やデータベース構造が変わ
っても、さらには、各レコードと論理構造の対応関係が
変わっても、プログラムを変更することなく、汎用的に
利用できる動的ハイパー文書生成データベース処理方法
及びシステムを提供することを目的とする。
The present invention has been made in view of the above points, and the program is changed even if the logical structure or database structure of the hyper document is changed, and further, the correspondence between each record and the logical structure is changed. It is an object of the present invention to provide a dynamic hyper-document generation database processing method and system that can be used universally without any need.

【0016】[0016]

【課題を解決するための手段】図1は、本発明の原理を
説明するための図である。本発明は、データを記録した
データベースと、入力文に基づいて該データベースのデ
ータによりハイパー文書を生成して出力するハイパー文
書生成データベース処理方法において、データベース
は、レイアウト情報を記録したレイアウト管理テーブル
とアプリケーションデータを記録したアプリケーション
テーブルから構成され、入力文に基づいてレイアウト情
報を記録したレイアウト管理テーブルを検索して、所定
のレイアウト情報を取得し(ステップ1)、取得してレ
イアウト情報に基づいてアプリケーションテーブルを検
索して所定のアプリケーションデータを取得し(ステッ
プ2)、レイアウト情報に基づいて取得したアプリケー
ションデータを記述してハイパー文書を生成する(ステ
ップ3)。
FIG. 1 is a diagram for explaining the principle of the present invention. The present invention relates to a database in which data is recorded and a hyper document generation database processing method for generating and outputting a hyper document based on the data in the database based on an input sentence, wherein the database is a layout management table in which layout information is recorded and an application. A layout management table, which is composed of an application table in which data is recorded, and in which layout information is recorded, is searched based on an input sentence to obtain predetermined layout information (step 1), and the application table is acquired based on the layout information. To obtain predetermined application data (step 2) and describe the obtained application data based on the layout information to generate a hyper document (step 3).

【0017】また、本発明は、アプリケーションテーブ
ルを検索する際に(ステップ1)、データベースアクセ
ス情報とレイアウトタグ情報から構成されるレイアウト
情報から取得したレイアウト情報の該データベースアク
セス情報に基づいてアプリケーションテーブルを検索す
る。
Further, according to the present invention, when the application table is searched (step 1), the application table is searched based on the database access information of the layout information acquired from the layout information composed of the database access information and the layout tag information. Search for.

【0018】また、本発明は、ハイパー文書を生成する
際に(ステップ3)、取得したレイアウト情報のレイア
ウトタグ情報に基づいて、アプリケーションデータを記
述する。図2は、本発明の原理構成図である。
Further, according to the present invention, when the hyper document is generated (step 3), the application data is described based on the layout tag information of the acquired layout information. FIG. 2 is a block diagram showing the principle of the present invention.

【0019】本発明は、データを記録したデータベース
200と、入力文に基づいて該データベース200のデ
ータによりハイパー文書を生成して出力するハイパー文
書生成手段100とを有するハイパー文書生成システム
において、データベース200は、レイアウト情報を記
録してレイアウト管理テーブル210と、アプリケーシ
ョンデータを記録したアプリケーションテーブル220
を有し、ハイパー文書生成手段100は、入力文に基づ
いてレイアウト管理テーブル210を検索して所定のレ
イアウト情報を取得するレイアウト検索手段110と、
取得したレイアウト情報に基づいてアプリケーションテ
ーブル220を検索して所定のアプリケーションデータ
を取得するデータベースアクセス実行手段120と、レ
イアウト検索手段110が取得したレイアウト情報に基
づいて取得したアプリケーションデータを記述してハイ
パー文書を生成する文書生成手段130とを有する。
The present invention provides a hyper document generation system having a database 200 storing data and a hyper document generation means 100 for generating and outputting a hyper document based on the data of the database 200 based on an input sentence. Is a layout management table 210 in which layout information is recorded and an application table 220 in which application data is recorded.
The hyper document generation unit 100 includes a layout search unit 110 that searches the layout management table 210 based on an input sentence to obtain predetermined layout information,
A database access execution unit 120 that searches the application table 220 based on the acquired layout information to acquire predetermined application data, and a hyper document that describes the application data acquired based on the layout information acquired by the layout search unit 110. And a document generation unit 130 for generating

【0020】また、上記のレイアウト情報は、データベ
ースアクセス情報とレイアウトタグ情報からなる。ま
た、本発明は、レイアウト検索手段が取得したレイアウ
ト情報の置換変数を入力文で与えられた値に変換して変
換されたレイアウト情報のデータベースアクセス情報を
データベースアクセス実行手段に渡し、レイアウト情報
のレイアウトタグ情報を文書生成手段に渡す置換手段を
含む。
The layout information includes database access information and layout tag information. Further, according to the present invention, the substitution variable of the layout information acquired by the layout search means is converted into a value given by the input sentence, and the database access information of the converted layout information is passed to the database access execution means, and the layout of the layout information is changed. It includes a replacement unit that passes the tag information to the document generation unit.

【0021】また、上記の入力文は、リスト入力文また
はセレクト入力文とする。また、上記のデータベースア
クセス実行手段120は、レイアウト検索手段110に
より取得したレイアウト情報のデータベースアクセス情
報に基づいてアプリケーションテーブル220を検索す
る。
The input sentence is a list input sentence or a select input sentence. Further, the database access execution means 120 searches the application table 220 based on the database access information of the layout information acquired by the layout search means 110.

【0022】また、上記の文書生成手段130は、レイ
アウト検索手段110が取得したレイアウト情報のレイ
アウトタグ情報に従ってデータベースアクセス実行手段
120が取得したアプリケーションデータを記述する。
また、上記のレイアウト検索手段110は、入力文がリ
スト入力文である場合には、リスト入力文と同じレイア
ウト名を有するレイアウトを取得する。
The document generation means 130 describes the application data acquired by the database access execution means 120 according to the layout tag information of the layout information acquired by the layout search means 110.
Further, when the input sentence is a list input sentence, the layout search means 110 obtains a layout having the same layout name as the list input sentence.

【0023】また、上記のレイアウト検索手段110
は、入力文がセレクト入力文である場合には、セレクト
入力文のレイアウト参照属性名で示された属性の値を取
得する。また、本発明は、セレクト入力文で指定するレ
イアウト参照属性名を変更する。
Further, the layout search means 110 described above is used.
If the input sentence is a select input sentence, acquires the value of the attribute indicated by the layout reference attribute name of the select input sentence. Further, according to the present invention, the layout reference attribute name designated by the select input sentence is changed.

【0024】このように、本発明において、データベー
ス検索手段は、アプリケーションの定義したデータベー
スから必要な情報を取得し、レイアウト検索手段は取得
されがアプリケーションの情報を表示するためのレイア
ウトをデータベースから取得している。このデータベー
ス検索手段とレイアウト検索手段から取得したアプリケ
ーション情報とレイアウト情報を合成して、当該アプリ
ケーション情報を適合レイアウトで出力することができ
る。
As described above, in the present invention, the database search means acquires necessary information from the database defined by the application, and the layout search means acquires from the database the layout for displaying the acquired information of the application. ing. The application information and the layout information acquired from the database search means and the layout search means can be combined and the application information can be output in a suitable layout.

【0025】従って、新たなプログラムを作成すること
なく、アプリケーションやレイアウトを追加・変更する
ことができる。また、レイアウト検索手段が入力文を受
けて、レイアウト管理クラスを検索して取得したレイア
ウト(DBアクセス文とレイアウトタグ文)を変数置換
部に渡すと、変数置換部がレイアウトの置換変数を入力
文で与えられた値に置換して、変換されたDBアクセス
文をデータベースアクセス実行手段に転送し、変換され
たレイアウトタグ文を文書生成手段に送ることにより、
データベースアクセス実行手段により検索されたアプリ
ケーションクラスを格納しておき、文書生成手段により
当該検索されたアプリケーションクラスを取得したレイ
アウトに置換してWWWサーバに出力することが可能と
なる。
Therefore, the application and layout can be added or changed without creating a new program. Further, when the layout search means receives the input statement and passes the layout (DB access statement and layout tag statement) acquired by searching the layout management class to the variable replacement section, the variable replacement section inputs the replacement variable of the layout into the input statement. By substituting the value given by the above, transferring the converted DB access statement to the database access executing means, and sending the converted layout tag statement to the document generating means,
It is possible to store the application class searched by the database access execution means, replace the searched application class by the document generation means with the acquired layout, and output it to the WWW server.

【0026】さらに、アプリケーションクラス中にレイ
アウト参照属性を複数持つことができるため、セレクト
入力文で指定するレイアウト参照属性名を変更すること
により、1つのレコードから異なるHTML文書を作成
することが可能である。
Further, since a plurality of layout reference attributes can be included in the application class, different HTML documents can be created from one record by changing the layout reference attribute name specified by the select input statement. is there.

【0027】[0027]

【発明の実施の形態】図3は、本発明の動的ハイパー文
書生成データベース処理システムの構成を示す。同図に
示すシステムは、入力文を受け付けるWWWブラウザ1
0、WWWサーバ20、ハイパー文書を生成するHTM
L生成部50、データベース管理システム60、データ
ベース70より構成される。
FIG. 3 shows the configuration of a dynamic hyper-document generation database processing system of the present invention. The system shown in the figure is a WWW browser 1 that accepts input sentences.
0, WWW server 20, HTM to generate hyper document
The L generation unit 50, the database management system 60, and the database 70 are included.

【0028】WWWブラウザ10からハイパー文書参照
表記に基づいて送られた入力文30は、WWWサーバ2
0を経由してHTML生成部50に送られる。HTML
生成部50は、データベース管理システム60に依頼
し、データベース70を検索し、データを取得し、当該
データからハイパー文書記述言語HTMLで表現された
出力文40を生成し、WWWサーバ20を経由してクラ
イアントに送り、WWWブラウザ10がHTMLの記述
を解釈して表示画面を作成し、ディスプレイ上に表示す
る。
The input sentence 30 sent from the WWW browser 10 based on the hyper document reference notation is the WWW server 2
It is sent to the HTML generation unit 50 via 0. HTML
The generation unit 50 requests the database management system 60, searches the database 70, acquires the data, generates the output sentence 40 expressed in the hyper document description language HTML from the data, and outputs the output sentence 40 via the WWW server 20. It is sent to the client, the WWW browser 10 interprets the HTML description, creates a display screen, and displays it on the display.

【0029】HTML生成部50は、レイアウト検索部
51、変数置換部52、データベースアクセス実行部5
3、文書生成部54、検索結果格納域55より構成され
る。データベース70は、レイアウト管理クラス71及
びアプリケーションクラス72より構成される。
The HTML generation section 50 includes a layout search section 51, a variable replacement section 52, and a database access execution section 5.
3, a document generation unit 54, and a search result storage area 55. The database 70 is composed of a layout management class 71 and an application class 72.

【0030】図4は、本発明のレイアウト管理を説明す
るための図である。同図(A)は、レイアウト管理クラ
ス71を示す。データベース70のレイアウト管理クラ
ス71は、レイアウト名711とレイアウト712の組
からなるレコード群から構成される。同図(B)に示す
アプリケーションクラス72は、アプリケーション属性
721と0個以上のレイアウト参照属性722の組から
なるレコード群から構成される。なお、レイアウト参照
属性722は、レイアウト管理クラス71のレイアウト
名711を値として持っており、アプリケーションクラ
スの各レコードと対応するレイアウトを結びつけるため
に使われる。
FIG. 4 is a diagram for explaining the layout management of the present invention. FIG. 16A shows the layout management class 71. The layout management class 71 of the database 70 is composed of a record group including a set of a layout name 711 and a layout 712. The application class 72 shown in FIG. 6B is composed of a record group including a set of an application attribute 721 and zero or more layout reference attributes 722. The layout reference attribute 722 has the layout name 711 of the layout management class 71 as a value, and is used to associate each record of the application class with the corresponding layout.

【0031】同図(C)に示すレイアウト712は、デ
ータベースアクセス文713とレイアウトタグ文714
より構成される。データベースアクセス文713は、例
えば、SQL(ISO/IEC9075: 1992, Information Techn
ology---Database Languages --- SQL) のような標準的
なDBアクセス言語に置換変数を任意の場所に記述でき
るように拡張したものである。
The layout 712 shown in FIG. 7C is a database access statement 713 and a layout tag statement 714.
It is composed of The database access statement 713 is, for example, SQL (ISO / IEC9075: 1992, Information Techn
It is an extension of standard DB access languages such as ology --- Database Languages --- SQL) so that substitution variables can be written anywhere.

【0032】レイアウトタグ文714は、HTMLのよ
うなハイパー文書記述言語に、任意の場所に置換変数を
記述できること、任意の場所に結果参照変数を記述でき
ること、そして、繰り返しタグを記述できることの3点
を拡張したものである。繰り返しタグは、繰り返し開始
タグ(例えば、{LIST}と記述)と繰り返し終了タ
グ(たとえば{/LIST}と記述)の組からなり、開
始タグと終了タグで囲まれた範囲が繰り返し対象とな
る。
The layout tag statement 714 is capable of describing a substitution variable in an arbitrary place in a hyper document description language such as HTML, a result reference variable can be described in an arbitrary place, and a repeat tag can be described. Is an extension of. The repetition tag is made up of a set of a repetition start tag (for example, described as {LIST}) and a repetition end tag (for example, described as {/ LIST}), and a range surrounded by the start tag and the end tag is a repetition target.

【0033】入力文30には、リスト入力文とセレクト
入力文の2種類が存在する。リスト文及びセレクト入力
文はそれぞれ、レイアウト名、条件文、置換変数名=値
の3つの組、レイアウト参照属性名、条件文、置換変数
名=値の3つの組からなる。なお、置換変数名=値は、
0個以上の繰り返しから構成される。
There are two types of input sentence 30: list input sentence and select input sentence. Each of the list sentence and the select input sentence is composed of three sets of layout name, conditional sentence, substitution variable name = value, layout reference attribute name, conditional sentence, substitution variable name = value. Note that the substitution variable name = value is
It consists of zero or more repetitions.

【0034】次に、HTML生成部50について説明す
る。以下のHTML生成部50の説明はリスト入力文が
入力された場合と、セレクト入力文が入力された場合に
分けて説明する。図5は、本発明のHTML生成部のリ
スト入力文が入力された場合の処理のフローチャートで
ある。
Next, the HTML generator 50 will be described. The following description of the HTML generation unit 50 will be made separately when a list input sentence is input and when a select input sentence is input. FIG. 5 is a flowchart of processing when a list input sentence of the HTML generation unit of the present invention is input.

【0035】ステップ101) まず、レイアウト検索
部51は、データベース70のレイアウト管理クラス7
1を検索する。 ステップ102) ここで、入力文(リスト入力文)3
0のレイアウト名と同じ名前を持つレイアウトを取得で
きた場合にはステップ103に移行し、取得できない場
合には、ステップ112のエラー処理を行う。
Step 101) First, the layout search section 51 determines the layout management class 7 of the database 70.
Search for 1. Step 102) Here, the input sentence (list input sentence) 3
If a layout having the same name as the layout name of 0 can be acquired, the process proceeds to step 103, and if it cannot be acquired, an error process of step 112 is performed.

【0036】ステップ103) レイアウト検索部51
は、検索して取得した当該レイアウトを変数置換部52
に送る。変数置換部52は、受け取ったレイアウト(デ
ータベースアクセス文及びレイアウトタグ文)内の文字
列を先頭からサーチし、置換変数が見つかれば、入力文
30にある同じ名前を持つ置換変数の値でレイアウト中
の置換変数を置き換える。この処理をレイアウト中のす
べての置換変数に対して行う。置換後のデータベースア
クセス文、レイアウトタグ文は、それぞれデータベース
アクセス実行部53、文書生成部54に送られる。
Step 103) Layout search section 51
Uses the variable replacement unit 52 for the layout obtained by searching.
Send to The variable replacement unit 52 searches the character strings in the received layout (database access statement and layout tag statement) from the beginning, and if a replacement variable is found, the layout is performed with the value of the replacement variable having the same name in the input statement 30. Replace the substitution variable of. This process is performed for all substitution variables in the layout. The replaced database access statement and layout tag statement are sent to the database access execution unit 53 and the document generation unit 54, respectively.

【0037】ステップ104) データベースアクセス
文を受け取ったデータベースアクセス部53は、入力文
(リスト入力文)30の条件部をデータベースアクセス
文に追加し、当該アクセス文をデータベース管理システ
ムに送り、アプリケーションクラスのレコードを検索
し、その結果を、検索結果格納域55に格納する。検索
結果は、検索対象となったアプリケーション属性と同じ
名前を持ち、かつ検索されたレコードには1から順に番
号を付与するものとする。
Step 104) Upon receipt of the database access statement, the database access unit 53 adds the condition part of the input statement (list input statement) 30 to the database access statement, sends the access statement to the database management system, and sends it to the database management system. The record is searched, and the result is stored in the search result storage area 55. The search result has the same name as the application attribute that is the search target, and the searched records are numbered from 1 in order.

【0038】ステップ105) 文書生成部54は、変
数置換部52から受け取ったレイアウトタグ文の文字列
を先頭から読出し、結果参照変数、あるいは、繰り返し
タグをサーチする。 ステップ106) 結果参照変数が見つかった場合には
ステップ107に移行し、繰り返しタグが見つかった場
合にはステップ108に移行し、これらが見つからずに
文の最後に到達した場合には、ステップ111に移行す
る。
Step 105) The document generating section 54 reads the character string of the layout tag sentence received from the variable replacing section 52 from the beginning, and searches for a result reference variable or a repeating tag. (Step 106) If a result reference variable is found, the process proceeds to step 107, if repeated tags are found, the process proceeds to step 108. If these are not found and the end of the sentence is reached, the process proceeds to step 111. Transition.

【0039】ステップ107) 結果参照変数が見つか
った場合には、検索結果格納域55の第1番目のレコー
ドの結果参照変数と同じ名前を持つ属性の値で結果参照
変数を置換する。ステップ105に移行する。 ステップ108) 繰り返しタグが見つかった場合に
は、結果参照カウンタを1にセットし、結果参照カウン
タが結果数を越えない限り、以下の処理を繰り返す。繰
り返し範囲(繰り返し開始タグと繰り返し終了タグで囲
まれた範囲)を繰り返し開始タグの直前に複写し、その
中の結果参照変数を、結果参照カウンタの値と同じ番号
を持つレコードの検索結果格納域の結果参照変数と同じ
名前を持つ属性の値で結果参照変数を置換する。
Step 107) When the result reference variable is found, the result reference variable is replaced with the value of the attribute having the same name as the result reference variable of the first record in the search result storage area 55. Move to step 105. Step 108) If a repeat tag is found, the result reference counter is set to 1, and the following processing is repeated unless the result reference counter exceeds the number of results. The repeat range (the range enclosed by the repeat start tag and repeat end tag) is copied just before the repeat start tag, and the result reference variable in that is copied to the search result storage area of the record with the same number as the result reference counter value. Replace the result reference variable with the value of the attribute that has the same name as the result reference variable in.

【0040】ステップ109) 繰り返し範囲内のすべ
ての結果参照変数について置換を行った場合には、ステ
ップ110に移行し、結果参照カウンタが結果総数を越
えた場合には、繰り返し範囲を削除し、残りのレイアウ
トのタグ文のサーチを引続き行う(ステップ105に移
行する)。
Step 109) If all the result reference variables in the repetition range have been replaced, the process proceeds to Step 110. If the result reference counter exceeds the total number of results, the repetition range is deleted and the remaining number remains. The tag sentence of the layout is continuously searched (shift to step 105).

【0041】ステップ110) すべての結果参照変数
について置換が完了した場合には、結果参照カウンタに
1を加え、再度ループ処理を行う。 ステップ111) レイアウトタグ中のすべての結果参
照変数及び繰り返しタグに上記の処理を施すと、HTM
L文書が完成し、当該文書を出力文としてWWWサーバ
20に送る。
Step 110) When the replacement is completed for all the result reference variables, 1 is added to the result reference counter and the loop processing is performed again. Step 111) When all the result reference variables in the layout tag and the repetition tag are subjected to the above processing, the HTM
The L document is completed, and the document is sent to the WWW server 20 as an output sentence.

【0042】ステップ112) エラー処理を行い、処
理を終了する。 次に、HTML生成部50にセレクト入力文が入力され
た場合について説明する。図6は、本発明のHTML生
成部にセレクト入力文が入力された場合の処理のフロー
チャートである。
Step 112) An error process is performed and the process ends. Next, a case where a select input sentence is input to the HTML generation unit 50 will be described. FIG. 6 is a flow chart of processing when a select input sentence is input to the HTML generation unit of the present invention.

【0043】ステップ201) レイアウト検索部51
は、セレクト入力文の条件部に適合するレコードをアプ
リケーションクラス72から検索する。このとき、入力
文30の条件部に結果が単一になるような条件を指定す
ることにより、適合するアプリケーションクラス72の
レコードは単一である。
Step 201) Layout search section 51
Searches the application class 72 for a record that matches the condition part of the select input statement. At this time, by designating a condition that results in a single result in the condition part of the input sentence 30, the number of matching application class 72 records is single.

【0044】ステップ202) 検索した結果、そのレ
コードについて入力文のレイアウト参照属性名で示され
た属性の値を取得できた場合には、ステップ203に移
行し、取得できない場合にはステップ211に移行す
る。 ステップ203) ステップ201における検索により
取得した値と同じ名前を持つレイアウトをデータベース
70のレイアウト管理クラス71から検索する。
Step 202) As a result of the search, if the value of the attribute indicated by the layout reference attribute name of the input sentence can be acquired for the record, the process proceeds to step 203, and if not, the process proceeds to step 211. To do. (Step 203) A layout having the same name as the value acquired by the search in Step 201 is searched from the layout management class 71 of the database 70.

【0045】ステップ204) 検索の結果、レイアウ
トが見つかった場合にはステップ205に移行し、見つ
からない場合にはステップ212のエラー処理を行う。 ステップ205) レイアウト検索部51は、レイアウ
トが見つかった場合には、レイアウトをレイアウト管理
クラス71から検索して取得し、変数置換部52に送
る。変数置換部52では、受け取ったレイアウト(デー
タベースアクセス文及びレイアウトタグ文)内の文字列
を先頭からサーチし、置換変数が見つかったなら、入力
文にある同じ名前を持つ置換変数の値でレイアウト中の
置換変数を置き換える。この処理をレイアウト中の全て
の置換変数に対して行う。置換後のデータベースアクセ
ス文、レイアウトタグ文は、それぞれデータベースアク
セス実行部53、文書生成部54に送られる。
Step 204) If the layout is found as a result of the search, the process proceeds to step 205, and if not found, the error process of step 212 is performed. Step 205) When the layout is found, the layout search unit 51 searches for the layout from the layout management class 71, acquires the layout, and sends it to the variable replacement unit 52. In the variable replacement unit 52, the character strings in the received layout (database access statement and layout tag statement) are searched from the beginning, and if a replacement variable is found, the layout is performed with the value of the replacement variable having the same name in the input statement. Replace the substitution variable of. This process is performed for all substitution variables in the layout. The replaced database access statement and layout tag statement are sent to the database access execution unit 53 and the document generation unit 54, respectively.

【0046】ステップ206) データベースアクセス
実行部53は、変数置換部52から取得したデータベー
スアクセス文をデータベース管理システム60に送り、
データベース70のアプリケーションクラス72を検索
し、その結果を検索結果格納域55に格納する。
Step 206) The database access execution part 53 sends the database access statement acquired from the variable substitution part 52 to the database management system 60,
The application class 72 of the database 70 is searched and the result is stored in the search result storage area 55.

【0047】ステップ207) 文書生成部54は、変
数置換部52から受け取ったレイアウトタグ文の文字列
を先頭から読出し、結果参照変数をサーチする。 ステップ208) 結果参照変数が見つかった場合に
は、ステップ209に移行し、サーチの結果、文の最後
に到達した場合には、ステップ210に移行する。
Step 207) The document generating section 54 reads the character string of the layout tag sentence received from the variable replacing section 52 from the beginning and searches the result reference variable. (Step 208) If the result reference variable is found, the process proceeds to step 209, and if the end of the sentence is reached as a result of the search, the process proceeds to step 210.

【0048】ステップ209) 結果参照変数が見つか
った場合には、検索結果格納域55の結果参照変数と同
じ名前を持つ属性の値で結果参照変数を置換する。 ステップ210) 全ての結果参照変数を置換した後、
完成したHTML文書を出力文としてWWWサーバ20
に転送する。
Step 209) When the result reference variable is found, the result reference variable is replaced with the value of the attribute having the same name as the result reference variable in the search result storage area 55. Step 210) After replacing all result reference variables,
The WWW server 20 using the completed HTML document as an output sentence
Transfer to

【0049】なお、レイアウト参照属性は、1つのアプ
リケーションクラス72中に複数持つことができるた
め、セレクト入力文で指定するレイアウト参照属性名を
変えることにより1つのレコードから異なるHTML文
書を作成することが可能である。
Since a plurality of layout reference attributes can be provided in one application class 72, different HTML documents can be created from one record by changing the layout reference attribute name specified by the select input statement. It is possible.

【0050】[0050]

【実施例】以下に、本発明の実施例を図面と共に説明す
る。図7は、本発明の一実施例のデータベースの例を示
す図である。同図(A)は、商品クラス72を示し
(B)は、レイアウト管理クラス71を示す。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 7 is a diagram showing an example of the database according to the embodiment of the present invention. In the figure, (A) shows a product class 72, and (B) shows a layout management class 71.

【0051】同図(B)の商品データベースのレイアウ
ト管理クラス71において、“レイアウト管理クラス”
が以下のようなレイウアトを持つとする。例えば、“一
覧レイアウト”が『レイアウトA』という名前を有す
る。なお、“$”で囲まれる単語は置換変数、“?”で
囲まれている単語は結果参照変数、“{LIST},
{/LIST}はそれぞれ繰り返し開始、終了タグとす
る。
In the layout management class 71 of the product database shown in FIG.
Let's say you have the following lei wat. For example, the “list layout” has the name “layout A”. Note that words surrounded by "$" are substitution variables, words surrounded by "?" Are result reference variables, "{LIST},
{/ LIST} is a repeat start and end tag, respectively.

【0052】DBアクセス文:select商品ID,商品
名、価格from商品クラスwhere $PRICE$ レイアウトタグ文: <H1>商品一覧</H1>{List}<AHREF
=“HTML生成プログラム?(商品レイアウト参照、
商品ID=?,NULL)”>名前:?商品名? </A>?価格?円{/LIST} このとき、次のリスト入力文30 (一覧レイアウトA,NULL,$PRICE$=価格
>500and 価格<1000)がHTML生成部50に
入力されたとする。
DB access statement: select product ID, product name, price from product class where $ PRICE $ Layout tag statement: <H1> Product list </ H1> {List} <AHREF
= "HTML generator? (Refer to product layout,
Product ID =? , NULL) ”> Name :? Product name? </A>? Price? Yen {/ LIST} At this time, the following list input sentence 30 (list layout A, NULL, $ PRICE $ = price> 500 and price <1000) Is input to the HTML generation unit 50.

【0053】 まず、レイアウト検索部51は、デー
タベース70のレイアウト管理クラス71を検索し、入
力文中のレイアウト名、つまり、“一覧レイアウト1”
に対応する名前の『レイアウトA』を取得し、これを変
数置換部52に送る。 変数置換部52では、受け取った『レイアウトA』
内の置換変数“$PRICE$を見つけ、これを入力文
の“価格>500and 価格<1000”で置き換える。
置換後のDBアクセス文は、“select 商品ID,商品
名,価格from商品クラスwhere 価格>500and 価格<
1000”となる。
First, the layout search unit 51 searches the layout management class 71 of the database 70 and finds the layout name in the input sentence, that is, “list layout 1”.
“Layout A” having a name corresponding to is acquired and is sent to the variable replacement unit 52. The variable replacement unit 52 receives the “layout A”
Find the substitution variable "$ PRICE $" in and replace it with "Price> 500 and Price <1000" in the input sentence.
The DB access statement after replacement is “select product ID, product name, price from product class where price> 500and price <
It becomes 1000 ".

【0054】 次に、DBアクセス実行部53では、
前述のDBアクセス文に入力文30の条件部を追加する
が、今の場合、条件部は“NULL”であるので何も追
加されない。DBアクセス文をデータベース管理システ
ム60に送り、2レコードからなる検索結果 (001,A,600),(003,C,700)を取
得し、各レコードに1から順に番号を付与し、検索結果
格納域55に格納する。
Next, in the DB access execution unit 53,
The condition part of the input statement 30 is added to the above-mentioned DB access statement, but in this case, since the condition part is "NULL", nothing is added. A DB access statement is sent to the database management system 60, search results (001, A, 600), (003, C, 700) consisting of 2 records are acquired, numbers are sequentially assigned to each record, and search results are stored. Store in area 55.

【0055】 最後に文書生成部54において、前述
のレイアウトタグ部をサーチし、繰り返し開始タグ{L
ist}を見つけ、繰り返し範囲 『<A HREF =“HTML生成プログラム”?商
品レイアウト参照+条件:商品ID=?商品ID?>名
前:</A>?商品名??価格?』を繰り返し開始タグ
の前に複写する。
Finally, in the document generation section 54, the layout tag section described above is searched, and the repetition start tag {L
ist}, and repeat range "<A HREF =" HTML generation program "? Refer to product layout + conditions: product ID =? Product ID? > Name: </A>? Product name? ? price? Is repeated before the start tag.

【0056】複写した繰り返し範囲内の「参照結果変
数、?商品名??価格?」を検索結果格納部55の第1
番目のレコードの値で置換すると、『<A HREF=
“HTML生成プログラム?(商品レイアウト参照、商
品ID=001,NULL)”>名前:A</A>60
0円』となる。この処理を検索結果数だけ繰り返し、最
後に繰り返し範囲を削除すると、最終的に生成される出
力文書40は以下のようになる。 <H1>商品一覧</H1> <A HREF=“HTML生成プログラム?(商品レ
イアウト参照、商品ID=001,NULL)”>NA
MAE:A</A>600円 <A HREF=“HTML生成プログラム?(商品レ
イアウト参照、商品ID=003,NULL)”>NA
MAE:C</A>700円 このHTML文書がHTML生成部50の出力となり、
WWWブラウザ10により解釈されたディスプレイ上に
表示される。
“Reference result variable ,? Product name ?? Price?” Within the copied repeat range is stored in the first search result storage unit 55.
Substituting the value of the second record yields "<A HREF =
“HTML generation program? (Refer to product layout, product ID = 001, NULL)”> Name: A </A> 60
It will be 0 yen ”. When this process is repeated for the number of search results and the repeating range is deleted at the end, the output document 40 finally generated is as follows. <H1> Product list </ H1><A HREF=“HTML generation program? (Refer to product layout, product ID=001, NULL)”> NA
MAE: A </A> 600 yen <A HREF=“HTML generation program? (Refer to product layout, product ID=003, NULL)”> NA
MAE: C </A> 700 yen This HTML document is output by the HTML generation unit 50,
It is displayed on the display interpreted by the WWW browser 10.

【0057】次に、図7(A)の商品データベースにお
いて、“個別レイアウト1”が以下のようなレイアウト
を持つとする。このレイアウトを『レイアウトB』と呼
ぶ。“?”で囲まれている単語を結果参照変数とする。 DBアクセス文:select商品名, 価格、メーカ名from商
品クラス レイアウトタグ文:<H1>?商品名?</H1><U
L><LI>価格:?価格?円<L1>メーカ名:?メ
ーカ名?</UL> このとき、次のセレクト入力文 (商品レイアウト参照、商品ID=001,NULL)
が、HTML生成部50に入力された場合には以下のよ
うな処理となる。
Next, in the product database of FIG. 7A, it is assumed that "individual layout 1" has the following layout. This layout is called "layout B". The word enclosed by "?" Is the result reference variable. DB access statement: select product name, price, manufacturer name from product class Layout tag statement: <H1>? Product name? </ H1><U
L><LI> Price :? price? Yen <L1> Manufacturer name :? Manufacturer's name? </ UL> At this time, the next select input sentence (see product layout, product ID = 001, NULL)
Is input to the HTML generation unit 50, the processing is as follows.

【0058】 レイアウト検索部51は、まず、図7
(A)のデータベース70の商品クラス(アプリケーシ
ョンクラス72)を検索し、入力文30の条件部、つま
り、“商品ID=001”に適合するレコードについ
て、入力文のレイアウト参照属性名で示される属性、つ
まり、“商品レイアウト参照”の値である“個別レイア
ウト1”を取得する。このとき、商品クラウの商品ID
属性はユニークな値を持つので、入力文の条件部を満た
すレコードは単一である。
The layout search unit 51 first uses FIG.
The attribute indicated by the layout reference attribute name of the input sentence is searched for the product class (application class 72) of the database 70 of (A), and the condition part of the input sentence 30, that is, the record that matches “product ID = 001” That is, "individual layout 1" which is the value of "product layout reference" is acquired. At this time, the product ID of the product crowd
Since the attribute has a unique value, there is only one record that satisfies the condition part of the input sentence.

【0059】 次に、図7(B)のレイアウト管理ク
ラスを検索して“個別レイアウト1”をレイアウト名と
して持つ「レイアウトB」を取得し、変数置換部52に
送る。 変数置換部52は、受け取った「レイアウトB」内
の文字列をサーチし、“$”で囲まれた置換変数がない
ことを確認して、「レイアウトB」のDBアクセス文を
DBアクセス実行部53へ、レイアウトタグ文を文書生
成部54に送る。
Next, the layout management class shown in FIG. 7B is searched to obtain “layout B” having “individual layout 1” as a layout name, and sends it to the variable replacement unit 52. The variable replacement unit 52 searches the received character string in “layout B”, confirms that there is no replacement variable surrounded by “$”, and then determines the DB access statement of “layout B” as the DB access execution unit. The layout tag statement is sent to 53 to the document generation section 54.

【0060】 DBアクセス実行部53は、入力文3
0の条件部を追加したDBアクセス文、“select商品
名、価格、メーカ名from商品クラスwhere 商品ID=0
01”をデータベース管理システム60に送り、検索結
果(A,600,S漁業)を得て、検索結果格納域55
に格納する。
The DB access execution unit 53 uses the input sentence 3
DB access statement with 0 condition added, "select product name, price, maker name from product class where product ID = 0
01 ”is sent to the database management system 60 to obtain the search result (A, 600, S fishery), and the search result storage area 55
To be stored.

【0061】 文書生成部54は、レイアウトタグ文
をサーチし、結果参照変数?商品名?,?価格?,?メ
ーカ名?を検索結果格納域55の値で置換する。最終的
に生成される文書は、以下のようになる。 <H1>A</H1><UL><LI>価格: 600
<LI>メーカ名:S漁業</UL> 本HTMLがHTML生成部50の出力となり、WWW
ブラウザ10により解釈され、ディスプレイ上に表示さ
れる。
The document generation unit 54 searches for the layout tag sentence and returns the result reference variable? Product name? ,? price? ,? Manufacturer's name? Is replaced with the value in the search result storage area 55. The final generated document looks like this: <H1> A </ H1><UL><LI> Price: 600
<LI> Maker name: S fishery </ UL> This HTML becomes the output of the HTML generation unit 50, and WWW
It is interpreted by the browser 10 and displayed on the display.

【0062】なお、本発明は、上記の実施例に限定され
ることなく、特許請求の範囲内で、種々変更・応用が可
能である。
The present invention is not limited to the above embodiment, but various modifications and applications are possible within the scope of the claims.

【0063】[0063]

【発明の効果】上述のように、本発明の動的ハイパー文
書生成データベース処理方法及びシステムによれば、ハ
イパー文書生成手順をDBアクセス文とレイアウトタグ
文からなるレイアウトとしてデータベースに格納したた
め、ハイパー文書の論理構造やデータベース構造が変わ
っても、レイアウトだけを変更すればよく、汎用のハイ
パー文書作成プログラムを提供することができる。
As described above, according to the dynamic hyper document generation database processing method and system of the present invention, the hyper document generation procedure is stored in the database as a layout consisting of a DB access statement and a layout tag statement. Even if the logical structure or the database structure of is changed, only the layout needs to be changed, and a general-purpose hyper document creation program can be provided.

【0064】また、データベース中の各レコードに自分
自身が使用するレイアウト群を一緒にもたせるため、レ
コードとレイアウトの関係をデータベースで管理でき、
対応関係が変わってもハイパー文書作成プログラムの変
更を必要としない。
Since each record in the database is provided with a layout group used by itself, the relation between the record and the layout can be managed in the database,
Even if the correspondence changes, it is not necessary to change the hyper document creation program.

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

【図1】本発明の原理を説明するための図である。FIG. 1 is a diagram for explaining the principle of the present invention.

【図2】本発明の原理構成図である。FIG. 2 is a principle configuration diagram of the present invention.

【図3】本発明の動的ハイパー文書生成データベース処
理システムの構成図である。
FIG. 3 is a configuration diagram of a dynamic hyper document generation database processing system of the present invention.

【図4】本発明のレイアウト管理を説明するための図で
ある。
FIG. 4 is a diagram for explaining layout management of the present invention.

【図5】本発明のHTML生成部のリスト入力文が入力
された場合の処理のフローチャートである。
FIG. 5 is a flowchart of processing when a list input sentence of the HTML generation unit of the present invention is input.

【図6】本発明のHTML生成部にセレクト入力文が入
力された場合の処理のフロチャートである。
FIG. 6 is a flowchart of a process when a select input sentence is input to the HTML generation unit of the present invention.

【図7】本発明の一実施例のデータベースの例を示す図
である。
FIG. 7 is a diagram showing an example of a database according to an embodiment of the present invention.

【図8】WWWを例にした従来のハイパー文書生成デー
タベース処理システムを説明するための図である。
FIG. 8 is a diagram for explaining a conventional hyper document generation database processing system using WWW as an example.

【図9】従来の問題点を説明するための図である。FIG. 9 is a diagram for explaining a conventional problem.

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

10 WWWブラウザ 20 WWWサーバ 30 入力文 40 出力文 50 HTML生成部 51 レイアウト検索部 52 変数置換部 53 DBアクセス実行部 54 文書生成部 55 検索結果格納域 60 データベース管理システム 70 データベース 71 レイアウト管理クラス 711 レイアウト名 712 レイアウト 713 DBアクセス文 714 レイアウトタグ文 72 アプリケーションクラス 721 アプリケーションクラス 722 レイアウト参照属性 100 ハイパー文書生成手段 110 レイアウト検索手段 120 データベースアクセス手段 130 文書生成手段 200 データベース 210 レイアウト管理テーブル 220 アプリケーションテーブル 10 WWW Browser 20 WWW Server 30 Input Statement 40 Output Statement 50 HTML Generation Section 51 Layout Search Section 52 Variable Replacement Section 53 DB Access Execution Section 54 Document Generation Section 55 Search Result Storage Area 60 Database Management System 70 Database 71 Layout Management Class 711 Layout Name 712 Layout 713 DB access statement 714 Layout tag statement 72 Application class 721 Application class 722 Layout reference attribute 100 Hyper document generation means 110 Layout search means 120 Database access means 130 Document generation means 200 Database 210 Layout management table 220 Application table

Claims (12)

【特許請求の範囲】[Claims] 【請求項1】 データを記録したデータベースと、入力
文に基づいて該データベースのデータによりハイパー文
書を生成して出力するハイパー文書生成データベース処
理方法において、 前記データベースは、レイアウト情報を記録したレイア
ウト管理テーブルとアプリケーションデータを記録した
アプリケーションテーブルから構成され、 前記入力文に基づいて前記レイアウト情報を記録した前
記レイアウト管理テーブルを検索して、所定のレイアウ
ト情報を取得し、 取得してレイアウト情報に基づいて前記アプリケーショ
ンテーブルを検索して所定のアプリケーションデータを
取得し、 前記レイアウト情報に基づいて取得したアプリケーショ
ンデータを記述してハイパー文書を生成することを特徴
とする動的ハイパー文書生成データベース処理方法。
1. A database storing data and a hyper document generation database processing method for generating and outputting a hyper document from the data of the database based on an input sentence, wherein the database is a layout management table recording layout information. And an application table in which application data is recorded, the layout management table in which the layout information is recorded is searched based on the input sentence, predetermined layout information is acquired, and the acquired layout information is acquired based on the layout information. A dynamic hyper-document generation database, characterized in that the application table is searched to acquire predetermined application data, and the acquired application data is described based on the layout information to generate a hyper document. Processing method.
【請求項2】 前記アプリケーションテーブルを検索す
る際に、データベースアクセス情報とレイアウトタグ情
報から構成される前記レイアウト情報から取得したレイ
アウト情報の該データベースアクセス情報に基づいて前
記アプリケーションテーブルを検索する請求項1記載の
動的ハイパー文書生成データベース処理方法。
2. The application table is searched based on the database access information of the layout information acquired from the layout information composed of database access information and layout tag information when searching the application table. Dynamic hyper document generation database processing method described.
【請求項3】 前記ハイパー文書を生成する際に、 取得した前記レイアウト情報の前記レイアウトタグ情報
に基づいて、前記アプリケーションデータを記述する請
求項1記載の動的ハイパー文書生成データベース処理方
法。
3. The dynamic hyper document generation database processing method according to claim 1, wherein, when the hyper document is generated, the application data is described based on the layout tag information of the acquired layout information.
【請求項4】 データを記録したデータベースと、入力
文に基づいて該データベースのデータによりハイパー文
書を生成して出力するハイパー文書生成手段とを有する
ハイパー文書生成システムにおいて、 前記データベースは、 レイアウト情報を記録してレイアウト管理テーブルと、
アプリケーションデータを記録したアプリケーションテ
ーブルを有し、 前記ハイパー文書生成手段は、 前記入力文に基づいて前記レイアウト管理テーブルを検
索して所定のレイアウト情報を取得するレイアウト検索
手段と、 取得したレイアウト情報に基づいて前記アプリケーショ
ンテーブルを検索して所定のアプリケーションデータを
取得するデータベースアクセス実行手段と、 前記レイアウト検索手段が取得したレイアウト情報に基
づいて取得したアプリケーションデータを記述してハイ
パー文書を生成する文書生成手段とを有することを特徴
とする動的ハイパー文書生成データベース処理システ
ム。
4. A hyper document generation system having a database in which data is recorded and a hyper document generation means for generating and outputting a hyper document based on the data of the database based on an input sentence, wherein the database stores layout information. Record and layout management table,
An application table in which application data is recorded, the hyper document generation means searches the layout management table based on the input sentence to obtain predetermined layout information, and a layout search means based on the obtained layout information. Database access execution means for searching the application table to obtain predetermined application data, and document generation means for writing the application data acquired based on the layout information acquired by the layout search means to generate a hyper document. A dynamic hyper document generation database processing system characterized by comprising:
【請求項5】 前記レイアウト情報は、データベースア
クセス情報とレイアウトタグ情報からなる請求項4記載
の動的ハイパー文書生成データベース処理システム。
5. The dynamic hyper document generation database processing system according to claim 4, wherein the layout information comprises database access information and layout tag information.
【請求項6】 前記レイアウト検索手段が取得した前記
レイアウト情報の置換変数を前記入力文で与えられた値
に変換して変換された前記レイアウト情報のデータベー
スアクセス情報を前記データベースアクセス実行手段に
渡し、前記レイアウト情報のレイアウトタグ情報を前記
文書生成手段に渡す置換手段を含む請求項4及び5記載
の動的ハイパー文書生成データベース処理システム。
6. The substitution variable of the layout information acquired by the layout search means is converted into a value given by the input sentence and the converted database access information of the layout information is passed to the database access execution means, 6. The dynamic hyper-document generation database processing system according to claim 4, further comprising a replacement unit that passes layout tag information of the layout information to the document generation unit.
【請求項7】 前記入力文は、リスト入力文またはセレ
クト入力文とする請求項4記載の動的ハイパー文書生成
データベース処理システム。
7. The dynamic hyper document generation database processing system according to claim 4, wherein the input sentence is a list input sentence or a select input sentence.
【請求項8】 前記データベースアクセス実行手段は、 前記レイアウト検索手段により取得した前記レイアウト
情報のデータベースアクセス情報に基づいて前記アプリ
ケーションテーブルを検索する請求項4記載の動的ハイ
パー文書生成データベース処理システム。
8. The dynamic hyper-document generation database processing system according to claim 4, wherein the database access execution means searches the application table based on the database access information of the layout information acquired by the layout search means.
【請求項9】 前記文書生成手段は、 前記レイアウト検索手段が取得した前記レイアウト情報
の前記レイアウトタグ情報に従って前記データベースア
クセス実行手段が取得した前記アプリケーションデータ
を記述する請求項4記載の動的ハイパー文書生成データ
ベース処理システム。
9. The dynamic hyper document according to claim 4, wherein the document generation unit describes the application data acquired by the database access execution unit according to the layout tag information of the layout information acquired by the layout search unit. Generation database processing system.
【請求項10】 前記レイアウト検索手段は、 前記入力文が前記リスト入力文である場合には、前記リ
スト入力文と同じレイアウト名を有するレイアウトを取
得する請求項4及び7記載の動的ハイパー文書生成デー
タベース処理システム。
10. The dynamic hyper document according to claim 4, wherein the layout search means acquires a layout having the same layout name as the list input sentence when the input sentence is the list input sentence. Generation database processing system.
【請求項11】 前記レイアウト検索手段は、 前記入力文が前記セレクト入力文である場合には、前記
セレクト入力文のレイアウト参照属性名で示された属性
の値を取得する請求項4及び7記載のハイパー文書生成
データベース処理システム。
11. The layout search means acquires the value of the attribute indicated by the layout reference attribute name of the select input sentence when the input sentence is the select input sentence. Hyper document generation database processing system.
【請求項12】 前記セレクト入力文で指定する前記レ
イアウト参照属性名を変更する請求項11記載のハイパ
ー文書生成データベース処理システム。
12. The hyper document generation database processing system according to claim 11, wherein the layout reference attribute name designated by the select input sentence is changed.
JP8011301A 1996-01-25 1996-01-25 Method and system for processing dynamic hyper document generating database Pending JPH09204350A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8011301A JPH09204350A (en) 1996-01-25 1996-01-25 Method and system for processing dynamic hyper document generating database

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8011301A JPH09204350A (en) 1996-01-25 1996-01-25 Method and system for processing dynamic hyper document generating database

Publications (1)

Publication Number Publication Date
JPH09204350A true JPH09204350A (en) 1997-08-05

Family

ID=11774183

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8011301A Pending JPH09204350A (en) 1996-01-25 1996-01-25 Method and system for processing dynamic hyper document generating database

Country Status (1)

Country Link
JP (1) JPH09204350A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11143865A (en) * 1997-11-07 1999-05-28 Nec Corp System and method for html document generation for www-oltp cooperation system
JP2000112884A (en) * 1998-10-02 2000-04-21 Ntt Communicationware Corp Www server, application program developing tool, production of application program, and recording medium
JP2001154959A (en) * 1999-11-25 2001-06-08 Nec Corp System and method for generating html document
JP2007149051A (en) * 2005-10-24 2007-06-14 Dainippon Printing Co Ltd Information presenting device, information creating method, computer program

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11143865A (en) * 1997-11-07 1999-05-28 Nec Corp System and method for html document generation for www-oltp cooperation system
JP2000112884A (en) * 1998-10-02 2000-04-21 Ntt Communicationware Corp Www server, application program developing tool, production of application program, and recording medium
JP2001154959A (en) * 1999-11-25 2001-06-08 Nec Corp System and method for generating html document
JP2007149051A (en) * 2005-10-24 2007-06-14 Dainippon Printing Co Ltd Information presenting device, information creating method, computer program

Similar Documents

Publication Publication Date Title
US6356920B1 (en) Dynamic, hierarchical data exchange system
US7836110B1 (en) Method and system to generate and deliver auto-assembled presentations based on queries of multimedia collections
EP1218843B1 (en) A method and system for publication and revision of hierarchically organized sets of static intranet and internet web pages
US5983267A (en) System for indexing and displaying requested data having heterogeneous content and representation
US7555707B1 (en) Method and system for data binding in a block structured user interface scripting language
US8019770B1 (en) Dynamic rendering of content that includes query expressions
US6766330B1 (en) Universal output constructor for XML queries universal output constructor for XML queries
US6073170A (en) Information filtering device and information filtering method
US20160170979A9 (en) Method and System to Generate and Deliver Auto-Assembled Presentations Based on Queries of Multimedia Collections
US7836119B2 (en) Distributed execution model for cross-organizational declarative web applications
Frischmuth et al. Ontowiki–an authoring, publication and visualization interface for the data web
US20020073119A1 (en) Converting data having any of a plurality of markup formats and a tree structure
MXPA05011863A (en) System and method for customization of search results.
US6519588B1 (en) System and method for representing related concepts
Binding et al. KOS at your service: Programmatic access to knowledge organisation systems
US20050198567A1 (en) Web navigation method and system
CN1408093A (en) Electronic shopping agent which is capable of operating with vendor sites having disparate formats
JP2008123547A (en) Method and device for structuring query and interpretation of semistructured information
CN102455913A (en) Customization of display templates
US8037083B2 (en) Lossless format-dependent analysis and modification of multi-document e-learning resources
US6282509B1 (en) Thesaurus retrieval and synthesis system
US20070094289A1 (en) Dynamic, hierarchical data exchange system
KR100305363B1 (en) Method for modeling metadata of electronic document, method and system for managing metadata
JP2000067075A (en) System for retrieving data base and server device for retrieval and client terminal and program-record medium
Vazirgiannis et al. Specifying and authoring multimedia scenarios

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20040224