JP2020197839A - Data management program, data management method and data management system - Google Patents

Data management program, data management method and data management system Download PDF

Info

Publication number
JP2020197839A
JP2020197839A JP2019102746A JP2019102746A JP2020197839A JP 2020197839 A JP2020197839 A JP 2020197839A JP 2019102746 A JP2019102746 A JP 2019102746A JP 2019102746 A JP2019102746 A JP 2019102746A JP 2020197839 A JP2020197839 A JP 2020197839A
Authority
JP
Japan
Prior art keywords
data
product information
schema
class
database
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2019102746A
Other languages
Japanese (ja)
Other versions
JP7279524B2 (en
Inventor
正敬 立脇
Masataka Tatewaki
正敬 立脇
小林 弘樹
Hiroki Kobayashi
弘樹 小林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2019102746A priority Critical patent/JP7279524B2/en
Publication of JP2020197839A publication Critical patent/JP2020197839A/en
Application granted granted Critical
Publication of JP7279524B2 publication Critical patent/JP7279524B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

To support changes to entity data created based on an object-oriented data model flexibly.SOLUTION: A data management program causes a computer to generate meta data from a product information data schema 110 of an object-oriented data model description (S101), generate a schema ID for each product information data schema 110 (S102), register the meta data in a data dictionary 111 using the schema ID as a key (S103) ("data dictionary registration"), and create a product information database 112 to store product information entity data by referring to the meta data registered in the data dictionary 111 (S104) ("product information database creation"), so as to store and extract the product information entity data in/from the product information database 112.SELECTED DRAWING: Figure 1

Description

本発明は、データ管理プログラム、データ管理方法およびデータ管理システムに関する。 The present invention relates to a data management program, a data management method and a data management system.

従来、土木・建築物や航空機・船舶のような大規模かつ長期間使用される製品などでは、その製品の企画・設計段階や施工・製造段階、および出荷後の運用・保守段階を含むライフサイクル全体で製品情報を蓄積し、管理することが求められている。こうした製品に関わるライフサイクル全体の情報を取り扱い可能にするために、オブジェクト指向データモデリング手法を採用した製品情報モデルが提案され、仕様化されている。 Conventionally, for large-scale and long-term products such as civil engineering / buildings and aircraft / ships, the life cycle includes the planning / design stage, construction / manufacturing stage, and post-shipment operation / maintenance stage of the product. It is required to accumulate and manage product information as a whole. In order to make it possible to handle information on the entire life cycle related to such products, a product information model that employs an object-oriented data modeling method has been proposed and specified.

一方、これらの製品情報データである実体データを長期にわたり蓄積・管理するためには、たとえば、ACID特性に優れる関係データベースが適している。そこで、オブジェクト指向データモデルに基づいて作成された実体データを計算機上で蓄積・管理するために、関係モデルに変換し、それらのデータを効率的に操作する仕組みが提案されている。 On the other hand, in order to accumulate and manage the actual data which are these product information data for a long period of time, for example, a relational database having excellent ACID characteristics is suitable. Therefore, in order to store and manage the actual data created based on the object-oriented data model on a computer, a mechanism has been proposed in which the data is converted into a relational model and the data is efficiently manipulated.

関連する先行技術としては、オブジェクト指向データモデルに基づいて作成された実体データを計算機上で蓄積・管理する技術がある。 As a related prior art, there is a technology for accumulating and managing actual data created based on an object-oriented data model on a computer.

特開2001−195297号公報Japanese Unexamined Patent Publication No. 2001-195297 特開2004−46650号公報JP-A-2004-46650 特開2005−202850号公報Japanese Unexamined Patent Publication No. 2005-202850

しかしながら、長期の運用期間中には、製品情報モデル自体、すなわち、オブジェクト指向データモデル自体の追加・更新などの変更がおこなわれることがあり、従来技術にあっては、これらの変更に基づいた実体データを統一して管理することができないという問題がある。 However, during a long operation period, changes such as addition / update of the product information model itself, that is, the object-oriented data model itself may be made, and in the prior art, the substance based on these changes is made. There is a problem that data cannot be unified and managed.

一つの側面では、本発明は、オブジェクト指向データモデルの変更に柔軟に対応し、それに基づいた実体データを統一して管理することを目的とする。 In one aspect, it is an object of the present invention to flexibly respond to changes in an object-oriented data model and to manage real data based on the changes in a unified manner.

一つの実施態様では、オブジェクト指向データモデルに基づいて作成された情報のデータスキーマから、当該情報のメタデータを生成し、前記メタデータをデータ辞書に登録し、前記データ辞書に登録された前記メタデータを参照して、前記データスキーマから、前記情報に関するデータベースを作成する、処理をコンピュータに実行させることを特徴とするデータ管理プログラムが提供される。 In one embodiment, the metadata of the information is generated from the data schema of the information created based on the object-oriented data model, the metadata is registered in the data dictionary, and the meta registered in the data dictionary. A data management program is provided, which comprises causing a computer to perform processing by referring to data and creating a database related to the information from the data schema.

本発明の一側面によれば、オブジェクト指向データモデルに基づいて作成された実体データを統一して管理することができる。 According to one aspect of the present invention, it is possible to uniformly manage the actual data created based on the object-oriented data model.

図1は、実施の形態にかかるデータ管理プログラムの概要の一例を示す説明図である。FIG. 1 is an explanatory diagram showing an example of an outline of a data management program according to an embodiment. 図2は、実施の形態にかかるデータ管理システムの構成の一例を示す説明図である。FIG. 2 is an explanatory diagram showing an example of the configuration of the data management system according to the embodiment. 図3は、実施の形態にかかるデータ管理システムを構成する情報処理装置(サーバ、情報端末装置)のハードウェア構成の一例を示すブロック図である。FIG. 3 is a block diagram showing an example of a hardware configuration of an information processing device (server, information terminal device) constituting the data management system according to the embodiment. 図4は、実施の形態にかかるデータ管理システムの機能的構成の一例を示すブロック図である。FIG. 4 is a block diagram showing an example of the functional configuration of the data management system according to the embodiment. 図5は、データ辞書の構成の一例を示す説明図である。FIG. 5 is an explanatory diagram showing an example of the configuration of the data dictionary. 図6は、製品情報データベースの構成の一例を示す説明図である。FIG. 6 is an explanatory diagram showing an example of the configuration of the product information database. 図7は、データ辞書へのメタデータの登録手順の一例を示すフローチャートである。FIG. 7 is a flowchart showing an example of the procedure for registering metadata in the data dictionary. 図8は、製品情報データベース定義テーブルへのデータの登録手順の一例を示すフローチャートである。FIG. 8 is a flowchart showing an example of a procedure for registering data in the product information database definition table. 図9は、クラス定義テーブルへのデータの登録手順の一例を示すフローチャートである。FIG. 9 is a flowchart showing an example of the procedure for registering data in the class definition table. 図10は、属性定義テーブルへのデータの登録手順の一例を示すフローチャートである。FIG. 10 is a flowchart showing an example of a procedure for registering data in the attribute definition table. 図11は、製品情報データベースの作成手順(インスタンス・テーブルの生成)の一例を示すフローチャートである。FIG. 11 is a flowchart showing an example of a product information database creation procedure (instance table generation). 図12は、製品情報データベースの作成手順(クラステーブルの生成)の一例を示すフローチャートである。FIG. 12 is a flowchart showing an example of a product information database creation procedure (class table generation). 図13は、製品情報データベースへのデータアクセス制御手順(データ登録)の一例を示すフローチャートである。FIG. 13 is a flowchart showing an example of a data access control procedure (data registration) to the product information database. 図14は、製品情報データベースへのデータアクセス制御手順(データ取得)の一例を示すフローチャートである。FIG. 14 is a flowchart showing an example of a data access control procedure (data acquisition) for the product information database.

以下に図面を参照して、本発明にかかるデータ管理プログラム、データ管理方法およびデータ管理システムの実施の形態を詳細に説明する。 The data management program, the data management method, and the embodiment of the data management system according to the present invention will be described in detail with reference to the drawings below.

(実施の形態)
(データ管理プログラムの概要)
図1は、実施の形態にかかるデータ管理プログラムの概要の一例を示す説明図である。図1において、本実施の形態にかかるデータ管理プログラムは、製品情報データスキーマ110から生成したメタデータをデータ辞書111に登録をすること(“データ辞書登録”)、および、データ辞書111に登録されたメタデータを参照して、製品情報実体データを格納する製品情報データベース112の作成をすること(“製品情報データベース作成”)により、製品情報データベース112に対して製品情報の実体データを保存・抽出することができる。
(Embodiment)
(Overview of data management program)
FIG. 1 is an explanatory diagram showing an example of an outline of a data management program according to an embodiment. In FIG. 1, the data management program according to the present embodiment registers the metadata generated from the product information data schema 110 in the data dictionary 111 (“data dictionary registration”), and is registered in the data dictionary 111. By creating the product information database 112 that stores the actual product information data (“creating the product information database”) by referring to the metadata, the actual data of the product information is saved and extracted from the product information database 112. can do.

具体的には、まず、オブジェクト指向データモデル記述の製品情報データスキーマ110から、ステップS104において作成する製品情報データベース112のメタデータを生成する(ステップS101)。つぎに、一つの製品情報データスキーマ110に対して一つのスキーマIDを生成する(ステップS102)。これにより、スキーマIDによって、メタデータを管理することができる。そして、ステップS101において生成したメタデータを、ステップS102において生成したスキーマIDを主キーとして、データ辞書111に登録する(ステップS103)。 Specifically, first, the metadata of the product information database 112 created in step S104 is generated from the product information data schema 110 of the object-oriented data model description (step S101). Next, one schema ID is generated for one product information data schema 110 (step S102). Thereby, the metadata can be managed by the schema ID. Then, the metadata generated in step S101 is registered in the data dictionary 111 with the schema ID generated in step S102 as the primary key (step S103).

このようにして、データ管理プログラムは、ステップS101〜S103によって、“データ辞書登録”をおこなう。データ辞書登録の詳細な手順については、後述する図7〜図10において説明する。これが、実施の形態にかかるデータ管理プログラムにおける第1の特徴である。 In this way, the data management program performs "data dictionary registration" in steps S101 to S103. The detailed procedure for registering the data dictionary will be described with reference to FIGS. 7 to 10 described later. This is the first feature of the data management program according to the embodiment.

つぎに、ステップS103においてデータ辞書111に登録されているメタデータを参照して、オブジェクト指向データモデル記述の製品情報データスキーマ110から製品情報データベース112を作成する(ステップS104)。このようにして、データ管理プログラムは、ステップS104によって、“製品情報データベース作成”をおこなう。製品情報データベース作成の詳細な手順については、後述する図11および図12において説明する。これが、実施の形態にかかるデータ管理プログラムにおける第2の特徴である。 Next, the product information database 112 is created from the product information data schema 110 of the object-oriented data model description with reference to the metadata registered in the data dictionary 111 in step S103 (step S104). In this way, the data management program "creates the product information database" in step S104. The detailed procedure for creating the product information database will be described with reference to FIGS. 11 and 12 described later. This is the second feature of the data management program according to the embodiment.

さらに、ステップS102において生成されたスキーマIDと、実体データのインスタンスIDとを主キーとして、関係データベース上の実体データへアクセスする(ステップS105)。そして、製品情報データベース112に対して、製品情報の実体データの保存または抽出をおこなう(ステップS106)。製品情報データベース112へのデータアクセスの詳細な手順については、後述する図13および図14において説明する。 Further, the schema ID generated in step S102 and the instance ID of the entity data are used as primary keys to access the entity data on the relational database (step S105). Then, the actual data of the product information is stored or extracted from the product information database 112 (step S106). The detailed procedure of data access to the product information database 112 will be described later in FIGS. 13 and 14.

このように、実施の形態にかかるデータ管理プログラム、データ管理方法およびデータ管理システムは、“データ辞書登録”および“製品情報データベース作成”をおこなうことによって、異なる製品情報データスキーマを持つ実体データを統一して管理することができる。これにより、製品情報モデル自体の追加・変更などに柔軟に対応することができるものである。 In this way, the data management program, data management method, and data management system according to the embodiment unify the actual data having different product information data schemas by performing "data dictionary registration" and "product information database creation". Can be managed. As a result, it is possible to flexibly respond to additions and changes of the product information model itself.

(データ管理システムの構成)
図2は、実施の形態にかかるデータ管理システムの全体構成の一例を示す説明図である。図2において、データ管理システム200は、情報処理装置の一例であるサーバ201と、情報処理装置の別の一例である情報端末装置202と、を備えている。サーバ201に対して、ネットワーク203を介して、情報端末装置202が、それぞれ接続されている。
(Data management system configuration)
FIG. 2 is an explanatory diagram showing an example of the overall configuration of the data management system according to the embodiment. In FIG. 2, the data management system 200 includes a server 201, which is an example of an information processing device, and an information terminal device 202, which is another example of an information processing device. The information terminal device 202 is connected to the server 201 via the network 203, respectively.

サーバ201は、このデータ管理システム200の全体を管理するとともに、各情報端末装置202との情報の送受信をおこなう。また、データ辞書111および製品情報データベース112は、サーバ201が備えていてもよく、また、サーバ201と通信可能に接続されていてもよい。そして、サーバ201は、データ辞書111および製品情報データベース112のデータの入出力や、更新などの管理をおこなう。このように、サーバ201は、実施の形態にかかるデータ管理システムの機能を実現することができる。 The server 201 manages the entire data management system 200 and transmits / receives information to / from each information terminal device 202. Further, the data dictionary 111 and the product information database 112 may be provided in the server 201, or may be communicably connected to the server 201. Then, the server 201 manages data input / output, update, and the like of the data dictionary 111 and the product information database 112. In this way, the server 201 can realize the function of the data management system according to the embodiment.

また、サーバ201は、ネットワーク203を介して、図示は省略する別の一つまたは複数のサーバとアクセス可能に接続されていてもよい。そして、データ辞書111および製品情報データベース112の少なくともいずれかは、サーバ201を含む別の一つまたは複数のサーバによって分散して管理するようにしてよい。 Further, the server 201 may be accessiblely connected to another one or a plurality of servers (not shown) via the network 203. Then, at least one of the data dictionary 111 and the product information database 112 may be distributed and managed by another one or a plurality of servers including the server 201.

また、情報端末装置202は、データ辞書111、製品情報データベース112へアクセスすることが可能な装置であり、具体的には、たとえば、パーソナルコンピュータ、タブレット端末、スマートフォンなどの通信機能を備えた電子機器によって、その機能を実現することができる。 The information terminal device 202 is a device capable of accessing the data dictionary 111 and the product information database 112. Specifically, for example, an electronic device having a communication function such as a personal computer, a tablet terminal, or a smartphone. The function can be realized by.

(情報処理装置のハードウェア構成例)
図3は、実施の形態にかかるデータ管理システムを構成する情報処理装置(サーバ、情報端末装置)のハードウェア構成の一例を示すブロック図である。図3において、情報処理装置(サーバ201、情報端末装置202)は、CPU(Central Processing Unit)301と、メモリ302と、I/F(Interface)303と、記録媒体I/F304と、記録媒体305と、を有する。また、各構成部301〜304は、バス300によってそれぞれ接続される。
(Example of hardware configuration of information processing device)
FIG. 3 is a block diagram showing an example of a hardware configuration of an information processing device (server, information terminal device) constituting the data management system according to the embodiment. In FIG. 3, the information processing apparatus (server 201, information terminal apparatus 202) includes a CPU (Central Processing Unit) 301, a memory 302, an I / F (Interface) 303, a recording medium I / F 304, and a recording medium 305. And have. Further, each of the constituent units 301 to 304 is connected by a bus 300.

ここで、CPU301は、情報処理装置(サーバ201、情報端末装置202)の全体の制御を司る。メモリ302は、たとえば、ROM(Read Only Memory)、RAM(Random Access Memory)およびフラッシュROMなどを有する。具体的には、たとえば、フラッシュROMやROMが各種プログラムを記憶し、RAMがCPU301のワークエリアとして使用される。メモリ302に記憶されるプログラムは、CPU301にロードされることで、コーディングされている処理をCPU301に実行させる。 Here, the CPU 301 controls the entire information processing device (server 201, information terminal device 202). The memory 302 includes, for example, a ROM (Read Only Memory), a RAM (Random Access Memory), a flash ROM, and the like. Specifically, for example, a flash ROM or ROM stores various programs, and RAM is used as a work area of CPU 301. The program stored in the memory 302 is loaded into the CPU 301 to cause the CPU 301 to execute the coded process.

I/F303は、通信回線を通じて、ネットワーク203に接続され、ネットワーク203を介して他の情報処理装置に接続される。そして、I/F303は、ネットワークと自装置内部とのインターフェースを司り、他の情報処理装置からのデータの入出力を制御する。I/F303には、たとえば、モデムやLANアダプタなどを採用することができる。 The I / F 303 is connected to the network 203 through a communication line, and is connected to another information processing device via the network 203. Then, the I / F 303 controls the interface between the network and the inside of the own device, and controls the input / output of data from another information processing device. For the I / F 303, for example, a modem, a LAN adapter, or the like can be adopted.

記録媒体I/F304の一例であるディスクドライブは、CPU301の制御にしたがって記録媒体305の一例であるディスクに対するデータのリード/ライトを制御する。記録媒体305の一例であるディスクは、記録媒体I/F304の制御で書き込まれたデータを記憶する。記録媒体305としては、たとえば、磁気ディスク、光ディスクなどが挙げられる。 The disk drive, which is an example of the recording medium I / F 304, controls the read / write of data to the disk, which is an example of the recording medium 305, according to the control of the CPU 301. A disk, which is an example of the recording medium 305, stores data written under the control of the recording medium I / F 304. Examples of the recording medium 305 include magnetic disks and optical disks.

なお、情報処理装置(サーバ201、情報端末装置202)は、上述した構成部のほかに、図示を省略するが、たとえば、SSD(Solid State Drive)、HDD(Hard Disk Drive)、ディスプレイ、入力装置などを有していてもよい。 The information processing device (server 201, information terminal device 202) includes, for example, an SSD (Solid State Drive), an HDD (Hard Disk Drive), a display, and an input device, although not shown, in addition to the above-described components. And so on.

ディスプレイは、カーソル、アイコンあるいはツールボックスをはじめ、文書、画像、機能情報などのデータを表示する。ディスプレイとしては、たとえば、液晶ディスプレイ、有機EL(Electroluminescence)ディスプレイなどを採用することができる。 The display displays data such as documents, images, and functional information, as well as cursors, icons, and toolboxes. As the display, for example, a liquid crystal display, an organic EL (Electroluminescence) display, or the like can be adopted.

入力装置は、文字、数字、各種指示などの入力のためのキーを有し、データの入力をおこなう。入力装置は、キーボードやマウスなどであってもよく、また、タッチパネル式の入力パッドやテンキーなどであってもよい。 The input device has keys for inputting characters, numbers, various instructions, etc., and inputs data. The input device may be a keyboard, a mouse, or the like, or may be a touch panel type input pad, a numeric keypad, or the like.

(データ管理システムの機能的構成)
図4は、実施の形態にかかるデータ管理システムの機能的構成の一例を示すブロック図である。図4において、データ管理システム200は、データ辞書111、製品情報データベース112のほか、メタデータ登録部401と、製品情報データベース作成部402と、データアクセス制御部403と、を含む構成となっている。
(Functional configuration of data management system)
FIG. 4 is a block diagram showing an example of the functional configuration of the data management system according to the embodiment. In FIG. 4, the data management system 200 includes a data dictionary 111, a product information database 112, a metadata registration unit 401, a product information database creation unit 402, and a data access control unit 403. ..

ここで、データ辞書111は、後述する図5に示すように、製品情報データスキーマ110を関係データベースのテーブルに変換して蓄積する。また、製品情報データベース112は、後述する図6に示すように、製品情報実体データ410を格納する。データ辞書111および製品情報データベース112は、たとえば、図3に示したメモリ302や記録媒体305などの記憶領域によって実現される。 Here, the data dictionary 111 converts the product information data schema 110 into a table of a relational database and stores it, as shown in FIG. 5 described later. Further, the product information database 112 stores the product information substance data 410 as shown in FIG. 6 described later. The data dictionary 111 and the product information database 112 are realized by, for example, storage areas such as the memory 302 and the recording medium 305 shown in FIG.

また、メタデータ登録部401、製品情報データベース作成部402、および、データアクセス制御部403は、データ管理システム200において制御部となる機能である。メタデータ登録部401、製品情報データベース作成部402、および、データアクセス制御部403は、具体的には、たとえば、図3に示したメモリ302や記録媒体305などの記憶領域に記憶されたプログラムをCPU301に実行させることにより、または、I/F303により、その機能を実現する。各機能部の処理結果は、たとえば、図3に示したメモリ302や記録媒体305などの記憶領域に記憶される。 Further, the metadata registration unit 401, the product information database creation unit 402, and the data access control unit 403 are functions that serve as control units in the data management system 200. Specifically, the metadata registration unit 401, the product information database creation unit 402, and the data access control unit 403 store programs stored in storage areas such as the memory 302 and the recording medium 305 shown in FIG. The function is realized by causing the CPU 301 to execute the data or by using the I / F 303. The processing result of each functional unit is stored in a storage area such as the memory 302 or the recording medium 305 shown in FIG. 3, for example.

メタデータ登録部401は、製品情報データスキーマ110からメタデータを抽出しデータ辞書111に登録する。すなわち、メタデータ登録部401は、オブジェクト指向データモデルに基づいて作成された情報のデータスキーマ110から、当該情報のメタデータを生成し、メタデータをデータ辞書111に登録する。 The metadata registration unit 401 extracts metadata from the product information data schema 110 and registers it in the data dictionary 111. That is, the metadata registration unit 401 generates metadata of the information from the data schema 110 of the information created based on the object-oriented data model, and registers the metadata in the data dictionary 111.

より具体的には、メタデータ登録部401は、製品情報データスキーマ110ごとにスキーマIDを生成し、製品情報データスキーマ100から抽出されたメタデータを、スキーマIDをキーとしてデータ辞書111に登録する。 More specifically, the metadata registration unit 401 generates a schema ID for each product information data schema 110, and registers the metadata extracted from the product information data schema 100 in the data dictionary 111 using the schema ID as a key. ..

製品情報データベース作成部402は、データ辞書111に登録されたメタデータから製品情報データベースを作成する。すなわち、製品情報データベース作成部402は、データ辞書111に登録されているメタデータを参照して、オブジェクト指向データモデル記述の製品情報データスキーマ110から製品情報データベース112を作成する。 The product information database creation unit 402 creates a product information database from the metadata registered in the data dictionary 111. That is, the product information database creation unit 402 creates the product information database 112 from the product information data schema 110 of the object-oriented data model description with reference to the metadata registered in the data dictionary 111.

データアクセス制御部403は、製品情報データベース112に対して、製品情報実体データ410を保存または抽出する。その際に、データアクセス制御部403は、スキーマIDと、実体データのインスタンスIDと、をキーとして、製品情報データベース112上の実体データにアクセスする。 The data access control unit 403 stores or extracts the product information substance data 410 from the product information database 112. At that time, the data access control unit 403 accesses the actual data on the product information database 112 using the schema ID and the instance ID of the actual data as keys.

(データ辞書111の構成)
つぎに、データ辞書111の構成について説明する。図5は、データ辞書の構成の一例を示す説明図である。図5において、データ辞書111は、製品情報データベース定義テーブル501、クラス定義テーブル502、および、属性定義テーブル503の3つのテーブルからなる関係データベースとして構成されている。
(Structure of data dictionary 111)
Next, the configuration of the data dictionary 111 will be described. FIG. 5 is an explanatory diagram showing an example of the configuration of the data dictionary. In FIG. 5, the data dictionary 111 is configured as a relational database including three tables, a product information database definition table 501, a class definition table 502, and an attribute definition table 503.

製品情報データベース定義テーブル501は、「スキーマID」を主キー(Primary Key(PK))として、「データスキーマ名」および「製品情報データベース名」を管理するテーブルである。それにより、製品情報データベース定義テーブル501は、「スキーマID」と、製品情報データベース112と、の対応関係を管理することができる。製品情報データベース定義テーブル501は、製品情報データスキーマに対応する関係データベースシステム上の製品情報データベース112を特定するために使用される。 The product information database definition table 501 is a table that manages the "data schema name" and the "product information database name" with the "schema ID" as the primary key (Primary Key (PK)). Thereby, the product information database definition table 501 can manage the correspondence between the "schema ID" and the product information database 112. The product information database definition table 501 is used to identify the product information database 112 on the relevant database system corresponding to the product information data schema.

クラス定義テーブル502は、「スキーマID」と「製品情報クラス名」を主キー(PK)として、「継承元クラス名」、インスタンス格納先であるクラステーブル名(「インスタンス格納先テーブル名」)および「従属テーブル名」を管理するテーブルである。それにより、クラス定義テーブル502は、「スキーマID」と、製品情報のクラスに関する情報と、の対応関係を管理することができる。クラス定義テーブル502は、製品情報データベース112の作成、および、製品情報実体データ410へのアクセス時に参照される。 The class definition table 502 uses the "schema ID" and "product information class name" as the primary key (PK), the "inheritance source class name", the class table name of the instance storage destination ("instance storage destination table name"), and It is a table that manages "dependent table name". Thereby, the class definition table 502 can manage the correspondence between the "schema ID" and the information regarding the class of the product information. The class definition table 502 is referred to when the product information database 112 is created and when the product information entity data 410 is accessed.

属性定義テーブル503は、「スキーマID」と「製品情報クラス名」を主キー(PK)として、そのクラスが持つ「属性名」、属性の「データ型」・「データ次元数」、および、格納先クラステーブルの対応する「カラム名」を管理するテーブルである。それにより、属性定義テーブル503は、「スキーマID」と、製品情報のクラスが持つ属性に関する情報と、の対応関係を管理することができる。属性定義テーブル503は、クラス定義テーブル502と同様に、製品情報データベース112の作成、および、製品実体データ410へのアクセスするために参照利用される。 The attribute definition table 503 uses the "schema ID" and "product information class name" as the primary key (PK), and stores the "attribute name", the "data type" and "data dimension number" of the attribute, and the storage. It is a table that manages the corresponding "column name" of the primary class table. As a result, the attribute definition table 503 can manage the correspondence between the "schema ID" and the information related to the attributes of the product information class. The attribute definition table 503 is referred to and used for creating the product information database 112 and accessing the product entity data 410, similarly to the class definition table 502.

データ辞書111は、このような構成によって、オブジェクト指向データモデルで記述された製品情報データスキーマ110を関係データベースとして蓄積・管理することができる。 With such a configuration, the data dictionary 111 can store and manage the product information data schema 110 described in the object-oriented data model as a relational database.

(製品情報データベース112の構成)
つぎに、製品情報データベース112の構成について説明する。図6は、製品情報データベースの構成の一例を示す説明図である。図6において、製品情報データベース112は、インスタンス・テーブル601、クラステーブル(継承元クラステーブル602、継承先クラステーブル603)、従属テーブル(継承元クラステーブル602の従属テーブル604、継承先クラステーブル603の従属テーブル605)の3種類のテーブルからなる関係データベースとして構成される。
(Configuration of product information database 112)
Next, the configuration of the product information database 112 will be described. FIG. 6 is an explanatory diagram showing an example of the configuration of the product information database. In FIG. 6, the product information database 112 includes an instance table 601, a class table (inheritance source class table 602, inheritance destination class table 603), and a dependent table (inheritance source class table 602 dependent table 604, inheritance destination class table 603). It is configured as a relational database consisting of three types of tables in the dependent table 605).

