JP2001256247A - Data base system - Google Patents

Data base system

Info

Publication number
JP2001256247A
JP2001256247A JP2000063879A JP2000063879A JP2001256247A JP 2001256247 A JP2001256247 A JP 2001256247A JP 2000063879 A JP2000063879 A JP 2000063879A JP 2000063879 A JP2000063879 A JP 2000063879A JP 2001256247 A JP2001256247 A JP 2001256247A
Authority
JP
Japan
Prior art keywords
field
information
database
database area
data
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
JP2000063879A
Other languages
Japanese (ja)
Inventor
Naomichi Chiyoda
尚道 千代田
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP2000063879A priority Critical patent/JP2001256247A/en
Publication of JP2001256247A publication Critical patent/JP2001256247A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To perform the adding work of field without reconstructing an entire data base and to perform simultaneous editing by multiple users. SOLUTION: A data base (d) in a table form usable for a user is managed while being divided for the unit of field (f), access right information for the unit of field (f) is separately managed, and the table revision and row revision of table data (a) are managed.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、複数のユーザによ
って使用されるデータベースシステムに係り、更に詳し
くは、データ項目の追加や、データの更新等を行うのに
適したデータベースシステムに関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a database system used by a plurality of users, and more particularly, to a database system suitable for adding data items, updating data, and the like.

【0002】[0002]

【従来の技術】従来、汎用の表計算ソフトウェアを用い
てテーブル形式のデータベースを構築し、このデータベ
ースを複数のユーザで共有して使用することによって、
データの更新および管理を行うデータベースシステムが
広く用いられている。
2. Description of the Related Art Conventionally, a table-type database is constructed using general-purpose spreadsheet software, and this database is shared and used by a plurality of users.
Database systems for updating and managing data are widely used.

【0003】この種のデータベースシステムにおいて
は、ユーザがデータの更新を行う場合、あるいはこのデ
ータベースに新たなフィールドを追加する場合において
は、ユーザは先ずデータベースにアクセスして該当する
データベースの全データを吸い上げ、吸い上げたデータ
ベースを対象に編集作業を行い、編集したデータベース
を再登録することによって行っている。
In a database system of this kind, when a user updates data or adds a new field to the database, the user first accesses the database and downloads all data of the database. This is done by editing the downloaded database and re-registering the edited database.

【0004】編集中は、他のユーザはデータベースにア
クセスすることはできない。仮に、データベースへの複
数のユーザの同時アクセスを許容すると、複数のユーザ
によってデータベースが同時にアクセスされる。これに
よって、例えばユーザAがデータベースにアクセスして
データを参照している間に、ユーザBがそのデータを更
新してしまう場合も考えられる。この場合、ユーザA
は、そのデータが更新されたことを知ることができない
ために、それが最新データではないものとは知らないま
まに、データ更新を行う場合もあるからである。
[0004] During editing, other users cannot access the database. If simultaneous access of a plurality of users to the database is permitted, the database is simultaneously accessed by a plurality of users. Thus, for example, while the user A accesses the database and refers to the data, the user B may update the data. In this case, user A
This is because it may not be possible to know that the data has been updated, and the data may be updated without knowing that the data is not the latest data.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、このよ
うな従来のデータベースシステムでは、以下のような問
題がある。
However, such a conventional database system has the following problems.

【0006】すなわち、データ更新やフィールド追加な
どデータベースを編集する場合には、データベースの全
データを一旦吸い上げて、吸い上げたデータベースを対
象に編集作業を行う。このため、データベースを編集す
るユーザは、編集に関係ないデータも含まれた大きなデ
ータベースを対象に編集作業をしなければならないため
に、作業しにくいという問題がある。
That is, when editing a database, such as updating data or adding a field, all data in the database is once downloaded, and editing is performed on the downloaded database. For this reason, there is a problem that it is difficult for a user who edits a database to perform an editing operation on a large database including data unrelated to the editing.

【0007】また、あるユーザが一旦データベースにア
クセスすると、そのユーザによるアクセスが終了するま
で、そのデータベースは他のユーザに開放されない。つ
まり、従来のデータベースシステムは、複数のユーザが
同時にアクセスすることができないために、データの更
新、あるいはフィールドの追加を行うためにあるユーザ
がそのデータベースへアクセスすると、他のユーザは、
データの更新やフィールドの追加を行いたくても、その
ユーザのアクセスが終了するまで待たなければならない
という問題がある。
Further, once a user accesses a database, the database is not opened to other users until the access by the user ends. That is, in the conventional database system, since a plurality of users cannot access at the same time, when one user accesses the database to update data or add a field, the other users are
Even if the user wants to update data or add a field, the user has to wait until the access of the user ends.

【0008】本発明はこのような事情に鑑みてなされた
ものであり、その第1の目的は、複数のユーザによって
使用されるデータベースをフィールド単位で分割して管
理し、もって、データベース全体の再構築を行うことな
くフィールドの追加作業を行うことを可能としたデータ
ベースシステムを提供することにある。
The present invention has been made in view of such circumstances, and a first object of the present invention is to manage a database used by a plurality of users by dividing the database in units of fields, thereby re-creating the entire database. It is an object of the present invention to provide a database system that enables a field to be added without construction.

【0009】また、その第2の目的は、表形式のデータ
ベースを各フィールド単位で管理することに加えて、デ
ータのレビジョンも管理し、もって、あるユーザがデー
タにアクセスしている間に、他のユーザによってそのデ
ータが更新されたことも認識することによって、複数ユ
ーザによる同時編集を行うことも可能としたデータベー
スシステムを提供することにある。
A second object of the present invention is to manage a database in a table format on a field-by-field basis and also to manage data revisions, so that while a user is accessing data, other users can access the data. Another object of the present invention is to provide a database system capable of performing simultaneous editing by a plurality of users by recognizing that the data has been updated by another user.

【0010】[0010]

【課題を解決するための手段】上記の目的を達成するた
めに、本発明では、以下のような手段を講じる。
Means for Solving the Problems In order to achieve the above object, the present invention takes the following measures.

【0011】すなわち、請求項1の発明では、テーブル
形式のデータベースにおいてデータが書き込まれるエリ
アが定義されたデータベースエリアの作成をユーザ操作
を介して受け付けるとともに、作成されたデータベース
エリアに、その識別番号であるデータベースエリアID
を付すデータベースエリア作成手段と、記憶しているデ
ータベースエリアIDから、データベースエリア作成手
段によって作成されたデータベースエリアに付されたデ
ータベースエリアIDを検索し、データベースエリアに
付されたデータベースエリアIDと同一のデータベース
エリアIDを記憶していない場合には、作成されたデー
タベースエリアの定義情報であるデータベースエリア情
報をデータベースに付されたデータベースエリアIDに
関連付けて記憶するデータベースエリア情報記憶手段
と、テーブル形式のデータベースの任意の行または列で
あるフィールドの書式を定義し、定義されたフィールド
の書式にその識別名であるフィールド書式名を付すとと
もに、このフィールドの書式が適用されるデータベース
エリアのデータベースエリアIDとフィールドの書式を
作成したユーザを定義したユーザIDとをフィールド書
式名に関連付けた情報であるフィールド情報を作成する
データベース書式定義手段と、データベース書式定義手
段によって作成されたフィールド情報を記憶するフィー
ルド情報記憶手段と、フィールド書式名に、フィールド
へのアクセスを許可されたユーザを定義したユーザID
を関連付けたフィールド毎アクセス権情報として記憶す
るフィールド毎アクセス権情報記憶手段と、フィールド
情報記憶手段に記憶されているフィールド書式名に、そ
の識別番号であるフィールドIDが付されていない場合
には、フィールド書式名にフィールドIDを付して、フ
ィールド書式名にフィールドIDを関連付けてフィール
ド情報記憶手段に更新記憶させるとともに、フィールド
毎アクセス権情報記憶手段に記憶されているフィールド
書式名に、フィールドへのアクセスを許可されたユーザ
を定義したユーザIDが関連付けられていない場合に
は、フィールド書式名に、フィールドへのアクセスを許
可されたユーザを定義したユーザIDを関連付けてフィ
ールド毎アクセス権情報としてフィールド毎アクセス権
情報記憶手段に更新記憶させるフィールド情報ID登録
手段とを備える。
That is, according to the first aspect of the present invention, creation of a database area in which an area to which data is to be written in a table format database is defined is accepted via a user operation, and the created database area is identified by its identification number. A certain database area ID
A database area ID assigned to the database area created by the database area creating means is searched from the stored database area ID and the same database area ID assigned to the database area. If the database area ID is not stored, database area information storage means for storing database area information, which is definition information of the created database area, in association with the database area ID assigned to the database; Define the format of a field, which is an arbitrary row or column of the field, name the defined field format with its distinguished name, the field format name, and specify the database format of the database area to which this field format applies. A database format definition unit for creating field information which is information relating an area ID and a user ID defining a user who created a field format to a field format name, and storing the field information created by the database format definition unit Field information storage means and a user ID defining a user who is permitted to access the field in the field format name
If the field format name stored in the field information storage means does not have a field ID as its identification number, The field format name is given a field ID, the field format name is associated with the field ID, and the field information storage means is updated and stored in the field information storage means. If the user ID that defines the user who is permitted to access is not associated, the field format name is associated with the user ID that defines the user who is permitted to access the field, and the per-field access right information is used for each field. Updated to access right information storage And a field information ID registration means for 憶.

