JP2002196959A - Database management and device - Google Patents

Database management and device

Info

Publication number
JP2002196959A
JP2002196959A JP2001352536A JP2001352536A JP2002196959A JP 2002196959 A JP2002196959 A JP 2002196959A JP 2001352536 A JP2001352536 A JP 2001352536A JP 2001352536 A JP2001352536 A JP 2001352536A JP 2002196959 A JP2002196959 A JP 2002196959A
Authority
JP
Japan
Prior art keywords
data type
extended
data
database management
type
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
JP2001352536A
Other languages
Japanese (ja)
Inventor
Mitsuhiro Hanatsuka
光博 花塚
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.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2001352536A priority Critical patent/JP2002196959A/en
Publication of JP2002196959A publication Critical patent/JP2002196959A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a database management method and a device capable of managing not only a standard data type but also a newly-defined optional data type with a database to a conventional system for managing only the standard data type and executing data operation corresponding to the standard data type, and executing operation extension to an organized database. SOLUTION: This management is attained by installing a first means for housing an inputted data type, and a second means for executing interface extension of the database management system so as to correspond to the data type definition of the data type when the data type is housed by the first means.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、コンピュータのデ
ータ管理に係り、特にマルチメディアデータベースの管
理に好適なデータベース管理システムの機能拡張方式に
関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to computer data management, and more particularly, to a function expansion method for a database management system suitable for multimedia database management.

【0002】[0002]

【従来の技術】従来のデータベース管理システムは、文
献「関係データベース管理システム」の第4章 関係デ
ータベースの作成と内部構造(平尾隆行著 近代科学
社)に記載されているように、システムの標準データ型
(文字,数値)のみを管理しており、また、データの操
作もこの標準データ型に対応して行われている。
2. Description of the Related Art A conventional database management system is based on the standard data of the system, as described in Chapter 4 of the document "Relational Database Management System", the creation and internal structure of a relational database (Takayuki Hirao, Modern Science). Only types (characters and numerical values) are managed, and data operations are performed in accordance with this standard data type.

【0003】[0003]

【発明が解決しようとする課題】上記従来技術は、例え
ば画像データのようなマルチメディアデータのデータ型
をデータベースに格納して管理することができず、また
マルチメディアデータ型を別属性としてデータベースに
格納できても、データベース管理システムとしてマルチ
メディアデータ型に関する操作を行うことができない。
In the above prior art, the data type of multimedia data such as image data cannot be stored and managed in the database, and the multimedia data type is stored in the database as another attribute. Even if it can be stored, it cannot perform operations on multimedia data types as a database management system.

【0004】従って、従来のデータベース管理システム
を使ってマルチメディアデータベースを作成する場合、
UAP(ユーザアプリケーションプログラム)にデータ
構造の認識と操作が任されるため、データベース管理シ
ステムが管理するデータベースは、UAPの専用ファイ
ルとなっている。
Therefore, when creating a multimedia database using a conventional database management system,
Since the recognition and operation of the data structure are left to the UAP (user application program), the database managed by the database management system is a UAP dedicated file.

【0005】本発明の目的は、マルチメディアデータ型
の管理とこの操作が行え、多くのUAPにデータベース
が利用できるようなデータベース管理方法および装置を
提供することにある。
[0005] It is an object of the present invention to provide a database management method and apparatus capable of managing multimedia data types and performing such operations, and using a database for many UAPs.

【0006】[0006]

【課題を解決するための手段】[Means for Solving the Problems]

【発明の実施の形態】以下に、本発明の一実施例を、図
面を用いて詳細に説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below in detail with reference to the drawings.

【0007】図1は、本発明の機能拡張方式によるデー
タベース管理システムの全体構成図である。
FIG. 1 is an overall configuration diagram of a database management system according to the function extension system of the present invention.

【0008】データベース管理システム1は、DBアク
セスインタフェース制御部2とインタフェース拡張機構
3を備え、また、言語別プリプロセッサ6と言語別イン
クルードファイル7と拡張機能ライブラリ8を備える。
言語別インクルードファイル7は、言語別にデータ型及
びこのデータ型に対応するデータ型定義を格納するもの
である。さらに、カタログとして、拡張データ型管理テ
ーブル4と拡張データ操作管理テーブル5を有する。
The database management system 1 includes a DB access interface control unit 2 and an interface extension mechanism 3, and further includes a language-specific preprocessor 6, a language-specific include file 7, and an extension function library 8.
The language-specific include file 7 stores a data type for each language and a data type definition corresponding to this data type. Further, the catalog has an extended data type management table 4 and an extended data operation management table 5 as a catalog.