インスタンス・テーブル601は、製品情報クラスから、そのオブジェクトの「インスタンスID」を主キーとして、当該「インスタンスID」に対応する製品情報の実体データが格納されている格納テーブルの「格納テーブル名」を管理するテーブルである。具体的には、たとえば、クラステーブルである、継承元クラステーブル602および継承先クラステーブル603を管理する。それにより、インスタンス・テーブル601は、インスタンスIDと、当該「インスタンスID」に対応する製品情報実体データ410が格納されている格納テーブルと、の対応関係を管理する。 The instance table 601 uses the "instance ID" of the object as the primary key from the product information class, and sets the "storage table name" of the storage table in which the actual data of the product information corresponding to the "instance ID" is stored. It is a table to manage. Specifically, for example, the inheritance source class table 602 and the inheritance destination class table 603, which are class tables, are managed. As a result, the instance table 601 manages the correspondence between the instance ID and the storage table in which the product information entity data 410 corresponding to the "instance ID" is stored.

また、クラステーブルである、継承元クラステーブル602および継承先クラステーブル603は、「インスタンスID」を主キーとして、「格納テーブル名」と、当該インスタンスIDに対応する製品情報実体データ410の属性名に対応する「属性カラム名」と、を管理するテーブルである。ここで、継承元クラスがある場合は、その継承元クラスの「属性カラム名」を含めて管理する。これにより、クラステーブルは、「インスタンスID」と、当該「インスタンスID」に対応する製品情報実体データ410の属性カラムと、の対応関係を管理する。 Further, the inheritance source class table 602 and the inheritance destination class table 603, which are class tables, have the "instance ID" as the primary key, the "storage table name", and the attribute name of the product information entity data 410 corresponding to the instance ID. It is a table that manages the "attribute column name" corresponding to. Here, if there is an inheritance source class, it is managed including the "attribute column name" of the inheritance source class. As a result, the class table manages the correspondence between the "instance ID" and the attribute column of the product information entity data 410 corresponding to the "instance ID".

