JPH05289924A - Data base management system - Google Patents

Data base management system

Info

Publication number
JPH05289924A
JPH05289924A JP4088610A JP8861092A JPH05289924A JP H05289924 A JPH05289924 A JP H05289924A JP 4088610 A JP4088610 A JP 4088610A JP 8861092 A JP8861092 A JP 8861092A JP H05289924 A JPH05289924 A JP H05289924A
Authority
JP
Japan
Prior art keywords
authority information
authority
processing
unit
access
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
JP4088610A
Other languages
Japanese (ja)
Inventor
Makoto Kodera
誠 小寺
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP4088610A priority Critical patent/JPH05289924A/en
Publication of JPH05289924A publication Critical patent/JPH05289924A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To speed up the access processing of shared data by avoiding the concentration of load into an authority information managing part. CONSTITUTION:Respective inquiring processing parts 12a, 12b for evaluating whether a processing request from a user is valid within its access authority or not based upon authority information managed by an authority information managing part 11 are equipped with authority information temporary storage parts 14. Each temporary storage part 14 is provided with a buffer storage function 14a for temporarily storing the authority information read out of the managing part 11 at the time of inquiring access authority from the processing part 12 to the managing part 11, so that the concentration of inquires from respective inquiring processing parts 12a, 12b into the managing part 11 can be avoided.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、複数の利用者によって
共有されるデータベースに対して、各利用者のアクセス
権限に応じてデータの入出力を管理するデータベース管
理システムに関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a database management system for managing data input / output for a database shared by a plurality of users according to the access authority of each user.

【0002】[0002]

【従来の技術】データベースでは、通常、複数の利用者
によってデータが共有される。従って、このようなデー
タベースのデータの入出力を管理するデータベース管理
システムは、共有データに対する検索,更新,削除,挿
入等の処理を、各利用者が実行可能な処理としてサポー
トする。
2. Description of the Related Art In a database, data is usually shared by a plurality of users. Therefore, the database management system that manages the input and output of the data of such a database supports processes such as search, update, delete, and insert for the shared data as processes that each user can execute.

【0003】しかし、共有データが不特定の利用者から
不用意に変更(更新,削除,挿入等)されるのは、好ま
しくない。そこで、以下に示す参考文献(1)に記述さ
れているように、データベース管理システムには、予め
各利用者毎に共有データに対して実行し得る処理の範囲
(即ち、アクセス権限)を定めた権限情報管理部を設け
ておき、利用者から共有データへの処理要求を受けた場
合には、その処理要求に含まれる処理内容が、前記権限
情報管理部に設定されているアクセス権限の範囲内であ
るか否かを確認して、アクセス権限の範囲内の場合の
み、その処理要求の実行を可能にする。
However, it is not preferable that the shared data is carelessly changed (updated, deleted, inserted, etc.) by an unspecified user. Therefore, as described in the reference document (1) shown below, the database management system predetermines the range of processing (that is, access authority) that can be executed on shared data for each user. When the authority information management unit is provided and a processing request for the shared data is received from the user, the processing content included in the processing request is within the range of the access authority set in the authority information management unit. If the access right is within the range, the processing request can be executed.

【0004】参考文献(1):日本規格協会編, 「データベース言語SQL JIS-X-3005-1990」, 1990年1月1日発行 図2は、このようなアクセス権限による制御を行うデー
タベース管理システムの従来例を示したものである。
Reference (1): Japanese Standards Association, "Database Language SQL JIS-X-3005-1990", issued January 1, 1990 FIG. 2 is a database management system for controlling by such access authority. FIG.

【0005】データベース管理システム20の内部に
は、権限情報管理部21と、問い合わせ処理部22a,
22bと、データベースアクセス処理部23とが装備さ
れている。ここに、前記権限情報管理部21は、共有デ
ータに対する各利用者のアクセス権限(即ち、共有デー
タに対して実行し得る処理の範囲)に関する情報を一括
して管理しており、各利用者のアクセス権限の変更にも
応じる。また、問い合わせ処理部22aと問い合わせ処
理部22bとは、同機能のものである。これらの問い合
わせ処理部22a,22bは、利用者からのデータベー
スに対する処理要求を受け付け、権限情報管理部21に
管理されている情報に基づいてその処理要求が正当なも
のか否かを判断し、判断結果に応じて処理要求に対する
処理を行う。データベースアクセス処理部23は、実際
に共有データに対するデータの入出力を制御する部分
で、前記問い合わせ処理部22a,22bがアクセス権
限内の正当な処理要求であると判断した共有データに対
する処理要求に応じて、所定のデータ入出力処理を実行
する。
Inside the database management system 20, an authority information management unit 21, an inquiry processing unit 22a,
22b and a database access processing unit 23 are provided. Here, the authority information management unit 21 collectively manages information about the access authority of each user to the shared data (that is, the range of processing that can be executed on the shared data), and It also responds to changes in access privileges. The inquiry processing unit 22a and the inquiry processing unit 22b have the same function. These inquiry processing units 22a and 22b receive a processing request from the user for the database, judge whether the processing request is valid based on the information managed by the authority information management unit 21, and make a judgment. The processing for the processing request is performed according to the result. The database access processing unit 23 is a unit that actually controls the input / output of data with respect to shared data, and responds to a processing request for shared data that the inquiry processing units 22a and 22b have determined to be a valid processing request within the access authority. Then, a predetermined data input / output process is executed.