【0012】従って、請求項1の発明のデータベースシ
ステムにおいては、テーブル形式のデータベースを、そ
のデータベースを構成している任意の部分であるデータ
ベースエリア毎に取り扱うことができる。
Therefore, in the database system according to the first aspect of the present invention, a database in a table format can be handled for each database area which is an arbitrary part of the database.

【0013】請求項2の発明では、請求項1の発明のデ
ータベースシステムにおいて、データベースの更新デー
タの入力を受け付けるとともに、入力された更新データ
を書き込むデータベースエリアのデータベースエリアI
D、更新データを入力したユーザのユーザID、同一の
データベースが複数のテーブルからなる場合、入力され
た更新データを書き込むデータベースエリアが含まれる
テーブルの識別番号であるテーブルID、および当該デ
ータベースエリアのレビジョン番号を含んだテーブルデ
ータ情報を、入力された更新データに関連付けて作成す
るデータ作成手段と、フィールド情報記憶手段に記憶さ
れているフィールド情報から、データ作成手段によって
作成されたテーブルデータ情報に含まれるデータベース
エリアIDに対応するフィールド情報を検索し、検索さ
れたフィールド情報とテーブルデータ情報とに基づい
て、データ作成手段で入力された更新データを書き込む
ための更新データ情報を作成するフィールド情報更新手
段と、フィールド情報更新手段によって作成された更新
データ情報を記憶する更新データ情報記憶手段と、テー
ブルのレビジョン番号であるテーブルレビジョン番号お
よびフィールドのレビジョン番号であるフィールドレビ
ジョン番号を含んだテーブルフィールドレビジョン情報
が出力されるとテーブルフィールドレビジョン情報を更
新記憶するテーブルフィールドレビジョン記憶手段と、
フィールド情報更新手段によって作成された更新データ
情報が書き込まれるデータベースエリアのデータベース
エリアIDに対応するデータベースエリア情報をデータ
ベースエリア情報記憶手段から取得し、フィールド毎ア
クセス権情報記憶手段に記憶されているフィールド毎ア
クセス権情報に基づいて、当該更新データを入力したユ
ーザのユーザIDが、対応するフィールド毎アクセス権
情報として記憶されている場合、当該更新データを入力
したユーザのユーザIDが、対応するフィールド毎アク
セス権情報として記憶されていなくても、更新データ情
報が書き込まれるデータベースエリアが含まれるテーブ
ルのテーブルレビジョン番号が、書き込み時におけるテ
ーブルレビジョン番号と一致する場合、更新データ情報
が書き込まれるデータベースエリアが含まれるテーブル
のテーブルレビジョン番号が当該データベースエリアが
含まれるテーブルのテーブルレビジョン番号と等しいか
それ以上となる場合のうちのいずれかである場合には、
当該更新データ情報を出力する更新判定手段と、更新判
定手段によって出力された更新データ情報を受信し、受
信した更新データ情報に対応するデータベースエリア情
報をデータベースエリア情報記憶手段から取得するとと
もに、受信した更新データ情報を更新データ情報記憶手
段に更新記憶させ、更新データ情報に対応するテーブル
フィールドレビジョン情報をテーブルフィールドレビジ
ョン記憶手段に出力するデータ更新手段とを備える。
According to a second aspect of the present invention, in the database system according to the first aspect of the present invention, an input of update data of the database is received and a database area I of a database area in which the input update data is written
D, a user ID of a user who has input update data, a table ID which is an identification number of a table including a database area in which the input update data is written when the same database includes a plurality of tables, and a revision of the database area The table data information created by the data creation unit is created from the data creation unit that creates the table data information including the number in association with the input update data, and the field information stored in the field information storage unit. Field information updating means for searching field information corresponding to the database area ID and creating update data information for writing update data inputted by the data creating means based on the searched field information and table data information; , Field information When update data information storage means for storing update data information created by the update means and table field revision information including a table revision number as a table revision number and a field revision number as a field revision number are output. Table field revision storage means for updating and storing table field revision information;
The database area information corresponding to the database area ID of the database area in which the update data information created by the field information updating means is written is acquired from the database area information storage means, and the field information stored in the field-specific access right information storage means is obtained. When the user ID of the user who has input the update data is stored as the corresponding field-based access right information based on the access right information, the user ID of the user who has input the update data determines the corresponding field-based access right. Even if it is not stored as the right information, if the table revision number of the table including the database area to which the update data information is written matches the table revision number at the time of writing, the data into which the update data information is written If the table revision number of the table that contains the database area is one of the cases to be equal to or more tables revision number of the table that contains the database area,
Update determination means for outputting the update data information, receiving the update data information output by the update determination means, acquiring the database area information corresponding to the received update data information from the database area information storage means, Data updating means for updating and storing the update data information in the update data information storage means and outputting table field revision information corresponding to the update data information to the table field revision storage means.

【0014】従って、請求項2の発明のデータベースシ
ステムにおいては、許可されたユーザのみがデータを更
新することができる。
Therefore, in the database system according to the second aspect of the present invention, only authorized users can update data.

【0015】請求項3の発明では、請求項2の発明のデ
ータベースシステムにおいて、抽出対象とするデータベ
ースのデータベースエリアID、テーブルID、および
抽出要求するユーザのユーザIDを含む抽出情報の入力
を受け付ける抽出情報入力受付手段と、抽出情報入力受
付手段を介して入力された抽出情報に含まれるデータベ
ースエリアIDに対応するフィールド情報をフィールド
情報記憶手段から取得し、抽出対象とするデータベース
において定義されているフィールドを抽出するためのフ
ィールド抽出条件としてこのフィールド情報と抽出情報
とをデータ更新手段に出力する一方、データベースエリ
ア情報と更新データ情報とが入力された場合には、デー
タベースエリア情報と更新データ情報とに対応している
テーブルIDおよびデータベースエリアIDで定義され
ているデータベースエリアに更新データが書き込まれた
表データ情報をユーザ側に出力する表フィールド情報交
換手段とを備え、データ更新手段は、表フィールド情報
交換手段からフィールド抽出条件が出力された場合に
は、フィールド抽出条件に対応するデータベースエリア
情報と更新データ情報とを、それぞれデータベースエリ
ア情報記憶手段と更新データ情報記憶手段とから取得し
て表フィールド情報交換手段に出力する。
According to a third aspect of the present invention, in the database system according to the second aspect of the present invention, the extraction system receives input of extraction information including a database area ID of a database to be extracted, a table ID, and a user ID of a user who requests extraction. Information input receiving means, and field information corresponding to the database area ID included in the extracted information input via the extracted information input receiving means are obtained from the field information storage means, and fields defined in the database to be extracted While the field information and the extracted information are output to the data updating means as field extraction conditions for extracting the data, when the database area information and the updated data information are inputted, Supported table ID and A table field information exchange means for outputting to the user table data information in which update data has been written in the database area defined by the database area ID, wherein the data update means has a field extraction condition from the table field information exchange means. When output, database area information and update data information corresponding to the field extraction condition are obtained from the database area information storage means and the update data information storage means, respectively, and output to the table field information exchange means.

【0016】従って、請求項3の発明のデータベースシ
ステムにおいては、許可されたのみがデータを抽出する
ことができる。
Therefore, in the database system according to the third aspect of the present invention, data can be extracted only by authorized users.

【0017】[0017]

【発明の実施の形態】以下に、本発明の実施の形態につ
いて図面を参照しながら説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0018】本発明の本発明の実施の形態を図1から図
9を用いて説明する。
An embodiment of the present invention will be described with reference to FIGS.

【0019】図1は、本発明の実施の形態に係るデータ
ベースシステムの全体構成の一例を示す概念図である。
FIG. 1 is a conceptual diagram showing an example of the entire configuration of a database system according to an embodiment of the present invention.

【0020】図2は、本発明の実施の形態に係るデータ
ベースシステムの全体構成の一例を示すブロック図であ
る。
FIG. 2 is a block diagram showing an example of the overall configuration of the database system according to the embodiment of the present invention.

【0021】本発明の実施の形態に係るデータベースシ
ステムは、図1に示すように、ワークステーション等の
計算機からなり、それぞれ伝送路Nに接続されたユーザ
端末であるクライアント部1と、サーバに設けられたデ
ータベース部2とを備えている。
As shown in FIG. 1, the database system according to the embodiment of the present invention comprises a computer such as a workstation, and is provided in a client unit 1 which is a user terminal connected to a transmission line N and a server. And a database unit 2.

【0022】更に、図2に示すように、クライアント部
1は、表計算ソフト3とエンジニアリングデータアクセ
ス部4とを備えている。
Further, as shown in FIG. 2, the client unit 1 includes spreadsheet software 3 and an engineering data access unit 4.