【0009】DBアクセスインタフェース制御部2は、
エンドユーザおよびUAPからの要求を解析し、要求に
基づいたデータベースへのアクセスを制御するコンポー
ネントである。インタフェース拡張機構3は、本発明で
新しく追加したコマンド(データ型定義コマンド、デー
タ型操作登録コマンド)により、DBアクセスインタフ
ェースを拡張する機能を有するDBアクセスインタフェ
ース制御部2のサブコンポーネントである。拡張データ
型管理テーブル4は、ユーザが定義したデータ型を管理
するものである。拡張データ型操作管理テーブル5は、
ユーザが定義したデータ操作を管理するものである。言
語別インクルードファイル7は、ユーザが定義したデー
タ型とデータ型定義を言語別に格納し、また、言語別プ
リプロセッサ6の入力となるファイルである。拡張機能
ライブラリ8は、ユーザが定義したデータ操作のロード
モジュールを格納するライブラリである。
[0009] The DB access interface control unit 2
A component that analyzes requests from end users and UAPs and controls access to the database based on the requests. The interface extension mechanism 3 is a subcomponent of the DB access interface control unit 2 having a function of extending the DB access interface by a command (data type definition command, data type operation registration command) newly added in the present invention. The extended data type management table 4 manages a data type defined by a user. The extended data type operation management table 5
It manages data operations defined by the user. The language-specific include file 7 is a file that stores user-defined data types and data type definitions for each language, and is an input to the language-specific preprocessor 6. The extension function library 8 is a library for storing a load module for a data operation defined by a user.

【0010】次に、ユーザが新しくデータ型を定義する
ときのデータベース管理システム1の動作について、図
1、図4及び図5を用いて説明する。
Next, the operation of the database management system 1 when a user defines a new data type will be described with reference to FIGS. 1, 4 and 5.

【0011】本発明では、データ型を定義するために、
図4に示すようなデータ型定義コマンド15を設けた。
このデータ型定義コマンド15を入力することにより、
拡張データ型管理テーブル4が生成される。
In the present invention, in order to define a data type,
A data type definition command 15 as shown in FIG. 4 is provided.
By inputting this data type definition command 15,
An extended data type management table 4 is generated.

【0012】図5は、コマンド解析後の処理を示したフ
ローチャートである。DBアクセスインタフェース制御
部2は、拡張データ型定義コマンド15を解析しデータ
型を拡張データ型管理テーブル4に登録する(ステップ
16)。拡張データ型管理テーブル4の構成の一例を図
2に示す。拡張データ型管理テーブル4は、言語種別、
データ型名、データ型定義、定義ファイル名により構成
される。図1及び図5に戻り、さらに、言語種別により
言語別インクルードファイル7を更新する(ステップ1
7)。最後に、インタフェース拡張機構3によりDBア
クセスインタフェース制御部2を拡張する(ステップ1
8)。これにより例えば、ユーザがデータベースをアク
セスする場合、DBアクセスインタフェース制御部2は
ユーザが入力した命令語に基づいて拡張データ型管理テ
ーブル4を検索し、この拡張データ型管理テーブル4内
にあればアクセスを許可するため、データ型を登録する
ことによりユーザがデータベースをアクセスできるため
の命令語が拡張できる。また、ユーザがデータベースを
アクセスする際に入力したデータ型にあわせてこのデー
タ型に対応する定義に従ってデータベースからのデータ
の読出し、あるいは書き込みができる。
FIG. 5 is a flowchart showing processing after command analysis. The DB access interface control unit 2 analyzes the extended data type definition command 15 and registers the data type in the extended data type management table 4 (step 16). FIG. 2 shows an example of the configuration of the extended data type management table 4. The extended data type management table 4 includes a language type,
It consists of a data type name, data type definition, and definition file name. Returning to FIGS. 1 and 5, the language-specific include file 7 is updated according to the language type (step 1).
7). Finally, the DB access interface control unit 2 is extended by the interface extension mechanism 3 (step 1).
8). Thereby, for example, when the user accesses the database, the DB access interface control unit 2 searches the extended data type management table 4 based on the command input by the user, and if the extended data type management table 4 exists in the extended data type management table 4, By registering the data type, the command for allowing the user to access the database can be extended. Further, data can be read from or written to the database according to the definition corresponding to the data type input when the user accesses the database.