【0006】次に、問い合わせ処理部22aにはある利
用者から共有データに対する処理要求が入り、また、問
い合わせ処理部22bには別の利用者から権限情報管理
部21に格納されている権限情報自体を変更する処理要
求が入った場合を具体例にとって、前記問い合わせ処理
部22a,22bにおける諸機能および該データベース
管理システムにおける処理の流れを説明する。
Next, the inquiry processing unit 22a receives a processing request for shared data from one user, and the inquiry processing unit 22b is sent from another user to the authority information itself stored in the authority information management unit 21. Taking a case where a processing request for changing the above is entered as a specific example, the functions of the inquiry processing units 22a and 22b and the flow of processing in the database management system will be described.

【0007】図3は、前記問い合わせ処理部22aが共
有データに対する処理要求を受けた場合の処理の流れを
示したものである。なお、図2において、破線の矢印は
それぞれ処理の流れを示し、破線の矢印に付けた番号
は、図3に示したフローチャートのステップ番号に対応
している。
FIG. 3 shows the flow of processing when the inquiry processing section 22a receives a processing request for shared data. Note that, in FIG. 2, the broken line arrows indicate the respective processing flows, and the numbers attached to the broken line arrows correspond to the step numbers of the flowchart shown in FIG.

【0008】問い合わせ処理部22aは、利用者からの
処理要求を受け付ると(ステップ201)、まず、その
処理要求を解析することによってその処理要求に含まれ
る処理内容を確認し(ステップ202)、次いで、その
処理要求の実行にはいかなる処理権限が必要であるかを
判定する(ステップ203)。そして、さらに問い合わ
せ処理部22aは、この判定に基づいて、その処理要求
に必要な処理権限と利用者の識別情報とを前記権限情報
管理部21に通知して、その処理要求に必要な処理権限
がその利用者に与えられたアクセス権限内であるか否か
を前記権限情報管理部21に問い合わせる(ステップ2
04)。すると、権限情報管理部21は、この問い合わ
せに対して、内部に管理している権限情報に基づいて、
アクセス権限内であるか否かを判定して、その判定結果
を問い合わせをした問い合わせ処理部22aに返答する
(ステップ205)。
Upon receiving the processing request from the user (step 201), the inquiry processing section 22a first analyzes the processing request to confirm the processing content included in the processing request (step 202). Then, it is determined what processing authority is required to execute the processing request (step 203). Then, based on this determination, the inquiry processing unit 22a notifies the authority information management unit 21 of the processing authority required for the processing request and the identification information of the user, and the processing authority required for the processing request. Inquires of the authority information management unit 21 whether or not the user is within the access authority given to the user (step 2).
04). Then, the authority information management unit 21 responds to this inquiry based on the authority information managed internally.
It is judged whether or not it is within the access authority, and the result of the judgment is returned to the inquiry processing unit 22a which made the inquiry (step 205).

【0009】問い合わせ処理部22aは、前記権限情報
管理部21からの返答に応じて、以後の処理を選択する
(ステップ206)。権限情報管理部21からの返答が
「アクセス権限の範囲外である」という場合には、問い
合わせ処理部22aは、その利用者からの処理要求を拒
絶し(ステップ207)、処理を終了する。一方、前記
権限情報管理部21からの返答が「アクセス権限内であ
る」という場合には、問い合わせ処理部22aは前記デ
ータベースアクセス処理部23に対してデータベースア
クセス要求を発行する(ステップ208)。データベー
スアクセス処理部23は問い合わせ処理部22aからの
アクセス要求に応じた処理を実行して処理結果を問い合
わせ処理部22aに返す(ステップ209)。そしてデ
ータベースアクセス処理部23から処理結果を受け取っ
た問い合わせ処理部22aは、その処理結果を利用者へ
返し(ステップ210)、処理を終了する。
The inquiry processing section 22a selects subsequent processing in response to the reply from the authority information management section 21 (step 206). When the response from the authority information management unit 21 is “outside the range of access authority”, the inquiry processing unit 22a rejects the processing request from the user (step 207) and ends the processing. On the other hand, when the response from the authority information management section 21 is "access authority is within", the inquiry processing section 22a issues a database access request to the database access processing section 23 (step 208). The database access processing unit 23 executes the processing according to the access request from the inquiry processing unit 22a and returns the processing result to the inquiry processing unit 22a (step 209). Then, the inquiry processing unit 22a having received the processing result from the database access processing unit 23 returns the processing result to the user (step 210), and ends the processing.

【0010】問い合わせ処理部22bが、権限情報管理
部21に格納されている権限情報自体を変更する処理要
求を受けた場合も、共有データに対する処理要求の場合
と同様に、図3に示したステップ201〜206が順次
実行され、その処理要求がアクセス権限の範囲外の場合
には、問い合わせ処理部22bはその利用者からの処理
要求を拒絶して処理を終了する。しかし、利用者からの
処理要求がアクセス権限内である場合には、前記問い合
わせ処理部22bは権限情報管理部21に対して管理し
ている権限情報の変更処理を要求する(図2の符号22
0)。権限情報管理部21は、問い合わせ処理部22b
から権限情報の変更処理の要求を受け取ると、他の問い
合わせ処理部22aからの権限情報の問い合わせに対す
る処理を待機させる。そして、問い合わせ処理部22b
からの要求による変更処理を実行した後に、待機させて
いた問い合わせ処理部22aからの問い合わせに対する
処理を続行する。
Even when the inquiry processing unit 22b receives a processing request to change the authority information itself stored in the authority information management unit 21, as in the case of the processing request for shared data, the steps shown in FIG. 201 to 206 are sequentially executed, and when the processing request is outside the range of the access authority, the inquiry processing unit 22b rejects the processing request from the user and ends the processing. However, when the processing request from the user is within the access authority, the inquiry processing unit 22b requests the authority information managing unit 21 to change the authority information managed (reference numeral 22 in FIG. 2).
0). The authority information management unit 21 has an inquiry processing unit 22b.
When the request for changing the authority information is received from the other, the processing for the inquiry about the authority information from the other inquiry processing unit 22a is put on standby. Then, the inquiry processing unit 22b
After executing the change process in response to the request from, the process for the inquiry from the inquiry processing unit 22a that has been waiting is continued.