【0023】データベース部2は、データベースエリア
作成部5と、データベースエリア情報記憶部6と、フィ
ールド情報記憶部7と、フィールド毎アクセス権情報記
憶部8と、フィールド情報ID登録部9と、フィールド
情報更新部10と、更新データ情報記憶部11と、テー
ブルフィールドレビジョン記憶部12と、更新判定部1
3と、データ更新部14と、表フィールド情報交換部1
5とを備えている。
The database unit 2 includes a database area creation unit 5, a database area information storage unit 6, a field information storage unit 7, an access right information storage unit 8 for each field, a field information ID registration unit 9, a field information Update unit 10, update data information storage unit 11, table field revision storage unit 12, update determination unit 1
3, a data update unit 14, and a table field information exchange unit 1
5 is provided.

【0024】表計算ソフト3は、図3に示すようなデー
タベースエリアaを作成する場合に、その作成要求入力
を行うとともに、入力されたデータを書き込むデータベ
ースエリアaのデータベースエリアID、入力したユー
ザのユーザID、データベースdが複数のテーブルtか
らなる場合、作成されたデータベースエリアaが含まれ
るテーブルtの識別番号であるテーブルID、当該デー
タベースエリアaのレビジョン番号を含んだテーブルデ
ータ情報21を、入力されたデータに関連付け、入力さ
れたデータとともにエンジニアリングデータアクセス部
4に出力する。図4に、テーブルデータ情報21のデー
タ構造図を示す。
When the database area a as shown in FIG. 3 is created, the spreadsheet software 3 inputs a creation request, as well as the database area ID of the database area a into which the input data is to be written, When the user ID and the database d are composed of a plurality of tables t, the table ID which is the identification number of the table t including the created database area a and the table data information 21 including the revision number of the database area a are input. The data is associated with the input data and output to the engineering data access unit 4 together with the input data. FIG. 4 shows a data structure diagram of the table data information 21.

【0025】また、表計算ソフト3は、データベースd
にデータを書き込む書式の入力を受け付ける。この場
合、図3に示すような複数のテーブルtから構成される
データベースdにおいて、任意の行または列であるフィ
ールドf(図3の例では、列をフィールドとして定義し
ている。)の書式を定義し、定義されたフィールドfの
書式にその識別名であるフィールド書式名を付すととも
に、このフィールドfの書式が適用されるデータベース
エリアaのデータベースエリアIDと、フィールドfの
書式を定義したユーザを定義したユーザIDと、このデ
ータベースエリアaにアクセス可能なユーザを定義した
ユーザIDとをフィールド書式名に関連付けた情報であ
るフィールド情報20を作成し、エンジニアリングデー
タアクセス部4に出力する。図5に、フィールド情報2
0のデータ構造図を示す。
The spreadsheet software 3 has a database d
The input of the format to write data to is accepted. In this case, in a database d composed of a plurality of tables t as shown in FIG. 3, the format of a field f which is an arbitrary row or column (in the example of FIG. 3, the column is defined as a field). A field format name, which is an identification name, is given to the defined format of the field f, a database area ID of the database area a to which the format of the field f is applied, and a user who defines the format of the field f are defined. It creates field information 20 which is information in which the defined user ID and a user ID defining a user who can access the database area a are associated with a field format name, and outputs the field information 20 to the engineering data access unit 4. FIG. 5 shows field information 2
0 shows a data structure diagram.

【0026】エンジニアリングデータアクセス部4は、
データ表示機能を備えており、表計算ソフト3、データ
ベースエリア作成部5、フィールド情報更新部10、更
新判定部13、表フィールド情報変換部15から出力さ
れたデータを表示する。
The engineering data access unit 4
It has a data display function, and displays data output from the spreadsheet software 3, the database area creation unit 5, the field information update unit 10, the update determination unit 13, and the table field information conversion unit 15.

【0027】また、表計算ソフト3から出力されたフィ
ールド情報20をフィールド情報ID登録部9に出力す
る。また、テーブルデータ情報21をデータベースエリ
ア作成部5とフィールド情報更新部10とにそれぞれに
出力する。また、データベースdから所望のデータを抽
出する場合に、ユーザより、抽出対象とするデータベー
スdのデータベースエリアID、テーブルID、および
抽出要求するユーザのユーザIDを含む抽出情報22の
入力を受け付け、表フィールド情報変換部15に出力す
る。図6に、抽出情報22のデータ構造図を示す。
The field information 20 output from the spreadsheet software 3 is output to the field information ID registration unit 9. Further, it outputs the table data information 21 to the database area creating unit 5 and the field information updating unit 10, respectively. When extracting desired data from the database d, the user receives input of the extraction information 22 including the database area ID and table ID of the database d to be extracted and the user ID of the user requesting the extraction, and Output to the field information converter 15. FIG. 6 shows a data structure diagram of the extraction information 22.

【0028】更に、エンジニアリングデータアクセス部
4は、表フィールド情報変換部15から、データベース
エリアID情報23と更新データ情報26とにおいて定
義されているデータベースエリアIDで定義されている
データベースエリアaにデータが書き込まれた表データ
情報28を取得し、表計算ソフト3に出力する。
Further, the engineering data access unit 4 sends the data from the table field information conversion unit 15 to the database area a defined by the database area ID defined in the database area ID information 23 and the update data information 26. The written table data information 28 is obtained and output to the spreadsheet software 3.

【0029】データベースエリア作成部5は、エンジニ
アリングデータアクセス部4から出力されたテーブルデ
ータ情報21をデータベースエリア情報記憶部6に出力
する。また、データベースエリア情報記憶部6から出力
されるデータベースエリアID情報23を取得しエンジ
ニアリングデータアクセス部4に出力する。
The database area creation unit 5 outputs the table data information 21 output from the engineering data access unit 4 to the database area information storage unit 6. Further, it acquires the database area ID information 23 output from the database area information storage unit 6 and outputs it to the engineering data access unit 4.

【0030】データベースエリア情報記憶部6は、デー
タベースエリア作成部5より出力されるテーブルデータ
情報21を取得する。そして、既に記憶しているデータ
ベースエリアIDから、テーブルデータ情報21で定義
されたデータベースエリアIDを検索し、テーブルデー
タ情報21に定義されたデータベースエリアIDと同一
のデータベースエリアIDを記憶していない場合には、
データベースエリア作成部5から入力されたテーブルデ
ータ情報21をそのデータベースエリアIDに関連付け
て記憶する。また、記憶しているデータベースエリアI
DのリストであるデータベースエリアID情報23をデ
ータベースエリア作成部5とフィールド情報ID登録部
9と更新判定部13とデータ更新部14とに出力する。
The database area information storage section 6 acquires the table data information 21 output from the database area creation section 5. Then, the database area ID defined in the table data information 21 is searched from the already stored database area ID, and the same database area ID as the database area ID defined in the table data information 21 is not stored. In
The table data information 21 input from the database area creation unit 5 is stored in association with the database area ID. The stored database area I
The database area ID information 23, which is the list of D, is output to the database area creation unit 5, the field information ID registration unit 9, the update determination unit 13, and the data update unit 14.

【0031】フィールド情報記憶部7は、エンジニアリ
ングデータアクセス部4から出力されたフィールド情報
20をフィールド情報ID登録部9を介して取得し、フ
ィールド書式名を記憶名として記憶する。また、記憶し
たフィールド情報20をフィールド情報更新部10と表
フィールド情報変換部15とに出力する。
The field information storage unit 7 acquires the field information 20 output from the engineering data access unit 4 via the field information ID registration unit 9 and stores the field format name as a storage name. Further, it outputs the stored field information 20 to the field information updating unit 10 and the table field information converting unit 15.

【0032】フィールド毎アクセス権情報記憶部8は、
フィールド情報ID登録部9から出力されたアクセス可
能なユーザIDを記したフィールド毎アクセス権情報2
4を記憶するとともに、更新判定部13に出力する。
The access right information storage unit 8 for each field
Field-based access right information 2 describing accessible user IDs output from the field information ID registration unit 9
4 and outputs it to the update determination unit 13.

【0033】フィールド情報ID登録部9は、エンジニ
アリングデータアクセス部4からフィールド情報20
を、データベースエリア情報記憶部6からデータベース
エリアID情報23をそれぞれ取得する。そして、フィ
ールド情報20にフィールドIDが付されていない場合
には、フィールド情報20にフィールドIDを付してフ
ィールド情報記憶部7に更新記憶させる。また、データ
ベースエリアID情報23にフィールド毎アクセス権情
報24が付されていない場合には、データベースエリア
ID情報23にフィールド毎アクセス権情報24を関連
付けてフィールド毎アクセス権情報記憶部8に更新記憶
させる。
The field information ID registration unit 9 transmits the field information 20 from the engineering data access unit 4.
Is acquired from the database area information storage unit 6 respectively. If the field information 20 is not provided with a field ID, the field information 20 is provided with a field ID and is updated and stored in the field information storage unit 7. When the database area ID information 23 does not include the field-based access right information 24, the database area ID information 23 is associated with the field-based access right information 24 and updated and stored in the field-based access right information storage unit 8. .