従属テーブル604、605は、製品情報クラスの属性データ型がプリミティブ型でない場合に、その属性情報を格納する。従属テーブル604、605は、「親インスタンスID」、「属性名」、「インデックス」のそれぞれを主キーとして、「インスタンスID」および「テーブル名」を管理するテーブルである。すなわち、従属テーブル604、605は、格納テーブル(継承元クラステーブル602、継承先クラステーブル603)への従属テーブルである。 The dependent tables 604 and 605 store the attribute information when the attribute data type of the product information class is not a primitive type. The dependent tables 604 and 605 are tables that manage the "instance ID" and the "table name" with each of the "parent instance ID", "attribute name", and "index" as the primary key. That is, the dependent tables 604 and 605 are dependent tables for the storage table (inheritance source class table 602, inheritance destination class table 603).

(メタデータ登録部401における処理)
つぎに、メタデータ登録部401における処理の内容について、図7〜図10を用いて説明する。図7は、データ辞書へのメタデータの登録手順の一例を示すフローチャートである。
(Processing in the metadata registration unit 401)
Next, the contents of the processing in the metadata registration unit 401 will be described with reference to FIGS. 7 to 10. FIG. 7 is a flowchart showing an example of the procedure for registering metadata in the data dictionary.

図7のフローチャートにおいて、図4に示したメタデータ登録部401は、まず、指定された製品情報データスキーマ110と製品情報データベース名710に基づいて、一意のスキーマIDを自動採番する(ステップS701)。そして、このスキーマIDを主キーとしてデータ辞書111へのメタデータの登録をおこなう各DML(Data Manipulation Language)を生成して、そのDMLにより、データ辞書111へメタデータの登録をおこなう。 In the flowchart of FIG. 7, the metadata registration unit 401 shown in FIG. 4 first automatically assigns a unique schema ID based on the designated product information data schema 110 and the product information database name 710 (step S701). ). Then, each DML (Data Manipulation Language) for registering the metadata in the data dictionary 111 is generated using this schema ID as the main key, and the metadata is registered in the data dictionary 111 by the DML.