【0011】[0011]

【発明が解決しようとする課題】しかしながら、前述し
た従来のデータベース管理システム20では、以下に示
すような問題点があった。
However, the above-mentioned conventional database management system 20 has the following problems.

【0012】即ち、データベース管理システムは、通
常、複数の利用者からの処理要求を同時に受け付けられ
るように、問い合わせ処理部を複数個装備した構成とさ
れており(図2の場合は、問い合わせ処理部22a,2
2bの2個であるが、3個以上のものもある)、例え
ば、同時に多数の利用者から処理要求が出された場合、
多数の問い合わせ処理部が同時に権限情報管理部21に
対して権限情報の確認を要求する。そのため、権限情報
管理部21に対して負荷が集中して、権限情報管理部2
1からの返答待ちのために各問い合わせ処理部における
処理の進行が遅延するため、共有データに対するアクセ
ス処理の高速化が損われるという結果になる。
That is, the database management system is usually configured to have a plurality of inquiry processing units so as to simultaneously receive processing requests from a plurality of users (in the case of FIG. 2, the inquiry processing units are included). 22a, 2
2b is 2 but there are also 3 or more), for example, when processing requests are issued from many users at the same time,
A large number of inquiry processing units simultaneously request the authority information management unit 21 to confirm the authority information. Therefore, the load is concentrated on the authority information management unit 21, and the authority information management unit 2
Since the progress of the processing in each inquiry processing unit is delayed due to the waiting for the reply from 1, the speedup of the access processing to the shared data is impaired.

【0013】本発明は前記事情に鑑みてなされたもの
で、複数の利用者から同時に処理要求があった場合に
も、権限情報管理部に対して負荷が集中することを回避
することができ、権限情報管理部からの返答待ちのため
に各問い合わせ処理部が待機する時間を短縮して、共有
データに対するアクセス処理の高速化を図ることのでき
るデータベース管理システムを提供することを目的とす
る。
The present invention has been made in view of the above circumstances, and it is possible to prevent the load from being concentrated on the authority information management unit even when a plurality of users make processing requests at the same time. An object of the present invention is to provide a database management system capable of shortening the waiting time of each inquiry processing unit for waiting for a reply from the authority information management unit and speeding up access processing to shared data.

【0014】[0014]

【課題を解決するための手段】本発明に係るデータベー
ス管理システムは、データベースに対する各利用者のア
クセス権限を定めた権限情報を一括して管理する権限情
報管理部と、各利用者からのデータベースに対する処理
要求を受け付けて前記権限情報管理部に管理されている
権限情報に基づいてその処理要求が正当なものか否かを
判断して判断結果に応じて処理要求に対する処理を行う
複数の問い合わせ処理部と、この問い合わせ処理部がア
クセス権限内の処理要求として認めた時に発行するデー
タベースアクセス要求を受けて、共有データに対する入
出力処理を実行するデータベースアクセス処理部とを具
備する。
A database management system according to the present invention relates to a database from each user and an authority information management unit that collectively manages authority information that defines the access authority of each user to the database. A plurality of inquiry processing units that receive a processing request, determine whether the processing request is valid based on the authority information managed by the authority information management unit, and perform processing for the processing request according to the determination result. And a database access processing unit that executes an input / output process for shared data in response to a database access request issued when the inquiry processing unit recognizes it as a processing request within the access authority.

【0015】そして、前述の各問い合わせ処理部には前
記権限情報管理部の管理する権限情報の一部を一時的に
記憶保持しておく権限情報一時記憶部を装備するととも
に、前記権限情報管理部には管理している権限情報が変
更されるときにその旨を各問い合わせ処理部の権限情報
一時記憶部に通知する権限変更通知機能を装備する。さ
らに、前述の各権限情報一時記憶部には、問い合わせ処
理部から権限情報管理部にアクセス権限の問い合わせを
した際に権限情報管理部から読み出した権限情報を一時
的に保存しておく緩衝記憶機能と、前記権限情報管理部
から権限情報の変更が通知された場合に前記緩衝記憶機
能によって保持していた情報を破棄する初期化機能とを
装備する。
Further, each of the inquiry processing units described above is equipped with a privilege information temporary storage unit for temporarily storing and holding a part of the privilege information managed by the privilege information management unit, and the privilege information management unit. Is equipped with an authority change notifying function for notifying the authority information temporary storage unit of each inquiry processing unit when the managed authority information is changed. Further, the above-mentioned authority information temporary storage unit temporarily stores the authority information read from the authority information management unit when the inquiry processing unit inquires of the authority information management unit about the access authority. And an initialization function of discarding the information held by the buffer storage function when the authority information management unit notifies the authority information change.