【0034】フィールド情報更新部10は、フィールド
情報記憶部7から取得したフィールド情報20から、表
計算ソフト3によって作成されたデータに関連付けられ
たテーブルデータ情報21に含まれるデータベースエリ
アIDに対応するフィールド情報20を検索し、検索さ
れたフィールド情報20に基づいて、表計算ソフト3で
作成されたデータを所定のフィールドfに更新するため
の更新データ情報26を作成し、更新判定部13に出力
する。
The field information update unit 10 converts the field information 20 obtained from the field information storage unit 7 into a field corresponding to the database area ID included in the table data information 21 associated with the data created by the spreadsheet software 3. The information 20 is searched, and based on the searched field information 20, update data information 26 for updating the data created by the spreadsheet software 3 to a predetermined field f is created and output to the update determination unit 13. .

【0035】更新データ情報記憶部11は、データ更新
部14から更新データ情報26を取得し記憶する。ま
た、記憶した更新データ情報26を更新判定部13に出
力する。
The update data information storage unit 11 acquires and stores the update data information 26 from the data update unit 14. The stored update data information 26 is output to the update determination unit 13.

【0036】テーブルフィールドレビジョン記憶部12
は、データ更新部14によって出力された、テーブルt
のレビジョン番号であるテーブルレビジョン番号および
フィールドfのレビジョン番号であるフィールドレビジ
ョン番号を含んだテーブルフィールドレビジョン情報2
7を更新記憶する。また、テーブルフィールドレビジョ
ン情報27を更新判定部13に出力する。
Table field revision storage unit 12
Is the table t output by the data update unit 14.
Field revision information 2 including a table revision number which is a revision number of the table f and a field revision number which is a revision number of the field f
7 is updated and stored. Further, it outputs the table field revision information 27 to the update determination unit 13.

【0037】更新判定部13は、フィールド情報更新部
10と更新データ情報記憶部11から更新データ情報2
6、データベースエリア情報記憶部6からデータベース
エリアID情報23、フィールド毎アクセス権情報記憶
部8からフィールド毎アクセス権情報24をそれぞれ取
得する。そして、まず、データ更新を要求しているユー
ザのユーザIDが、フィールド毎アクセス権情報24で
定義されているかを判定する。
The update judging unit 13 receives the update data information 2 from the field information update unit 10 and the update data information storage unit 11.
6. The database area ID information 23 is obtained from the database area information storage unit 6, and the field access right information 24 is obtained from the field access right information storage unit 8. Then, first, it is determined whether the user ID of the user requesting the data update is defined in the field-specific access right information 24.

【0038】また、データが記憶されているデータベー
スエリアaを検索し、更新データ情報記憶部11によっ
て記憶された更新データ情報26に基づいて、このデー
タベースエリアaにおけるデータ変更の有無を判定し、
判定結果29をエンジニアリングデータアクセス部4に
出力する。
The database area a in which the data is stored is searched, and based on the update data information 26 stored in the update data information storage section 11, it is determined whether or not the data in the database area a has been changed.
The judgment result 29 is output to the engineering data access unit 4.

【0039】そして、データベースエリアaにデータ変
更がある場合には、以下の3つのケースのうちいずれか
を満足する場合に、更新データ情報26をデータ更新部
14に出力する。
When there is a data change in the database area a, the update data information 26 is output to the data update unit 14 when any of the following three cases is satisfied.

【0040】(1)更新データ情報26に含まれている
ユーザIDがこのデータベースエリアaへのアクセスを
許可されたユーザIDとして定義されている場合。
(1) When the user ID included in the update data information 26 is defined as a user ID permitted to access the database area a.

【0041】(2)更新データ情報26に含まれている
ユーザIDがこのデータベースエリアaへのアクセスを
許可されたユーザIDとして定義されていなくても、更
新データ情報26のテーブルレビジョン番号がこのデー
タベースエリアaのデータベースエリアIDのテーブル
レビジョン番号と一致する場合。
(2) Even if the user ID included in the update data information 26 is not defined as a user ID permitted to access the database area a, the table revision number of the update data information 26 is When it matches the table revision number of the database area ID of area a.

【0042】(3)更新データ情報26のテーブルtの
レビジョン番号がこのデータベースエリアaのデータベ
ースエリアIDにおけるテーブルレビジョン番号と等し
いかそれ以上の場合。
(3) When the revision number of the table t of the update data information 26 is equal to or greater than the table revision number in the database area ID of the database area a.

【0043】データ更新部14は、更新判定部13から
出力された更新データ情報26を受信し、受信した更新
データ情報26に含まれているデータベースエリアID
と一致するデータベースIDのデータベースエリアID
情報23をデータベースエリア情報記憶部6から取得す
るとともに、受信した更新データ情報26を更新データ
情報記憶部11に記憶させ、更新データ情報26のテー
ブルフィールドレビジョン情報27をテーブルフィール
ドレビジョン記憶部12に出力する。
The data update unit 14 receives the update data information 26 output from the update determination unit 13, and stores the database area ID included in the received update data information 26.
Database area ID of database ID that matches
The information 23 is acquired from the database area information storage unit 6, the received update data information 26 is stored in the update data information storage unit 11, and the table field revision information 27 of the update data information 26 is output to the table field revision storage unit 12. I do.

【0044】また、データ更新部14は、表フィールド
情報交換部15から抽出情報22が入力された場合に
は、抽出情報22に含まれるデータベースエリアIDに
対応するデータベースエリアID情報23をデータベー
スエリア情報記憶部6から、抽出情報22に含まれるデ
ータベースエリアIDに対応する更新データ情報26を
更新データ情報記憶部11からそれぞれ取得し、更新デ
ータ情報26を表フィールド情報交換部15に出力す
る。
When the extraction information 22 is input from the table field information exchange unit 15, the data updating unit 14 transmits the database area ID information 23 corresponding to the database area ID included in the extraction information 22 to the database area information. The update data information 26 corresponding to the database area ID included in the extraction information 22 is obtained from the update data information storage unit 11 from the storage unit 6, and the update data information 26 is output to the table field information exchange unit 15.

【0045】表フィールド情報交換部15は、エンジニ
アリングデータアクセス部4を介して入力された抽出情
報22に含まれるデータベースエリアID、およびユー
ザIDに対応するフィールド情報20をフィールド情報
記憶部7から取得し、抽出対象とするデータベースdに
おいて定義されているフィールドfを抽出するためのフ
ィールド抽出条件として、フィールド情報20と抽出情
報22とをデータ更新部14に出力する。
The table field information exchange unit 15 acquires from the field information storage unit 7 the field information 20 corresponding to the database area ID and the user ID included in the extraction information 22 input via the engineering data access unit 4. The field information 20 and the extraction information 22 are output to the data updating unit 14 as field extraction conditions for extracting the field f defined in the database d to be extracted.

【0046】一方、表フィールド情報交換部15に、デ
ータ更新部14より、データベースエリアID情報23
と更新データ情報26とが入力された場合には、データ
ベースエリアID情報23と更新データ情報26とにお
いて定義されているテーブルIDおよびデータベースエ
リアIDで定義されているデータベースエリアaにデー
タが書き込まれた表データ情報28を要求元のユーザ側
のエンジニアリングデータアクセス部4に出力する。
On the other hand, in the table field information exchange section 15, the data update section 14 sends the database area ID information 23
And the update data information 26 are input, the data is written to the database area a defined by the table ID defined by the database area ID information 23 and the update data information 26 and the database area ID. The table data information 28 is output to the engineering data access unit 4 on the requesting user side.

【0047】このネットワークシステムは、イーサネッ
ト(登録商標)等のLAN、あるいは公衆回線や専用回
線を介して複数のLANが接続されるWAN等からな
る。LANの場合には、必要に応じてルータを介した多
数のサブネットから構成される。また、WANの場合に
は、公衆回線に接続するためのファイアウォール等を適
宜備えているが、ここではその図示及び詳細説明を省略
する。
This network system comprises a LAN such as Ethernet (registered trademark) or a WAN to which a plurality of LANs are connected via a public line or a dedicated line. In the case of a LAN, it is composed of a number of subnets via routers as needed. In the case of a WAN, a firewall or the like for connecting to a public line is appropriately provided, but illustration and detailed description thereof are omitted here.

【0048】次に、以上のように構成した本実施の形態
に係るデータベースシステムの作用について説明する。
Next, the operation of the database system according to the present embodiment configured as described above will be described.

【0049】先ず、フィールドfを作成および登録する
場合について、図7のフローチャートを用いて説明す
る。
First, the case where the field f is created and registered will be described with reference to the flowchart of FIG.