より具体的には、製品情報データベース定義テーブル(TBL)501へのデータ登録DMLを生成して(ステップS702)、生成したデータ登録DMLを用いて、製品情報データベース定義テーブル501へのデータ登録をおこなう(後述する図8を参照)。 More specifically, a data registration DML in the product information database definition table (TBL) 501 is generated (step S702), and the generated data registration DML is used to register the data in the product information database definition table 501. (See FIG. 8 described later).

また、クラス定義テーブル(TBL)502へのデータ登録DMLを生成して(ステップS703)、生成したデータ登録DMLを用いて、クラス定義テーブル502へのデータ登録をおこなう(後述する図9を参照)。 Further, a data registration DML in the class definition table (TBL) 502 is generated (step S703), and the generated data registration DML is used to register the data in the class definition table 502 (see FIG. 9 described later). ..

同様に、属性定義テーブル(TBL)503へのデータ登録DMLを生成して(ステップS704)、生成したデータ登録DMLを用いて、属性定義テーブル503へのデータ登録をおこなう(後述する図10を参照)。 Similarly, a data registration DML in the attribute definition table (TBL) 503 is generated (step S704), and the generated data registration DML is used to register data in the attribute definition table 503 (see FIG. 10 described later). ).

図8は、製品情報データベース定義テーブルへのデータの登録手順の一例を示すフローチャートである。図8のフローチャートは、図7に示したフローチャートのステップS701、S702に対応する。図8のフローチャートにおいて、スキーマIDを自動採番して、自動採番されたスキーマIDをキーとして、入力された製品情報データスキーマ110のデータスキーマ名(ファイル名、ファイルパス)、および、製品情報データベース名710をカラムとするDMLを生成する(ステップS801)。以下は、ステップS801において生成するDMLの一例である。 FIG. 8 is a flowchart showing an example of a procedure for registering data in the product information database definition table. The flowchart of FIG. 8 corresponds to steps S701 and S702 of the flowchart shown in FIG. 7. In the flowchart of FIG. 8, the schema ID is automatically numbered, and the data schema name (file name, file path) of the input product information data schema 110 and the product information using the automatically numbered schema ID as a key. A DML having the database name 710 as a column is generated (step S801). The following is an example of DML generated in step S801.

INSERT INTO dictionary(schema_id,db_name,schema_name)
VALUES(‘1’,‘BMaintenance_ifc4’,‘IFC4_BM’);
INSERT INTO dictionary (schema_id, db_name, schema_name)
VALUES ('1','BMateness_ifc4','IFC4_BM');

そして、このDML出力にしたがって、データ辞書111の製品情報データベース定義テーブル501にデータ登録をおこなう。 Then, according to this DML output, data is registered in the product information database definition table 501 of the data dictionary 111.

図9は、クラス定義テーブルへのデータの登録手順の一例を示すフローチャートである。図9のフローチャートは、図7に示したフローチャートのステップS703に対応する。図9のフローチャートにおいて、まず、製品情報データスキーマ110から、製品情報クラス名とその継承元クラス名を抽出する(ステップS901)。 FIG. 9 is a flowchart showing an example of the procedure for registering data in the class definition table. The flowchart of FIG. 9 corresponds to step S703 of the flowchart shown in FIG. In the flowchart of FIG. 9, first, the product information class name and the inheritance source class name thereof are extracted from the product information data schema 110 (step S901).