【0016】そして、前記問い合わせ処理部は、処理要
求に対する利用者のアクセス権限を確認する場合には、
まず、前記権限情報一時記憶部に保持されている権限情
報を調べてアクセス権限の確認を行い、権限情報一時記
憶部に保持されていない権限情報を必要とする場合にの
み、権限情報一時記憶部に不足している権限情報に関す
る問い合わせを権限情報管理部に対して行う構成とす
る。
The inquiry processing unit, when confirming the access authority of the user to the processing request,
First, the authority information held in the authority information temporary storage unit is checked to check the access authority, and only when the authority information not held in the authority information temporary storage unit is needed, the authority information temporary storage unit The inquiry is made to the authority information management unit regarding the insufficient authority information.

【0017】[0017]

【作用】本発明に係るデータベース管理システムでは、
問い合わせ処理部に装備された権限情報一時記憶部が各
問い合わせ処理部と権限情報管理部との間に配備された
緩衝記憶装置として機能し、一旦前記権限情報一時記憶
部に保存された権限情報については、権限情報管理部に
直接問い合わせを行わなくとも高速度で確認することが
できる。
In the database management system according to the present invention,
Regarding the authority information temporarily stored in the authority information temporary storage unit, the authority information temporary storage unit equipped in the inquiry processing unit functions as a buffer storage device provided between each inquiry processing unit and the authority information management unit. Can be confirmed at high speed without directly inquiring to the authority information management unit.

【0018】そのため、各問い合わせ処理部では、処理
要求を出した利用者のアクセス権限の確認に必要な権限
情報が、自己の所有する権限情報一時記憶部に保持され
ている権限情報で足りれば、アクセス権限の確認のため
に権限情報管理部に問い合わせする必要がなくなる。ま
た、アクセス権限の確認に必要な権限情報が権限情報一
時記憶部に保持されている情報だけでは足りない場合で
も、不足の分だけを権限情報管理部に問い合わせすれば
済み、各問い合わせ処理部が権限情報管理部に対して問
い合わせする権限情報の実質的な分量自体も低減する。
Therefore, in each inquiry processing unit, the authority information necessary for confirming the access authority of the user who issued the processing request is sufficient if the authority information held in the authority information temporary storage unit owned by the user is sufficient. , It is not necessary to contact the authority information management section to confirm the access authority. Even if the authority information required to confirm the access authority is not sufficient in the information held in the authority information temporary storage unit, it is sufficient to make an inquiry to the authority information management unit only for the insufficient amount. The substantial amount of authority information inquired to the authority information management unit is also reduced.

【0019】したがって、データベース管理システムの
複数の問い合わせ処理部が同時に処理要求を受けたよう
な場合でも、各問い合わせ処理部が同時に権限情報管理
部に対して問い合わせを行うことによって権限情報管理
部に対して負荷が集中することを回避することができ、
権限情報管理部からの返答待ちのために各問い合わせ処
理部が待機する時間を短縮して、共有データに対するア
クセス処理の高速化を図ることができる。
Therefore, even when a plurality of inquiry processing units of the database management system receive a processing request at the same time, each inquiry processing unit makes an inquiry to the authority information management unit at the same time so that the authority information management unit is inquired. It is possible to avoid concentrating the load by
It is possible to shorten the waiting time of each inquiry processing unit to wait for a reply from the authority information management unit and speed up the access processing to the shared data.

【0020】[0020]

【実施例】図1は、本発明に係るデータベース管理シス
テムの一実施例を示したものである。この一実施例のデ
ータベース管理システム10は、権限情報管理部11、
2個の問い合わせ処理部12a,12bと、データベー
スアクセス処理部13とを具備している。
1 shows an embodiment of a database management system according to the present invention. The database management system 10 of this embodiment includes an authority information management unit 11,
It is provided with two query processing units 12a and 12b and a database access processing unit 13.

【0021】ここに、前記権限情報管理部11は、デー
タベースに対する各利用者のアクセス権限を定めた権限
情報を一括して管理する手段で、共有データに対して検
索,更新,削除,挿入等の各処理を実行可能か否かを示
す権限情報と、各利用者に対する権限情報自体の変更処
理を実行可能か否かを示す権限情報とを管理している。
Here, the authority information management unit 11 is means for collectively managing authority information that defines the access authority of each user to the database, and searches, updates, deletes, inserts, etc. the shared data. It manages authority information indicating whether or not each processing can be executed, and authority information indicating whether or not the modification processing of the authority information itself for each user can be executed.

【0022】前記問い合わせ処理部12aと問い合せ処
理部12bは、同機能のものである。これらの問い合わ
せ処理部12a,12bは、利用者からのデータベース
に対する処理要求を受け付け、前記権限情報管理部11
に管理されている権限情報に基づいてその処理要求が正
当なものか否かを判断し、判断結果に応じて処理要求に
対する処理を行う。
The inquiry processing unit 12a and the inquiry processing unit 12b have the same function. The inquiry processing units 12a and 12b receive a processing request for a database from a user, and the authority information management unit 11
Whether or not the processing request is valid is determined based on the authority information managed by, and the processing for the processing request is performed according to the determination result.

【0023】前記データベースアクセス処理部13は、
実際に共有データに対するデータの入出力を制御する部
分で、前記問い合わせ処理部12a,12bがアクセス
権限内の処理要求として認めた時に発行するデータベー
スアクセス要求を受けて、共有データに対する入出力処
理を実行する。
The database access processing unit 13 is
A part that actually controls the input / output of data to / from shared data, and executes an input / output process for shared data in response to a database access request issued when the inquiry processing units 12a and 12b recognize it as a processing request within the access authority. To do.