【0050】テーブル形式のデータベースdにおいて新
たなフィールドfを追加し、登録する場合には、ユーザ
操作によって、表計算ソフト3を介して、作成するデー
タベースエリアaの指定入力がなされる(S1)。具体
的には、図4に示すように、データを書き込むデータベ
ースエリアaのデータベースエリアID、データベース
dが複数のテーブルtからなる場合、作成されたデータ
ベースエリアaが含まれるテーブルtの識別番号である
テーブルID、当該データベースエリアaのレビジョン
番号を含んだテーブルデータ情報21が作成される。
When a new field f is added and registered in the database d in the table format, the user inputs a designation of the database area a to be created through the spreadsheet software 3 (S1). More specifically, as shown in FIG. 4, when the database d includes a plurality of tables t, the identification number of the table t including the created database area a is used. Table data information 21 including the table ID and the revision number of the database area a is created.

【0051】このテーブルデータ情報21は、表計算ソ
フト3からエンジニアリングデータアクセス部4を介し
てデータベースエリア作成部5に出力され、更にデータ
ベースエリア情報記憶部6に出力される。
The table data information 21 is output from the spreadsheet software 3 to the database area creation unit 5 via the engineering data access unit 4 and further output to the database area information storage unit 6.

【0052】データベースエリア情報記憶部6では、記
憶しているデータベースエリアIDから、テーブルデー
タ情報21に付されたデータベースエリアIDが検索さ
れる(S2)。
The database area information storage unit 6 searches the stored database area ID for the database area ID assigned to the table data information 21 (S2).

【0053】そして、データベースエリア情報記憶部6
に既に保存されている情報に、テーブルデータ情報21
のデータベースエリアIDと同一のデータベースエリア
IDが存在しない場合(S3:Yes)には、データベ
ースエリアaの定義情報であるデータベースエリアID
情報23が、そのデータベースエリアIDに関連付けて
記憶されることによって登録される(S4)。
Then, the database area information storage section 6
Information already stored in the table data information 21
If the same database area ID as the database area ID does not exist (S3: Yes), the database area ID which is the definition information of the database area a
The information 23 is registered by being stored in association with the database area ID (S4).

【0054】データベースエリア情報記憶部6に既に保
存されている情報に、テーブルデータ情報21のデータ
ベースエリアIDと同一のデータベースエリアIDが存
在する場合(S3:No)には、ステップS1に戻る。
If the same information as the database area ID of the table data information 21 exists in the information already stored in the database area information storage unit 6 (S3: No), the process returns to step S1.

【0055】一方、表計算ソフト3では、作成するデー
タベースエリアaの書式入力もなされる(S5)。具体
的には、図5に示すように、定義されたフィールドfの
識別名であるフィールド書式名、データを書き込むデー
タベースエリアaのデータベースエリアID、フィール
ドfの書式を作成したユーザのユーザID、データベー
スdが複数のテーブルtからなる場合、作成されたデー
タベースエリアaが含まれるテーブルtの識別番号であ
るテーブルID、このフィールドfにアクセスすること
が可能なユーザのユーザIDを含んだフィールド情報2
0が作成される。
On the other hand, the spreadsheet software 3 also inputs the format of the database area a to be created (S5). Specifically, as shown in FIG. 5, a field format name which is an identification name of a defined field f, a database area ID of a database area a in which data is to be written, a user ID of a user who created a format of the field f, a database When d is composed of a plurality of tables t, a table ID which is an identification number of the table t including the created database area a, and field information 2 including a user ID of a user who can access this field f
0 is created.

【0056】このフィールド情報20は、表計算ソフト
3からエンジニアリングデータアクセス部4を介してフ
ィールド情報ID登録部9に出力される。そして、この
フィールド情報20にフィールドIDが付されていない
場合には、データベースエリア情報記憶部6から出力さ
れたデータベースエリアID情報23に基づいてフィー
ルドIDを付され、フィールド情報記憶部7において記
憶されることによって登録される(S6)。
The field information 20 is output from the spreadsheet software 3 to the field information ID registration unit 9 via the engineering data access unit 4. If the field information 20 is not provided with a field ID, a field ID is provided based on the database area ID information 23 output from the database area information storage unit 6 and stored in the field information storage unit 7. Is registered (S6).

【0057】一方、フィールド情報ID登録部9におい
て、フィールド情報20からアクセス可能なユーザID
情報が、フィールド毎アクセス権情報24として抽出さ
れフィールド毎アクセス権情報記憶部8に記憶されるこ
とによって登録される(S7)。
On the other hand, the user ID accessible from the field information 20 in the field information ID registration unit 9
The information is registered by being extracted as the per-field access right information 24 and stored in the per-field access right information storage unit 8 (S7).

【0058】このようにして、作成したデータベースエ
リアaの情報が、そのデータベースIDとともにデータ
ベースエリア情報記憶部6に登録され、その内容がデー
タベースdに反映される。また、フィールドfの情報
が、そのフィールドIDとともにフィールド情報記憶部
7に登録され、その内容がデータベースdに反映され
る。更に、このフィールドfへアクセス可能なユーザを
定義したフィールド毎アクセス権情報24がフィールド
毎アクセス権情報記憶部8に登録され、フィールド毎に
アクセス権が設定される。
The information of the database area a thus created is registered in the database area information storage section 6 together with its database ID, and the contents are reflected in the database d. The information of the field f is registered in the field information storage unit 7 together with the field ID, and the contents are reflected in the database d. Further, field-by-field access right information 24 that defines a user who can access the field f is registered in the field-by-field access right information storage unit 8, and an access right is set for each field.

【0059】すなわち、テーブル形式のデータベースに
対して、新たなフィールドが動的に追加されるようにな
る。
That is, new fields are dynamically added to the table format database.

【0060】次に、データベースdへのデータ入力およ
び更新の場合について、図8のフローチャートを用いて
説明する。
Next, the case of inputting and updating data to the database d will be described with reference to the flowchart of FIG.

【0061】所定のデータベースエリアaへのデータの
入力、あるいは既に記載されているデータの更新の場合
には、ユーザ入力により、表計算ソフト3を介して、入
力データと、この入力データを書き込むデータベースエ
リアaのデータベースエリアID、同一のデータベース
dが複数のテーブルtからなる場合、この入力データを
書き込むデータベースエリアaが含まれるテーブルtの
識別番号であるテーブルID、当該データベースエリア
IDのレビジョン番号を含んだテーブルデータ情報21
が作成される(S11)。
In the case of inputting data to a predetermined database area a or updating data already described, input data and a database to which the input data is written are input by the user via the spreadsheet software 3. When the same database d includes a plurality of tables t, the database area ID of the area a includes the table ID which is the identification number of the table t including the database area a into which the input data is written, and the revision number of the database area ID. Table data information 21
Is created (S11).

【0062】ステップS11において作成された入力デ
ータおよびテーブルデータ情報21は、フィールド情報
更新部10に出力される。フィールド情報更新部10で
は、ステップS11において作成されたテーブルデータ
情報21のデータベースエリアIDを参照して、対応す
るフィールド情報20が検索される。そして、検索され
たフィールド情報20に基づいて、ステップS11で作
成された入力データを、所定のフィールドfに更新する
ための更新データ情報26が作成され(S12)、更新
判定部13に出力される。
The input data and table data information 21 created in step S11 are output to the field information updating unit 10. The field information updating unit 10 searches the corresponding field information 20 with reference to the database area ID of the table data information 21 created in step S11. Then, based on the retrieved field information 20, update data information 26 for updating the input data created in step S11 to a predetermined field f is created (S12) and output to the update determination unit 13. .

【0063】更新判定部13では、フィールド情報更新
部10から出力された更新データ情報26に含まれてい
るデータベースエリアIDとに基づいて、データベース
エリア情報記憶部6から、それに対応するデータベース
エリアID情報23が取得される(S13)。また、フ
ィールド毎アクセス権情報記憶部8に記憶されたフィー
ルド毎アクセス権情報24と、ステップS13で取得さ
れたデータベースエリアID情報23とに基づいて、当
該ユーザがアクセスを許可されたユーザであることが判
定され、かつ更新するデータベースエリアaが検索され
る(S14)。
The update judging section 13 reads the corresponding database area ID information from the database area information storage section 6 based on the database area ID included in the update data information 26 output from the field information updating section 10. 23 are acquired (S13). Further, based on the per-field access right information 24 stored in the per-field access right information storage unit 8 and the database area ID information 23 acquired in step S13, the user is a user who is permitted access. Is determined, and the database area a to be updated is searched (S14).

【0064】更に、更新判定部13において、ステップ
S12で作成された更新データ情報26に基づいて、こ
のデータベースエリアaにおけるデータ変更の有無が判
定される(S15)。
Further, the update determination section 13 determines whether or not data has been changed in the database area a based on the update data information 26 created in step S12 (S15).