つぎに、ステップS901において抽出された製品情報クラス名を基に、所与のルールで格納先テーブル名を生成する(ステップS902)。さらに、スキーマID(PK)、製品情報クラス名、継承元クラス名、対応する格納先テーブル名、および、従属テーブル名をカラムとするDMLを生成する(ステップS903)。以下は、ステップS903において生成するDMLの一例である。 Next, based on the product information class name extracted in step S901, the storage destination table name is generated according to a given rule (step S902). Further, a DML having a schema ID (PK), a product information class name, an inheritance source class name, a corresponding storage destination table name, and a dependent table name as columns is generated (step S903). The following is an example of DML generated in step S903.

INSERT INTO entity_definitions(schema_id,entity_name,table_name,ind_table_name)
VALUES((SELECT schema_id FROM dictionary WHERE db_name=‘BMaintenance_ifc4’),‘ifcvirtualgridintersection’,‘en_ifcvirtualgridintersection’,‘ref_en_ifcvirtualgridintersection’);
INSERT INTO entity_definitions (schema_id, entity_name, table_name, ind_table_name)
VALUES ((SELECT schema_id FROM dictionary WHERE db_name ='BMAincentence_ifc4'),'ifcvirtual dictionary','en_ifcvirdiction_entirquitirdict'

そして、このDML出力にしたがって、データ辞書111のクラス定義テーブル502にデータ登録をおこなう。 Then, according to this DML output, data is registered in the class definition table 502 of the data dictionary 111.

図10は、属性定義テーブルへのデータの登録手順の一例を示すフローチャートである。図10のフローチャートは、図7に示したフローチャートのステップS704に対応する。図10のフローチャートにおいて、まず、製品情報データスキーマ110から、製品情報クラスの製品情報クラス名、当該製品情報クラスにおける属性名、当該製品情報クラスにおけるデータ型、および、当該製品情報クラスにおける集合データ型の次元数を抽出する(ステップS1001)。 FIG. 10 is a flowchart showing an example of a procedure for registering data in the attribute definition table. The flowchart of FIG. 10 corresponds to step S704 of the flowchart shown in FIG. In the flowchart of FIG. 10, first, from the product information data schema 110, the product information class name of the product information class, the attribute name in the product information class, the data type in the product information class, and the aggregate data type in the product information class. The number of dimensions of is extracted (step S1001).

つぎに、ステップS1001において抽出された、製品情報クラスにおける属性名を基に、所与のルールで属性カラム名を生成する(ステップS1002)。さらに、スキーマID(PK)、製品情報クラス名(PK)、属性名、データ型、集合データ型フラグ、および、対応する属性カラム名をカラムとするDMLを生成する(ステップS1003)。以下は、ステップS1003において生成するDMLの一例である。 Next, the attribute column name is generated according to a given rule based on the attribute name in the product information class extracted in step S1001 (step S1002). Further, a DML having a schema ID (PK), a product information class name (PK), an attribute name, a data type, a set data type flag, and a corresponding attribute column name as columns is generated (step S1003). The following is an example of DML generated in step S1003.

INSERT INTO entity_attributes(schema_id,entity_name,attribute_name,data_type,collection_dimension_number,column_name)
VALUES ((SELECT schema_id FROM dictionary WHERE db_name=‘BMaintenance_ifc4’),‘ifcvirtualgridintersection’,‘offsetdistances’,‘ifclengthmeasure’,1,‘offsetdistances’);
INSERT INTO entity_attributes (schema_id, entity_name, attribute_name, data_type, collection_dimension_number, volume_name)
VALUES ((SELECT schema_id FROM dictionary WHERE db_name ='BMAincentence_ifc4'),'ifcvirtual dictionary','offsetdistance','offsetdistations','idents','ifc

そして、このDML出力にしたがって、データ辞書111の属性定義テーブル503にデータ登録をおこなう。このようにして、メタデータ登録部401は、データ辞書111へのメタデータの登録をおこなうことができる。 Then, according to this DML output, data is registered in the attribute definition table 503 of the data dictionary 111. In this way, the metadata registration unit 401 can register the metadata in the data dictionary 111.

(製品情報データベース作成部402における処理)
つぎに、製品情報データベース作成部402における処理の内容について、図11および図12を用いて説明する。
(Processing in product information database creation unit 402)
Next, the contents of the processing in the product information database creation unit 402 will be described with reference to FIGS. 11 and 12.

図11は、製品情報データベースの作成手順(インスタンス・テーブルの生成)の一例を示すフローチャートである。図11のフローチャートにおいて、製品情報データベース作成部402は、インスタンスIDを主キーとする、クラステーブル名(格納テーブル名)をカラムとして持つインスタンス・テーブル601を生成する(ステップS1101)。これにより、製品情報データベース112におけるインスタンス・テーブル601を生成することができる。 FIG. 11 is a flowchart showing an example of a product information database creation procedure (instance table generation). In the flowchart of FIG. 11, the product information database creation unit 402 generates an instance table 601 having a class table name (storage table name) as a column, with the instance ID as the primary key (step S1101). As a result, the instance table 601 in the product information database 112 can be generated.

また、図12は、製品情報データベースの作成手順(クラステーブルの生成)の一例を示すフローチャートである。図12のフローチャートにおいて、「N」に「1」を設定(N=1)する(ステップS1201)。 Further, FIG. 12 is a flowchart showing an example of a procedure for creating a product information database (generation of a class table). In the flowchart of FIG. 12, "1" is set to "N" (N = 1) (step S1201).

つぎに、N番目のクラス定義情報があるか否かを判断する(ステップS1202)。ここで、N番目のクラス定義情報がある場合(ステップS1202:Yes)は、データ辞書111からN番目のクラス定義情報を取得する(ステップS1203)。そして、取得したN番目のクラス定義情報が、処理済みリストにあるか否かを判断する(ステップS1204)。ここで、処理済みリストにある場合(ステップS1204:Yes)は、当該N番目のクラス定義情報については処理をする必要がないので、何もせずに、ステップS1207へ移行する。 Next, it is determined whether or not there is the Nth class definition information (step S1202). Here, when there is the Nth class definition information (step S1202: Yes), the Nth class definition information is acquired from the data dictionary 111 (step S1203). Then, it is determined whether or not the acquired Nth class definition information is in the processed list (step S1204). Here, if it is in the processed list (step S1204: Yes), it is not necessary to process the Nth class definition information, so the process proceeds to step S1207 without doing anything.

一方、ステップS1204において、取得したクラス定義情報が、処理済みリストにない場合(ステップS1204:No)は、つぎに、継承元クラスがないかまたは継承元クラスのクラステーブルの生成処理が済みであるか否かを判断する(ステップS1205)。ここで、継承元クラスがない場合、または、継承元クラスがあっても、その継承元クラスのクラステーブルの生成処理が済みである場合(ステップS1205:Yes)は、N番目のクラス定義情報についてクラステーブルを生成して、処理済みリストに入れる(ステップS1206)。その後、ステップS1207へ移行する。 On the other hand, if the acquired class definition information is not in the processed list in step S1204 (step S1204: No), then the inheritance source class does not exist or the class table generation process of the inheritance source class has been completed. Whether or not it is determined (step S1205). Here, if there is no inheritance source class, or if there is an inheritance source class but the generation process of the class table of the inheritance source class has been completed (step S1205: Yes), the Nth class definition information is obtained. Generate a class table and put it in the processed list (step S1206). After that, the process proceeds to step S1207.

一方、ステップS1205において、継承元クラスがある場合であって、当該継承元クラスのクラステーブルの生成処理が未処理である場合(ステップS1205:No)は、何もせずに、ステップS1207へ移行する。このようにして、継承元クラスがある場合はその継承元クラスのクラステーブルの生成処理を優先させる。 On the other hand, in step S1205, when there is an inheritance source class and the generation process of the class table of the inheritance source class is not processed (step S1205: No), the process proceeds to step S1207 without doing anything. .. In this way, if there is an inheritance source class, priority is given to the generation process of the class table of the inheritance source class.

ステップS1207においては、「N」に、「N+1」を設定(N=N+1)し(ステップS1207)、ステップS1202へ戻る。このようにして、ステップS1202〜S1207の各処理を繰り返し実行する。そして、ステップS1202において、N番目のクラス定義情報がない場合、すなわち、すべてのクラス定義情報についてのクラステーブルの生成処理が完了した場合(ステップS1202:No)は、一連の処理を終了する。 In step S1207, "N + 1" is set to "N" (N = N + 1) (step S1207), and the process returns to step S1202. In this way, each process of steps S1202 to S1207 is repeatedly executed. Then, in step S1202, when there is no Nth class definition information, that is, when the class table generation process for all the class definition information is completed (step S1202: No), a series of processes is terminated.

このようにして、製品情報データベース作成部402は、データ辞書111に登録されているメタデータを参照して、オブジェクト指向データモデル記述の製品情報データスキーマ110から製品情報データベース112を作成することができる。 In this way, the product information database creation unit 402 can create the product information database 112 from the product information data schema 110 of the object-oriented data model description by referring to the metadata registered in the data dictionary 111. ..

(データアクセス制御部403における処理)
つぎに、データアクセス制御部403における処理について説明する。データアクセス制御部403における処理は、データ登録処理とデータ取得処理の2つの処理からなる。図13は、製品情報データベースへのデータアクセス制御手順(データ登録)の一例を示すフローチャートである。
(Processing in data access control unit 403)
Next, the processing in the data access control unit 403 will be described. The process in the data access control unit 403 includes two processes, a data registration process and a data acquisition process. FIG. 13 is a flowchart showing an example of a data access control procedure (data registration) to the product information database.

図13のフローチャートにおいて、データアクセス制御部403は、データ辞書111を参照して、ユーザから与えられた「スキーマID」と「製品情報クラス名」とをキーとして、「製品情報データベース名」、「従属テーブル名」、「属性名」、「データ型」、「データ次元数」および「カラム名」を取得する(ステップS1301)。 In the flowchart of FIG. 13, the data access control unit 403 refers to the data dictionary 111 and uses the “schema ID” and the “product information class name” given by the user as keys to obtain the “product information database name” and the “product information database name”. Acquire the "dependent table name", "attribute name", "data type", "number of data dimensions" and "column name" (step S1301).

つぎに、インスタンス・テーブル601に実体データのオブジェクトの「インスタンスID」と、取得した「クラステーブル名(格納テーブル名)」と、を要素とするレコードを挿入する(ステップS1302)。さらに、取得したクラステーブル名のクラステーブル(継承元クラステーブル602または継承先クラステーブル603)に、実体データのオブジェクトの各属性値を要素とするレコードを挿入する(ステップS1303)。 Next, a record having the "instance ID" of the physical data object and the acquired "class table name (storage table name)" as elements is inserted into the instance table 601 (step S1302). Further, a record having each attribute value of the object of the actual data as an element is inserted into the class table of the acquired class table name (inheritance source class table 602 or inheritance destination class table 603) (step S1303).

ここで、属性のデータ型がプリミティブ型か否かを判断する(ステップS1304)。ここで、属性のデータ型がプリミティブ型でない場合(ステップS1304:No)は、従属テーブル(従属テーブル604または従属テーブル605)に、「親インスタンスID」、「属性名」、「インスタンスID」、および、その「テーブル名」を要素とするレコードを挿入し(ステップS1305)、一連の処理を終了する。一方、属性のデータ型がプリミティブ型である場合(ステップS1304:Yes)は、何もせずに、一連の処理を終了する。 Here, it is determined whether or not the data type of the attribute is a primitive type (step S1304). Here, when the data type of the attribute is not a primitive type (step S1304: No), the "parent instance ID", "attribute name", "instance ID", and "instance ID" are displayed in the dependent table (dependent table 604 or dependent table 605). , Inserts a record whose element is the "table name" (step S1305), and ends a series of processes. On the other hand, when the data type of the attribute is a primitive type (step S1304: Yes), a series of processes is terminated without doing anything.

このようにして、データアクセス制御部403は、製品情報データベース112に対してデータ登録処理をおこなうことができる。 In this way, the data access control unit 403 can perform data registration processing on the product information database 112.

図14は、製品情報データベースへのデータアクセス制御手順(データ取得)の一例を示すフローチャートである。図14のフローチャートにおいて、データアクセス制御部403は、データ辞書111を参照し、「スキーマID」と「製品情報クラス名」をキーとして、「製品情報データベース名」を取得する(ステップS1401)。 FIG. 14 is a flowchart showing an example of a data access control procedure (data acquisition) for the product information database. In the flowchart of FIG. 14, the data access control unit 403 refers to the data dictionary 111 and acquires the “product information database name” using the “schema ID” and the “product information class name” as keys (step S1401).

また、製品情報データベース112のインスタンス・テーブル601を参照して、オブジェクトの「インスタンスID」をキーとして、「クラステーブル名(格納テーブル名)」を取得する(ステップS1402)。 In addition, referring to the instance table 601 of the product information database 112, the "class table name (storage table name)" is acquired by using the "instance ID" of the object as a key (step S1402).

つぎに、ステップS1402において取得した「クラステーブル名(格納テーブル名)」のクラステーブル(継承元クラステーブル602または継承先クラステーブル603)を参照して、オブジェクトの「インスタンスID」をキーとして、各属性値を取得し、オブジェクトの属性に代入する(ステップS1403)。 Next, referring to the class table (inheritance source class table 602 or inheritance destination class table 603) of the "class table name (storage table name)" acquired in step S1402, each using the "instance ID" of the object as a key. The attribute value is acquired and assigned to the attribute of the object (step S1403).

また、ステップS1402において取得した「クラステーブル名」の従属テーブル(従属テーブル604または従属テーブル605)を参照して、「親インスタンスID」をキーとして、各属性の「インスタンスID」を取得して、オブジェクトの属性に代入する(ステップS1404)。 Further, with reference to the dependent table (dependent table 604 or dependent table 605) of the "class table name" acquired in step S1402, the "instance ID" of each attribute is acquired using the "parent instance ID" as a key. Assign to the attribute of the object (step S1404).

その後、オブジェクトを返し(ステップS1405)、一連の処理を終了する。このようにして、データアクセス制御部403は、製品情報データベース112に対してデータ取得処理をおこなうことができる。 After that, the object is returned (step S1405), and a series of processes is completed. In this way, the data access control unit 403 can perform data acquisition processing on the product information database 112.

以上説明したように、本実施の形態によれば、オブジェクト指向データモデルに基づいて作成された製品情報データスキーマ110から、当該製品情報のメタデータを生成し、メタデータをデータ辞書111に登録し、データ辞書111に登録されたメタデータを参照して、製品情報データスキーマ110から、製品情報に関するデータベース(製品情報データベース112)を作成するので、異なる製品情報データスキーマ110を持つ実体データを統一的に管理することができる。 As described above, according to the present embodiment, the metadata of the product information is generated from the product information data schema 110 created based on the object-oriented data model, and the metadata is registered in the data dictionary 111. , A database related to product information (product information database 112) is created from the product information data schema 110 with reference to the metadata registered in the data dictionary 111, so that the actual data having different product information data schema 110 is unified. Can be managed.

また、本実施の形態によれば、製品情報データスキーマ110ごとにスキーマIDを生成し、メタデータを、スキーマIDをキーとしてデータ辞書111に登録する。これにより、データ辞書111のスキーマIDを用いて、効率よく、かつ、確実に、製品情報データスキーマ110から、製品情報データベース112を作成することができる。 Further, according to the present embodiment, a schema ID is generated for each product information data schema 110, and metadata is registered in the data dictionary 111 using the schema ID as a key. Thereby, the product information database 112 can be efficiently and surely created from the product information data schema 110 by using the schema ID of the data dictionary 111.

また、本実施の形態によれば、製品情報データベース112に対して、製品情報実体データ410を保存または抽出する際に、スキーマIDと、製品情報実体データのインスタンスIDと、をキーとして、製品情報データベース112上の実体データにアクセスする。これにより、データ辞書111のスキーマIDを用いて、効率よく、かつ、確実に、実体データへのアクセスをすることができる。 Further, according to the present embodiment, when the product information substance data 410 is stored or extracted from the product information database 112, the product information is used by using the schema ID and the instance ID of the product information substance data as keys. Access the physical data on the database 112. Thereby, the schema ID of the data dictionary 111 can be used to efficiently and surely access the actual data.

また、本実施の形態によれば、データ辞書111が、スキーマIDと、製品情報データベース112と、の対応関係を管理する製品情報データベース定義テーブル501を有する。また、データ辞書111が、スキーマIDと、製品情報のクラスに関する情報と、の対応関係を管理するクラス定義テーブル502を有する。また、データ辞書111が、スキーマIDと、製品情報のクラスが持つ属性に関する情報と、の対応関係を管理する属性定義テーブル503を有する。これにより、製品情報のメタデータが、データ辞書111に参照容易に登録することができる。 Further, according to the present embodiment, the data dictionary 111 has a product information database definition table 501 that manages the correspondence between the schema ID and the product information database 112. Further, the data dictionary 111 has a class definition table 502 that manages the correspondence between the schema ID and the information regarding the class of product information. Further, the data dictionary 111 has an attribute definition table 503 that manages the correspondence between the schema ID and the information related to the attributes of the product information class. As a result, the metadata of the product information can be easily registered in the data dictionary 111 for reference.

また、本実施の形態によれば、製品情報データベース112が、インスタンスIDと、当該インスタンスIDに対応する製品情報実体データ410が格納されている格納テーブルと、の対応関係を管理するインスタンス・テーブル601を有する。また、製品情報データベース112が、インスタンスIDと、当該インスタンスIDに対応する製品情報実体データ410の属性カラムと、の対応関係を管理する継承元クラステーブル602、継承先クラステーブル603を有する。これにより、製品情報データベース112上の実体データへのアクセスを容易におこなうことができる。 Further, according to the present embodiment, the product information database 112 manages the correspondence between the instance ID and the storage table in which the product information entity data 410 corresponding to the instance ID is stored. Have. Further, the product information database 112 has an inheritance source class table 602 and an inheritance destination class table 603 that manage the correspondence between the instance ID and the attribute column of the product information entity data 410 corresponding to the instance ID. As a result, it is possible to easily access the actual data on the product information database 112.

また、本実施の形態によれば、製品情報データベース112が、格納テーブル(継承元クラステーブル602、継承先クラステーブル603)への従属テーブル604、605を有する。これにより、属性のデータ型がプリミティブ型でない場合に対応することができる。 Further, according to the present embodiment, the product information database 112 has dependent tables 604 and 605 for the storage table (inheritance source class table 602, inheritance destination class table 603). This makes it possible to handle cases where the data type of the attribute is not a primitive type.

このように、オブジェクト指向データモデルに基づいて作成された情報の製品情報データスキーマ110であっても、製品情報モデル自体の追加・変更などに柔軟に対応し、オブジェクト指向データモデルに基づいて作成された実体データを統一して管理することができる。 In this way, even the product information data schema 110 of the information created based on the object-oriented data model can flexibly respond to additions and changes of the product information model itself, and is created based on the object-oriented data model. It is possible to unify and manage the actual data.

なお、本実施の形態においては、オブジェクト指向データモデルに基づいて作成された情報は製品情報であるとして説明したが、それには限定されない。すなわち、製品情報以外のオブジェクト指向データモデルに基づいて作成された情報であってもよい。 In the present embodiment, the information created based on the object-oriented data model has been described as product information, but the information is not limited thereto. That is, the information may be created based on an object-oriented data model other than the product information.

また、本実施の形態で説明したデータ管理方法は、あらかじめ用意されたプログラムをパーソナルコンピュータやワークステーションなどのコンピュータで実行することにより実現することができる。データ管理プログラムは、ハードディスク、フレキシブルディスク、CD(Compact Disc)−ROM、MO(Magneto−Optical Disk)、DVD(Digital Versatile Disk)、フラッシュメモリ、USB(Universal Serial Bus)メモリなどのコンピュータで読み取り可能な記録媒体に記録され、コンピュータによって記録媒体から読み出されることによって実行される。また、データ管理プログラムは、インターネットなどのネットワークを介して配布してもよい。 Further, the data management method described in the present embodiment can be realized by executing a program prepared in advance on a computer such as a personal computer or a workstation. The data management program can be read by a computer such as a hard disk, a flexible disk, a CD (Compact Disk) -ROM, an MO (Magnet-Optical Disk), a DVD (Digital Versaille Disk), a flash memory, and a USB (Universal Social Bus) memory. It is executed by being recorded on a recording medium and read from the recording medium by a computer. Further, the data management program may be distributed via a network such as the Internet.

上述した実施の形態に関し、さらに以下の付記を開示する。 The following additional notes are further disclosed with respect to the above-described embodiment.

(付記1)オブジェクト指向データモデルに基づいて作成された情報のデータスキーマから、当該情報のメタデータを生成し、
前記メタデータをデータ辞書に登録し、
前記データ辞書に登録された前記メタデータを参照して、前記データスキーマから、前記情報に関するデータベースを作成する、
処理をコンピュータに実行させることを特徴とするデータ管理プログラム。
(Appendix 1) Generate metadata for the information from the data schema of the information created based on the object-oriented data model.
Register the metadata in the data dictionary and
A database relating to the information is created from the data schema with reference to the metadata registered in the data dictionary.
A data management program characterized by having a computer perform processing.

(付記2)前記データスキーマごとにスキーマIDを生成し、
前記メタデータを、前記スキーマIDをキーとして前記データ辞書に登録する、
処理をコンピュータに実行させることを特徴とする付記1に記載のデータ管理プログラム。
(Appendix 2) Generate a schema ID for each data schema.
The metadata is registered in the data dictionary using the schema ID as a key.
The data management program according to Appendix 1, wherein the processing is executed by a computer.

(付記3)前記データベースに対して、前記情報の実体データを保存または抽出する際に、
前記スキーマIDと、前記実体データのインスタンスIDと、をキーとして、前記データベース上の実体データにアクセスする、
処理をコンピュータに実行させることを特徴とする付記2に記載のデータ管理プログラム。
(Appendix 3) When saving or extracting the actual data of the information from the database.
Using the schema ID and the instance ID of the entity data as keys, the entity data on the database is accessed.
The data management program according to Appendix 2, wherein the processing is executed by a computer.

(付記4)前記データ辞書は、前記スキーマIDと、前記データベースと、の対応関係を管理するデータベース定義テーブルを有することを特徴とする付記2または3に記載のデータ管理プログラム。 (Supplementary Note 4) The data management program according to Supplementary note 2 or 3, wherein the data dictionary has a database definition table that manages a correspondence relationship between the schema ID and the database.

(付記5)前記データ辞書は、前記スキーマIDと、前記情報のクラスに関する情報と、の対応関係を管理するクラス定義テーブルを有することを特徴とする付記4に記載のデータ管理プログラム。 (Supplementary Note 5) The data management program according to Supplementary note 4, wherein the data dictionary has a class definition table that manages a correspondence relationship between the schema ID and information related to the class of the information.

(付記6)前記データ辞書は、前記スキーマIDと、前記情報のクラスが持つ属性に関する情報と、の対応関係を管理する属性定義テーブルを有することを特徴とする付記5に記載のデータ管理プログラム。 (Supplementary Note 6) The data management program according to Supplementary Note 5, wherein the data dictionary has an attribute definition table that manages a correspondence relationship between the schema ID and information related to attributes of the information class.

(付記7)前記データベースは、前記インスタンスIDと、当該インスタンスIDに対応する前記実体データが格納されている格納テーブルと、の対応関係を管理するインスタンス・テーブルを有することを特徴とする付記3に記載のデータ管理プログラム。 (Supplementary Note 7) Addendum 3 is characterized in that the database has an instance table that manages a correspondence relationship between the instance ID and a storage table in which the entity data corresponding to the instance ID is stored. Described data management program.

(付記8)前記データベースは、前記インスタンスIDと、当該インスタンスIDに対応する前記実体データの属性カラムと、の対応関係を管理するクラステーブルを有することを特徴とする付記7に記載のデータ管理プログラム。 (Appendix 8) The data management program according to Appendix 7, wherein the database has a class table that manages a correspondence relationship between the instance ID and the attribute column of the entity data corresponding to the instance ID. ..

(付記9)前記データベースは、前記格納テーブルへの従属テーブルを有することを特徴とする付記8に記載のデータ管理プログラム。 (Supplementary note 9) The data management program according to Supplementary note 8, wherein the database has a dependent table to the storage table.

(付記10)前記情報は、製品に関する製品情報であることを特徴とする付記1〜9のいずれか一つに記載のデータ管理プログラム。 (Supplementary Note 10) The data management program according to any one of Supplementary notes 1 to 9, wherein the information is product information related to a product.

(付記11)オブジェクト指向データモデルに基づいて作成された情報のデータスキーマから、当該情報のメタデータを生成し、
前記メタデータをデータ辞書に登録し、
前記データ辞書に登録された前記メタデータを参照して、前記データスキーマから、前記情報に関するデータベースを作成する、
処理をコンピュータが実行することを特徴とするデータ管理方法。
(Appendix 11) Generate metadata of the information from the data schema of the information created based on the object-oriented data model.
Register the metadata in the data dictionary and
A database relating to the information is created from the data schema with reference to the metadata registered in the data dictionary.
A data management method characterized by a computer performing processing.

(付記12)オブジェクト指向データモデルに基づいて作成された情報のデータスキーマから、当該情報のメタデータを生成し、
前記メタデータをデータ辞書に登録し、
前記データ辞書に登録された前記メタデータを参照して、前記データスキーマから、前記情報に関するデータベースを作成する、
制御部を有することを特徴とするデータ管理システム。
(Appendix 12) Generate metadata of the information from the data schema of the information created based on the object-oriented data model.
Register the metadata in the data dictionary and
A database relating to the information is created from the data schema with reference to the metadata registered in the data dictionary.
A data management system characterized by having a control unit.

110 製品情報データスキーマ
111 データ辞書
112 製品情報データベース
200 データ管理システム
201 サーバ
202 情報端末装置
203 ネットワーク
401 メタデータ登録部
402 製品情報データベース作成部
403 データアクセス制御部
410 製品情報実体データ
501 製品情報データベース定義テーブル
502 クラス定義テーブル
503 属性定義テーブル
601 インスタンス・テーブル
602 継承元クラステーブル
603 継承先クラステーブル
604、605 従属テーブル
710 製品情報データベース名
110 Product information data schema 111 Data dictionary 112 Product information database 200 Data management system 201 Server 202 Information terminal device 203 Network 401 Metadata registration unit 402 Product information database creation unit 403 Data access control unit 410 Product information real data 501 Product information database definition Table 502 Class definition table 503 Attribute definition table 601 Instance table 602 Inheritance source class table 603 Inheritance destination class table 604, 605 Dependent table 710 Product information database name

Claims (11)

オブジェクト指向データモデルに基づいて作成された情報のデータスキーマから、当該情報のメタデータを生成し、
前記メタデータをデータ辞書に登録し、
前記データ辞書に登録された前記メタデータを参照して、前記データスキーマから、前記情報に関するデータベースを作成する、
処理をコンピュータに実行させることを特徴とするデータ管理プログラム。
Generate metadata for the information from the data schema of the information created based on the object-oriented data model.
Register the metadata in the data dictionary and
A database relating to the information is created from the data schema with reference to the metadata registered in the data dictionary.
A data management program characterized by having a computer perform processing.
前記データスキーマごとにスキーマIDを生成し、
前記メタデータを、前記スキーマIDをキーとして前記データ辞書に登録する、
処理をコンピュータに実行させることを特徴とする請求項1に記載のデータ管理プログラム。
Generate a schema ID for each data schema
The metadata is registered in the data dictionary using the schema ID as a key.
The data management program according to claim 1, wherein the processing is executed by a computer.
前記データベースに対して、前記情報の実体データを保存または抽出する際に、
前記スキーマIDと、前記実体データのインスタンスIDと、をキーとして、前記データベース上の実体データにアクセスする、
処理をコンピュータに実行させることを特徴とする請求項2に記載のデータ管理プログラム。
When storing or extracting the actual data of the information from the database
Using the schema ID and the instance ID of the entity data as keys, the entity data on the database is accessed.
The data management program according to claim 2, wherein the processing is executed by a computer.
前記データ辞書は、前記スキーマIDと、前記データベースと、の対応関係を管理するデータベース定義テーブルを有することを特徴とする請求項2または3に記載のデータ管理プログラム。 The data management program according to claim 2 or 3, wherein the data dictionary has a database definition table that manages a correspondence relationship between the schema ID and the database. 前記データ辞書は、前記スキーマIDと、前記情報のクラスに関する情報と、の対応関係を管理するクラス定義テーブルを有することを特徴とする請求項4に記載のデータ管理プログラム。 The data management program according to claim 4, wherein the data dictionary has a class definition table that manages a correspondence relationship between the schema ID and information about a class of the information. 前記データ辞書は、前記スキーマIDと、前記情報のクラスが持つ属性に関する情報と、の対応関係を管理する属性定義テーブルを有することを特徴とする請求項5に記載のデータ管理プログラム。 The data management program according to claim 5, wherein the data dictionary has an attribute definition table that manages a correspondence relationship between the schema ID and information related to the attributes of the information class. 前記データベースは、前記インスタンスIDと、当該インスタンスIDに対応する前記実体データが格納されている格納テーブルと、の対応関係を管理するインスタンス・テーブルを有することを特徴とする請求項3に記載のデータ管理プログラム。 The data according to claim 3, wherein the database has an instance table that manages a correspondence relationship between the instance ID and a storage table in which the entity data corresponding to the instance ID is stored. Management program. 前記データベースは、前記インスタンスIDと、当該インスタンスIDに対応する前記実体データの属性カラムと、の対応関係を管理するクラステーブルを有することを特徴とする請求項7に記載のデータ管理プログラム。 The data management program according to claim 7, wherein the database has a class table that manages a correspondence relationship between the instance ID and the attribute column of the entity data corresponding to the instance ID. 前記データベースは、前記格納テーブルへの従属テーブルを有することを特徴とする請求項8に記載のデータ管理プログラム。 The data management program according to claim 8, wherein the database has a dependent table on the storage table. オブジェクト指向データモデルに基づいて作成された情報のデータスキーマから、当該情報のメタデータを生成し、
前記メタデータをデータ辞書に登録し、
前記データ辞書に登録された前記メタデータを参照して、前記データスキーマから、前記情報に関するデータベースを作成する、
処理をコンピュータが実行することを特徴とするデータ管理方法。
Generate metadata for the information from the data schema of the information created based on the object-oriented data model.
Register the metadata in the data dictionary and
A database relating to the information is created from the data schema with reference to the metadata registered in the data dictionary.
A data management method characterized by a computer performing processing.
オブジェクト指向データモデルに基づいて作成された情報のデータスキーマから、当該情報のメタデータを生成し、
前記メタデータをデータ辞書に登録し、
前記データ辞書に登録された前記メタデータを参照して、前記データスキーマから、前記情報に関するデータベースを作成する、
制御部を有することを特徴とするデータ管理システム。
Generate metadata for the information from the data schema of the information created based on the object-oriented data model.
Register the metadata in the data dictionary and
A database relating to the information is created from the data schema with reference to the metadata registered in the data dictionary.
A data management system characterized by having a control unit.
JP2019102746A 2019-05-31 2019-05-31 Data management program, data management method and data management system Active JP7279524B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019102746A JP7279524B2 (en) 2019-05-31 2019-05-31 Data management program, data management method and data management system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019102746A JP7279524B2 (en) 2019-05-31 2019-05-31 Data management program, data management method and data management system

Publications (2)

Publication Number Publication Date
JP2020197839A true JP2020197839A (en) 2020-12-10
JP7279524B2 JP7279524B2 (en) 2023-05-23

Family

ID=73649268

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019102746A Active JP7279524B2 (en) 2019-05-31 2019-05-31 Data management program, data management method and data management system

Country Status (1)

Country Link
JP (1) JP7279524B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102419956B1 (en) * 2021-11-12 2022-07-14 주식회사 스타캣 Method for automatically generating metadata for structured data and apparatus for generating metadata using a machine learning/deep learning model for the same

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5295256A (en) * 1990-12-14 1994-03-15 Racal-Datacom, Inc. Automatic storage of persistent objects in a relational schema
US6418451B1 (en) * 1999-06-29 2002-07-09 Unisys Corporation Method, apparatus, and computer program product for persisting objects in a relational database
US20060026189A1 (en) * 2004-07-29 2006-02-02 International Business Machines Corporation Method and system for reconstruction of object model data in a relational database

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5295256A (en) * 1990-12-14 1994-03-15 Racal-Datacom, Inc. Automatic storage of persistent objects in a relational schema
US6418451B1 (en) * 1999-06-29 2002-07-09 Unisys Corporation Method, apparatus, and computer program product for persisting objects in a relational database
US20060026189A1 (en) * 2004-07-29 2006-02-02 International Business Machines Corporation Method and system for reconstruction of object model data in a relational database

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102419956B1 (en) * 2021-11-12 2022-07-14 주식회사 스타캣 Method for automatically generating metadata for structured data and apparatus for generating metadata using a machine learning/deep learning model for the same

Also Published As

Publication number Publication date
JP7279524B2 (en) 2023-05-23

Similar Documents

Publication Publication Date Title
US10180992B2 (en) Atomic updating of graph database index structures
EP2784700A2 (en) Integration of transactional and analytical capabilities of a database management system
US20180144061A1 (en) Edge store designs for graph databases
US20180357329A1 (en) Supporting tuples in log-based representations of graph databases
US20170255708A1 (en) Index structures for graph databases
JP2006172446A (en) Complex data access
AU2017265144B2 (en) Information retrieval
US20080263142A1 (en) Meta Data Driven User Interface System and Method
US11947567B2 (en) System and method for computing and managing datasets using hierarchical analytics
US11630647B2 (en) Method and system for configuring processes of software applications using activity fragments
US10445370B2 (en) Compound indexes for graph databases
US20210026894A1 (en) Branch threading in graph databases
JP7408626B2 (en) Tenant identifier replacement
CN110720097A (en) Functional equivalence of tuples and edges in graph databases
JP2007133624A (en) Information management method and device using connection relation information
US20080263018A1 (en) Method and System for Mapping Business Objects to Relational Database Tables
JP7279524B2 (en) Data management program, data management method and data management system
US20180349443A1 (en) Edge store compression in graph databases
US20180144060A1 (en) Processing deleted edges in graph databases
JP2007265250A (en) Identifier issuing system, program and identifier issuing method
US20180357297A1 (en) Rdb system
JP2018109898A (en) Data migration system
US20190005077A1 (en) Retrieval system and retrieval apparatus
Koch et al. Representation of CityGML instance models in BaseX
US11893001B2 (en) Systems and methods for storing blend objects

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20220208

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20221213

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20221214

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230208

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20230411

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230424

R150 Certificate of patent or registration of utility model

Ref document number: 7279524

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150