【0024】前述の各問い合わせ処理部12a,12b
には、前記権限情報管理部11の管理する権限情報の一
部を一時的に記憶保持しておく権限情報一時記憶部14
が装備されている。そして、前記権限情報管理部11に
は、管理している権限情報が変更されるときにその旨を
各問い合わせ処理部12a,12bの権限情報一時記憶
部14に通知する権限変更通知機能11aが装備されて
いる。
Each of the above-mentioned inquiry processing units 12a and 12b
Includes a temporary privilege information storage unit 14 for temporarily storing and retaining a part of the privilege information managed by the privilege information management unit 11.
Is equipped with. The authority information management unit 11 is equipped with a authority change notification function 11a that notifies the authority information temporary storage unit 14 of each of the inquiry processing units 12a and 12b when the managed authority information is changed. Has been done.

【0025】前述の各権限情報一時記憶部14には、問
い合わせ処理部12a,12bから権限情報管理部11
にアクセス権限の問い合わせをした際に権限情報管理部
11から読み出した権限情報を一時的に保存しておく緩
衝記憶機能14aと、前記権限情報管理部11から権限
情報の変更が通知された場合に前記緩衝記憶機能14a
によって保持していた情報を破棄する初期化機能14b
とが装備されている。前述の各問い合わせ処理部12
a,12bは、処理要求に対する利用者のアクセス権限
を確認する場合には、まず、各自の権限情報一時記憶部
14に保持されている権限情報を調べてアクセス権限の
確認を行い、権限情報一時記憶部14に保持されていな
い権限情報を必要とする場合にのみ、権限情報一時記憶
部14に不足している権限情報に関する問い合わせを権
限情報管理部11に対して行う。次に、問い合わせ処理
部12aにはある利用者から共有データに対する処理要
求が入り、また、問い合わせ処理部12bには別の利用
者から権限情報管理部11に格納されている権限情報自
体を変更する処理要求が入った場合を具体例にとって、
前記問い合わせ処理部12a,12bにおける諸機能お
よび該データベース管理システムにおける処理の流れを
説明する。
In each of the authority information temporary storage sections 14 described above, the inquiry processing sections 12a and 12b to the authority information management section 11 are included.
A buffer storage function 14a for temporarily storing the authority information read from the authority information management unit 11 when the access authority is inquired, and when the authority information management unit 11 notifies the authority information change. The buffer memory function 14a
Initialization function 14b that discards the information held by
And are equipped with. Each inquiry processing unit 12 described above
When confirming the user's access authority to the processing request, the a and 12b first check the authority information held in their own authority information temporary storage unit 14 to confirm the access authority, and then confirm the authority information temporarily. Only when the authority information not stored in the storage unit 14 is required, the authority information management unit 11 is inquired about the lacking authority information in the authority information temporary storage unit 14. Next, the inquiry processing unit 12a receives a processing request for shared data from one user, and the inquiry processing unit 12b changes the authority information itself stored in the authority information management unit 11 from another user. Taking a specific example when a processing request is entered,
The functions of the inquiry processing units 12a and 12b and the flow of processing in the database management system will be described.

【0026】図4は、前記問い合わせ処理部12aが共
有データに対する処理要求を受けた場合の処理の流れを
示したものである。なお、図1において、破線の矢印は
それぞれ処理の流れを示し、破線の矢印に付けた番号
は、図4に示したフローチャートのステップ番号に対応
している。
FIG. 4 shows the flow of processing when the inquiry processing unit 12a receives a processing request for shared data. It should be noted that, in FIG. 1, broken line arrows indicate the respective processing flows, and the numbers attached to the broken line arrows correspond to the step numbers in the flowchart shown in FIG.

【0027】問い合わせ処理部12aは、利用者からの
処理要求を受け付ると(ステップ101)、まず、その
処理要求を解析することによってその処理要求に含まれ
る処理内容を確認し(ステップ102)、次いで、その
処理要求の実行にはいかなる処理権限が必要であるかを
判定する(ステップ103)。そして、さらに問い合わ
せ処理部12aは、前記権限情報一時記憶部14に保存
されている権限情報を調べて、ステップ103で抽出し
た権限が、その利用者に対して付与されている権限であ
るか否かを確認する(ステップ104)。そして、権限
情報一時記憶部14では確認すべき権限情報が不足して
いる場合には、不足分の権限情報について権限情報一時
記憶部14を介して権限情報管理部11に問い合わせる
(ステップ105.106)。ステップ106で新たに
権限情報管理部11に対して問い合わせした権限情報に
ついては、前記権限情報一時記憶部14の緩衝記憶機能
14aに追加保持させる。
Upon receipt of the processing request from the user (step 101), the inquiry processing section 12a first analyzes the processing request to confirm the processing content included in the processing request (step 102). Then, it is determined what processing authority is required to execute the processing request (step 103). Then, the inquiry processing unit 12a further checks the authority information stored in the authority information temporary storage unit 14 and determines whether the authority extracted in step 103 is the authority given to the user. It is confirmed (step 104). If the authority information temporary storage unit 14 lacks the authority information to be confirmed, the authority information management unit 11 is inquired about the insufficient authority information via the authority information temporary storage unit 14 (step 105.106). ). The authority information newly inquired to the authority information management unit 11 in step 106 is additionally held in the buffer storage function 14a of the authority information temporary storage unit 14.