【0065】そして、データ変更がある場合(S15:
Yes)には、以下に示すいずれかの条件を満足する場
合、更新データ情報26がデータ更新部14に出力され
る(S19)。それ以外の場合(S15:No)(S1
8:No)には、ステップS11に戻る。
If there is a data change (S15:
In Yes, if any of the following conditions is satisfied, the update data information 26 is output to the data update unit 14 (S19). Otherwise (S15: No) (S1
8: No), the process returns to step S11.

【0066】(1)テーブルフィールドレビジョン記憶
部12に記憶されているテーブルフィールドレビジョン
情報27において、更新データ情報26に含まれている
ユーザが、当該データベースエリアaへのアクセスを許
可されている場合(S16:Yes)。
(1) When the user included in the update data information 26 in the table field revision information 27 stored in the table field revision storage unit 12 is permitted to access the database area a ( S16: Yes).

【0067】(2)このユーザが当該データベースエリ
アaへのアクセスを許可されていない場合(S16:N
o)であっても、更新データ情報26のテーブルレビジ
ョン番号が当該データベースエリアaのテーブルレビジ
ョン番号と一致する場合(S17:Yes)。
(2) When this user is not permitted to access the database area a (S16: N
Even in the case of o), the table revision number of the update data information 26 matches the table revision number of the database area a (S17: Yes).

【0068】(3)更新データ情報26のテーブルレビ
ジョン番号が当該データベースaのデータベースエリア
IDにおけるテーブルレビジョン番号と等しいかそれ以
上となる場合(S18:Yes)。
(3) When the table revision number of the update data information 26 is equal to or greater than the table revision number in the database area ID of the database a (S18: Yes).

【0069】データ更新部14では、更新データ情報2
6に含まれているデータベースエリアIDと一致するデ
ータベースIDのデータベースエリアID情報23がデ
ータベースエリア情報記憶部6から取得される(S2
0)。また、この更新データ情報26が更新データ情報
記憶部11に記憶登録される(S21)。更に、更新デ
ータ情報26のテーブルフィールドレビジョン情報27
がテーブルフィールドレビジョン記憶部12に出力され
記憶登録される(S22)。
The data update unit 14 updates the update data information 2
The database area ID information 23 of the database ID that matches the database area ID included in the database area information storage unit 6 is acquired from the database area information storage unit 6 (S2).
0). The update data information 26 is stored and registered in the update data information storage unit 11 (S21). Further, the table field revision information 27 of the update data information 26
Is output to the table field revision storage unit 12 and stored and registered (S22).

【0070】このようにして、アクセス許可されたユー
ザによって作成されたデータが、更新データ情報26と
して、そのデータベースエリアIDとともに更新データ
情報記憶部11に登録され、その内容がデータベースエ
リアaに反映される。また、更新データ情報26のテー
ブルフィールドレビジョン情報27が、テーブルフィー
ルドレビジョン記憶部12に登録され、その内容がデー
タベースdに反映される。
In this manner, the data created by the user who is permitted to access is registered as update data information 26 in the update data information storage unit 11 together with the database area ID, and the contents are reflected in the database area a. You. The table field revision information 27 of the update data information 26 is registered in the table field revision storage unit 12, and the contents are reflected in the database d.

【0071】すなわち、ユーザは、全てのデータを取り
込まなくても、データを入力あるいは更新したいデータ
ベースエリアaのみを対象に、データの入力あるいは更
新がなされる。また、データを更新する時点におけるレ
ビジョンが常に最新のものであることが確認されるの
で、所定のデータベースエリアaにアクセスしている途
中に他のユーザによってそのデータが更新された場合に
おいても、それが認識される。
That is, even if the user does not take in all the data, the data is input or updated only for the database area a where the user wants to input or update the data. Further, since it is confirmed that the revision at the time of updating the data is always the latest, even if the data is updated by another user while accessing the predetermined database area a, the data is not updated. Is recognized.

【0072】次に、データベースdから、所望のデータ
ベースエリアaを抽出する場合について、図9のフロー
チャートを用いて説明する。
Next, a case where a desired database area a is extracted from the database d will be described with reference to the flowchart of FIG.

【0073】データベースdから所望のデータベースエ
リアaを抽出する場合には、ユーザ入力により、エンジ
ニアリングデータアクセス部4において、抽出対象とす
るデータベースdのデータベースエリアID、テーブル
ID、および抽出要求するユーザのユーザIDを含む抽
出情報22が作成され(S31)、表フィールド情報変
換部15に出力される。
When a desired database area a is to be extracted from the database d, the engineering data access unit 4 inputs the database area ID and table ID of the database d to be extracted and the user of the user requesting the extraction. The extraction information 22 including the ID is created (S31) and output to the table field information conversion unit 15.

【0074】表フィールド情報変換部15では、抽出情
報22に含まれるデータベースエリアIDに対応するフ
ィールド情報20がフィールド情報記憶部7から取得さ
れ(S32)、抽出情報22とフィールド情報20と
が、フィールドを抽出するためのフィールド抽出条件と
してデータ更新部14に出力される。
The table field information conversion section 15 obtains the field information 20 corresponding to the database area ID included in the extraction information 22 from the field information storage section 7 (S32), and stores the extraction information 22 and the field information 20 in the field information. Is output to the data updating unit 14 as a field extraction condition for extracting.

【0075】データ更新部14では、表フィールド情報
交換部15からフィールド抽出条件が入力されると、フ
ィールド抽出条件に含まれるデータベースエリアIDに
対応するデータベースエリアID情報23が、データベ
ースエリア情報記憶部6から取得される(S33)。ま
た、フィールド抽出条件に含まれるデータベースエリア
IDに対応する更新データ情報26が、更新データ情報
記憶部11から取得される(S34)。
In the data update unit 14, when the field extraction condition is input from the table field information exchange unit 15, the database area ID information 23 corresponding to the database area ID included in the field extraction condition is stored in the database area information storage unit 6. (S33). Further, the update data information 26 corresponding to the database area ID included in the field extraction condition is obtained from the update data information storage unit 11 (S34).

【0076】これらデータベースエリアID情報23
と、更新データ情報26とは表フィールド情報交換部1
5に出力され、それらで定義されているテーブルIDお
よびデータベースエリアIDに基づいて、データが書き
込まれたデータベースエリアaが抽出され(S35)要
求元のユーザ側に出力される(S36)。
These database area ID information 23
And the update data information 26 are the table field information exchange unit 1
5, the database area a in which the data is written is extracted based on the table ID and the database area ID defined therein (S35), and output to the requesting user side (S36).

【0077】このようにして、ユーザから要求されたデ
ータベースエリアaが、表フィールド情報交換部15に
おいて抽出され、要求元のユーザに出力されるので、必
要とするデータベースエリアaのみが参照される。
In this way, the database area a requested by the user is extracted in the table field information exchange section 15 and output to the requesting user, so that only the required database area a is referred to.

【0078】なお、請求項1でいうデータベースエリア
作成手段、データベースエリア情報記憶手段、データベ
ース書式定義手段、フィールド情報記憶手段、フィール
ド毎アクセス権情報記憶手段、フィールド情報ID登録
手段は、上記実施の形態においてデータベースエリア作
成部5、データベースエリア情報記憶部6、表計算ソフ
ト3、フィールド情報記憶部7、フィールド毎アクセス
権情報記憶部8、フィールド情報ID登録部9にそれぞ
れ相当する。
The database area creation means, database area information storage means, database format definition means, field information storage means, field-based access right information storage means, and field information ID registration means described in claim 1 are the same as those of the above embodiment. , A database area creation unit 5, a database area information storage unit 6, a spreadsheet software 3, a field information storage unit 7, a field-based access right information storage unit 8, and a field information ID registration unit 9, respectively.

【0079】また、請求項2でいうフィールド情報更新
手段、更新データ情報記憶手段、テーブルフィールドレ
ビジョン記憶手段、更新判定手段、データ更新手段は、
上記実施の形態において、フィールド情報更新部10、
更新データ情報記憶部11、テーブルフィールドレビジ
ョン記憶部12、更新判定部13、データ更新部14に
それぞれ相当する。
The field information updating means, the update data information storage means, the table field revision storage means, the update determination means, and the data update means according to claim 2 are:
In the above embodiment, the field information updating unit 10,
It corresponds to the update data information storage unit 11, the table field revision storage unit 12, the update determination unit 13, and the data update unit 14, respectively.

【0080】更に、請求項3でいう抽出情報入力受付手
段、表フィールド情報交換手段は、上記実施の形態にお
いて、エンジニアリングデータアクセス部4、表フィー
ルド情報交換部15にそれぞれ相当する。
Further, the extracted information input accepting means and the table field information exchanging means in claim 3 correspond to the engineering data access unit 4 and the table field information exchanging unit 15 in the above embodiment.

【0081】上述したように、本実施の形態に係るデー
タベースシステムにおいては、上記のような作用によ
り、ユーザが使用することができる表形式のデータベー
スを、フィールド単位に分割して管理し、更にフィール
ド単位のアクセス権を個別に管理することができる。
As described above, in the database system according to the present embodiment, the tabular database which can be used by the user is divided into fields and managed by the above-described operation. Access rights of units can be managed individually.

【0082】すなわち、ユーザが新たに必要としたフィ
ールド上のデータを、同一のデータベース上に登録する
ために、データベース全体の再構築を行うことなくフィ
ールドの追加作業を行うことが可能となる。
That is, since the data on the field newly required by the user is registered in the same database, the field can be added without reconstructing the entire database.

