JPH09305454A - Database structuring device - Google Patents

Database structuring device

Info

Publication number
JPH09305454A
JPH09305454A JP8148740A JP14874096A JPH09305454A JP H09305454 A JPH09305454 A JP H09305454A JP 8148740 A JP8148740 A JP 8148740A JP 14874096 A JP14874096 A JP 14874096A JP H09305454 A JPH09305454 A JP H09305454A
Authority
JP
Japan
Prior art keywords
data
database
input
definition information
module
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
JP8148740A
Other languages
Japanese (ja)
Other versions
JP3018983B2 (en
Inventor
Katsushi Matsuda
勝志 松田
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP8148740A priority Critical patent/JP3018983B2/en
Publication of JPH09305454A publication Critical patent/JPH09305454A/en
Application granted granted Critical
Publication of JP3018983B2 publication Critical patent/JP3018983B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To structure a database without paying attention to data base definitions and freely design a form as a screen interface for data registration, etc. SOLUTION: A user generates a form where components by media data kinds are freely arranged by using an editor 1011. A type correspondence table 105 contains the data types of the respective components and default data restrictions. A storage part 107 holds definition information on the generated form and definition information of the table containing data types and data restrictions entered into the type correspondence table 105 relating to the respective constituent components of the form. A module 110 issues a command defining the place where the table is stored and the frame of the table to a data base management system 81 according to the generated form, thereby generating a data base. A module 102 displays an input form matching the definition information on the form stored in the storage part 107 on the screen of a display device 2 to enable the registration and acquisition of data.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明はデータベース構築装
置に関し、特にエンドユーザ自身が自己のデータベース
を簡易に構築することができるデータベース構築装置に
関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a database construction device, and more particularly to a database construction device by which an end user can easily construct his own database.

【0002】[0002]

【従来の技術】一般に市販のデータベースは、与えられ
た指令に従ってデータベースの生成,データの登録,取
得等を行う機能を持つデータベース管理システムを備え
ており、このデータベース管理システムに対して各種の
指令を与えることにより、データベースの生成やデータ
の登録等が行えるようになっている。例えば、関係デー
タベースでは、データベーステーブル(以下、単にテー
ブルとも言う)を保管するための場所を定義する指令を
与えることにより磁気ディスク装置等にテーブルを確保
する場所(表スペース)が確保され、次いで、表名,列
名とその属性を指定した表を定義する指令を与えること
により、前記確保された場所にテーブルの枠組みが確保
され、データベースが生成できる。また、作成されたテ
ーブルの枠組みにデータを登録する指令を与えれば、デ
ータベースに対するデータの登録が行える。
2. Description of the Related Art Generally, a commercially available database is equipped with a database management system having a function of generating a database, registering and acquiring data according to a given command. By giving it, a database can be created and data can be registered. For example, in a relational database, a location (table space) for securing a table is secured in a magnetic disk device or the like by giving a command that defines a location for storing a database table (hereinafter, simply referred to as a table), and then, By giving a command that defines a table in which table names, column names and their attributes are specified, the frame of the table is secured in the secured location and a database can be created. If a command to register data is given to the framework of the created table, the data can be registered in the database.

【0003】ところで、近年のパーソナルコンピュータ
の普及やマルチメディア情報の流布に伴い、エンドユー
ザ自身によるデータベース構築の機運が高まっている。
しかしながら、データベース構築を専門とするデータベ
ース管理者と異なり、エンドユーザの中には、データベ
ースを構築するに際して、いったい何を定義すればよい
のかすら把握していない者が多く、ましてやターゲット
となるデータベースのデータベース管理システムが解釈
できる命令を駆使して実際にデータベースの定義やデー
タの登録を行うことは極めて困難である。
By the way, with the recent spread of personal computers and the dissemination of multimedia information, the momentum of database construction by end users themselves is increasing.
However, unlike database administrators who specialize in database construction, many end users do not even know what to define when constructing a database, let alone the target database. It is extremely difficult to actually define a database and register data by making full use of commands that can be interpreted by the database management system.

【0004】このようなことから、エンドユーザ自身に
よるデータベース構築を支援する技術として、例えば特
開平4−290137号公報に見られる技術(以下、従
来技術と言う)が提案されている。この従来技術では、
「化合物名」,「沸点」といった幾つかの項目ごとに、
「数値」,「テキスト」といったデータタイプと、「桁
数」といったデータ制約とを格納した項目辞書を予め用
意し、利用者がこの項目辞書の内容を表示装置に表示さ
せて項目の取捨選択や追加変更を行って自己のデータベ
ースに登録する項目を選択すると、装置自身がデータベ
ース枠の生成やデータベース項目の定義といったデータ
ベース生成にかかる処理を自動的に行ってデータベース
を生成する。また、所定の形式のデータ登録画面が予め
用意されており、このデータ登録画面に利用者がデータ
を設定すると、上記定義したデータベース枠にデータを
自動的に登録する。更に、データの取得や変更に使用す
る所定の画面も用意されており、利用者がその画面に必
要なデータを設定すれば、データの取得や変更が行える
ようになっている。
In view of the above, as a technique for supporting the database construction by the end user himself, for example, a technique found in Japanese Patent Laid-Open No. 4-290137 (hereinafter referred to as a conventional technique) has been proposed. In this prior art,
For each item such as "Compound name" and "Boiling point",
An item dictionary that stores data types such as "numerical value" and "text" and data constraints such as "digit number" is prepared in advance, and the user can display the contents of this item dictionary on a display device to select or select items. When an item is added and selected to be registered in its own database, the device itself automatically performs a database generation process such as generation of a database frame and definition of a database item to generate a database. Further, a data registration screen of a predetermined format is prepared in advance, and when the user sets data on this data registration screen, the data is automatically registered in the database frame defined above. Further, a predetermined screen used to acquire or change data is also prepared, and if the user sets necessary data on the screen, the data can be acquired or changed.

【0005】[0005]

【発明が解決しようとする課題】上述した従来技術によ
れば、データタイプやデータ制約といったデータベース
定義に関する知識を有しないエンドユーザであっても、
自己専用のデータベースを構築することができる。しか
しながら、以下のような解決すべき課題が残されてい
る。
According to the above-mentioned prior art, even an end user who does not have knowledge about database definition such as data type and data constraint,
You can build your own database. However, the following problems remain to be solved.

【0006】データベース生成後のデータ登録やデータ
取得時にはシステムで用意された所定の画面を使用する
必要があり、エンドユーザが好む任意のフォームでデー
タの登録や取得(表示)が行えない。つまり、ルックア
ンドフィールの点に関して自由度が少なく、表示インタ
フェイスを含めてエンドユーザ自身にとって必ずしも使
い勝手のよいデータベースの構築が行えない。勿論、デ
ータの登録や取得のための画面をエンドユーザ自身が別
途に設計できる機能を付加すれば良いが、その分だけ利
用者の負担が増大することになる。
It is necessary to use a predetermined screen prepared by the system at the time of data registration or data acquisition after database generation, and data cannot be registered or acquired (displayed) in an arbitrary form preferred by the end user. In other words, the degree of freedom in terms of look and feel is low, and it is not always possible to construct a database that is easy for the end user to use, including the display interface. Of course, it is only necessary to add a function that allows the end user to separately design a screen for registering and acquiring data, but the burden on the user increases accordingly.

【0007】そこで本発明の目的は、データの登録や取
得の際に使用するフォームをエンドユーザ自身がその好
みに応じて自由に設計することができ、然もその設計し
たフォームに基づきデータベースを自動的に生成するデ
ータベース構築装置を提供することにある。
Therefore, an object of the present invention is that the end user can freely design the form used when registering or acquiring data according to his / her preference, and the database is automatically created based on the designed form. It is to provide a database construction device that generates a database.

【0008】また、データベース定義では、テーブルの
各列のデータ制約として何バイトまでのデータを認める
かといったデータ制約を定義する必要がある。しかし、
エンドユーザによるデータベース構築では、登録する全
てのデータが予め決まっている場合は少なく、データベ
ースを構築しデータの入力を開始した後に、データ制約
が妥当でなかったことが判明することが多い。この場
合、データ制約を緩和するためにデータベースの再定義
が必要となる。しかし、従来技術では、データベースの
再定義に関してエンドユーザを支援する機能がない。一
般にデータ入力後のデータベースの再定義に際しては、
入力済みのデータベースの内容をダンプし、データベー
ス定義を作り直し、そこにダンプしたデータをリストア
する処理が必要であり、データベースに関する知識に乏
しいエンドユーザにとってこれらの処理を遂行すること
は極めて困難である。
Further, in the database definition, it is necessary to define a data constraint such as how many bytes of data are allowed as the data constraint of each column of the table. But,
In the database construction by the end user, it is rare that all the data to be registered are predetermined, and it is often found that the data constraint was not appropriate after the database construction and the input of data was started. In this case, it is necessary to redefine the database to relax the data constraint. However, the prior art lacks the ability to assist the end user in redefining the database. Generally, when redefining a database after entering data,
It is necessary to dump the contents of the input database, recreate the database definition, and restore the dumped data there, and it is extremely difficult for an end user who has little knowledge about the database to perform these processes.

【0009】そこで本発明の別の目的は、データ制約を
満足しないデータの登録時にそのデータの登録が可能と
なるようにデータ制約を緩和してデータベースを自動的
に変更する機能を持つデータベース構築装置を提供する
ことにある。
Therefore, another object of the present invention is a database construction apparatus having a function of relaxing the data constraint and automatically changing the database so that the data can be registered when the data that does not satisfy the data constraint is registered. To provide.

【0010】さらに、上述した従来技術では扱っていな
いが、静止画,動画,音声といったマルチメディアを登
録素材とするデータベースの場合、それらは事前にファ
イル化されているか、一旦利用者がファイルに格納し、
その後に、このファイルからデータベースへと登録する
のが一般的であった。しかし、一々ファイル化するのは
大変であり、また大量のデータをファイル化すると、フ
ァイル名から個々のデータを特定することも困難にな
り、そもそも内容を考慮してファイル名を付けることも
煩わしい。
Further, although not dealt with in the above-mentioned prior art, in the case of a database in which multimedia such as still images, moving images, and voices are registered materials, these are either filed in advance or once stored in a file by the user. Then
After that, it was common to register from this file to the database. However, it is difficult to make a file one by one, and if a large amount of data is made a file, it becomes difficult to identify individual data from the file name, and it is troublesome to give a file name in consideration of its contents.

【0011】そこで本発明の他の目的は、静止画,動
画,音声等の登録素材を利用者自身がファイル化するこ
となく直接にデータ登録することのできるデータベース
構築装置を提供することにある。
Therefore, another object of the present invention is to provide a database construction apparatus which allows a user to directly register data without registering registered materials such as still images, moving images and voices into files.

【0012】[0012]

【課題を解決するための手段】本発明は、指令に応じて
データベースの生成,データの登録,取得等を行う機能
を持つデータベース管理システムを備えるデータベース
をターゲットとし、表示装置と入力装置とを通じた対話
的な処理によってデータベースの構築を支援するデータ
ベース構築装置であり、以下のような構成要素を備えて
いる。 ○型対応表;各メディアデータ種別毎に用意された部品
についての前記データベースにおけるデータタイプとデ
フォルトのデータ制約とが記述されている。 ○設計モジュール;任意の部品を任意の位置,大きさで
配置したフォームを前記表示装置の画面上に作成する処
理に関して利用者を支援するフォームエディタを有して
いる。 ○定義情報記憶部;前記フォームエディタで作成された
フォームの定義情報と、そのフォームの構成部品それぞ
れに関する前記型対応表に記されたデータタイプ及びデ
ータ制約を含むデータベーステーブルの定義情報とを保
持する。 ○データベース生成モジュール;前記フォームエディタ
で作成されたフォーム上の各構成部品をデータベーステ
ーブルの1行の各列に見立てて、当該データベーステー
ブルを保管する場所を前記データベースに定義する指令
を前記データベース管理システムに発行すると共に当該
データベーステーブルの枠組みを前記データベースに定
義する指令を前記データベース管理システムに発行す
る。 ○データ取得モジュール;前記データベース管理システ
ムに指令を発行して入力モード開始時点には予め定めら
れたデータベーステーブルの行の内容を、その後は利用
者から指定されたデータベーステーブルの行の内容を前
記データベースから取得する。 ○データ入力モジュール;前記データベース管理システ
ムに指令を発行して前記データベースのデータベーステ
ーブルにデータを登録する。 ○入力モジュール;前記定義情報記憶部に記憶されたフ
ォームの定義情報に合致する入力フォームを前記表示装
置の画面に表示して前記データ取得モジュールで取得さ
れた行の各列の内容を前記入力フォームの該当する部品
上に表示すると共に、利用者による入力フォーム上の部
品へのデータの張り付け作業を支援し、且つ、データの
張り付けが行われた入力フォーム上の各構成部品をデー
タベーステーブルの1行の各列に見立てて、前記張り付
けられたデータを前記データ入力モジュールを通じて前
記データベースに登録する。
SUMMARY OF THE INVENTION The present invention targets a database having a database management system having functions of generating a database, registering data, acquiring data, etc. in response to a command, and uses a display device and an input device. It is a database construction device that supports construction of a database by interactive processing, and has the following components. -Type correspondence table: Describes the data type and default data constraint in the database for the parts prepared for each media data type. Design module: It has a form editor that assists the user in the process of creating a form in which arbitrary parts are arranged at arbitrary positions and sizes on the screen of the display device. Definition information storage unit: Holds definition information of a form created by the form editor, and definition information of a database table including data types and data constraints described in the type correspondence table for each component of the form . A database generation module; a command for defining each component on the form created by the form editor in each column of one row of the database table and defining a location for storing the database table in the database, the database management system And a command for defining the framework of the database table in the database to the database management system. Data acquisition module; the contents of the rows of a predetermined database table are issued at the start of the input mode by issuing a command to the database management system, and thereafter the contents of the rows of the database table designated by the user. To get from. Data input module: issues a command to the database management system to register data in the database table of the database. Input module; an input form that matches the definition information of the form stored in the definition information storage unit is displayed on the screen of the display device, and the contents of each column of the row acquired by the data acquisition module are input form Of each component on the input form that supports the user's work of pasting data to the component on the input form, and displays each component on the input form on which the data is pasted, in one line of the database table. The attached data is registered in the database through the data input module in the same manner as each column.

【0013】このような構成のデータベース構築装置に
あっては、利用者が設計モジュール中のフォームエディ
タの支援の下に、任意の部品を任意の位置,大きさで配
置したフォームを表示装置の画面上に作成すると、この
作成されたフォームの定義情報と、そのフォームの構成
部品それぞれに関して型対応表に記されたデータタイプ
及びデータ制約を含むデータベーステーブルの定義情報
とが定義情報記憶部に保存され、かつ、データベース生
成モジュールが、作成されたフォーム上の各構成部品を
データベーステーブルの1行の各列に見立てて、当該デ
ータベーステーブルを保管する場所をターゲットとなる
データベースに定義する指令をデータベース管理システ
ムに発行すると共に、当該データベーステーブルの枠組
みをターゲットとなるデータベースに定義する指令をデ
ータベース管理システムに発行し、データベースを生成
する。また、データ登録または取得時には、入力モジュ
ールが、定義情報記憶部に記憶されたフォームの定義情
報に合致する入力フォームを表示装置の画面に表示し
て、データ取得モジュールで取得された行の各列の内容
を入力フォームの該当する部品上に表示する。このと
き、その行に実データが登録されていればそのデータが
部品に表示され、実データが登録されていないときは実
データの表示は行われない。更に、データの登録や修正
時には、入力モジュールが、利用者による入力フォーム
上の部品へのデータの張り付け作業を支援し、データの
張り付けが行われると、その入力フォーム上の各構成部
品をデータベーステーブルの1行の各列に見立てて、張
り付けられたデータをデータ入力モジュールを通じてデ
ータベースに登録する。
In the database construction device having such a configuration, the user can support the form editor in the design module to display the form of the form on which the arbitrary parts are arranged at arbitrary positions and sizes. When created above, the definition information of the created form and the definition information of the database table including the data type and data constraint described in the type correspondence table for each of the component parts of the form are stored in the definition information storage unit. The database management system issues a command for the database generation module to define each component on the created form as one row and one column of the database table and define the storage location of the database table in the target database. And target the framework of the database table That an instruction that defines the database by issuing a database management system, generates a database. Further, at the time of data registration or acquisition, the input module displays an input form matching the definition information of the form stored in the definition information storage unit on the screen of the display device, and each column of the row acquired by the data acquisition module. The content of is displayed on the corresponding part of the input form. At this time, if the actual data is registered in the row, the data is displayed on the component, and if the actual data is not registered, the actual data is not displayed. Furthermore, when registering or modifying data, the input module assists the user in pasting data to the parts on the input form, and when the data is pasted, each component on the input form is stored in the database table. The pasted data is registered in the database through the data input module in the same manner as each column of one row.

【0014】このように本発明によれば、利用者はフォ
ームに部品を配置し、その部品にデータを張り付けるだ
けで、データベースの生成とデータの登録とが行える。
また、データの登録や取得時に表示装置に表示されるフ
ォームの形式は、利用者がフォームエディタでデザイン
したフォームそのものであるため、データの登録や取得
の際に使用するフォームをエンドユーザ自身がその好み
に応じて自由に設計することができ、然もその設計した
フォームに基づきデータベースが自動的に生成されるた
め、エンドユーザの負担が軽減される。
As described above, according to the present invention, the user can generate the database and register the data simply by placing the parts on the form and pasting the data on the parts.
In addition, since the form of the form displayed on the display device when registering or acquiring data is the form itself designed by the user with the form editor, the end user himself / herself determines the form used when registering or acquiring data. It can be freely designed according to taste, and since the database is automatically generated based on the designed form, the end user's burden is reduced.

【0015】また、本発明は、通知されたデータタイプ
を持つファイルのデータの一覧をファイル装置から取得
して前記表示装置上に表示すると共に、利用者による一
覧中のデータの選択時には選択されたデータを出力する
入力ブラウザを備え、前記入力モジュールは、前記表示
装置の画面に表示した入力フォーム上の部品の利用者に
よる選択時にその選択された部品のデータタイプを前記
入力ブラウザに通知してデータの一覧を前記表示装置の
画面に表示させ、前記入力ブラウザから出力されたデー
タを前記選択された部品に張り付ける処理を行う構成を
有することを特徴とする。これによって、利用者は、入
力フォーム上の部品を選択し、入力ブラウザによって表
示されるデータの一覧から登録したいデータを選択する
という簡単な操作で部品へのデータの張り付けが行え
る。
Further, according to the present invention, the list of the data of the file having the notified data type is acquired from the file device and displayed on the display device, and the data is selected when the user selects the data in the list. The input module includes an input browser that outputs data, and the input module notifies the input browser of the data type of the selected component when the user selects the component on the input form displayed on the screen of the display device, and outputs the data. Is displayed on the screen of the display device, and processing for pasting the data output from the input browser to the selected component is performed. As a result, the user can paste the data to the part by a simple operation of selecting the part on the input form and selecting the data to be registered from the list of data displayed by the input browser.

【0016】さらに本発明は、CD−ROM,VTR,
スキャナ等の種々のメディアデータの入力ソースと、こ
の入力ソースからデータを入力してファイルに保存する
ことなく前記入力ブラウザに送信するデータ生成アプリ
ケーションとを備え、前記入力モジュールは、利用者に
よって入力ソースが選択されることにより、前記入力ブ
ラウザに入力ソースを通知する構成を有し、前記入力ブ
ラウザは、通知された入力ソースに対応するデータ生成
アプリケーションを起動して取得したデータの一覧を前
記表示装置上に表示すると共に、利用者による一覧中の
データの選択時には選択されたデータを出力する構成を
有することを特徴とする。これによって、利用者は、静
止画,動画,音声等の登録素材を利用者自身が一々ファ
イル化することなく直接にデータ登録することができ
る。
Further, the present invention is a CD-ROM, a VTR,
The input module includes various media data input sources such as a scanner, and a data generation application that inputs data from the input sources and sends the data to the input browser without storing the data in a file. Is selected, the input browser is notified of the input source, and the input browser activates a data generation application corresponding to the notified input source to display a list of data acquired by the display device. In addition to being displayed above, when the user selects the data in the list, the selected data is output. As a result, the user can directly register the registered material such as a still image, a moving image, and a sound without converting the file into a file.

【0017】また本発明は、前記データベースに登録さ
れているデータベーステーブルの行の内容をダンプし、
前記定義情報記憶部に記憶されている修正後のデータ制
約を含むデータベーステーブルの定義情報に合致するデ
ータベーステーブルの枠組みを前記データベースに定義
する指令を前記データベース管理システムに発行してデ
ータベースを再定義した後、前記データベース管理シス
テムに指令を発行して前記ダンプした行の内容を前記デ
ータベースにリストアするデータベース変更モジュール
を備え、前記入力モジュールは、入力フォームの部品に
張り付けられたデータの登録時、そのデータが前記定義
情報記憶部に格納されているその部品に対応するデータ
制約を満たさない場合、そのデータが登録できるように
前記定義情報記憶部の該当するデータ制約を緩和した後
に前記データベース変更モジュールを起動し、そのデー
タベース変更処理の終了後に前記張り付けられたデータ
を前記データ入力モジュールを通じて前記データベース
に登録する構成を有することを特徴とする。これによっ
て、データ制約を満足しないデータの登録に伴うデータ
制約の緩和に起因するデータベースの変更作業から利用
者が解放され、然もデータ制約の緩和やデータベースの
変更に関して利用者は一切意識しなくても済む。
The present invention also dumps the contents of the rows of the database table registered in the database,
A command for defining a database table framework that matches the definition information of the database table including the corrected data constraint stored in the definition information storage unit in the database is issued to the database management system to redefine the database. After that, the database management system includes a database change module for issuing a command to the database management system to restore the contents of the dumped lines to the database, and the input module registers the data attached to the parts of the input form when the data is registered. Does not satisfy the data constraint corresponding to the part stored in the definition information storage unit, the database change module is activated after relaxing the corresponding data constraint in the definition information storage unit so that the data can be registered. And its database modification process The pasted The data after the end and having a configuration to be registered in the database through the data input module. This frees the user from the work of changing the database due to the relaxation of the data constraint associated with the registration of data that does not satisfy the data constraint, and the user need not be aware of the data constraint relaxation or database modification at all. I'm done.

【0018】また更に本発明は、前記フォームエディタ
で作成中あるいは作成済みのフォームの定義情報を複数
分格納できるフォームデータベースを備えることを特徴
とする。これによって、利用者は幾つかの候補となるフ
ォームの作成を並行して行え、その中から後のデータ登
録等に適するフォームを選択することによって最適なフ
ォームを決定できる。
Further, the present invention is characterized by comprising a form database capable of storing a plurality of pieces of definition information of a form being created or already created by the form editor. As a result, the user can create several candidate forms in parallel, and the optimum form can be determined by selecting a form suitable for later data registration or the like.

【0019】また本発明は、前記フォームエディタで作
成されたフォームの定義情報に基づき、この定義情報と
そのフォーム上の各構成部品にデータの内容を表示する
ルーチンとを含むビジュアルプログラミング言語のソー
スコードを生成するソースコード生成手段を前記設計モ
ジュールに備え、かつ、前記ソースコード生成手段で生
成されたソースコードを出力するカタログフォーム出力
モジュールを備えることを特徴とする。この出力された
ソースコードは、利用者が自分自身でデザインしたフォ
ームやそのフォーム上にデータを表示するルーチンを使
うアプリケーションに流用できるため、高度な検索機能
や表示機能を持つ各種アプリケーションを作成する際の
手間が省ける。
According to the present invention, based on the definition information of the form created by the form editor, a source code of a visual programming language including this definition information and a routine for displaying the content of data in each component on the form. And a catalog form output module for outputting the source code generated by the source code generating means. This output source code can be used for applications that use a form designed by the user or a routine that displays data on the form, so when creating various applications with advanced search and display functions. Can be saved.

【0020】[0020]

【発明の実施の形態】次に本発明の実施の形態の例につ
いて図面を参照して詳細に説明する。
BEST MODE FOR CARRYING OUT THE INVENTION Next, an example of an embodiment of the present invention will be described in detail with reference to the drawings.

【0021】図1は本発明のデータベース構築装置の一
実施例のブロック図である。同図に示すように、この例
のデータベース構築装置は、処理装置1と、これに接続
された表示装置2,スピーカ3,キーボード4,マウス
5,ファイル装置6,入力ソース7−1〜7−nとから
構成されている。また、8は構築のターゲットとなる既
存のデータベースで、指令に応じてデータベースの生
成,データの登録,取得等を行う機能を持つデータベー
ス管理システム81を備えている。なお、このデータベ
ース8はメガ単位のバイト列を登録可能な関係データベ
ースである。
FIG. 1 is a block diagram of an embodiment of the database construction apparatus of the present invention. As shown in the figure, the database construction apparatus of this example includes a processing apparatus 1 and a display apparatus 2, a speaker 3, a keyboard 4, a mouse 5, a file apparatus 6, and input sources 7-1 to 7-connected to the processing apparatus 1. n. Reference numeral 8 is an existing database that is a target for construction, and is provided with a database management system 81 having functions of generating a database, registering data, acquiring data, etc. according to a command. The database 8 is a relational database capable of registering a byte string in mega units.

【0022】また、処理装置1は、設計モジュール10
1,入力モジュール102,ユーザインタフェイス10
3,フォームデータベース104,型対応表105,カ
タログフォーム出力モジュール106,定義情報記憶部
107,入力ブラウザ108,データ生成アプリケーシ
ョン109−1〜109−n,データベース生成モジュ
ール110,データ入力モジュール111,データ取得
モジュール112およびデータベース変更モジュール1
13を備えている。
In addition, the processing device 1 includes a design module 10
1, input module 102, user interface 10
3, form database 104, type correspondence table 105, catalog form output module 106, definition information storage unit 107, input browser 108, data generation applications 109-1 to 109-n, database generation module 110, data input module 111, data acquisition Module 112 and database modification module 1
13 is provided.

【0023】本実施例のデータベース構築装置の動作モ
ードは、設計モードと入力モードとに大別される。設計
モードでは、主にデータベースの生成が行われる。ま
た、入力モードでは、生成されたデータベースへのデー
タの登録や既登録データの取得,変更等が行われる。以
下、各場合に分けて、本実施例の動作と各部の詳細な機
能とを説明する。
The operation modes of the database construction apparatus of this embodiment are roughly classified into a design mode and an input mode. In the design mode, the database is mainly created. In the input mode, registration of data in the generated database, acquisition and change of registered data, and the like are performed. The operation of this embodiment and the detailed functions of the respective parts will be described below in each case.

【0024】(1)設計モード 利用者がキーボード4等から設計モードの開始を指示す
ると、ユーザインタフェイス103を通じて設計モジュ
ール101が起動され、設計モジュール101は図2の
フローチャートに示す処理を開始する。
(1) Design Mode When the user gives an instruction to start the design mode from the keyboard 4 or the like, the design module 101 is activated through the user interface 103, and the design module 101 starts the processing shown in the flowchart of FIG.

【0025】先ず、設計モジュール101は内部のフォ
ームエディタ1011を起動し、このフォームエディタ
1011によってユーザインタフェイス103を通じて
表示装置2に例えば図3に示すような設計画面を表示す
る(ステップS1)。この設計画面には図3に示すよう
に、何も部品が配置されていない初期状態のフォーム2
01と、ラベル,テキスト,数値,静止画,動画,音声
といった各メディアデータ毎に用意された部品のアイコ
ン202−1〜202−6とが表示されている。なお、
203は各種のメニューを配置したメニューバーであ
る。
First, the design module 101 activates the internal form editor 1011 to display a design screen as shown in FIG. 3 on the display device 2 through the user interface 103 by the form editor 1011 (step S1). On this design screen, as shown in FIG. 3, the form 2 in an initial state in which no parts are arranged is shown.
01 and icons 202-1 to 202-6 of parts prepared for each media data such as label, text, numerical value, still image, moving image, and sound are displayed. In addition,
Reference numeral 203 denotes a menu bar on which various menus are arranged.

【0026】利用者は、フォームエディタ1011の提
供する各種のエディタ機能を使って、設計画面上のフォ
ーム201の任意の位置に任意の大きさの部品を配置す
ることにより、これから作成しようとするデータベース
の表の1行分の表示イメージをデザインする(ステップ
S2)。フォーム1011への部品の配置は、例えば、
マウス5で任意の部品アイコン202−i(i=1〜
6)を選択した後、マウスカーソルでフォーム201上
の任意の位置を指定することで行える。また、一旦配置
した後も、部品の大きさの変更や位置を変更できる。
The user uses various editor functions provided by the form editor 1011 to arrange a component of an arbitrary size at an arbitrary position of the form 201 on the design screen to create a database to be created. The display image for one line of the table is designed (step S2). Arrangement of parts on the form 1011 is, for example,
Use the mouse 5 to select any component icon 202-i (i = 1 to
This can be done by selecting 6) and then specifying an arbitrary position on the form 201 with the mouse cursor. In addition, the size and position of the component can be changed even after the component is once arranged.

【0027】図4は利用者によってデザインされた後の
フォーム201の例を示しており、この例では、ラベル
1,動画1,静止画1,音声1,テキスト1といった唯
一に識別可能な部品名を持つ合計5つの部品が配置され
ている。ここで、部品名の付与はフォームエディタ10
11が自動的に行う。なお、同じ種類の部品を複数配置
することも可能であり、その場合にもユニークな部品名
が自動的に付与される。このデザインしたフォーム20
1は、後のデータ登録時やデータ取得時にそのまま利用
する為、データの入力がし易いような、またデータ取得
時にデータが見やすく、更に見栄えがよいようなフォー
ムにデザインすることが大切である。
FIG. 4 shows an example of the form 201 after being designed by the user. In this example, a uniquely identifiable part name such as a label 1, a moving image 1, a still image 1, a voice 1 and a text 1 is shown. There are 5 parts in total. Here, the part name is assigned by the form editor 10
11 will do it automatically. It is also possible to arrange a plurality of parts of the same type, and even in that case, a unique part name is automatically given. This designed form 20
Since No. 1 is used as it is at the time of data registration or data acquisition later, it is important to design the form so that it is easy to input the data, and the data is easy to see at the time of acquiring the data and looks good.

【0028】また、本実施例では、デザイン途中あるい
はデザイン済みの複数のフォームの情報を保存しておく
フォームデータベース104が備えられており、利用者
は保存指示をフォームエディタ1011に出すことによ
り、デザイン途中やデザイン済みのフォームの情報を保
存することができ、また、この保存されたフォームの情
報に従って設計画面にデザイン途中あるいはデザイン済
みのフォームを呼び出すことができるようになってい
る。従って、利用者は、候補となる幾つかのフォームを
デザインし、その内の最適なものを選択することができ
る。
Further, in the present embodiment, the form database 104 for storing information on a plurality of forms which are in the middle of design or already designed is provided, and the user issues a save instruction to the form editor 1011 to design the form. It is possible to save information of a form that has been designed or has been designed, and to call a form that is being designed or has been designed on the design screen according to the stored information of the form. Therefore, the user can design several candidate forms and select the most suitable one.

【0029】更に、フォーム201上に配置された各部
品204〜208の位置や大きさ以外の部品の属性値
(例えば部品の枠の種類等)はデフォルト値が用いられ
るが、これらの属性値は属性変更ウインドウを開いて変
更することができる。図5はその様子を示しており、属
性変更したい部品が選択されると、同図に示すような属
性名と属性値との組を列挙した属性変更ウインドウ20
9が画面上に開かれ、キーボード4等の操作によって属
性値を変更できるようになっている。なお、この属性値
の変更は必須の作業ではなく、デフォルト値を使用する
のであれば何もしなくて良い。同様に、フォーム自身の
名前等のフォーム属性も変更できるようになっている
が、これも必須の処理ではなくデフォルト値で良ければ
変更の必要はない。
Furthermore, default values are used for the attribute values of the parts other than the positions and sizes of the parts 204 to 208 arranged on the form 201 (for example, the type of the frame of the parts), but these attribute values are The attribute change window can be opened and changed. FIG. 5 shows such a state. When a component whose attribute is to be changed is selected, an attribute change window 20 enumerating pairs of attribute names and attribute values as shown in FIG.
9 is opened on the screen, and the attribute value can be changed by operating the keyboard 4 or the like. Note that changing this attribute value is not an indispensable task, and if the default value is used, nothing needs to be done. Similarly, the form attributes such as the name of the form itself can be changed, but this is not an essential process and need not be changed if the default value is acceptable.

【0030】利用者によってフォームのデザインが決定
されると、設計モジュール101は、フォームエディタ
1011で作成されたフォームの情報を内部の定義生成
手段1012に伝達し、定義生成手段1012は、この
フォームの定義情報と、そのフォームの構成部品それぞ
れに関するデータタイプおよびデータ制約を含むテーブ
ルの定義情報とを、定義情報記憶部107に登録する。
フォームの構成部品それぞれに関するデータタイプと
は、その部品を通じて登録されるデータのデータベース
8におけるデータ型のことであり、データ制約とはその
登録データの最大サイズ等の制約のことであり、これら
は型対応表105に予め登録されている。
When the form design is decided by the user, the design module 101 transmits the information of the form created by the form editor 1011 to the internal definition generating means 1012, and the definition generating means 1012 makes the definition of this form. The definition information and the definition information of the table including the data type and the data constraint for each component of the form are registered in the definition information storage unit 107.
The data type of each component of the form is a data type in the database 8 of the data registered through the component, and the data constraint is a constraint such as the maximum size of the registered data. It is registered in advance in the correspondence table 105.

【0031】図6は型対応表105に登録されている部
品とそのデータタイプおよびデータ制約との対応表の一
例を示す。定義生成手段1012は、このような型対応
表105を参照して、フォームの構成部品に関するデー
タタイプとそのデータ制約とを決定する。例えば、設計
されたフォームに動画の部品がある場合、データタイプ
としてバイナリ型が、データ制約として20Mバイトが
取得され、テーブル定義情報中のその部品に対応する列
の定義情報として登録される。
FIG. 6 shows an example of a correspondence table of parts registered in the type correspondence table 105, their data types and data constraints. The definition generation means 1012 refers to such a type correspondence table 105 to determine the data type and its data constraint regarding the constituent parts of the form. For example, when the designed form has a moving image part, the binary type is acquired as the data type and 20 Mbytes is acquired as the data constraint, and registered as the definition information of the column corresponding to the part in the table definition information.

【0032】図7に定義情報記憶部107に登録された
定義情報の一部の例を示す。図7の左に書かれた、外側
のBeginからEndまでの情報は静止画1にかかる
定義情報の例を、右側に書かれた、外側のBeginか
らEndまでの情報はテキスト1にかかる定義情報の例
をそれぞれ示す。各定義情報のうち、1つ目のBegi
nからEndまでは部品にかかるフォームの定義情報を
示し、2つ目のBeginからEndまでがデータタイ
プおよびデータ制約を含む列の定義情報を示す。例えば
静止画1の場合、Imageという部品を用い、部品の
枠線を示す属性値BorderStyleは実線である
ことを示す0,表示方法を示す属性値Stretchは
枠の大きさに合わせることを示す0,枠の高さを示す属
性値Heightは615,フォーム上での枠の左上の
座標値を示す属性値Left,Topは330,157
5,枠の幅を示す属性値Widthは3015となって
いる。また、列の定義情報では、その列のデータタイプ
がBinaryであること、データ制約が1Mバイトで
あることが示されている。なお、Indexはこの列が
インデックス(主キー)か否かを示す定義で0はインデ
ックスでないことを、Defaultはこの列の初期値
を示す定義でNullは初期状態がNull値であるこ
とをそれぞれ示す。これらは定義生成手段1012が自
動的に生成する。なお、本実施例では、列の定義情報中
に列名が記述されていない。これは、部品の定義情報中
に記述されている「静止画1」等の部品名を列名として
使うためである。テーブルの定義情報は、列の定義情報
(列名を含む)の集合とテーブル名とで構成される。テ
ーブル名としては本実施例の場合はフォーム名が使用さ
れる。
FIG. 7 shows an example of a part of the definition information registered in the definition information storage unit 107. The information from outside Begin to End written on the left side of FIG. 7 is an example of definition information related to the still image 1, and the information from outside Begin to End written on the right side is definition information related to text 1. Examples of Of the definition information, the first Begin
From n to End, definition information of the form relating to the component is shown, and from the second Begin to End, definition information of a column including the data type and the data constraint is shown. For example, in the case of the still image 1, a component called Image is used, the attribute value BorderStyle indicating the frame line of the component is 0 indicating that it is a solid line, the attribute value Stretch indicating the display method is 0 indicating that it is adjusted to the frame size, The attribute value Height indicating the height of the frame is 615, and the attribute values Left and Top indicating the coordinate values of the upper left corner of the frame on the form are 330 and 157.
5, the attribute value Width indicating the width of the frame is 3015. Further, the column definition information indicates that the data type of the column is Binary and the data constraint is 1 Mbyte. Note that Index is a definition indicating whether this column is an index (primary key), 0 is not an index, and Default is a definition indicating the initial value of this column, and Null indicates that the initial state is the Null value. . These are automatically generated by the definition generation means 1012. In this embodiment, the column name is not described in the column definition information. This is because the component name such as “still image 1” described in the component definition information is used as the column name. The table definition information is composed of a set of column definition information (including column names) and a table name. In the case of this embodiment, the form name is used as the table name.

【0033】定義生成手段1012は、定義情報記憶部
107への定義情報の登録を終えると、定義情報記憶部
107へ登録した定義情報のうち、データベース生成に
必要な情報をデータベース生成モジュール110に通知
してデータベース生成を指示する。ここで、データベー
ス生成モジュール110に渡される情報としては、テー
ブル名,列名およびその属性がある。テーブル名として
は、前述したようにフォーム自身の名前が使用される。
列名は図7に示した「静止画1」,「テキスト1」等で
あり、属性はデータタイプやデータ制約等である。
After completing the registration of the definition information in the definition information storage unit 107, the definition generation means 1012 notifies the database generation module 110 of the information necessary for generating the database among the definition information registered in the definition information storage unit 107. And instruct the database generation. Here, the information passed to the database generation module 110 includes a table name, a column name, and its attribute. As the table name, the name of the form itself is used as described above.
The column names are "still image 1", "text 1", etc. shown in FIG. 7, and the attributes are data type, data constraint, etc.

【0034】データベース生成モジュール110は、先
ず、ターゲットとなるデータベース8のデータベース管
理システム81が解釈できる命令によって、テーブルを
保管する場所を定義する指令を生成してデータベース管
理システム81に発行し、テーブルを保管する場所をデ
ータベース8に定義する(ステップS4)。この際、確
保する保管場所としては予め決められた磁気ディスク装
置等が指定され、また保管場所の大きさはデフォルト値
が使用される。次に、設計モジュール101から通知さ
れたテーブル名,列名およびその属性を持つテーブルの
枠組みを定義する指令をデータベース管理システム81
が解釈できる命令によって生成して発行し、テーブルの
枠組みをデータベース8に定義する(ステップS5)。
The database generation module 110 first generates a command for defining the location where the table is stored by the command which can be interpreted by the database management system 81 of the target database 8 and issues it to the database management system 81 to issue the table. The storage location is defined in the database 8 (step S4). At this time, a predetermined magnetic disk device or the like is designated as the storage location to be secured, and a default value is used for the size of the storage location. Next, the database management system 81 issues a command, which is notified from the design module 101, that defines the framework of the table having the table name, the column name, and its attributes.
Is generated and issued by a command that can be interpreted by the above, and the framework of the table is defined in the database 8 (step S5).

【0035】以上で、データベースの生成が完了したこ
とになる。
With the above, the generation of the database is completed.

【0036】なお、本実施例においては、データベース
の生成時に設計モジュール101に設けられたソースコ
ード生成手段1013が動作して、フォームエディタ1
011で作成されたフォームの情報とこのフォーム上に
データの内容を表示するルーチンとを含むビジュアルプ
ログラミング言語のソースコードを生成し、カタログフ
ォーム出力モジュール106がこの生成されたソースコ
ードを図示しないファイル等に出力するようになってい
る(ステップS6)。後述するように本実施例では、デ
ータベース8に登録したデータの表示装置2への表示
を、先頭行の表示,最後尾行の表示,現在表示行の前後
の表示といった簡単な機能に限定しており、より複雑な
行の検索や表示はそれ専用のアプリケーションプログラ
ムを利用者自身が作成することを前提としている。しか
し、表示インタフェイスを含めて一からアプリケーショ
ンプログラムを設計することは大変であるばかりか、設
計したフォームと表示インタフェイス上のフォームとの
整合を確保するのに多大な工数がかかる。ソースコード
生成手段1013で生成されてカタログファイル出力モ
ジュール106から出力されるソースコードは、利用者
が作成したフォームと同じ外観を持つ表示インタフェイ
スのアプリケーションを作成するためのひな型(スケル
トン)となるため、これによって、豊富な検索能力等が
必要となった場合、利用者は検索アプリケーションを比
較的容易に作成することができる。
In this embodiment, the source code generating means 1013 provided in the design module 101 operates when the database is generated, and the form editor 1
The source code of the visual programming language including the information of the form created in 011 and the routine for displaying the content of the data on this form is generated, and the catalog form output module 106 does not show the generated source code in a file or the like. To be output (step S6). As will be described later, in this embodiment, the display of the data registered in the database 8 on the display device 2 is limited to simple functions such as the display of the first line, the display of the last line, and the display before and after the current display line. , More complicated line retrieval and display is based on the premise that the user himself creates an application program for it. However, it is not only difficult to design an application program including a display interface from scratch, but it also takes a lot of man-hours to ensure the matching between the designed form and the form on the display interface. The source code generated by the source code generation unit 1013 and output from the catalog file output module 106 is a skeleton for creating a display interface application having the same appearance as the form created by the user. As a result, the user can create a search application relatively easily when abundant search capabilities are required.

【0037】図8に、ソースコード生成手段1013で
生成した、Microsoft Windowsオペレ
ーティング・システム上のMicrosoft Vis
ual BASIC用のソースコードの例を示す。これ
以外にも、Borand DELPHIやX Wind
owのMotif Widgetなど用のソースコード
を出力することも考えられる。
FIG. 8 shows Microsoft Vis on the Microsoft Windows operating system generated by the source code generating means 1013.
An example of source code for ual BASIC is shown. Besides this, Borand Delphi and X Wind
It is also conceivable to output the source code for ow's Motif Widget, etc.

【0038】(2)入力モード 利用者がキーボード4等から入力モードの開始を指示す
ると、ユーザインタフェイス103を通じて入力モジュ
ール102が起動され、入力モジュール102は図9の
フローチャートに示す処理を開始する。
(2) Input Mode When the user gives an instruction to start the input mode from the keyboard 4 or the like, the input module 102 is activated through the user interface 103, and the input module 102 starts the processing shown in the flowchart of FIG.

【0039】先ず、入力モジュール102は、データ取
得モジュール112に対して先頭行の取得を指示し、デ
ータ取得モジュール112は、データベース8のデータ
ベース管理システム81が解釈できる命令で、データベ
ース8に格納されているテーブルの先頭行の内容を取得
する指令を生成してデータベース管理システム81に発
行し、得られた先頭行の内容を入力モジュール102に
返却する(ステップS11)。
First, the input module 102 instructs the data acquisition module 112 to acquire the first row, and the data acquisition module 112 is a command that can be interpreted by the database management system 81 of the database 8 and is stored in the database 8. A command for acquiring the contents of the first row of the existing table is generated and issued to the database management system 81, and the obtained contents of the first row are returned to the input module 102 (step S11).

【0040】入力モジュール102は、返却された内容
を調べ、実データが設定されているか否かを判定する
(ステップS12)。データベース生成直後の入力モー
ドにおいては、データベース8には実データは1つも作
成されていないので、この判断ステップS12でNOと
判断される。従って入力モジュール102は、定義情報
記憶部107からフォームの定義情報を読み出し、この
定義情報に従って、設計モードにおいて作成されたフォ
ームと全く同じ外観で且つ部品に実データが張り付けら
れていない入力フォームを含む入力画面を表示装置2に
表示する(ステップS13)。例えば、設計モードにお
いて図4に示すようなフォームが設計され、その情報が
定義記憶部107に登録されている場合、図10に示す
ような入力画面が表示される。その内容は図4と全く同
じであり、ただ、画面名が「入力」となっているだけで
ある。この入力画面における入力フォーム210では、
フォームの形状やフォーム上の部品の形状および属性を
変更することができず、データを入力するための部品の
選択しかできない。
The input module 102 checks the returned contents and determines whether or not actual data is set (step S12). In the input mode immediately after database generation, since no actual data has been created in the database 8, it is determined as NO in this determination step S12. Therefore, the input module 102 reads the definition information of the form from the definition information storage unit 107 and includes an input form that has exactly the same appearance as the form created in the design mode and has no actual data attached to the parts according to this definition information. The input screen is displayed on the display device 2 (step S13). For example, when the form as shown in FIG. 4 is designed in the design mode and the information is registered in the definition storage unit 107, the input screen as shown in FIG. 10 is displayed. The contents are exactly the same as in FIG. 4, except that the screen name is “input”. In the input form 210 on this input screen,
You cannot change the shape of the form or the shape and attributes of the parts on the form, you can only select parts for entering data.

【0041】利用者は、この入力フォーム210上の各
部品204〜208に対して、登録したいデータを張り
付けていく(ステップS14)。本実施例の場合、部品
に張り付けるデータは、ファイル装置6に格納されてい
るデータに加えて、各種の入力ソース7−1〜7−nか
ら直接入力したデータが利用できる。ここで、ファイル
装置6には、データベース8に登録したい動画,静止
画,テキスト,音声等が各々ファイルとして予め登録さ
れている。他方、入力ソース7−1〜7−nは各種のメ
ディアに対応する周辺機器、例えばCD−ROM,VT
R,イメージスキャナ,マイクロフォン,キーボード等
である。入力フォーム210の各部品へのデータの張り
付けは以下のように進められる。
The user pastes the data to be registered on each of the parts 204 to 208 on the input form 210 (step S14). In the case of the present embodiment, as the data to be attached to the parts, in addition to the data stored in the file device 6, the data directly input from various input sources 7-1 to 7-n can be used. Here, in the file device 6, moving images, still images, texts, voices, etc., which are desired to be registered in the database 8 are respectively registered in advance as files. On the other hand, the input sources 7-1 to 7-n are peripheral devices corresponding to various media, such as CD-ROM and VT.
R, image scanner, microphone, keyboard, etc. The pasting of data to each part of the input form 210 proceeds as follows.

【0042】利用者が図10に示した入力フォーム21
0上の部品のうち、データを張り付けたい部品をマウス
5の操作等によって選択すると、入力モジュール102
は、選択された部品に対応するデータタイプを定義情報
記憶部107を参照して決定し、入力ブラウザ108に
通知する。例えば、静止画1の部品206が選択された
場合、この選択された部品のフォーム定義情報に対応す
る列の定義情報中のデータタイプであるバイナリデータ
が入力ブラウザ108に通知される。入力ブラウザ10
8は、ファイル装置6に格納されている一連のファイル
群のうち、入力モジュール102から通知されたデータ
タイプのデータを持つファイルを選択し、その内容を自
身のファイルに蓄積した後、その一覧(例えば静止画の
場合はその縮小図,動画の場合には先頭画面の縮小図,
テキストの場合には先頭の幾つかの文字,音声の場合に
は所定のシンボル等)を入力モジュール102を通じて
表示装置2の画面に表示されたブラウザウインドウに表
示する。図11にブラウザウインドウ211が表示され
た入力画面の例を示す。
The input form 21 shown in FIG. 10 by the user
When a part to which data is to be attached is selected by operating the mouse 5 or the like among the parts on 0, the input module 102
Determines the data type corresponding to the selected component by referring to the definition information storage unit 107 and notifies the input browser 108 of the determined data type. For example, when the component 206 of the still image 1 is selected, the input browser 108 is notified of the binary data that is the data type in the definition information of the column corresponding to the form definition information of the selected component. Input browser 10
8 selects a file having data of the data type notified from the input module 102 out of a series of file groups stored in the file device 6, stores the contents in its own file, and then lists them ( For example, in the case of a still image, the reduced image, in the case of a moving image, a reduced image of the top screen,
In the case of text, some characters at the beginning, and in the case of voice, a predetermined symbol or the like) are displayed in the browser window displayed on the screen of the display device 2 through the input module 102. FIG. 11 shows an example of the input screen on which the browser window 211 is displayed.

【0043】次に入力モジュール102は、複数の入力
ソース7−1〜7−nのうち、前記選択された部品のデ
ータタイプのデータの入力に利用できる入力ソースの一
覧を表示装置2の画面に表示して、利用者に入力ソース
からの入力を希望するか否か、希望する場合には利用す
る入力ソースの選択を促す。そして、利用者が何れかの
入力ソース7−j(j=1〜n)を選択すると、入力モ
ジュール102は選択された入力ソースを入力ブラウザ
108に通知し、入力ブラウザ108はその入力ソース
に対応するデータ生成アプリケーション109−jを起
動する。起動されたデータ生成アプリケーションタ10
9−jは、対応する入力ソース7−jからデータを取り
込む。例えば、VTRが指定された場合、ビデオキャプ
チャーボードから動画を取り込み、イメージスキャナが
指定された場合、イメージスキャナから静止画を取り込
む。データ生成アプリケーション109−jはデータを
取り込むと、ファイルに保存することなく、入力ブラウ
ザ108に送信する。入力ブラウザ108は、これを自
身のファイルに蓄積した後、入力モジュール102を通
じてその一覧をブラウザウインドウ211の空きエリア
に表示する。
Next, the input module 102 displays, on the screen of the display device 2, a list of input sources that can be used to input data of the data type of the selected component among the plurality of input sources 7-1 to 7-n. It is displayed to prompt the user whether or not he / she desires input from the input source and, if so, the selection of the input source to be used. When the user selects one of the input sources 7-j (j = 1 to n), the input module 102 notifies the selected input source to the input browser 108, and the input browser 108 corresponds to the input source. The data generation application 109-j is started. Data generation application server 10 started
9-j takes in data from the corresponding input source 7-j. For example, when the VTR is designated, a moving image is captured from the video capture board, and when the image scanner is designated, a still image is captured from the image scanner. When the data generation application 109-j takes in the data, it sends the data to the input browser 108 without saving it in a file. The input browser 108 stores this in its own file and then displays the list in the empty area of the browser window 211 through the input module 102.

【0044】次に、利用者がブラウザウインドウ211
に表示された一覧中から、登録したいデータをマウス5
の操作等によって選択すると、入力モジュール102
は、その選択されたデータの内容を送出するように入力
ブラウザ108に通知し、入力ブラウザ108は内部の
ファイルから該当するデータを読み出して入力モジュー
ル102に送出し、入力モジュール102は、利用者に
よって選択されている部品(今の例では、静止画1の部
品206)にこのデータを張り付ける(表示する)。こ
れによって、図11の状態の入力画面が図12の状態に
変化し、利用者の選択したファイルのデータが部品20
6上に張り付けられる。
Next, the user selects the browser window 211.
Select the data you want to register from the list displayed in
The input module 102
Notifies the input browser 108 to send the contents of the selected data, the input browser 108 reads the corresponding data from the internal file and sends it to the input module 102, and the input module 102 is set by the user. This data is pasted (displayed) to the selected part (the part 206 of the still image 1 in this example). As a result, the input screen in the state of FIG. 11 is changed to the state of FIG. 12, and the data of the file selected by the user is stored in the component 20.
6 is stuck on.

【0045】利用者は以上と同様な操作を行って残りの
部品について登録したいデータを張り付けていく。
The user performs the same operation as above to paste the data to be registered for the remaining parts.

【0046】登録したいデータの部品への張り付けが終
了し、キーボード4等の操作によって利用者からデータ
の張り付け作業の終了が指示されると、入力モジュール
102は、部品に張り付けられたデータのサイズと定義
情報記憶部107に登録されているテーブルの定義情報
中の列のデータ制約とに基づき、今回の入力データが該
当するデータ制約を満足しているか否かをチェックする
(ステップS15)。そして、全ての入力データがその
データ制約を満足している場合には、直ちにデータベー
スへのデータ登録処理S17へ進み、入力フォーム21
1の各部品に張り付けられたデータをデータ入力モジュ
ール111を通じてデータベース8に登録する。このと
き、入力モジュール102は、定義情報記憶部107を
参照して、テーブル名と各部品に対応する列名とを取得
し、これらと各部品に張り付けられたデータとをデータ
入力モジュール111に通知し、データ入力モジュール
はデータベース8のデータベース管理システム81が解
釈できる命令で、データベース8中のテーブルの各列に
データを登録する指令を生成してデータベース管理シス
テム81に発行する。
When the pasting of the data to be registered to the component is completed and the user instructs the end of the data pasting work by operating the keyboard 4 or the like, the input module 102 determines the size of the data pasted to the component. Based on the data constraint of the column in the definition information of the table registered in the definition information storage unit 107, it is checked whether or not the input data this time satisfies the corresponding data constraint (step S15). If all the input data satisfy the data constraint, the process immediately proceeds to the data registration process S17 in the database and the input form 21
The data attached to each part 1 is registered in the database 8 through the data input module 111. At this time, the input module 102 refers to the definition information storage unit 107, acquires the table name and the column name corresponding to each component, and notifies the data input module 111 of these and the data attached to each component. Then, the data input module is a command that can be interpreted by the database management system 81 of the database 8 and generates a command for registering data in each column of the table in the database 8 and issues it to the database management system 81.

【0047】他方、何れかの入力データがそのデータ制
約を満たしていない場合には、その入力データが登録で
きるように該当するデータ制約を緩和すべくデータベー
スの変更を行い(S16)、その後に今回の入力データ
の登録処理S17へ進む。データベースの変更の処理ス
テップS16では以下のような処理が実行される。先
ず、入力モジュール102は、定義情報記憶部107に
登録されている該当するデータ制約を緩和する。例え
ば、図12のテキスト1の部品208のデータ制約が図
6の型対応表105に記述された通りの1024バイト
であったのに対して、入力ブラウザ108を通じて部品
208に張り付けられたデータが1800バイトであっ
た場合、定義情報記憶部107中の部品208に対応す
る列の定義情報におけるデータ制約「1024バイト」
を1800バイト以上に緩和する。データ制約の緩和に
際しては、入力データを登録することができるデフォル
トのデータ制約の値の最小倍にする、という規則を持た
せることができる。従って、今の例では、部品208に
対応する例の定義情報を2048バイトに緩和する。そ
の後、入力モジュール102は、定義情報記憶部107
中のデータ制約を緩和した旨を設計モジュール101に
通知する。
On the other hand, if any of the input data does not satisfy the data constraint, the database is changed to relax the corresponding data constraint so that the input data can be registered (S16), and then this time. To the input data registration process S17. In the database change processing step S16, the following processing is executed. First, the input module 102 relaxes the corresponding data constraint registered in the definition information storage unit 107. For example, while the data constraint of the part 208 of the text 1 in FIG. 12 is 1024 bytes as described in the type correspondence table 105 of FIG. 6, the data pasted to the part 208 through the input browser 108 is 1800 bytes. If it is a byte, the data constraint “1024 bytes” in the definition information of the column corresponding to the component 208 in the definition information storage unit 107
Is relaxed to 1800 bytes or more. When relaxing the data constraint, it is possible to have a rule that the input data is set to the minimum value of the default data constraint value that can be registered. Therefore, in the present example, the definition information of the example corresponding to the component 208 is relaxed to 2048 bytes. After that, the input module 102 uses the definition information storage unit 107.
The design module 101 is notified that the data constraint therein has been relaxed.

【0048】設計モジュール101は、定義情報記憶部
107に登録されたデータ制約緩和後のテーブルの定義
情報を読み出してデータベース変更モジュール113に
与え、データベースの変更を指示する。データベース変
更モジュール113は、先ず、データベース8に既に登
録されている全ての行の内容を保存するためにデータベ
ース8のダンプを行う。次に、設計モジュール101か
ら通知されたデータ制約緩和後のテーブルの定義情報に
従って、データベース8のデータベース管理システム8
1が解釈できる命令によってテーブルの枠組みを新たに
定義する指令を生成して発行し、データベース8にテー
ブルの枠組みを再定義する。そして、上記ダンプした行
を再定義後のデータベースのテーブルにリストアする。
その後、データベース変更モジュール113は処理の終
了を設計モジュール101に通知し、設計モジュール1
01はその旨を入力モジュール102に通知する。この
通知後、入力モジュール102は今回のデータをデータ
ベース8に登録する処理S17へと進む。
The design module 101 reads the definition information of the table after the data constraint relaxation registered in the definition information storage unit 107, gives it to the database change module 113, and gives an instruction to change the database. The database changing module 113 first dumps the database 8 in order to save the contents of all the rows already registered in the database 8. Next, according to the definition information of the table after data constraint relaxation notified from the design module 101, the database management system 8 of the database 8
1 generates and issues a command for newly defining the table framework by an instruction that can be interpreted by 1, and redefines the table framework in the database 8. Then, the dumped rows are restored to the redefined database table.
After that, the database change module 113 notifies the design module 101 of the end of the process, and the design module 1
01 notifies the input module 102 to that effect. After this notification, the input module 102 proceeds to processing S17 for registering the current data in the database 8.

【0049】入力フォーム210を使って1行分のデー
タの登録が完了すると、入力モジュール102は利用者
から処理終了が指示されているか否かを判定し(ステッ
プS18)、指示されていない場合にはデータ取得モジ
ュール112を通じて次の行のデータを取得し(ステッ
プS19)、再びステップS12に戻って上述した処理
を繰り返す。また、処理終了が指示されていた場合には
図9に示す処理を終了する。
When the registration of the data for one line is completed using the input form 210, the input module 102 determines whether or not the user has instructed to end the process (step S18). Acquires the data of the next row through the data acquisition module 112 (step S19), returns to step S12 again, and repeats the above-described processing. If the end of processing is instructed, the processing shown in FIG. 9 is ended.

【0050】以上のようにして利用者は、入力フォーム
の部品にデータを張り付ける作業を行うことで、データ
ベース8へのデータの登録が行える。なお、データ登録
時に入力フォーム210の全部品にデータを張り付けず
に一部の部品にのみデータを張り付けることもできる。
この場合には、セル(列)単位でデータの登録が行われ
る。
As described above, the user can register the data in the database 8 by pasting the data on the parts of the input form. Note that it is possible to paste the data only to some of the components of the input form 210 without registering the data at the time of data registration.
In this case, data registration is performed in cell (column) units.

【0051】次に、データベース8に登録されたデータ
を表示装置2に表示して確認する際の動作について説明
する。
Next, the operation of displaying and confirming the data registered in the database 8 on the display device 2 will be described.

【0052】前述したように、利用者がキーボード4等
から入力モードの開始を指示すると入力モジュール10
2が起動されてデータ取得モジュール112を通じてデ
ータベース8に格納されている表の先頭行の内容が取得
される(図9のステップS11)。データベース8への
データ登録後においては、先頭行に実データが設定され
ているため、次のステップS12でデータ設定済みと判
定され、入力モジュール102は図13の処理へ進む。
As described above, when the user gives an instruction to start the input mode from the keyboard 4 or the like, the input module 10
2 is activated and the content of the first row of the table stored in the database 8 is acquired through the data acquisition module 112 (step S11 in FIG. 9). After the data is registered in the database 8, since the actual data is set in the first row, it is determined in the next step S12 that the data has been set, and the input module 102 proceeds to the process of FIG.

【0053】先ず入力モジュール102は、定義情報記
憶部107からフォームの定義情報を読み出し、この定
義情報に従って、設計モードにおいて作成されたフォー
ムと全く同じ外観であって、その部品にデータ取得モジ
ュール112で取得された該当する列のデータを張り付
けた入力フォームを含む入力画面を表示装置2に表示す
る(ステップS21)。このとき表示される入力画面は
入力フォーム中の各部品に実データが表示されているこ
とを除き、図10に示した入力フォーム210と全く同
じである。これによって、利用者はデータベースに登録
した静止画,動画,テキスト等を確認することができ
る。なお、動画の場合にはその先頭の画面が部品に張り
付けられており指示に応じて動画が再生される。また、
音声の場合には部品を選択すると、ユーザインタフェイ
ス103を通じてスピーカ3に音声が再生される。
First, the input module 102 reads the definition information of the form from the definition information storage unit 107, and the appearance is exactly the same as the form created in the design mode according to this definition information. An input screen including an input form pasted with the acquired data of the corresponding column is displayed on the display device 2 (step S21). The input screen displayed at this time is exactly the same as the input form 210 shown in FIG. 10 except that actual data is displayed for each component in the input form. As a result, the user can confirm the still image, moving image, text, etc. registered in the database. In the case of a moving image, the top screen is attached to the component and the moving image is reproduced according to the instruction. Also,
In the case of voice, when a component is selected, the voice is reproduced on the speaker 3 through the user interface 103.

【0054】その後、入力モジュール102は、利用者
の後続の操作を待ち合わせる(S22〜S24)。次の
操作が次頁,前頁,最終頁といった頁指定である場合
(S22YES)、入力モジュール102はデータ取得
モジュール112を通じて該当する行の内容をデータベ
ース8から取得し(ステップS25)、この取得したデ
ータを部品に張り付けた入力画面を表示装置2に表示す
る(S21)。なお、入力モジュール102は現在表示
中の行のデータベース内における位置を把握しているた
め、現在行の前後の行の表示が利用者によって指定され
た場合には、現在位置からの相対位置をデータ取得モジ
ュール112に通知する。例えば、現在の表示行がデー
タベース8中の3番目の行であり、利用者が次の行を表
示させる指示を出すと、入力モジュール102はデータ
ベース中の4番目の行を取得するようにデータ取得モジ
ュール112に通知し、データ取得モジュール112は
指定された行の内容をデータベース300から取得して
入力モジュール102に送り、入力モジュール102は
これを入力フォーム中の部品に表示する。
After that, the input module 102 waits for the subsequent operation by the user (S22 to S24). When the next operation is page designation such as the next page, the previous page, or the last page (YES in S22), the input module 102 acquires the content of the corresponding line from the database 8 through the data acquisition module 112 (step S25), and acquires this. An input screen in which data is pasted on the parts is displayed on the display device 2 (S21). Since the input module 102 keeps track of the position of the currently displayed line in the database, when the display of the lines before and after the current line is specified by the user, the relative position from the current position is used as the data. Notify the acquisition module 112. For example, the current display row is the third row in the database 8, and when the user gives an instruction to display the next row, the input module 102 acquires data so as to obtain the fourth row in the database. The module 112 is notified, the data acquisition module 112 acquires the content of the designated line from the database 300 and sends it to the input module 102, and the input module 102 displays this on the component in the input form.

【0055】また、利用者がキーボード4等の操作によ
ってデータの修正開始を指示すると、入力モジュール1
02は図9のステップS14〜S16と同様なステップ
S26〜S28を実行する。即ち、入力モジュール10
2は、ファイル装置6のファイルのデータや入力ソース
7−1〜7−nのデータの入力フォームの部品への入力
ブラウザ108を使用した張り付け処理に関して利用者
を支援し(ステップS26)、データ張り付け後の修正
指示時には部品に張り付けられたデータのサイズと定義
情報記憶部107に登録されているテーブルの定義情報
中のデータ制約とに基づき、今回の入力データが該当す
るデータ制約を満足しているか否かをチェックし(ステ
ッププS27)、満足していれば今回の修正データをデ
ータベース8に登録する処理S29へ進み、満足してい
なければ前述と同様にして定義情報記憶部107の該当
するデータ制約を緩和した後にデータベース8を変更し
(ステップS28)、その後に今回の修正データをデー
タベース8に登録する処理S29へ進む。ステップS2
9では、入力モジュール102は、定義情報記憶部10
7を参照して、テーブル名とデータの張り付けられた部
品に対応する列名とを取得し、これらとその部品に張り
付けられたデータとをデータ入力モジュール111に通
知し、データ入力モジュールはデータベース8のデータ
ベース管理システム81が解釈できる命令で、データベ
ース8中のテーブルの該当する列のデータを修正する指
令を生成してデータベース管理システム81に発行す
る。
When the user gives an instruction to start data correction by operating the keyboard 4 or the like, the input module 1
02 executes steps S26 to S28 similar to steps S14 to S16 in FIG. That is, the input module 10
Reference numeral 2 assists the user in pasting the file data of the file device 6 and the data of the input sources 7-1 to 7-n to the components of the input form using the input browser 108 (step S26), and pastes the data. Based on the size of the data attached to the part and the data constraint in the definition information of the table registered in the definition information storage unit 107 at the time of a later correction instruction, whether the input data this time satisfies the corresponding data constraint. It is checked whether or not (step S27), and if satisfied, the process proceeds to a process S29 of registering the correction data of this time in the database 8. If not satisfied, the corresponding data constraint of the definition information storage unit 107 is performed in the same manner as described above. After modifying the data, the database 8 is changed (step S28), and then the modified data of this time is registered in the database 8. Proceed to that process S29. Step S2
9, the input module 102 uses the definition information storage unit 10
7, the table name and the column name corresponding to the part to which the data is attached are acquired, and the data and the data attached to the component are notified to the data input module 111. The command that can be interpreted by the database management system 81 is generated to issue to the database management system 81 a command for correcting the data in the corresponding column of the table in the database 8.

【0056】以上本発明の実施例について説明したが、
本発明は以上の実施例にのみ限定されずその他各種の付
加変更が可能である。例えば、フォームの設計時にフォ
ームに配置された部品の属性の1つとしてその部品に対
応する型対応表中のデフォルトのデータ制約を付与し、
属性変更ウインドウにて各部品のデータ制約を利用者が
任意に変更できる機能を持たせるようにしても良い。
The embodiment of the present invention has been described above.
The present invention is not limited to the above embodiments, and various other additions and changes are possible. For example, when designing a form, assign a default data constraint in the type correspondence table corresponding to that component as one of the attributes of the component placed on the form,
The attribute change window may be provided with a function that allows the user to arbitrarily change the data constraint of each component.

【0057】[0057]

【発明の効果】以上説明したように本発明のデータベー
ス構築装置によれば、以下のような効果を得ることがで
きる。
As described above, according to the database construction apparatus of the present invention, the following effects can be obtained.

【0058】利用者はフォームに部品を配置し、その部
品にデータを張り付けるだけで、データベースの生成と
データの登録とが行え、データタイプやデータ制約を意
識する必要がない。また、データの登録や取得時に表示
装置に表示されるフォームの形式は、利用者がフォーム
エディタでデザインしたフォームそのものであるため、
データの登録や取得の際に使用するフォームをエンドユ
ーザ自身がその好みに応じて自由に設計することがで
き、然もその設計した画面に基づきデータベースが自動
的に生成されるため、エンドユーザの負担が増大しな
い。
The user can generate the database and register the data simply by arranging the parts on the form and pasting the data on the parts, without having to be aware of the data type or the data restriction. Also, since the form format displayed on the display device when registering or acquiring data is the form itself designed by the user with the form editor,
The end user himself / herself can freely design the form used when registering or acquiring data according to his / her preference, and since the database is automatically generated based on the designed screen, the end user's The burden does not increase.

【0059】入力ブラウザを備える構成にあっては、利
用者は、入力フォーム上の部品を選択し、入力ブラウザ
によって表示されるデータの一覧から登録したいデータ
を選択するという簡単な操作で、入力フォーム上の部品
へのそのデータタイプに合致するデータの張り付けが行
える。
In the configuration provided with the input browser, the user can select the parts on the input form and select the data to be registered from the list of data displayed by the input browser, by the simple operation. The data matching the data type can be pasted on the upper part.

【0060】CD−ROM,VTR,スキャナ等の種々
のメディアデータの入力ソースと、この入力ソースから
データを入力してファイルに保存することなく入力ブラ
ウザに送信するデータ生成アプリケーションとを備える
構成にあっては、利用者は、静止画,動画,音声等の登
録素材を利用者自身が一々ファイル化することなく直接
にデータ登録することができる。
An input source for various media data such as a CD-ROM, a VTR, a scanner, etc., and a data generation application for inputting data from this input source and transmitting it to an input browser without saving it in a file are provided. In this case, the user can directly register the registered material such as a still image, a moving image and a sound without converting the file into a file.

【0061】データベース変更モジュールを備える構成
にあっては、データ制約を満足しないデータの登録時に
自動的にデータ制約が緩和されると共にデータベースの
変更も自動的に行われるため、データ制約の緩和に起因
するデータベースの変更作業から利用者を解放できる。
In the configuration including the database change module, the data constraint is automatically relaxed when the data that does not satisfy the data constraint is registered, and the database is automatically changed. Users can be freed from the work of changing the database.

【0062】フォームデータベースを備える構成にあっ
ては、利用者は幾つかの候補となるフォームの作成を並
行して行え、その中から後のデータ登録等に適するフォ
ームを選択することによって最適なフォームを決定でき
る。
In the configuration provided with the form database, the user can create several candidate forms in parallel, and by selecting a form suitable for later data registration from among them, the optimum form can be selected. Can be determined.

【0063】ソースコード生成手段とカタログフォーム
出力モジュールとを備える構成にあっては、利用者が自
分自身でデザインしたフォームやそのフォーム上にデー
タを表示するルーチンを使うアプリケーションを一から
作成する必要がなくなり、同じフォームを使用したより
高度な検索機能や表示機能を持つアプリケーションを作
成する際の手間が省ける。
In the structure including the source code generating means and the catalog form output module, it is necessary to create an application which uses a form designed by the user himself or a routine for displaying data on the form from scratch. Eliminates the hassle of creating applications with more advanced search and display capabilities that use the same form.

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

【図1】本発明のデータベース構築装置の一実施例のブ
ロック図である。
FIG. 1 is a block diagram of an embodiment of a database construction device of the present invention.

【図2】設計モジュールの処理の一例を示すフローチャ
ートである。
FIG. 2 is a flowchart showing an example of processing of a design module.

【図3】フォームの設計開始時に表示装置に表示される
設計画面の例を示す図である。
FIG. 3 is a diagram showing an example of a design screen displayed on a display device at the start of designing a form.

【図4】設計画面のフォームに部品を配置した例を示す
図である。
FIG. 4 is a diagram showing an example in which parts are arranged on a form of a design screen.

【図5】設計画面に属性変更ウインドウを表示した状態
を示す図である。
FIG. 5 is a diagram showing a state in which an attribute change window is displayed on the design screen.

【図6】型対応表の内容例を示す図である。FIG. 6 is a diagram showing an example of contents of a type correspondence table.

【図7】定義情報記憶部に記憶される定義情報の一部の
例を示す図である。
FIG. 7 is a diagram showing an example of a part of definition information stored in a definition information storage unit.

【図8】ソースコード生成手段で生成されるソースコー
ドの例を示す図である。
FIG. 8 is a diagram showing an example of a source code generated by a source code generating means.

【図9】入力モジュールの処理の一部の例を示すフロー
チャートである。
FIG. 9 is a flowchart showing an example of part of the processing of the input module.

【図10】入力モード開始時点に表示装置に表示される
入力画面の例を示す図である。
FIG. 10 is a diagram showing an example of an input screen displayed on the display device at the time of starting the input mode.

【図11】入力画面の入力フォームに張り付けるデータ
の一覧を示すブラウザウインドウを開いた状態を示す図
である。
FIG. 11 is a diagram showing a state in which a browser window showing a list of data attached to an input form on an input screen is opened.

【図12】ブラウザウインドウ中のデータを選択して部
品に張り付けた状態の例を示す図である。
FIG. 12 is a diagram showing an example of a state in which data in a browser window is selected and attached to a component.

【図13】入力モジュールの処理の残りの部分の例を示
すフローチャートである。
FIG. 13 is a flowchart showing an example of the rest of the processing of the input module.

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

1…処理装置 101…設計モジュール 1011…フォームエディタ 1012…定義生成手段 1013…ソースコード生成手段 102…入力モジュール 103…ユーザインタフェイス 104…フォームデータベース 105…型対応表 106…カタログフォーム出力モジュール 107…定義情報記憶部 108…入力ブラウザ 109−1〜109−n…データ生成アプリケーション 110…データベース生成モジュール 111…データ入力モジュール 112…データ取得モジュール 113…データベース変更モジュール 2…表示装置 3…スピーカ 4…キーボード 5…マウス 6…ファイル装置 7−1〜7−n…入力ソース 8…データベース 81…データベース管理システム 1 ... Processing device 101 ... Design module 1011 ... Form editor 1012 ... Definition generating means 1013 ... Source code generating means 102 ... Input module 103 ... User interface 104 ... Form database 105 ... Type correspondence table 106 ... Catalog form output module 107 ... Definition Information storage unit 108 ... Input browsers 109-1 to 109-n ... Data generation application 110 ... Database generation module 111 ... Data input module 112 ... Data acquisition module 113 ... Database change module 2 ... Display device 3 ... Speaker 4 ... Keyboard 5 ... Mouse 6 ... File device 7-1 to 7-n ... Input source 8 ... Database 81 ... Database management system

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 指令に応じてデータベースの生成,デー
タの登録,取得等を行う機能を持つデータベース管理シ
ステムを備えるデータベースをターゲットとし、表示装
置と入力装置とを通じた対話的な処理によってデータベ
ースの構築を支援するデータベース構築装置において、 各メディアデータ種別毎に用意された部品についての前
記データベースにおけるデータタイプとデフォルトのデ
ータ制約とを記述した型対応表と、 任意の部品を任意の位置,大きさで配置したフォームを
前記表示装置の画面上に作成する処理に関して利用者を
支援するフォームエディタを含む設計モジュールと、 前記フォームエディタで作成されたフォームの定義情報
と、そのフォームの構成部品それぞれに関する前記型対
応表に記されたデータタイプ及びデータ制約を含むデー
タベーステーブルの定義情報とを保持する定義情報記憶
部と、 前記フォームエディタで作成されたフォーム上の各構成
部品をデータベーステーブルの1行の各列に見立てて、
当該データベーステーブルを保管する場所を前記データ
ベースに定義する指令を前記データベース管理システム
に発行すると共に当該データベーステーブルの枠組みを
前記データベースに定義する指令を前記データベース管
理システムに発行するデータベース生成モジュールと、 前記データベース管理システムに指令を発行して入力モ
ード開始時点には予め定められたデータベーステーブル
の行の内容を、その後は利用者から指定されたデータベ
ーステーブルの行の内容を前記データベースから取得す
るデータ取得モジュールと、 前記データベース管理システムに指令を発行して前記デ
ータベースのデータベーステーブルにデータを登録する
データ入力モジュールと、 前記定義情報記憶部に記憶されたフォームの定義情報に
合致する入力フォームを前記表示装置の画面に表示して
前記データ取得モジュールで取得された行の各列の内容
を前記入力フォームの該当する部品上に表示すると共
に、利用者による入力フォーム上の部品へのデータの張
り付け作業を支援し、且つ、データの張り付けが行われ
た入力フォーム上の各構成部品をデータベーステーブル
の1行の各列に見立てて、前記張り付けられたデータを
前記データ入力モジュールを通じて前記データベースに
登録する入力モジュールとを備えることを特徴とするデ
ータベース構築装置。
1. A database is constructed by interactive processing through a display device and an input device, targeting a database having a database management system having a function of generating a database, registering and acquiring data according to a command. In a database construction device that supports the above, a type correspondence table that describes the data types and default data constraints in the database for the parts prepared for each media data type, and any part at any position and size A design module including a form editor for assisting a user in creating a placed form on the screen of the display device, definition information of the form created by the form editor, and the mold for each component of the form. Data type and data described in the correspondence table A definition information storage unit that holds definition information of a database table including constraints, and each component on the form created by the form editor as a column of one row of the database table,
A database generation module for issuing to the database management system a command for defining a location for storing the database table in the database, and for issuing a command for defining the framework of the database table in the database to the database management system; A data acquisition module that issues a command to the management system to acquire the contents of a row of a predetermined database table at the time of starting the input mode and then the contents of the row of a database table specified by the user from the database. A data input module that issues a command to the database management system to register data in a database table of the database; and an input file that matches the definition information of the form stored in the definition information storage unit. Display the screen on the screen of the display device and display the contents of each column of the row acquired by the data acquisition module on the corresponding part of the input form, and The data is pasted through the data input module by supporting each component on the input form on which the data pasting is performed and each row in each row of the database table. An apparatus for constructing a database, comprising:
【請求項2】 通知されたデータタイプを持つファイル
のデータの一覧をファイル装置から取得して前記表示装
置上に表示すると共に、利用者による一覧中のデータの
選択時には選択されたデータを出力する入力ブラウザを
備え、 前記入力モジュールは、前記表示装置の画面に表示した
入力フォーム上の部品の利用者による選択時にその選択
された部品のデータタイプを前記入力ブラウザに通知し
てデータの一覧を前記表示装置の画面に表示させ、前記
入力ブラウザから出力されたデータを前記選択された部
品に張り付ける処理を行う構成を有することを特徴とす
る請求項1記載のデータベース構築装置。
2. A list of data of a file having a notified data type is acquired from a file device and displayed on the display device, and the selected data is output when the user selects the data in the list. An input browser is provided, and the input module notifies the input browser of the data type of the selected component when the user selects the component on the input form displayed on the screen of the display device, and displays the list of data. 2. The database construction apparatus according to claim 1, wherein the database construction apparatus is configured to display the data on the screen of the display device and paste the data output from the input browser to the selected component.
【請求項3】 種々のメディアデータの入力ソースと、
この入力ソースからデータを入力してファイルに保存す
ることなく前記入力ブラウザに送信するデータ生成アプ
リケーションとを備え、 前記入力モジュールは、利用者によって入力ソースが選
択されることにより、前記入力ブラウザに入力ソースを
通知する構成を有し、 前記入力ブラウザは、通知された入力ソースに対応する
データ生成アプリケーションを起動して取得したデータ
の一覧を前記表示装置上に表示すると共に、利用者によ
る一覧中のデータの選択時には選択されたデータを出力
する構成を有することを特徴とする請求項2記載のデー
タベース構築装置。
3. An input source for various media data,
A data generation application that inputs data from this input source and sends it to the input browser without saving it in a file, wherein the input module inputs to the input browser when the input source is selected by the user. The input browser has a configuration for notifying a source, the input browser displays a list of data acquired by activating a data generation application corresponding to the notified input source on the display device, and 3. The database construction device according to claim 2, wherein the data construction device has a configuration for outputting the selected data when the data is selected.
【請求項4】 前記データベースに登録されているデー
タベーステーブルの行の内容をダンプし、前記定義情報
記憶部に記憶されている修正後のデータ制約を含むデー
タベーステーブルの定義情報に合致するデータベーステ
ーブルの枠組みを前記データベースに定義する指令を前
記データベース管理システムに発行してデータベースを
再定義した後、前記データベース管理システムに指令を
発行して前記ダンプした行の内容を前記データベースに
リストアするデータベース変更モジュールを備え、 前記入力モジュールは、入力フォームの部品に張り付け
られたデータの登録時、そのデータが前記定義情報記憶
部に格納されているその部品に対応するデータ制約を満
たさない場合、そのデータが登録できるように前記定義
情報記憶部の該当するデータ制約を緩和した後に前記デ
ータベース変更モジュールを起動し、そのデータベース
変更処理の終了後に前記張り付けられたデータを前記デ
ータ入力モジュールを通じて前記データベースに登録す
る構成を有することを特徴とする請求項1記載のデータ
ベース構築装置。
4. A database table matching the definition information of the database table, which dumps the contents of the rows of the database table registered in the database and contains the corrected data constraint stored in the definition information storage unit. A database change module for issuing a command for defining a framework to the database to the database management system to redefine the database, and then issuing a command to the database management system to restore the contents of the dumped line to the database. The input module can register the data attached to the component of the input form when the data does not satisfy the data constraint corresponding to the component stored in the definition information storage unit when the data is registered. Corresponding to the definition information storage section 2. The configuration according to claim 1, wherein the database changing module is activated after the data constraint is relaxed, and the pasted data is registered in the database through the data input module after the database changing process is completed. Database construction device.
【請求項5】 前記フォームエディタで作成中あるいは
作成済みのフォームの定義情報を複数分格納できるフォ
ームデータベースを備えることを特徴とする請求項1記
載のデータベース構築装置。
5. The database construction device according to claim 1, further comprising a form database capable of storing a plurality of pieces of definition information of a form being created or already created by the form editor.
【請求項6】 前記フォームエディタで作成されたフォ
ームの定義情報に基づき、該定義情報とそのフォーム上
の各構成部品にデータの内容を表示するルーチンとを含
むビジュアルプログラミング言語のソースコードを生成
するソースコード生成手段を前記設計モジュールに備
え、かつ、 前記ソースコード生成手段で生成されたソースコードを
出力するカタログフォーム出力モジュールを備えること
を特徴とする請求項1記載のデータベース構築装置。
6. A source code of a visual programming language including the definition information and a routine for displaying data contents in each component on the form is generated based on the definition information of the form created by the form editor. 2. The database construction apparatus according to claim 1, further comprising a source code generation unit in the design module, and a catalog form output module for outputting the source code generated by the source code generation unit.
JP8148740A 1996-05-20 1996-05-20 Database construction equipment Expired - Lifetime JP3018983B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8148740A JP3018983B2 (en) 1996-05-20 1996-05-20 Database construction equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8148740A JP3018983B2 (en) 1996-05-20 1996-05-20 Database construction equipment

Publications (2)

Publication Number Publication Date
JPH09305454A true JPH09305454A (en) 1997-11-28
JP3018983B2 JP3018983B2 (en) 2000-03-13

Family

ID=15459570

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8148740A Expired - Lifetime JP3018983B2 (en) 1996-05-20 1996-05-20 Database construction equipment

Country Status (1)

Country Link
JP (1) JP3018983B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008165416A (en) * 2006-12-27 2008-07-17 Casio Comput Co Ltd Data input management device, data input management system and program
WO2013038508A1 (en) * 2011-09-13 2013-03-21 株式会社日立製作所 Computer, computer system and construction support method for database

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011022722A (en) 2009-07-14 2011-02-03 Optex Co Ltd Program generation device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008165416A (en) * 2006-12-27 2008-07-17 Casio Comput Co Ltd Data input management device, data input management system and program
WO2013038508A1 (en) * 2011-09-13 2013-03-21 株式会社日立製作所 Computer, computer system and construction support method for database
JPWO2013038508A1 (en) * 2011-09-13 2015-03-23 株式会社日立製作所 Computer, computer system, and database construction support method

Also Published As

Publication number Publication date
JP3018983B2 (en) 2000-03-13

Similar Documents

Publication Publication Date Title
JPH10289251A (en) Data retrieving method and recording medium where program for performing its process is recorded
JPH10240746A (en) Method for generating single-frame multimedia title
JPH11143874A (en) Style definition supporting device of structured document
JPH09305454A (en) Database structuring device
JPH10149271A (en) User interface system
JP2001175673A (en) Electronic book display device and storage medium stored with electronic book display program
JPH06243172A (en) Electronic filing device
JPH0744343A (en) Automatic generating device for operation support information
JP2000315203A (en) Document management system and document managing method
JPH0635987A (en) Device and mehtod for preparing circuit diagram
JP5237875B2 (en) Shared article publishing system
JP2001282516A (en) User interface device and recording medium recording program for the device
JP2002278760A (en) Method, system and program for creating electronic document program
JPH0934775A (en) Hypermedia construction supporting device
JP2000259667A (en) Document data registering system, its registering method and recording medium storing program for realizing the method
JP2021197120A (en) Content creation support system
JP2978178B2 (en) Document creation apparatus and control method thereof
JP2003338167A (en) Device, method, and program for managing contents, and computer-readable recording medium
JPH05289857A (en) Program generating method
JPH05181661A (en) General purpose menu system for each user
JPH0728788A (en) Documentation device and document saving and calling method
JPH012140A (en) Definition field object creation method
JP2003296316A (en) Document preparation support device, document preparation support method and program therefor
JPH02267671A (en) Retrieval display device for table format database
JPH0696145A (en) Processing system for character string/graphic