【0028】ステップ103で抽出した処理権限の全て
について確認したら、その利用者からの処理要求がアク
セス権限内であるか否かを判断して、この判断結果に応
じて以後の処理を選択する(ステップ107)。
When all the processing authorities extracted in step 103 are confirmed, it is judged whether or not the processing request from the user is within the access authority, and the subsequent processing is selected according to the judgment result ( Step 107).

【0029】ステップ107における判断が「アクセス
権限の範囲外である」という場合には、問い合わせ処理
部12aは、その利用者からの処理要求を拒絶し(ステ
ップ108)、処理を終了する。一方、ステップ107
における判断が「アクセス権限内である」という場合に
は、問い合わせ処理部12aは前記データベースアクセ
ス処理部13に対してデータベースアクセス要求を発行
する(ステップ109)。データベースアクセス処理部
13は問い合わせ処理部12aからのアクセス要求に応
じた処理を実行して処理結果を問い合わせ処理部12a
に返す(ステップ110)。そしてデータベースアクセ
ス処理部13から処理結果を受け取った問い合わせ処理
部12aは、その処理結果を利用者へ返し(ステップ1
11)、処理を終了する。
If the determination in step 107 is "outside of the access authority", the inquiry processing section 12a rejects the processing request from the user (step 108), and ends the processing. On the other hand, step 107
If it is determined that the access authorization is within the access authority, the inquiry processing unit 12a issues a database access request to the database access processing unit 13 (step 109). The database access processing unit 13 executes a process in accordance with the access request from the inquiry processing unit 12a and outputs the processing result to the inquiry processing unit 12a.
(Step 110). Then, the inquiry processing unit 12a receiving the processing result from the database access processing unit 13 returns the processing result to the user (step 1
11), the process ends.

【0030】問い合わせ処理部12bが、権限情報管理
部11に格納されている権限情報自体を変更する処理要
求を受けた場合も、共有データに対する処理要求の場合
と同様に、図4に示したステップ101〜107が順次
実行され、その処理要求がアクセス権限の範囲外の場合
には、問い合わせ処理部12bはその利用者からの処理
要求を拒絶して処理を終了する。しかし、利用者からの
処理要求がアクセス権限内である場合には、前記問い合
わせ処理部12bは権限情報管理部11に対して権限情
報の変更処理を要求する(図1の符号120)。権限情
報管理部11は、問い合わせ処理部12bから権限情報
の変更処理の要求を受け取ると、他の問い合わせ処理部
12aからの権限情報の問い合わせに対する処理を待機
させると同時に、各問い合わせ処理部12a,12bの
権限情報一時記憶部14に権限情報の変更を通知して、
各権限情報一時記憶部14に保持されている権限情報を
破棄させる。そして、問い合わせ処理部12bからの要
求による変更処理を実行した後に、待機させていた問い
合わせ処理部12aからの問い合わせに対する処理を続
行する。
Even when the inquiry processing section 12b receives a processing request for changing the authority information itself stored in the authority information management section 11, as in the case of the processing request for the shared data, the steps shown in FIG. When the processing requests 101 to 107 are sequentially executed and the processing request is out of the range of the access authority, the inquiry processing unit 12b rejects the processing request from the user and ends the processing. However, when the processing request from the user is within the access authority, the inquiry processing unit 12b requests the authority information management unit 11 to change the authority information (reference numeral 120 in FIG. 1). When the authority information management unit 11 receives a request for authority information change processing from the inquiry processing unit 12b, the authority information management unit 11 waits for processing for an inquiry about authority information from another inquiry processing unit 12a, and at the same time, the inquiry processing units 12a and 12b. Of the change of the authority information to the authority information temporary storage unit 14 of
The authority information held in each authority information temporary storage unit 14 is discarded. Then, after the change processing according to the request from the inquiry processing unit 12b is executed, the processing for the inquiry from the inquiry processing unit 12a that has been waiting is continued.

【0031】以上に説明した一実施例のデータベース管
理システム10では、問い合わせ処理部12a,12b
に装備された権限情報一時記憶部14が各問い合わせ処
理部12a,12bと権限情報管理部11との間に配備
された緩衝記憶装置として機能し、一旦前記権限情報一
時記憶部14に保存された権限情報については、権限情
報管理部11に直接問い合わせを行わなくとも高速度で
確認することができる。
In the database management system 10 of the embodiment described above, the inquiry processing units 12a and 12b.
The authority information temporary storage unit 14 equipped in the server functions as a buffer storage device provided between the inquiry processing units 12a and 12b and the authority information management unit 11, and is temporarily stored in the authority information temporary storage unit 14. The authority information can be confirmed at high speed without making a direct inquiry to the authority information management unit 11.

【0032】そのため、各問い合わせ処理部12a,1
2bでは、処理要求を出した利用者のアクセス権限の確
認に必要な権限情報が、自己の所有する権限情報一時記
憶部14に保持されている権限情報で足りれば、アクセ
ス権限の確認のために権限情報管理部11に問い合わせ
する必要がなくなる。また、アクセス権限の確認に必要
な権限情報が権限情報一時記憶部14に保持されている
情報だけでは足りない場合でも、不足の分だけを権限情
報管理部11に問い合わせすれば済み、各問い合わせ処
理部12a,12bが権限情報管理部11に対して問い
合わせする権限情報の実質的な分量自体も低減する。
Therefore, each inquiry processing unit 12a, 1
In 2b, if the authority information required to confirm the access authority of the user who has issued the processing request is sufficient for the authority information held in the authority information temporary storage unit 14 owned by the user, it is necessary to confirm the access authority. It is not necessary to make an inquiry to the authority information management unit 11. Further, even if the authority information necessary for confirming the access authority is not sufficient only in the information held in the authority information temporary storage unit 14, it is sufficient to inquire the authority information management unit 11 only for the insufficient amount. The substantial amount itself of the authority information inquired by the sections 12a and 12b to the authority information management unit 11 is also reduced.