【0083】また、表形式のデータベースを各フィール
ド単位にアクセス権を管理することに加えて、データの
レビジョンを管理することにより、あるユーザがデータ
にアクセスしている間に、他のユーザによってそのデー
タが更新されたことも認識されるようになる。
Further, in addition to managing the access rights of the table format database on a field-by-field basis, by managing the data revision, while one user is accessing the data, the other user can access the data. It will also be recognized that the data has been updated.

【0084】これによって、ユーザは必要なデータのみ
にアクセスすることができるようになるために、あるユ
ーザがデータベース全体を占有することがなくなり、複
数ユーザによる同時編集も可能となる。
As a result, the user can access only necessary data, so that a certain user does not occupy the entire database, and simultaneous editing by a plurality of users becomes possible.

【0085】以上、本発明の好適な実施の形態につい
て、添付図面を参照しながら説明したが、本発明はかか
る構成に限定されない。特許請求の範囲に記載された技
術的思想の範疇において、当業者であれば、各種の変更
例及び修正例に想到し得るものであり、それら変更例及
び修正例についても本発明の技術的範囲に属するものと
了解される。
As described above, the preferred embodiments of the present invention have been described with reference to the accompanying drawings, but the present invention is not limited to such configurations. Within the scope of the technical idea described in the claims, those skilled in the art can come up with various modified examples and modified examples, and these modified examples and modified examples are also within the technical scope of the present invention. It is understood that it belongs to.

【0086】[0086]

【発明の効果】以上説明したように、本発明のデータベ
ースシステムによれば、複数のユーザによって使用され
るデータベースをフィールド単位で分割して管理し、も
って、データベース全体の再構築を行うことなくフィー
ルドの追加作業を行うことが可能となる。
As described above, according to the database system of the present invention, a database used by a plurality of users is divided and managed on a field-by-field basis, so that field data can be stored without reconstructing the entire database. Can be performed.

【0087】また、表形式のデータベースを各フィール
ド単位で管理することに加えて、データのレビジョンも
管理し、もって、あるユーザがデータにアクセスしてい
る間に、他のユーザによってそのデータが更新されたこ
とも認識されるようになるので、複数ユーザによる同時
編集を行うことも可能となる。
Further, in addition to managing the tabular database on a field-by-field basis, it also manages data revisions, so that while one user is accessing data, the data is updated by another user. Since it is also recognized that the editing has been performed, simultaneous editing by a plurality of users can be performed.

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

【図1】本発明の実施の形態に係るデータベースシステ
ムの全体構成の一例を示す概念図。
FIG. 1 is a conceptual diagram showing an example of the overall configuration of a database system according to an embodiment of the present invention.

【図2】同実施の形態に係るデータベースシステムの全
体構成の一例を示すブロック図。
FIG. 2 is an exemplary block diagram showing an example of the entire configuration of the database system according to the embodiment;

【図3】データベースの一例を示す模式図。FIG. 3 is a schematic diagram showing an example of a database.

【図4】テーブルデータ情報の一例を示すデータ構造
図。
FIG. 4 is a data structure diagram showing an example of table data information.

【図5】フィールド情報の一例を示すデータ構造図。FIG. 5 is a data structure diagram showing an example of field information.

【図6】抽出情報の一例を示すデータ構造図。FIG. 6 is a data structure diagram showing an example of extraction information.

【図7】フィールドの作成・登録時におけるフローチャ
ート。
FIG. 7 is a flowchart when creating and registering a field.

【図8】データの入力・更新時におけるフローチャー
ト。
FIG. 8 is a flowchart at the time of data input / update.

【図9】データの抽出時におけるフローチャート。FIG. 9 is a flowchart when data is extracted.

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