【0013】次に、ユーザが新しくデータ操作を登録す
るときのデータベース管理システム1の動作例につい
て、図1、図6及び図7により説明する。
Next, an example of the operation of the database management system 1 when a user registers a new data operation will be described with reference to FIGS. 1, 6, and 7. FIG.

【0014】本発明では、データ操作を登録するため
に、図6に示すよな拡張データ操作登録コマンド25を
設けた。この拡張データ操作登録コマンド25を入力す
ることにより拡張データ操作管理テーブル5が生成され
る。DBアクセスインタフェース制御部2は、拡張デー
タ操作登録コマンド25を解析しデータ型操作の格納さ
れた場所を示す情報を拡張データ操作管理テーブル5に
登録する(ステップ26)。拡張データ操作管理テーブ
ル5の一例を図3に示す。拡張データ操作管理テーブル
5は、操作種別、言語種別、操作インタフェース、デー
タ操作の格納された場所を示すファイル名により構成さ
れる。図1および図7に戻り、さらに、上記ファイル名
に基づいてユーザが記述したデータ操作のロードモジュ
ールをユーザが所有するユーザ作成ライブラリ23か
ら、データベース管理システム1が管理する拡張機能ラ
イブラリ8に登録する(ステップ27)。最後に、イン
タフェース拡張機構3によりDBアクセスインタフェー
ス制御部2を拡張する(ステップ28、ステップ2
9)。
In the present invention, an extended data operation registration command 25 as shown in FIG. 6 is provided to register a data operation. By inputting the extended data operation registration command 25, the extended data operation management table 5 is generated. The DB access interface control unit 2 analyzes the extended data operation registration command 25 and registers information indicating the location where the data type operation is stored in the extended data operation management table 5 (step 26). An example of the extended data operation management table 5 is shown in FIG. The extended data operation management table 5 includes an operation type, a language type, an operation interface, and a file name indicating a location where a data operation is stored. Returning to FIG. 1 and FIG. 7, further, a data operation load module described by the user based on the file name is registered in the extended function library 8 managed by the database management system 1 from the user-created library 23 owned by the user. (Step 27). Finally, the DB access interface control unit 2 is extended by the interface extension mechanism 3 (step 28, step 2).
9).

【0015】次に、拡張したデータ型、データ操作を用
いてUAPのソースプログラムからロードモジュールを
作成する過程を図8により説明する。
Next, the process of creating a load module from a UAP source program using the extended data type and data operation will be described with reference to FIG.

【0016】データ型を記述したUAPのソースプログ
ラム31と言語別インクルードファイル7中のこのデー
タ型に対応するデータ型定義を言語別プリプロセッサ6
に入力する。これにより、言語別プリプロセッサ6はデ
ータ型を展開し、コンパイラに入力できる形にする。さ
らに、この展開後のものがコンパイラ30に入力され、
コンパイラ30からの出力と拡張機能ライブラリ8に格
納されたデータ操作のロードモジュールとがリンケージ
エディタ40に入力されることにより、UAPのロード
モジュール32が出力される。ここで、コンパイラ30
はUAPのソースプログラムをロードモジュールに変換
するものであり、またリンケージエディタ40は複数の
ロードモジュールを連結編集するものである。
The UAP source program 31 describing the data type and the data type definition corresponding to this data type in the language-specific include file 7 are stored in the language-specific preprocessor 6.
To enter. As a result, the language-specific preprocessor 6 expands the data type so that it can be input to the compiler. Further, the expanded version is input to the compiler 30, and
When the output from the compiler 30 and the load module for data manipulation stored in the extension function library 8 are input to the linkage editor 40, the UAP load module 32 is output. Here, the compiler 30
Is for converting a UAP source program into load modules, and the linkage editor 40 is for linking and editing a plurality of load modules.