【0033】したがって、データベース管理システム1
0の2つの問い合わせ処理部12a,12bが同時に処
理要求を受けたような場合でも、各問い合わせ処理部1
2a,12bが同時に権限情報管理部11に対して問い
合わせを行うことによって権限情報管理部11に対して
負荷が集中することを回避することができ、権限情報管
理部11からの返答待ちのために各問い合わせ処理部1
2a,12bが待機する時間を短縮して、共有データに
対するアクセス処理の高速化を図ることができる。
Therefore, the database management system 1
Even if two query processing units 12a and 12b of 0 receive processing requests at the same time, each query processing unit 1
It is possible to prevent the load from being concentrated on the authority information management unit 11 by the simultaneous inquiries of the authority information management unit 11 by 2a and 12b, and to wait for a reply from the authority information management unit 11. Each inquiry processing unit 1
It is possible to shorten the waiting time of 2a and 12b and speed up the access processing to the shared data.

【0034】なお、以上の一実施例では、データベース
管理システム内に装備される問い合わせ処理部が2つで
あったが、問い合せ処理部は3つ以上でも同様であり、
問い合せ処理部の数が多くなるほど、本発明の効果は顕
著になる。
In the above embodiment, the number of inquiry processing units provided in the database management system is two, but the number of inquiry processing units is three or more.
The effect of the present invention becomes more remarkable as the number of inquiry processing units increases.

【0035】[0035]

【発明の効果】以上の説明から明らかなように、本発明
に係るデータベース管理システムでは、問い合わせ処理
部に装備された権限情報一時記憶部が各問い合わせ処理
部と権限情報管理部との間に配備された緩衝記憶装置と
して機能し、一旦前記権限情報一時記憶部に保存された
権限情報については、権限情報管理部に直接問い合わせ
を行わなくとも高速度で確認することができる。
As is apparent from the above description, in the database management system according to the present invention, the authority information temporary storage unit equipped in the inquiry processing unit is provided between each inquiry processing unit and the authority information management unit. The authority information temporarily stored in the authority information temporary storage unit can be confirmed at high speed without directly inquiring to the authority information management unit.

【0036】そのため、各問い合わせ処理部では、処理
要求を出した利用者のアクセス権限の確認に必要な権限
情報が、自己の所有する権限情報一時記憶部に保持され
ている権限情報で足りれば、アクセス権限の確認のため
に権限情報管理部に問い合わせする必要がなくなる。ま
た、アクセス権限の確認に必要な権限情報が権限情報一
時記憶部に保持されている情報だけでは足りない場合で
も、不足の分だけを権限情報管理部に問い合わせすれば
済み、各問い合わせ処理部が権限情報管理部に対して問
い合わせする権限情報の実質的な分量自体も低減する。
Therefore, in each inquiry processing section, if the authority information required to confirm the access authority of the user who issued the processing request is the authority information held in the authority information temporary storage section owned by the user, , It is not necessary to contact the authority information management section to confirm the access authority. Even if the authority information required to confirm the access authority is not sufficient in the information held in the authority information temporary storage unit, it is sufficient to make an inquiry to the authority information management unit only for the insufficient amount. The substantial amount of authority information inquired to the authority information management unit is also reduced.

【0037】したがって、データベース管理システムの
複数の問い合わせ処理部が同時に処理要求を受けたよう
な場合でも、各問い合わせ処理部が同時に権限情報管理
部に対して問い合わせを行うことによって権限情報管理
部に対して負荷が集中することを回避することができ、
権限情報管理部からの返答待ちのために各問い合わせ処
理部が待機する時間を短縮して、共有データに対するア
クセス処理の高速化を図ることができる。
Therefore, even when a plurality of inquiry processing units of the database management system receive a processing request at the same time, the inquiry processing units simultaneously make inquiries to the authority information management unit, so that the authority information management unit is inquired. It is possible to avoid concentrating the load by
It is possible to shorten the waiting time of each inquiry processing unit to wait for a reply from the authority information management unit and speed up the access processing to the shared data.

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

【図1】本発明に係るデータベース管理システムの一実
施例の構成図である。
FIG. 1 is a configuration diagram of an embodiment of a database management system according to the present invention.

【図2】従来のデータベース管理システムの構成図であ
る。
FIG. 2 is a configuration diagram of a conventional database management system.

【図3】従来のデータベース管理システムにおける処理
手順の説明図である。
FIG. 3 is an explanatory diagram of a processing procedure in a conventional database management system.

【図4】本発明の一実施例における処理手順の説明図で
ある。
FIG. 4 is an explanatory diagram of a processing procedure according to an embodiment of the present invention.

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