1…クライアント部、 2…データベース部、 3…表計算ソフト、 4…エンジニアリングデータアクセス部、 5…データベースエリア作成部、 6…データベースエリア情報記憶部、 7…フィールド情報記憶部、 8…フィールド毎アクセス権情報記憶部、 9…フィールド情報ID登録部、 10…フィールド情報更新部、 11…更新データ情報記憶部、 12…テーブルフィールドレビジョン記憶部、 13…更新判定部、 14…データ更新部、 15…表フィールド情報変換部、 20…フィールド情報、 21…テーブルデータ情報、 22…抽出情報、 23…テーブルエリアID情報、 24…フィールド毎アクセス権情報、 26…更新データ情報、 27…テーブルフィールドレビジョン情報、 28…表データ情報、 29…判定結果。 DESCRIPTION OF SYMBOLS 1 ... Client part, 2 ... Database part, 3 ... Spreadsheet software, 4 ... Engineering data access part, 5 ... Database area creation part, 6 ... Database area information storage part, 7 ... Field information storage part, 8 ... Each field access Rights information storage unit, 9: Field information ID registration unit, 10: Field information update unit, 11: Update data information storage unit, 12: Table field revision storage unit, 13: Update determination unit, 14: Data update unit, 15 ... Table field information conversion unit, 20: Field information, 21: Table data information, 22: Extraction information, 23: Table area ID information, 24: Access right information for each field, 26: Update data information, 27: Table field revision information, 28: Table data information 29: Judgment result

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 テーブル形式のデータベースにおいてデ
ータが書き込まれるエリアが定義されたデータベースエ
リアの作成をユーザ操作を介して受け付けるとともに、
作成されたデータベースエリアに、その識別番号である
データベースエリアIDを付すデータベースエリア作成
手段と、 記憶しているデータベースエリアIDから、前記データ
ベースエリア作成手段によって作成されたデータベース
エリアに付されたデータベースエリアIDを検索し、前
記データベースエリアに付されたデータベースエリアI
Dと同一のデータベースエリアIDを記憶していない場
合には、前記作成されたデータベースエリアの定義情報
であるデータベースエリア情報を前記データベースに付
されたデータベースエリアIDに関連付けて記憶するデ
ータベースエリア情報記憶手段と、 テーブル形式のデータベースの任意の行または列である
フィールドの書式を定義し、定義されたフィールドの書
式にその識別名であるフィールド書式名を付すととも
に、このフィールドの書式が適用される前記データベー
スエリアのデータベースエリアIDと前記フィールドの
書式を作成したユーザを定義したユーザIDとを前記フ
ィールド書式名に関連付けた情報であるフィールド情報
を作成するデータベース書式定義手段と、 前記データベース書式定義手段によって作成されたフィ
ールド情報を記憶するフィールド情報記憶手段と、 前記フィールド書式名に、前記フィールドへのアクセス
を許可されたユーザを定義したユーザIDを関連付けた
フィールド毎アクセス権情報として記憶するフィールド
毎アクセス権情報記憶手段と、 前記フィールド情報記憶手段に記憶されているフィール
ド書式名に、その識別番号であるフィールドIDが付さ
れていない場合には、前記フィールド書式名にフィール
ドIDを付して、前記フィールド書式名に前記フィール
ドIDを関連付けて前記フィールド情報記憶手段に更新
記憶させるとともに、前記フィールド毎アクセス権情報
記憶手段に記憶されているフィールド書式名に、前記フ
ィールドへのアクセスを許可されたユーザを定義したユ
ーザIDが関連付けられていない場合には、前記フィー
ルド書式名に、前記フィールドへのアクセスを許可され
たユーザを定義したユーザIDを関連付けて前記フィー
ルド毎アクセス権情報として前記フィールド毎アクセス
権情報記憶手段に更新記憶させるフィールド情報ID登
録手段とを備えたことを特徴とするデータベースシステ
ム。
The present invention accepts, via a user operation, creation of a database area in which an area to which data is to be written in a table format database is defined.
A database area creating means for assigning a database area ID as an identification number to the created database area; and a database area ID assigned to the database area created by the database area creating means from the stored database area ID. And the database area I attached to the database area
If the same database area ID as D is not stored, database area information storage means for storing database area information, which is the definition information of the created database area, in association with the database area ID assigned to the database. And defining the format of a field which is an arbitrary row or column of a database in the form of a table, adding a field format name which is an identifier to the defined field format, and applying the format of this field to the database. Database format definition means for creating field information which is information relating a database area ID of an area and a user ID defining a user who created the field format to the field format name; Was Field information storage means for storing field information; and field-based access right information storage means for storing as field-based access right information in which the field format name is associated with a user ID defining a user permitted to access the field. If the field format name stored in the field information storage means does not have a field ID as its identification number, a field ID is added to the field format name, and the field format name is A user ID that defines a user who is allowed to access the field in the field format name stored in the field-based access right information storage means, while updating and storing the field ID in the field information storage means. If is not associated A field information ID registration unit for associating the field format name with a user ID defining a user who is permitted to access the field and updating and storing the field format name as the field access right information in the field access right information storage unit; A database system comprising:
【請求項2】 請求項1に記載のデータベースシステム
において、 前記データベースの更新データの入力を受け付けるとと
もに、入力された更新データを書き込むデータベースエ
リアのデータベースエリアID、更新データを入力した
ユーザのユーザID、同一のデータベースが複数のテー
ブルからなる場合、前記入力された更新データを書き込
むデータベースエリアが含まれるテーブルの識別番号で
あるテーブルID、および当該データベースエリアのレ
ビジョン番号を含んだテーブルデータ情報を、前記入力
された更新データに関連付けて作成するデータ作成手段
と、 前記フィールド情報記憶手段に記憶されているフィール
ド情報から、前記データ作成手段によって作成されたテ
ーブルデータ情報に含まれるデータベースエリアIDに
対応するフィールド情報を検索し、検索されたフィール
ド情報と前記テーブルデータ情報とに基づいて、前記デ
ータ作成手段で入力された更新データを書き込むための
更新データ情報を作成するフィールド情報更新手段と、 前記フィールド情報更新手段によって作成された更新デ
ータ情報を記憶する更新データ情報記憶手段と、 前記テーブルのレビジョン番号であるテーブルレビジョ
ン番号および前記フィールドのレビジョン番号であるフ
ィールドレビジョン番号を含んだテーブルフィールドレ
ビジョン番号が出力されると前記テーブルフィールドレ
ビジョン情報を更新記憶するテーブルフィールドレビジ
ョン記憶手段と、 前記フィールド情報更新手段によって作成された更新デ
ータ情報が書き込まれるデータベースエリアのデータベ
ースエリアIDに対応するデータベースエリア情報を前
記データベースエリア情報記憶手段から取得し、前記フ
ィールド毎アクセス権情報記憶手段に記憶されているフ
ィールド毎アクセス権情報に基づいて、当該更新データ
を入力したユーザのユーザIDが、対応する前記フィー
ルド毎アクセス権情報として記憶されている場合、当該
更新データを入力したユーザのユーザIDが、対応する
前記フィールド毎アクセス権情報として記憶されていな
くても、前記更新データ情報が書き込まれるデータベー
スエリアが含まれるテーブルのテーブルレビジョン番号
が、書き込み時におけるテーブルレビジョン番号と一致
する場合、前記更新データ情報が書き込まれるデータベ
ースエリアが含まれるテーブルのテーブルレビジョン番
号が当該データベースエリアが含まれるテーブルのテー
ブルレビジョン番号と等しいかそれ以上となる場合のう
ちのいずれかである場合には、当該更新データ情報を出
力する更新判定手段と、 前記更新判定手段によって出力された更新データ情報を
受信し、受信した更新データ情報に対応するデータベー
スエリア情報を前記データベースエリア情報記憶手段か
ら取得するとともに、受信した更新データ情報を前記更
新データ情報記憶手段に更新記憶させ、前記更新データ
情報に対応するテーブルフィールドレビジョン情報を前
記テーブルフィールドレビジョン記憶手段に出力するデ
ータ更新手段とを備えたことを特徴とするデータベース
システム。
2. The database system according to claim 1, wherein the input of the update data of the database is received, a database area ID of a database area in which the input update data is written, a user ID of a user who has input the update data, When the same database is composed of a plurality of tables, the table data including the table ID, which is the identification number of the table including the database area to which the input update data is to be written, and the revision number of the database area are input to the input database. A data creation means for creating the data in association with the updated data, and a field information stored in the field information storage means, for a database area ID included in the table data information created by the data creation means. Field information updating means for searching for field information to be created and creating update data information for writing update data input by the data creating means based on the searched field information and the table data information; and An update data information storage unit that stores update data information created by the information update unit; and a table field revision number including a table revision number that is a revision number of the table and a field revision number that is a revision number of the field is output. A table field revision storage means for updating and storing the table field revision information; and a database area in a database area in which the update data information created by the field information updating means is written. A user of the user who has acquired the database area information corresponding to the ID from the database area information storage means and entered the update data based on the field-by-field access right information stored in the field-by-field access right information storage means When the ID is stored as the corresponding field-based access right information, the update data information is stored even if the user ID of the user who input the update data is not stored as the corresponding field-based access right information. If the table revision number of the table that includes the database area in which the update data information is written matches the table revision number at the time of writing, the table revision number of the table that includes the database area in which the update data information is written is changed to the database area. If the data is equal to or greater than the table revision number of the table that includes the update data, the update determination unit that outputs the update data information; and the update data that is output by the update determination unit. Receiving the information, acquiring the database area information corresponding to the received update data information from the database area information storage means, and updating and storing the received update data information in the update data information storage means; A data updating means for outputting corresponding table field revision information to said table field revision storage means.
【請求項3】 請求項2に記載のデータベースシステム
において、 抽出対象とするデータベースのデータベースエリアI
D、テーブルID、および抽出要求するユーザのユーザ
IDを含む抽出情報の入力を受け付ける抽出情報入力受
付手段と、 前記抽出情報入力受付手段を介して入力された抽出情報
に含まれるデータベースエリアIDに対応するフィール
ド情報を前記フィールド情報記憶手段から取得し、前記
抽出対象とするデータベースにおいて定義されているフ
ィールドを抽出するためのフィールド抽出条件としてこ
のフィールド情報と前記抽出情報とを前記データ更新手
段に出力する一方、前記データベースエリア情報と前記
更新データ情報とが入力された場合には、前記データベ
ースエリア情報と前記更新データ情報とに対応している
テーブルIDおよびデータベースエリアIDで定義され
ているデータベースエリアに前記更新データが書き込ま
れた表データ情報をユーザ側に出力する表フィールド情
報交換手段とを備え、 前記データ更新手段は、前記表フィールド情報交換手段
から前記フィールド抽出条件が出力された場合には、前
記フィールド抽出条件に対応する前記データベースエリ
ア情報と前記更新データ情報とを、それぞれ前記データ
ベースエリア情報記憶手段と前記更新データ情報記憶手
段とから取得して前記表フィールド情報交換手段に出力
することを特徴とするデータベースシステム。
3. The database system according to claim 2, wherein a database area I of a database to be extracted is set.
D, an extraction information input receiving means for receiving an input of extraction information including a table ID and a user ID of a user who requests the extraction, and a database area ID included in the extraction information input via the extraction information input receiving means. The field information to be extracted is obtained from the field information storage means, and the field information and the extracted information are output to the data update means as field extraction conditions for extracting fields defined in the database to be extracted. On the other hand, when the database area information and the update data information are input, the database area defined by the table ID and the database area ID corresponding to the database area information and the update data information is stored in the database area. Table to which updated data was written A table field information exchange unit that outputs data information to a user side, wherein the data update unit, when the field extraction condition is output from the table field information exchange unit, corresponds to the field extraction condition. A database system which acquires database area information and said update data information from said database area information storage means and said update data information storage means, respectively, and outputs them to said table field information exchange means.
JP2000063879A 2000-03-08 2000-03-08 Data base system Pending JP2001256247A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000063879A JP2001256247A (en) 2000-03-08 2000-03-08 Data base system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000063879A JP2001256247A (en) 2000-03-08 2000-03-08 Data base system

Publications (1)

Publication Number Publication Date
JP2001256247A true JP2001256247A (en) 2001-09-21

Family

ID=18583671

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000063879A Pending JP2001256247A (en) 2000-03-08 2000-03-08 Data base system

Country Status (1)

Country Link
JP (1) JP2001256247A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012003468A (en) * 2010-06-16 2012-01-05 Mitsubishi Electric Corp Data portion replacing device and data portion replacing method
US8745000B2 (en) 2010-10-29 2014-06-03 International Business Machines Corporation Private database logging with minimal storage requirements

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012003468A (en) * 2010-06-16 2012-01-05 Mitsubishi Electric Corp Data portion replacing device and data portion replacing method
US8745000B2 (en) 2010-10-29 2014-06-03 International Business Machines Corporation Private database logging with minimal storage requirements

Similar Documents

Publication Publication Date Title
EP0955761B1 (en) Method and server for accessing a network directory
US8326899B2 (en) Method and system for improving write performance in a supplemental directory
US6915287B1 (en) System, method and computer program product for migrating data from one database to another database
US7051030B2 (en) Method and system for managing a directory with a template
US6970873B2 (en) Configurable mechanism and abstract API model for directory operations
US6363375B1 (en) Classification tree based information retrieval scheme
US7593951B2 (en) Application programming interface for centralized storage of principal data
JP2001056810A (en) Database access system
US20040078391A1 (en) Extending role scope in a directory server system
US8458176B2 (en) Method and system for providing a directory overlay
US8321486B2 (en) Method and system for configuring a supplemental directory
US20070106699A1 (en) Method and system for automatic registration of attribute types
US20070112791A1 (en) Method and system for providing enhanced read performance for a supplemental directory
JP2002049637A (en) Database management method, device and recording medium
JP2001256247A (en) Data base system
JP4325019B2 (en) Parameter setting system
JP2007018309A (en) Data base device and db access controller and access control system and access control method and access control program
JPH07210435A (en) Database managing device
JP4515478B2 (en) IP address management system
US8606832B2 (en) Dynamic management of groups
JP2002116934A (en) Document management system
JP2020016945A (en) Document creation support system
JP4682563B2 (en) Document management system, document management method, and document management program
JP2002049641A (en) Plural profile management device, management method, plural profile management program recording medium and plural profile management program
JP2004021530A (en) Document management device