【0017】以上のよな処理によりUAPを作成する。
このように、UAPソースプログラム31中のデータ型
に対応する言語別インクルードファイル7中のデータ型
定義を利用できるため、UAPソースプログラム31を
作成するときには作成者はデータ型の定義を行なう必要
がない。また、データ型に関連するデータ操作を登録す
るに伴い、ロードモジュールを作成する際、利用できる
データ操作も増加する。
A UAP is created by the above processing.
As described above, since the data type definition in the language-specific include file 7 corresponding to the data type in the UAP source program 31 can be used, the creator does not need to define the data type when creating the UAP source program 31. . Further, as the data operation related to the data type is registered, the available data operation increases when the load module is created.

【0018】次に、拡張したデータ型、データ操作を含
んだコマンド発行によるデータベース管理システム1の
動作例について、図9を用いて説明する。コマンド操作
は、すべてデータベース管理システム1に組み込まれて
いるのでこの要求(34、35)により、拡張データ型
の入出力操作、拡張データ操作を実行する。一方、コマ
ンド操作以外の拡張機能33は、リンケージエディタ4
0によりUAPに組み込まれている。したがって、拡張
機能の要求36により組み込んだ機能が実行される。
Next, an operation example of the database management system 1 by issuing a command including an extended data type and a data operation will be described with reference to FIG. Since all the command operations are incorporated in the database management system 1, the input / output operation of the extended data type and the extended data operation are executed by this request (34, 35). On the other hand, the extended function 33 other than the command operation is
0 is incorporated in the UAP. Therefore, the function incorporated is executed by the request 36 for the extended function.

【0019】さらに、図10に示すように拡張したデー
タ型あるいはデータ操作を利用し易いように、拡張デー
タ型一覧表示コマンド37および拡張データ操作一覧表
示コマンド38を定義し、入力しても良い。拡張データ
型一覧表示コマンド37により、拡張データ型管理テー
ブル4の内容を表示する。また、拡張データ操作一覧表
示コマンド38により、拡張データ操作管理テーブル5
の内容を表示する。
Further, as shown in FIG. 10, an extended data type list display command 37 and an extended data operation list display command 38 may be defined and input so that the extended data type or data operation can be easily used. The contents of the extended data type management table 4 are displayed by the extended data type list display command 37. Also, the extended data operation management table 5 is displayed by the extended data operation list display command 38.
Display the contents of

【0020】[0020]

【発明の効果】本発明によれば、標準データ型以外に任
意のデータ型をデータベースで管理でき、構築したデー
タベースへの操作の拡張も行え、マルチメディアデータ
ベースの多様性に対応することができるという効果があ
る。
According to the present invention, any data type other than the standard data type can be managed in the database, the operation can be extended to the constructed database, and the diversity of the multimedia database can be handled. effective.

【0021】[0021]

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

【図1】本発明の一実施例を示すデータベース管理シス
テムの全体構成図。
FIG. 1 is an overall configuration diagram of a database management system according to an embodiment of the present invention.

【図2】拡張データ型管理テーブルの一例。FIG. 2 is an example of an extended data type management table.

【図3】拡張データ操作管理テーブルの一例。FIG. 3 is an example of an extended data operation management table.

【図4】拡張データ型定義コマンド形式を示す図。FIG. 4 is a diagram showing an extended data type definition command format.

【図5】拡張データ型定義時のデータベース管理システ
ムの動作を示すフローチャート。
FIG. 5 is a flowchart showing the operation of the database management system when defining an extended data type.

【図6】拡張データ操作登録コマンドの形式を示す図。FIG. 6 is a diagram showing a format of an extended data operation registration command.

【図7】データ型定義時のデータベース管理システムの
動作を示すフローチャート。
FIG. 7 is a flowchart showing the operation of the database management system when defining a data type.

【図8】UAP作成時の動作概念図。FIG. 8 is an operation conceptual diagram when a UAP is created.

【図9】UAPあるいはユーザ要求によるデータベース
管理システムおよびUAPの動作概念図。
FIG. 9 is a conceptual diagram of the operation of a database management system and a UAP according to a UAP or a user request.

【図10】拡張データ型・拡張データ操作一覧表示要求
時のデータベース管理システムの動作概念図。
FIG. 10 is a conceptual diagram of the operation of the database management system when an extended data type / extended data operation list display request is issued.

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