10 データベース管理システム 11 権限情報管理部 11a 権限変更通知機能 12a,12b 問い合わせ処理部 13 データベースアクセス処理部 14 権限情報一時記憶部 14a 緩衝記憶機能 14b 初期化機能 10 database management system 11 authority information management section 11a authority change notification function 12a, 12b inquiry processing section 13 database access processing section 14 authority information temporary storage section 14a buffer storage function 14b initialization function

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 データベースに対する各利用者のアクセ
ス権限を定めた権限情報を一括して管理する権限情報管
理部と、各利用者からのデータベースに対する処理要求
を受け付けて前記権限情報管理部に管理されている権限
情報に基づいてその処理要求が正当なものか否かを判断
して判断結果に応じて処理要求に対する処理を行う複数
の問い合わせ処理部と、この問い合わせ処理部がアクセ
ス権限内の処理要求として認めた時に発行するデータベ
ースアクセス要求を受けて、共有データに対する入出力
処理を実行するデータベースアクセス処理部とを具備し
たデータベース管理システムであって、 前述の各問い合わせ処理部には前記権限情報管理部の管
理する権限情報の一部を一時的に記憶保持しておく権限
情報一時記憶部を装備するとともに、前記権限情報管理
部には管理している権限情報が変更されるときにその旨
を各問い合わせ処理部の権限情報一時記憶部に通知する
権限変更通知機能を装備し、 前述の各権限情報一時記憶部には、問い合わせ処理部か
ら権限情報管理部にアクセス権限の問い合わせをした際
に権限情報管理部から読み出した権限情報を一時的に保
存しておく緩衝記憶機能と、前記権限情報管理部から権
限情報の変更が通知された場合に前記緩衝記憶機能によ
って保持していた情報を破棄する初期化機能とを装備
し、 前記問い合わせ処理部は、処理要求に対する利用者のア
クセス権限を確認する場合には、まず、前記権限情報一
時記憶部に保持されている権限情報を調べてアクセス権
限の確認を行い、権限情報一時記憶部に保持されていな
い権限情報を必要とする場合にのみ、権限情報一時記憶
部に不足している権限情報に関する問い合わせを権限情
報管理部に対して行うことを特徴とするデータベース管
理システム。
1. An authority information management unit that collectively manages authority information that defines the access authority of each user to a database, and a processing request for a database from each user is accepted and managed by the authority information management unit. Based on the authority information, the plurality of inquiry processing units that determine whether or not the processing request is valid and perform the processing for the processing request according to the determination result, and the processing requests within the access authority by the inquiry processing unit The database management system includes a database access processing unit that executes an input / output process for shared data in response to a database access request issued when the permission information management unit is included in each inquiry processing unit. Equipped with a temporary authority information storage unit that temporarily stores and retains part of the authority information managed by The authority information management section is equipped with a authority change notification function that notifies the authority information temporary storage section of each inquiry processing section when the managed authority information is changed. The storage unit temporarily stores the authority information read from the authority information management unit when the inquiry processing unit inquires of the authority information management unit about the access authority, and the authority information management unit Equipped with an initialization function for discarding the information held by the buffer storage function when the change of authority information is notified, the inquiry processing unit, when confirming the access authority of the user to the processing request First checks the authority information held in the authority information temporary storage unit to confirm the access authority, and needs the authority information not held in the authority information temporary storage unit. Database management system only, and performing a query about authority information is missing in the temporary storage unit rights information to the rights information management unit if that.
JP4088610A 1992-04-09 1992-04-09 Data base management system Pending JPH05289924A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4088610A JPH05289924A (en) 1992-04-09 1992-04-09 Data base management system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4088610A JPH05289924A (en) 1992-04-09 1992-04-09 Data base management system

Publications (1)

Publication Number Publication Date
JPH05289924A true JPH05289924A (en) 1993-11-05

Family

ID=13947588

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4088610A Pending JPH05289924A (en) 1992-04-09 1992-04-09 Data base management system

Country Status (1)

Country Link
JP (1) JPH05289924A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007511831A (en) * 2003-11-14 2007-05-10 ネッツ カンパニー リミテッド Extranet access control apparatus and method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63289657A (en) * 1987-05-21 1988-11-28 Nec Corp Common file access system
JPH03127142A (en) * 1989-10-13 1991-05-30 Hitachi Ltd File protecting method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63289657A (en) * 1987-05-21 1988-11-28 Nec Corp Common file access system
JPH03127142A (en) * 1989-10-13 1991-05-30 Hitachi Ltd File protecting method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007511831A (en) * 2003-11-14 2007-05-10 ネッツ カンパニー リミテッド Extranet access control apparatus and method

Similar Documents

Publication Publication Date Title
US6151583A (en) Workflow management method and apparatus
CN104471585A (en) SQL transformation-based optimization techniques for enforcement of data access control
JPH07234810A (en) Shared document management system
CN108156115B (en) A kind of inter-sectional data sharing method
US5933836A (en) Database quality management system
WO2006036517A2 (en) Apparatus and method for managing account information
JP2002222111A (en) Device and method for data communication
JPH05289924A (en) Data base management system
JPH07244639A (en) Access right management device
JP2002202956A (en) Security management system, security management method, and security management program
WO2006031615A2 (en) Apparatus and method for building conjoined computer systems
CN108900475A (en) User authority control method and device
JP2001075854A (en) Method and system for data management, and storage medium with data management program stored therein
JPH10254890A (en) Access system to various kinds of services using network
US6931436B2 (en) Methods and systems for asynchronous catalog requests for system objects via secure table look-up
JPH0764845A (en) Data base management system
JP2001282622A (en) Server system providing specific contents adaptively to time
JP2001134476A (en) Method for updating data base in a batch
JP2003108737A (en) Application data processor
JP2019164829A (en) Security management system and security management method
JP3415471B2 (en) Transaction processing unit
JPH0561737A (en) Validity term managing system for data base object and data base user
JP2002304317A (en) Data management system and data management method
JPH05197687A (en) Security management method for online system
JPH09282248A (en) Document processing system