1…データベース管理システム、2…DBアクセスイン
タフェース制御部、3…インタフェース拡張機構、4…
拡張データ型管理テーブル、5…拡張データ操作管理テ
ーブル、6…言語別プリプロセッサ、7…言語別インク
ルードファイル、8…拡張機能ライブラリ、9…データ
ベース。
DESCRIPTION OF SYMBOLS 1 ... Database management system, 2 ... DB access interface control part, 3 ... Interface extension mechanism, 4 ...
Extended data type management table, 5: Extended data operation management table, 6: Preprocessor by language, 7: Include file by language, 8: Extended function library, 9: Database.

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】拡張するデータ型の名称と言語種別とシス
テムで提供する標準のデータ型から構成されるデータ型
定義の指定要求を受け、前記拡張データ型を定義するコ
マンドを実行することを特徴とするデータベース管理方
法。
1. A command for defining an extended data type is received upon receiving a request to specify a data type definition composed of a name of a data type to be extended, a language type, and a standard data type provided by the system. And database management method.
【請求項2】拡張するデータ操作種別と言語種別とデー
タ操作の格納された場所を示す操作ファイル名と拡張す
るデータ操作の名称とそれらの操作の呼び出しで利用す
る拡張データ型を含むパラメタとパラメタのデータ型か
ら構成される操作インタフェースを特定し、拡張データ
操作を登録定義するコマンドを実行することを特徴とす
るデータベース管理方法。
2. A parameter including an operation file name indicating a data operation type to be extended, a language type, a location where the data operation is stored, a name of the data operation to be extended, and an extended data type used in calling those operations. A database management method comprising: specifying an operation interface composed of the following data types; and executing a command for registering and defining an extended data operation.
【請求項3】請求項1または請求項2記載のデータベー
ス管理方法において、前記言語種別としてFORTRA
N言語を指定することを特徴とするデータベース管理方
法。
3. The database management method according to claim 1, wherein the language type is FORTRA.
A database management method comprising specifying N languages.
【請求項4】請求項2記載のデータベース管理方法にお
いて、前記拡張データ型は、画像データから構成される
マルチメディアデータ型であることを特徴とするデータ
ベース管理方法。
4. The database management method according to claim 2, wherein said extended data type is a multimedia data type composed of image data.
JP2001352536A 2001-11-19 2001-11-19 Database management and device Pending JP2002196959A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001352536A JP2002196959A (en) 2001-11-19 2001-11-19 Database management and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001352536A JP2002196959A (en) 2001-11-19 2001-11-19 Database management and device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP25672399A Division JP3435372B2 (en) 1999-09-10 1999-09-10 Database management method and system

Publications (1)

Publication Number Publication Date
JP2002196959A true JP2002196959A (en) 2002-07-12

Family

ID=19164695

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001352536A Pending JP2002196959A (en) 2001-11-19 2001-11-19 Database management and device

Country Status (1)

Country Link
JP (1) JP2002196959A (en)

Similar Documents

Publication Publication Date Title
JP3437849B2 (en) Database management system and method for supporting object-oriented programming
JP3058672B2 (en) Database management system
US7765464B2 (en) Method and system for dynamically assembling presentations of web pages
JP2004342108A (en) Reflection-based processing of input parameter for command
JP2002024020A (en) Screen control program, dynamic display information acquisition program, screen display transaction program, screen component interface program and screen program preparing method
JPH0612452A (en) Group information access system
CN113971037A (en) Application processing method and device, electronic equipment and storage medium
EP1909170B1 (en) Method and system for automatically generating a communication interface
US20130218928A1 (en) Information processing device
JP2002196959A (en) Database management and device
JP3435372B2 (en) Database management method and system
JP2002207768A (en) Information processing system, its method and recording medium recorded with information processing program operating on computer
JP5190899B2 (en) Information processing apparatus, setting file generation method, and setting file generation program
JP4708685B2 (en) CLI command input method / program / program recording medium / device, data recording medium
JP2000322295A (en) Method and device for programming support for data base stored sub-program
JPH0277872A (en) Document processor with active function
JPH064273A (en) Data processor
JP2878159B2 (en) Transaction processing system
JP2754866B2 (en) Object code generator for data driven computer
JPH0683887A (en) Drawing management system
JP2000163420A (en) Dictionary data management device and its recording medium
JPH03191423A (en) Program starting system
JP2004302840A (en) Data base access method
JP2006039597A (en) Data linkage system
JPH11102365A (en) Office program generation support device and program storage medium

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20040511