JPH0293744A - Data base control system - Google Patents

Data base control system

Info

Publication number
JPH0293744A
JPH0293744A JP63245445A JP24544588A JPH0293744A JP H0293744 A JPH0293744 A JP H0293744A JP 63245445 A JP63245445 A JP 63245445A JP 24544588 A JP24544588 A JP 24544588A JP H0293744 A JPH0293744 A JP H0293744A
Authority
JP
Japan
Prior art keywords
information
state
database management
user
request
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
JP63245445A
Other languages
Japanese (ja)
Inventor
Keiji Mogi
茂木 啓次
Hideo Muto
武藤 英男
Takehiko Shibayama
柴山 武彦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Microcomputer System Ltd
Hitachi Ltd
Hitachi Chubu Software Ltd
Original Assignee
Hitachi Ltd
Hitachi Microcomputer Engineering Ltd
Hitachi Chubu Software Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd, Hitachi Microcomputer Engineering Ltd, Hitachi Chubu Software Ltd filed Critical Hitachi Ltd
Priority to JP63245445A priority Critical patent/JPH0293744A/en
Publication of JPH0293744A publication Critical patent/JPH0293744A/en
Priority to US08/070,634 priority patent/US5379423A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To reduce the burden of a user (an information manager, an information user) and to attain information operation, which is adapted for the information control of a real world, by imposing the burden to control the condition of information on a data base control system side. CONSTITUTION:An area 70 is provided to show the transition of a requestable condition to the information in each information to be stored to a data base 20 (each table to store the information). The information of an unapproved condition 71 go to be an approved condition 72 by approval operation and the information of the condition 72 go to an open condition by open operation. Then, the information of the condition 71 or 72 go to a sealed condition 73 by seal operation. Accordingly, a user request to be inputted through a request control part 100 can be retrieved when the information of a retrieval subject are in the open condition through an information operating function control part 200, etc., or when a retrieval right is given to the information of the condition 71 and 72. In the case of updating request, when the subject information are the information of the condition 71, to which a updating right is given, the request can be updated. Thus, the burden of the user is reduced and the information operation to be adapted for the information control of the real world can be executed.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はデータベース管理方式に関し、特に文書情報を
管理するのに好適なユーザインタフェースを提供するデ
ータベース管理方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a database management system, and particularly to a database management system that provides a user interface suitable for managing document information.

〔従来の技術〕[Conventional technology]

近年、データベースおよびデータベース管理システムを
利用するアプリケーションシステムとして、文書や図面
を管理するシステムが構築されるようになって来た。
In recent years, systems for managing documents and drawings have been constructed as application systems that utilize databases and database management systems.

このようなシステムで管理する情報、つまり、文書や図
面は、実世界では、作成した情報に対する審査、承認が
あって公式な文書になる0通常、公式な文書になると変
更ができなくなる。また、公式な文書を共用する場合に
は、共用のファイルやキャビネットに保管して、誰もが
利用可能な状態にする。一方、機密文書のような誰にも
見られたくない文書については、金庫や鍵付きのキャビ
ネットに保管し、誰にもアクセスできないようにする。
In the real world, the information managed by such systems, that is, documents and drawings, become official documents after the created information is examined and approved.Normally, once the information becomes an official document, it cannot be changed. Also, when sharing official documents, keep them in a shared file or cabinet so that everyone can access them. On the other hand, documents that you do not want anyone to see, such as confidential documents, should be stored in a safe or locked cabinet so that no one can access them.

これに対して、従来のデータベースシステムにおいては
、上述の如き情報の状態は管理しておらず、情報管理者
が情報の利用者に与える情報利用権限によって、利用者
の実行可能な操作を制限できるだけであった。これにつ
いては、例えば、日本電子工業振興会データベース専門
委員金錫:″データベースシステムに関する調査−デー
タベースセキュリティ機能の調査−”第167〜172
頁(59−C−480、昭和59年3月発行)に示され
ている。
On the other hand, in conventional database systems, the state of information as described above is not managed, and the operations that users can perform can be limited by the information usage authority granted by the information manager to the information user. Met. Regarding this, see, for example, Kim Seok, database specialist committee member of the Japan Electronics Industry Promotion Association: "Survey on database systems - Investigation on database security functions -" No. 167-172.
(59-C-480, published March 1982).

このため、上述の如き、実世界に即した情報の動きを計
算機システム上で実現するためには、従来は、ユーザが
上述の如き情報の状態の管理を行うユーザプログラムを
作成したり、あるいは、データベースの運用で対処して
いくしかなかった。
Therefore, in order to realize the movement of information that corresponds to the real world on a computer system as described above, conventionally, the user has to create a user program that manages the state of the information as described above, or We had no choice but to deal with the problem by operating the database.

ユーザがデータベースの運用で対処する場合、データベ
ース管理システムが提供している有用なデータベース操
作機能としてビュー機能がある。
When a user deals with database operations, a view function is a useful database operation function provided by a database management system.

ビュー機能は、データベース内の情報のうち、ユーザあ
るいはアプリケーションプログラムがデータベースを利
用する際のデータベースの見え方を定義したものである
。すなわち、論理的な格納単位(リレーショナル・デー
タベース管理システムの場合は1表(テーブル)になる
)の一部(縦割り、横割り)、あるいは、複数個結合し
たものを ビューとして定義できる。ユーザは、テーブ
ル中に状態管理用のフラグ情報を付加しておき、各状態
に応じたビューを定義することにより、情報の状態を管
理することができる。
The view function defines how the database is viewed when a user or an application program uses the database, out of the information in the database. In other words, a part (divided vertically or horizontally) of a logical storage unit (one table in the case of a relational database management system) or a combination of multiple tables can be defined as a view. The user can manage the state of information by adding flag information for state management to the table and defining views according to each state.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述の如き状態を有する情報の管理を、既存のデータベ
ース管理システムを利用して実現する場合、従来は、前
述の如く、ユーザプログラム、あるいは、運用で対処し
ていたため、ユーザの負担が大きかった。また、情報を
格納するファイルの単位で権限管理されており、権限さ
えあれば、そのファイル内のすべての情報に対する更新
が認められるため1個々の情報単位の状態を管理するこ
とはできなかった。
When managing information having the above-mentioned states using an existing database management system, the burden on the user was large because the management was conventionally handled by user programs or operations as described above. In addition, authority is managed in units of files that store information, and if you have authority, you are allowed to update all information in that file, so it is not possible to manage the status of each individual information unit.

また、ビュー機能を利用した方式では、各状態毎にビュ
ーを定義し、ビューの権限管理を行う必要があり、これ
らの管理を行う情報管理者の負担が大きかった。また、
ユーザは状態が変わった情報を利用する場合、操作対象
(ビュー)を変えて、操作要求を出す必要があり、ユー
ザの負担も大きかった。
Further, in the method using the view function, it is necessary to define a view for each state and manage the authority of the view, which places a heavy burden on the information administrator who manages these. Also,
When a user uses information whose status has changed, he or she must change the operation target (view) and issue an operation request, which places a heavy burden on the user.

本発明は上記事情に鑑みてなされたもので、その目的と
するところは、従来の技術における上述の如き問題を解
消し、情報の状態の管理をデータベース管理システム側
に負担させることにより、ユーザ(情報管理者、情報利
用者)の負担軽減を図るとともに、実世界の情報管理に
即した情報操作を実現可能とするデータベース管理方式
を提供することにある。
The present invention has been made in view of the above-mentioned circumstances, and its purpose is to solve the above-mentioned problems in the conventional technology, and to offload the management of information status to the database management system. The purpose of this invention is to provide a database management method that reduces the burden on information managers and information users (information managers and information users), and enables information operations that are consistent with real-world information management.

〔課題を解決するための手段〕[Means to solve the problem]

本発明の上記目的は、データベース管理システムにおけ
るデータベース管理方式において、データベースに格納
した情報毎に、該情報への可能な操作を示す状態情報を
記憶する領域を設け、該記憶領域に格納情報の状態情報
を設定し、該状態情報に基づいてこれに対応する情報に
対する操作を制限することを特徴とするデータベース管
理方式によって達成される。
The above object of the present invention is to provide, in a database management method in a database management system, an area for storing status information indicating possible operations on the information for each piece of information stored in the database, and to store the status information of the stored information in the storage area. This is achieved by a database management method characterized by setting information and restricting operations on the corresponding information based on the status information.

〔作用〕[Effect]

上述の如く、本発明に係るデータベース管理方式におい
ては、データベースに格納した情報の状態の管理を、デ
ータベース管理システムが提供する機能として実現する
As described above, in the database management method according to the present invention, management of the state of information stored in the database is realized as a function provided by the database management system.

ユーザは、最初に、データベースに情報を格納する。デ
ータベースに格納した情報は、格納時点では未承認状態
にある。未承認状態の情報は、情報管理者から、該当す
る操作権限を与えられたユーザのみが、検索、更新可能
である。また、未承認状態の情報は、当該情報の管理者
により承認操作が行われると、情報管理者が検索権限を
与えたユーザのみが検索可能で、かつ、いかなるユーザ
も更新できない承認状態になる。
A user first stores information in a database. Information stored in the database is in an unapproved state at the time of storage. Information in an unapproved state can be searched and updated only by a user who has been given the corresponding operation authority by the information manager. Furthermore, when an administrator of the information performs an approval operation, information in an unapproved state becomes an approved state in which only a user to whom the information manager has given search authority can search and no user can update the information.

承認状態の情報は、当該情報の管理者により公開操作が
行われると、誰もが参照可能であるが、更新はできない
公開状態になる。公開状態の情報は、検索権限を与えら
れていないユーザであっても、システムに登録されてい
るユーザであれば。
When the information in the approved state is made public by the administrator of the information, the information becomes public so that anyone can refer to it but cannot update it. Information that is public can be accessed by users who are registered in the system, even if they are not given search authority.

誰でも検索できる。公開状態の情報は、非公開操作によ
り1元の承認状態に戻る。未承認状態や承認状態の情報
を、誰もが検索、更新不可能な封印状態にするには、封
印操作を要求すれば良い。逆に、封印状態を解除して、
元の未承認、承認状態に戻すには、封印解除操作を要求
する。
Anyone can search. The information in the public state returns to the original approved state by a non-public operation. To place unapproved or approved information in a sealed state where no one can search or update it, you can request a sealing operation. On the other hand, by releasing the sealed state,
To return to the original unapproved/approved state, a seal release operation is required.

ユーザが検索を要求すると、検索対象の情報が公開状態
であるか、あるいは、検索権限を与えられている未承認
、承認状態の情報であれば、検索できる。ユーザが更新
を要求した場合には、更新対象の情報が、更新権限を与
えられている未承認状態の情報であれば、また、その場
合だけ、更新できる。
When a user requests a search, the user can search if the information to be searched is public, or unapproved or approved information for which search authority has been granted. When a user requests an update, the information to be updated can be updated if and only if the information is in an unapproved state for which update authority has been given.

承認、公開/非公開、封印/封印解除の要求は。Requests for approval, disclosure/disclosure, sealing/unsealing.

情報管理者が行う。承認要求は、未承認状態の情報のみ
が対象となる。公開要求は、承認状態の情報のみが対象
となる。非公開要求は、公開状態の情報のみが対象とな
る。封印要求は、承認または非承認状態の情報のみが対
象となる。封印解除要求は、封印状態の情報のみが対象
となる。
This is done by the information manager. Approval requests are made only for information that is in an unapproved state. Publication requests are made only for information in an approved state. Non-disclosure requests apply only to information that is public. Sealing requests are only applicable to information in approved or unapproved status. The unsealing request applies only to information on the sealed state.

情報管理者は、管理している情報に対して、すべての情
報操作、状態操作を実行できる。他のユーザは、情報管
理者から、各情報操作に対応する実行権限を譲られるこ
とによって、該当する情報操作を実行することが可能と
なる。
Information managers can perform all information operations and status operations on the information they manage. Other users can execute the corresponding information operations by being given execution authority corresponding to each information operation by the information manager.

〔実施例〕〔Example〕

以下、本発明の実施例を図面に基づいて詳細に説明する
。なお、以下の説明においては、説明の便宜上、データ
ペース管理システムが提供しているデータモデルとして
、リレーショナルモデルを想定する。リレーショナルモ
デルは、第5図のテーブル定義管理テーブル31の例に
示す如く、表形式の構造を有するデータモデルであり、
テーブル(表)の欄が、従来のファイルのフィールドに
相当し、行がレコードに相当する。以下に示す実施例に
おいては、ルーコードが1情報に相当するものとして説
明する。
Embodiments of the present invention will be described in detail below with reference to the drawings. In the following description, for convenience of explanation, a relational model is assumed as the data model provided by the database management system. The relational model is a data model that has a tabular structure, as shown in the example of the table definition management table 31 in FIG.
Columns in a table correspond to fields in a conventional file, and rows correspond to records. In the embodiment shown below, the description will be made assuming that the Lou code corresponds to one piece of information.

第2図は、本発明を実施する最小ハードウェア構成を示
す図である。図において、40は本発明を実現するデー
タペース管理システムが稼動する計算機、50はユーザ
とのインタフェースをとる端末(キーボードとデイスプ
レィ)、60はデータベースやデータ辞書を格納する二
次記憶装置を示しており、上記端末50および二次記憶
装置60は、一般に複数個備えられている。
FIG. 2 is a diagram showing the minimum hardware configuration for implementing the present invention. In the figure, 40 is a computer on which the database management system that implements the present invention operates, 50 is a terminal (keyboard and display) that interfaces with the user, and 60 is a secondary storage device that stores the database and data dictionary. Generally, a plurality of terminals 50 and secondary storage devices 60 are provided.

まず、第1の実施例として、テーブル単位で状態を管理
する例を示す。第5図は、データ辞書30内に保持され
ているテーブル定義情報管理テーブル31に、状態情報
用のl134を追加した状況を示すものであり、この状
態情報用の欄34の内容を変更することにより、テーブ
ル内の情報の状態の変更を実現するものである。
First, as a first embodiment, an example will be shown in which the state is managed in table units. FIG. 5 shows a situation in which a status information column 134 is added to the table definition information management table 31 held in the data dictionary 30, and the contents of this status information column 34 can be changed. This allows the state of information in the table to be changed.

第5図の例では、テーブル定義情報管理テーブル31に
保持されているテーブル定義情報のレコード(行)1個
が、1テーブルの定義情報になる。テーブル定義情報に
は、所有者名32や、テーブル名33の他に、状態コー
ド情報34を有する。状態コード情報34の内容として
は、次の五つの状態を識別できるコード情報であれば良
い。
In the example of FIG. 5, one record (row) of table definition information held in the table definition information management table 31 becomes definition information of one table. The table definition information includes status code information 34 in addition to the owner name 32 and table name 33. The content of the status code information 34 may be any code information that can identify the following five statuses.

・未承認状態 ・承認状態 ・公開状態 ・未承認状態の情報を封印した状態 ・承認状態の情報を封印した状態 第5図では、所有者(32)satohのテーブル名称
(33)employeeが、未承認状態(コード二0
0)であることを示している。以下、動作を説明する6
第1図は1本発明の適用対象であるするデータベースシ
ステムの構成図である。本システムは、データベース管
理システム10.データベース20゜データ辞書30か
ら構成されている。本データベース管理システム10は
、前述の計算機40上で稼動するソフトウェアである。
- Unapproved state - Approved state - Public state - Unapproved state information is sealed - Approved state information is sealed In Figure 5, the table name (33) employee of the owner (32) satoh is Approval status (code 20
0). The operation will be explained below.
FIG. 1 is a block diagram of a database system to which the present invention is applied. This system is a database management system 10. It consists of a database 20° and a data dictionary 30. This database management system 10 is software that runs on the computer 40 mentioned above.

なお、本データベース管理システム10は1図に示す如
く、要求制御部lOOの下、情報操作機能管理部200
.状態操作機能管理部300.情報定義機能管理部40
0.情報操作処理実行部500.状態操作処理実行部6
00およびデータ辞書管理部700から成っている。
As shown in Figure 1, this database management system 10 includes an information operation function management section 200 under a request control section lOO.
.. State operation function management section 300. Information definition function management department 40
0. Information manipulation processing execution unit 500. State manipulation processing execution unit 6
00 and a data dictionary management section 700.

また、データベース20の下方に四角形で囲んだ70は
、データベース20に格納した情報(ここでは、当該情
報を格納したテーブル)に対して要求可能な状態の遷移
を示している。未承認状態71の情報は、承認操作によ
り、承認状態72になる。承認状態72の情報は、公開
操作により、公開状態74になる。公開状態の情報74
は、非公開操作により承認状態72に戻る。承認状態7
2や未承認状態71の情報は、封印操作により封印状態
73になる。封印状態73の情報は1、封印解除操作に
より封印前の状態に戻る。なお、−旦、承認状態72に
した情報を未承認状態71に戻すことはできない。
Furthermore, a rectangular box 70 below the database 20 indicates a state transition in which a request can be made to the information stored in the database 20 (here, a table storing the information). The information in the unapproved state 71 changes to the approved state 72 by an approval operation. Information in the approved state 72 changes to a public state 74 by a public operation. Public status information 74
returns to the approval state 72 by private operation. Approval status 7
2 or unapproved state 71 becomes sealed state 73 by sealing operation. The information of the sealed state 73 is 1, and the state returns to the state before sealing by the unsealing operation. Note that information that has been changed to the approved state 72 cannot be returned to the unapproved state 71.

また、データ辞書30内の情報は、通常、データベース
の管理を容易にするために、ユーザによる参照を許して
いる。ユーザは、従来と同様に、データ辞書30内のテ
ーブル定義情報管理テーブル31を参照することにより
、情報の状態を把握することも可能である。
Additionally, the information in the data dictionary 30 is typically accessible to users for easy database management. The user can also grasp the state of information by referring to the table definition information management table 31 in the data dictionary 30, as in the past.

データペース管理システム10に対するユーザからの要
求は、最初に、要求制御部100が受取る。
A request from a user to the database management system 10 is first received by the request control unit 100.

要求制御部100の処理フローを、第10図に示す。The processing flow of the request control unit 100 is shown in FIG.

要求制御部100は、ユーザからの要求を受取り、要求
内容を解析する(ステップ101)。要求内容をチエツ
クしくステップ102)、情報に対する操作要求ならば
、前述の情報操作機能管理部200を呼出す(ステップ
103)。状態操作の要求ならば、状態操作機能管理部
300を呼出す(ステップ104)。情報の定義、権限
定義に関する要求ならば、情報定義機能管理部400を
呼出す(ステップ105)、各機能管理部の処理が終了
したならば、実行結果をユーザへ返して(ステップ10
6)、終了する。
The request control unit 100 receives a request from a user and analyzes the content of the request (step 101). The content of the request is checked (step 102), and if it is an information manipulation request, the information manipulation function management section 200 described above is called (step 103). If the request is for state manipulation, the state manipulation function management section 300 is called (step 104). If the request is related to information definition or authority definition, the information definition function management section 400 is called (step 105). When the processing of each function management section is completed, the execution result is returned to the user (step 10).
6), Finish.

上記情報操作機能管理部200の処理フローを、第11
図に示す。情報操作機能管理部200は、要求された操
作の内容を解析(ステップ201) した後、データ辞
書管理部700を呼出して要求対象の定義情報や権限情
報を取出しながら、処理対象の存在のチエツク(ステッ
プ202) 、ユーザの権限のチエツク(ステップ20
3)および処理の妥当性チエツク(ステップ204)を
行う。すなわち、処理要求が検索の場合、当該検索の対
象となるテーブルが公開状態にあるか、あるいは、承認
、未承認状態でかつ検索権限を与えられているならば検
索を許す。
The processing flow of the information operation function management section 200 is described in the eleventh section.
As shown in the figure. After analyzing the content of the requested operation (step 201), the information operation function management section 200 calls the data dictionary management section 700 to retrieve definition information and authority information of the requested object, while checking the existence of the processing object (step 201). Step 202), Check user authority (Step 20)
3) and a processing validity check (step 204). That is, when the processing request is a search, the search is allowed if the table to be searched is in the public state, or if the table is in the approved or unapproved state and the search authority is granted.

処理要求が更新の場合には、当該更新の対象となるテー
ブルが未承認状態でかつ更新権限を与えられているなら
ば更新を許す。これらのチエツクでエラーが無ければ、
情報操作処理実行部500を呼出しくステップ205)
、要求された処理の実行を要求する。処理が終われば、
結果を呼出し元へ返す(ステップ206)。
If the processing request is an update, the update is allowed if the table to be updated is in an unapproved state and update authority has been granted. If there are no errors in these checks,
Step 205) Calling the information manipulation processing execution unit 500
, requests execution of the requested process. Once the processing is complete,
The result is returned to the caller (step 206).

前記情報操作機能管理部200は、第3図に示す如きパ
ラメータ情報800を、上記情報操作処理実行部500
に引渡す。パラメータ情報800の操作対象801は、
操作の対象となるテーブルの識別子である。操作モード
802は、操作の内容、つまり、情報の検索、追加、変
更、削除のいずれかを示すコード情報である。操作条件
803は、操作の対象となる情報(レコード)の条件で
ある。入出力領域アドレス804は、追加、変更時に、
レコードに設定する値を格納しである入出力領域805
のアドレスである。検索の場合、上記入出力領域805
は、検索結果を受取る領域であり、入出力領域アドレス
804は、そのアドレスになる。
The information manipulation function management section 200 sends parameter information 800 as shown in FIG. 3 to the information manipulation processing execution section 500.
Hand over to. The operation target 801 of the parameter information 800 is
This is the identifier of the table to be operated on. The operation mode 802 is code information indicating the content of the operation, that is, searching for, adding, changing, or deleting information. The operation condition 803 is a condition of information (record) to be operated. When adding or changing the input/output area address 804,
Input/output area 805 that stores values to be set in records
This is the address. In the case of search, the above input/output area 805
is an area that receives search results, and the input/output area address 804 is that address.

情報操作処理実行部500の処理フローを、第13図に
示す。情報操作処理実行部500は、パラメータ情報8
00の操作モード802を基に、処理を振分ける(ステ
ップ501)。操作モードが追加の場合には、入出力領
域805に設定された値を持つレコードを生成しくステ
ップ508)、操作対象801で指定されたテーブル内
に格納する(ステップ509)。その他の場合は、操作
対象801に指定されたテーブルから、操作対象のレコ
ードを取出すときの操作条件803を設定しくステップ
502) 、 レコードの検索が終了するまで、ステッ
プ504〜507の処理を縁り返す。
The processing flow of the information manipulation processing execution unit 500 is shown in FIG. The information manipulation processing execution unit 500 receives parameter information 8
Processing is distributed based on the operation mode 802 of 00 (step 501). If the operation mode is addition, a record with the value set in the input/output area 805 is generated (step 508) and stored in the table specified by the operation target 801 (step 509). In other cases, set the operation conditions 803 when retrieving the record to be operated from the table specified as the operation target 801 (step 502), and skip the processes in steps 504 to 507 until the record search is completed. return.

すなわち、レコードを検索(ステップ503) L、た
後、検索終了か否かをチエツク(ステップ504) し
て、終了でなければ、ステップ505で操作モードをチ
エツクする。情報の検索の場合、検索したレコードをユ
ーザに返すために、入出力領域805に設定する(ステ
ップ507)。また、変更の場合は、検索したレコード
を入出力領域805に指定された値に変更してテーブル
に戻し、削除の場合は、検索対象のレコードを削除する
(ステップ506)。
That is, after searching for a record (step 503), it is checked whether the search has been completed (step 504), and if it has not been completed, the operation mode is checked in step 505. In the case of information search, the searched records are set in the input/output area 805 in order to be returned to the user (step 507). Further, in the case of modification, the searched record is changed to the value specified in the input/output area 805 and returned to the table, and in the case of deletion, the record to be searched is deleted (step 506).

前記状態操作機能管理部300の処理フローを、第12
図に示す。状態操作機能管理部300は、要求された操
作の内容を解析(ステップ301) した後。
The processing flow of the state manipulation function management unit 300 is described in the 12th
As shown in the figure. After the state manipulation function management unit 300 analyzes the content of the requested manipulation (step 301).

データ辞書管理部700を呼出して要求対象の定義情報
や権限情報を取出しながら、処理対象の存在のチエツク
(ステップ302) 、ユーザの権限のチエツク(ステ
ップ303)および処理の妥当性チエツク(ステップ3
04)を行う。すなわち、処理要求が公開操作要求の場
合には、当該操作の対象となるテーブルが、封印されて
いない承認状態のテーブルでなければならない。処理要
求が非公開操作要求の場合には、当該操作の対象となる
テーブルは、公開状態のテーブルでなければならない。
While calling the data dictionary management unit 700 and retrieving the definition information and authority information of the request target, the existence of the processing target is checked (step 302), the user's authority is checked (step 303), and the validity of the process is checked (step 3).
04). That is, when the processing request is a public operation request, the table targeted for the operation must be an unsealed table in an approved state. If the processing request is a private operation request, the table that is the target of the operation must be a public table.

また。Also.

承認要求の場合には、当該更新の対象となるテーブルは
、未承認状態でなければならない。これらのチエツクで
エラーが無ければ、状態操作処理実行部600を呼出し
くステップ305)、要求された処理の実行を要求する
。処理が終われば、結果を呼出し元へ返す(ステップ3
06)。
In the case of an approval request, the table to be updated must be in an unapproved state. If there are no errors in these checks, the state manipulation processing execution unit 600 is called (step 305), requesting execution of the requested processing. When the process is completed, the result is returned to the caller (Step 3)
06).

前記状態操作機能管理部300は、第4図に示す如きパ
ラメータ情報810を、上記状態操作処理実行部600
に引渡す。パラメータ情報810の操作対象811は、
操作の対象となるテーブルの識別子である。操作モード
812は、操作の内容、つまり、承認、公開/非公開、
封印/封印解除、状態情報検索のいずれかを示すコード
情報である。
The state manipulation function management section 300 sends parameter information 810 as shown in FIG. 4 to the state manipulation processing execution section 600.
Hand over to. The operation target 811 of the parameter information 810 is
This is the identifier of the table to be operated on. The operation mode 812 indicates the content of the operation, that is, approval, public/private,
This is code information indicating either sealing/unsealing or status information search.

上記状態操作処理実行部600の処理フローを、第14
図に示す。状態操作処理実行部600は、パラメータ情
報810を基に、要求された処理を実行する。最初に、
要求内容をチエツク(ステップ601)する。要求内容
が状態情報検索要求の場合は、検索対象等のパラメータ
を設定しくステップ604)、ステップ605で、デー
タ辞書管理部700へ、状態情報検索要求を出す。また
、要求内容が状態情報変更要求の場合には、変更対象、
変更内容等のパラメータを設定しくステップ602)、
ステップ603で、データ辞書管理部700へ、状態情
報変更要求を出す。
The processing flow of the state manipulation processing execution unit 600 is described in the fourteenth section.
As shown in the figure. The state manipulation processing execution unit 600 executes the requested processing based on the parameter information 810. At first,
The contents of the request are checked (step 601). If the request content is a state information search request, parameters such as search targets are set (step 604), and a state information search request is issued to the data dictionary management section 700 in step 605. In addition, if the request content is a state information change request, the change target,
Step 602) to set parameters such as changes, etc.
In step 603, a status information change request is issued to the data dictionary management unit 700.

前述の情報定義機能管理部400は、上記データ辞書管
理部700を呼出して、要求対象の定義情報や権限情報
を取出しながら、処理の妥当性をチエツクし、エラーが
なければデータ辞書管理部700に、要求された処理の
実行を要求する。特に処理フローは示さない。
The aforementioned information definition function management section 400 calls the aforementioned data dictionary management section 700 and checks the validity of the processing while retrieving the definition information and authority information of the requested object, and if there is no error, the information is sent to the data dictionary management section 700. , requests execution of the requested process. No particular processing flow is shown.

データ辞書管理部700は、前記情報操作機能管理部2
00や、状態操作機能管理部300.情報定義機能管理
部400から呼出されて、要求された処理を実行する。
The data dictionary management section 700 includes the information operation function management section 2.
00, state manipulation function management section 300. It is called by the information definition function management unit 400 and executes the requested process.

本データ辞書管理部700の処理フローを、第15図に
示す。まず、要求内容をチエツクする(ステップ701
)。要求内容が検索要求の場合は、指定されたデータ辞
書内の情報を検索して返す(ステップ702)。追加の
場合は、指定されたデータ辞書テーブルに、指定された
レコードを追加する(ステップ703)。変更の場合は
、指定されたデータ辞書テーブル内の指定されたレコー
ドの変更を行う(ステップ704)。また、削除の場合
は、指定されたデータ辞書テーブルから、指定されたレ
コードを削除する(ステップ705)。
The processing flow of the data dictionary management section 700 is shown in FIG. First, check the request content (step 701).
). If the request content is a search request, information in the specified data dictionary is searched and returned (step 702). In the case of addition, the specified record is added to the specified data dictionary table (step 703). In the case of modification, the designated record in the designated data dictionary table is modified (step 704). In the case of deletion, the specified record is deleted from the specified data dictionary table (step 705).

以上、テーブル単位で、情報の状態を管理する場合の実
施例を示した。この方式では、テーブル単位で情報の状
態を管理す九ば良いので、インプリメントも状態の管理
も容易である。
The embodiments have been described above in which the state of information is managed on a table-by-table basis. With this method, it is only necessary to manage the information status on a table-by-table basis, so implementation and status management are easy.

次に、第2の実施例として、状態の管理をよりきめ細か
く、情報毎に行いたいというユーザに好適な、実施例を
挙げる。
Next, as a second embodiment, an embodiment suitable for users who wish to manage status more precisely for each piece of information will be described.

本実施例においては、情報すなわちレコード単位に、状
態を管理するために、状態情報をレコード中に保持する
。情報の状態の保持方式を、第6図に示す。第6図は、
レコード820の中に、状態情報を保持する方式の一例
を示すもので、レコードのヘッダ部821とレコード本
体823との間に、状態を示す状態コード822を置く
ものである。
In this embodiment, status information is held in records in order to manage the status on a record-by-record basis. FIG. 6 shows a method for maintaining the information state. Figure 6 shows
This shows an example of a method for holding status information in a record 820, in which a status code 822 indicating the status is placed between the header part 821 of the record and the record body 823.

上記状態コード822としては、未承認、承認。The above status code 822 includes unapproved and approved.

公開、封印の各状態を分類するコードを設定すれば良い
。封印状態と未承認、承認状態とは兼ねられるので、封
印状態は、未承認の封印状態と、承認の封印状態とに分
かれる。あるいは、状態コード822中をビット列とし
て扱い、各ビットをそれぞれの状態に対応付け、ビット
のオン/オフにより状態を判定する方式も使用可能であ
る。いずれの場合も、状態の変更は、状態コード822
の値を変更することにより行う。
All you have to do is set a code to classify the status as open or sealed. Since the sealed state can also be used as an unapproved or approved state, the sealed state is divided into an unapproved sealed state and an approved sealed state. Alternatively, it is also possible to use a method in which the status code 822 is treated as a bit string, each bit is associated with a respective status, and the status is determined by turning on/off the bits. In either case, the change in status is indicated by status code 822.
This is done by changing the value of .

以下、動作について説明する。The operation will be explained below.

データベース管理システム10の機能構成は、先に示し
た第1の実施例と同様であり、第1図に示される。要求
制御部100の処理も、第1の実施例と同様である。先
に示した第1の実施例と異なるのは、情報操作機能管理
部200.情報操作処理実行部500.状態操作機能管
理部300.状態操作処理実行部600の処理の流れで
ある。以下、各部の処理の流れを示す。
The functional configuration of the database management system 10 is the same as that of the first embodiment shown above, and is shown in FIG. The processing of the request control unit 100 is also similar to that of the first embodiment. What is different from the first embodiment shown above is the information operation function management section 200. Information manipulation processing execution unit 500. State operation function management section 300. This is the flow of processing by the state manipulation processing execution unit 600. The flow of processing in each section is shown below.

本実施例における情報操作機能管理部200の処理フロ
ーを、第16図に示す。第11図に示す、第1の実施例
との相異は、第11図における妥当性チエツクの部分(
ステップ204)が、パラメータ情報の生成(ステップ
208)に変わる点である。本実施例においても、情報
操作機能管理部200は、第3図に示す如きパラメータ
情報800を、情報操作処理実行部500に引渡す。但
し、前記操作モード802は、操作の内容、つまり、公
開状態の情報のみの検索、封印状態以外の状態の情報の
検索、追加。
FIG. 16 shows a processing flow of the information operation function management section 200 in this embodiment. The difference from the first embodiment shown in FIG. 11 is the validity check part (
This is the point where step 204) changes to generation of parameter information (step 208). Also in this embodiment, the information manipulation function management section 200 delivers parameter information 800 as shown in FIG. 3 to the information manipulation processing execution section 500. However, the operation mode 802 includes the contents of the operation, that is, searching only for information in a public state, searching for information in a state other than a sealed state, and adding.

変更、削除のいずれかを示すコード情報になる。Code information indicating either modification or deletion.

また、検索#i限を与えられていないユーザの検索要求
は、公開状態の情報のみの検索になる。検索権限のある
ユーザの検索要求は、封印状態以外の状態の情報の検索
になる。追加、変更、削除要求は、そのまま引継ぐ。そ
の他のパラメータは、前述の第1の実施例の場合と同様
である。
Furthermore, a search request from a user who is not given the search #i limit results in a search for only public information. A search request by a user with search authority is a search for information in a state other than the sealed state. Requests for additions, changes, and deletions will be carried over as is. Other parameters are the same as in the first embodiment described above.

情報操作処理実行部500の処理フローを、第18図に
示す。情報操作処理実行部500は、上記パラメータ8
00を基に、要求された処理を実行する。
The processing flow of the information manipulation processing execution unit 500 is shown in FIG. The information manipulation processing execution unit 500 executes the above parameter 8.
Based on 00, the requested process is executed.

追加の場合の処理は、前述の第1の実施例と同様に、入
出力領域805に設定された値を持つレコードを生成し
、操作対象801で指定されたテーブル内に、未承認状
態として格納する(ステップ501゜508.509)
。その他の場合は、操作対象801で指定されたテーブ
ルから操作条件803を満足するレコードを取出す(5
02,503)。前述の第1の実施例と異なる点は、レ
コード検索後の処理で、操作モードの違いにより、以下
のように処理が分かれる。
The processing in the case of addition is similar to the first embodiment described above, in which a record with the value set in the input/output area 805 is generated and stored as an unapproved state in the table specified by the operation target 801. (Step 501゜508.509)
. In other cases, a record that satisfies the operation condition 803 is retrieved from the table specified by the operation target 801 (5
02,503). The difference from the first embodiment described above is the processing after the record search, which is divided as follows depending on the operation mode.

(1)公開状態の情報のみの検索の場合検索したレコー
ドが公開状態か否かをチエツクしくステップ511)、
公開状態のレコードのみを、ステップ507で、入出力
領域805に設定する。
(1) In the case of searching for only public information, check whether the searched record is public (step 511);
Only records in the open state are set in the input/output area 805 in step 507.

(2)封印状態以外の状態の情報の検索の場合検索した
レコードが封印状態か否かをチエツクしくステップ51
2)、封印状態以外のレコードのみを、ステップ507
で、入出力領域805に設定する。
(2) When searching for information in a state other than the sealed state, check whether the retrieved record is in the sealed state or not.Step 51
2) Only records other than those in the sealed state are processed in step 507.
Then, set it in the input/output area 805.

(3)変更、削除の場合 検索したレコードが封印状態でなく、かつ、未承認状態
のレコードであるか否かをチエツクしくステップ510
)、そうであれば、ステップ506で、要求された変更
、削除処理を実行する。
(3) In the case of modification or deletion, check whether the retrieved record is not in a sealed state and is in an unapproved state (Step 510)
), if so, in step 506, the requested modification or deletion process is performed.

次に、前述の状態操作機能管理部300の処理フローを
、第17図に示す。前述の第1の実施例と異なる点は、
妥当性チエツクの処理(ステップ3o4)が、パラメー
タ情報の生成処理(ステップ308)になる点である。
Next, FIG. 17 shows a processing flow of the state manipulation function management section 300 described above. The difference from the first embodiment described above is that
The validity check process (step 3o4) becomes the parameter information generation process (step 308).

状態情報は、レコード単位で保持しているので、レコー
ドを検索してみるまでは、状態の判定、状態操作の妥当
性をチエツクすることはできない。従って、ここでは、
第4図に示す如きパラメータ情報810を生成し、状態
操作処理実行部600に引渡す。パラメータ情報の内容
は、第1の実施例の場合と同様である。
Since status information is held on a record-by-record basis, it is not possible to determine the status or check the validity of status operations until a record is searched. Therefore, here:
Parameter information 810 as shown in FIG. 4 is generated and delivered to the state manipulation processing execution unit 600. The contents of the parameter information are the same as in the first embodiment.

状態操作処理実行部600の処理フローを、第19図に
示す。レコード単位で状態を管理するため、第1の実施
例とは異なる処理になる。まず、指定された操作対象(
テーブル)から、指定された条件のレコードを検索する
(ステップ606,607)。検索終了でなければ(ス
テップ60g) 、操作モードをチエツクしくステップ
609)、以下の処理を行う。
The processing flow of the state manipulation processing execution unit 600 is shown in FIG. Since the status is managed on a record-by-record basis, the processing is different from the first embodiment. First, the specified operation target (
(steps 606 and 607). If the search is not completed (step 60g), the operation mode is checked (step 609), and the following processing is performed.

(1)公開操作の場合 レコードの状態をチエツクしくステップ610)、封印
されていない承認状態のレコードであれば、レコードの
状態情報を公開状態に設定する(ステップ611)。
(1) In the case of a public operation, check the status of the record (step 610), and if the record is in an approved status that is not sealed, set the status information of the record to the public status (step 611).

(2)非公開操作の場合レコードの状態をチエツクしく
ステップ612)、公開状態のレコードであれば、公開
状態を解除し、レコードの状態情報を承認状態に戻す(
ステップ613)。
(2) If the operation is private, check the status of the record (step 612); if the record is public, release the public status and return the record status information to the approved status (
step 613).

(3)封印操作の場合 レコードの状態をチエツクしくステップ614)、公開
も封印もされていない状態、つまり、封印されていない
未承認あるいは承認の状態にあるレコードであれば、レ
コードの状態情報を封印状態に設定する(ステップ61
5)。
(3) In the case of a sealing operation, check the status of the record (step 614), and if the record is neither published nor sealed, that is, the record is in an unsealed, unapproved or approved status, the status information of the record is checked. Set to sealed state (step 61
5).

(4)封印解除操作の場合 レコードの状態をチエツクしくステップ616)、封印
状態のレコードであれば、封印状態を解除し、非封印状
態に設定する(ステップ617)。
(4) In the case of unsealing operation, check the status of the record (step 616), and if the record is in a sealed status, the sealed status is canceled and set to the unsealed status (step 617).

(5)承認操作の場合 レコードの状態をチエツクしくステップ618)、封印
されていない未承認状態のレコードであれば、レコード
の状態情報を承認状態に設定する(ステップ619)。
(5) In case of approval operation, check the status of the record (step 618), and if the record is unsealed and unapproved, set the status information of the record to approved status (step 619).

以上の処理(ステップ607〜619)を、レコードの
検索が終了するまで繰り返す。情報定義機能管理部40
0.データ辞書管理部700の処理の流れは、第1の実
施例の場合と同様である。
The above processing (steps 607 to 619) is repeated until the record search is completed. Information definition function management department 40
0. The processing flow of the data dictionary management unit 700 is the same as in the first embodiment.

本実施例では、情報の状態の管理を、レコード単位で行
っている。そのため、第1の実施例の場合の如く、デー
タ辞書を参照しただけでは、そのレコードの状態を把握
することはできない。これを解決するためには、レコー
ド検索時に、レコードの状態情報を一緒に返すようにす
れば良い。
In this embodiment, the state of information is managed on a record-by-record basis. Therefore, as in the case of the first embodiment, it is not possible to grasp the state of the record just by referring to the data dictionary. To solve this problem, record status information should be returned together with the record search.

次に、上述の実施例を更に発展させた第3の実施例を示
す。本実施例においては、第7図に示す如く、データベ
ース20の中の物理的な格納領域を各状態に対応させて
区分けする方式を採る。第7図においては、未承認状態
の情報の格納領域21゜承認状態の情報の格納領域22
.未承認状態の情報を封印した状態の情報の格納領域2
3.承認状態の情報を封印した状態の情報の格納領域2
4.公開状態の情報の格納領域25の五つに区分けして
いる。
Next, a third embodiment that is a further development of the above-described embodiment will be shown. In this embodiment, as shown in FIG. 7, a method is adopted in which the physical storage areas in the database 20 are divided according to each state. In FIG. 7, a storage area 21 for information in an unapproved state and a storage area 22 for information in an approved state are shown.
.. Storage area 2 for information with unapproved information sealed
3. Storage area 2 for information with sealed approval status information
4. It is divided into five storage areas 25 for information in a public state.

状態の管理は1区分けした格納領域の管理情報をデータ
辞書30に保持し、これを情報操作機能管理部200や
、状態操作機能管理部300が参照しながら、情報の操
作、状態の操作を、情報操作処理実行部500や、状態
操作処理実行部600に指示する。情報の状態の変更は
、格納領域間で情報を移動することにより行う。
For state management, the management information of each divided storage area is held in the data dictionary 30, and the information manipulation function management section 200 and the state manipulation function management section 300 refer to this information and perform information and state operations. The information manipulation processing execution unit 500 and the state manipulation processing execution unit 600 are instructed. The state of information is changed by moving the information between storage areas.

次に、第4の実施例を示す。本実施例においては、前出
の第2の実施例で、各レコード820内に保持していた
状態情報(第6図参照)を、主キーインデクスの各エン
トリ中に保持するようにするものである。主キーインデ
クスは、レコード820を一意に識別するためのキーデ
ータ(主キー)に基づいて作成したインデクスである。
Next, a fourth example will be shown. In this embodiment, the state information held in each record 820 in the second embodiment (see FIG. 6) is held in each entry of the primary key index. be. The primary key index is an index created based on key data (primary key) for uniquely identifying the record 820.

第20図に、上記主キーインデクスに状態情報を持たせ
た例を示す。インデクスの構造は、一般のインデクスと
同様である。異なるのは、主キーインデクス850中の
リーフノード852内の、各レコードへのエントリ部に
、状態を示す状態コードを保持する状態情報格納フィー
ルド853を持つ点である。前述の状態の操作は、この
状態情報格納フィールド853内の状態コードを変更す
ることにより行う。情報操作、状態操作要求に対するデ
ータベース管理システムlOの処理方式は、前述の第2
の実施例の場合と同様である。異なるのは、情報の検索
を主キーインデクス850を利用して行うことと、イン
デクス検索時に、状態を判定することである。
FIG. 20 shows an example in which the primary key index has state information. The structure of the index is similar to a general index. The difference is that the entry section for each record in the leaf node 852 in the primary key index 850 has a state information storage field 853 that holds a state code indicating the state. The above-mentioned state operation is performed by changing the state code in this state information storage field 853. The processing method of the database management system IO for information manipulation and state manipulation requests is based on the above-mentioned second method.
This is the same as in the embodiment. The difference is that the information search is performed using the primary key index 850, and the state is determined during the index search.

本実施例の利点は、条件指定の情報検索処理時のデータ
部のI10回数を削減できる点である。
The advantage of this embodiment is that it is possible to reduce the number of I10 times in the data section during condition-specified information search processing.

条件指定されたフィールドに作成されているインデクス
から得られる、条件を満足するレコードへのポインタ群
と、主キーインデクス850がら得られる、当該検索の
対象となる状態を有するレコードへのポインタ群との間
で、ポ1インク群同志をマージすることにより、検索対
象となるレコードへのポインタ群が得られる。インデク
スのレベルで絞り込んだ後、実際のレコード820群の
読込みを行う。
A group of pointers to records that satisfy the condition obtained from the index created in the field specified by the condition, and a group of pointers to records having the state targeted for the search obtained from the primary key index 850. By merging the pointers and inks between them, a group of pointers to the records to be searched can be obtained. After narrowing down the search at the index level, the actual record 820 group is read.

上述の、第4の実施例においては、主キーインデクス、
950を利用した方式を説明したが、次に、状態情報そ
のものによるインデクスを利用する第5の実施例を示す
In the fourth embodiment described above, the primary key index,
Although the method using 950 has been described, next, a fifth embodiment will be described in which an index based on the state information itself is used.

本実施例で利用する状態インデクス860の構成例を、
第21図に示す、状態インデクス860は、ルートノー
ド861とリーフノード862だけの2レベルの階層に
なる。ルートノード861は、各状態を示すコードと、
各状態のリーフノード862へのポインタから成る。リ
ーフノード862は、各状態のレコードへのポインタリ
ストになる。状態の変更は、リーフノード862間のポ
インタの移動により実現される。なお、ルートノード8
61内のポインタの位置と状態とを対応させることによ
り、各状態のり−フノード862へのポインタだけを保
持することも可能である。
An example of the configuration of the status index 860 used in this embodiment is as follows:
The state index 860 shown in FIG. 21 has a two-level hierarchy consisting of only a root node 861 and a leaf node 862. The root node 861 includes a code indicating each state, and
Consists of pointers to leaf nodes 862 in each state. Leaf nodes 862 become a list of pointers to records for each state. Changes in state are achieved by moving pointers between leaf nodes 862. Note that root node 8
By associating the position of the pointer in 61 with the state, it is also possible to hold only a pointer to each state's path node 862.

本実施例によれば、特定の状態のレコードの検索が容易
、かつ、高速に実現できる。また、前述の、第4の実施
例に示したポインタリスト同志のマージ処理も、容易に
実現できる。更に1本実施例は、前述の、第2.第3.
第4の各実施例と併用することも可能である。
According to this embodiment, it is possible to easily and quickly search for records in a specific state. Further, the merging process of pointer lists shown in the fourth embodiment described above can also be easily realized. Furthermore, this embodiment is based on the above-mentioned second. Third.
It is also possible to use the fourth embodiment together.

情報の状態を管理する場合、実世界では誰が、何時、ど
の情報をどうしたかといった情報が重要である。従って
、このような状態操作の履歴情報を、データベース管理
システムIOが取得しておくことは、ユーザに有用な情
報となる。以下に示す第6の実施例は、データベース管
理システムlOがユーザが要求した状態操作の記録を管
理する場合の実施例である。
When managing the state of information, in the real world, information such as who did what with what information, and when, is important. Therefore, it is useful information for the user for the database management system IO to acquire history information of such state operations. The sixth embodiment described below is an embodiment in which the database management system IO manages records of state operations requested by users.

第1図に示した状態操作機能管理部300が、状態操作
要求を受付け、処理が完了した場合にデータ辞書管理部
700を介してデータ辞書30上の状態操作記録管理テ
ーブル35に、状態操作要求の記録情報を格納する。
The state manipulation function management unit 300 shown in FIG. Stores recorded information.

記録情報の形式の例を第8図に示す。図において、36
は実行ユーザ、37は実行日時、38は実行要求(要求
対象、要求状態操作、要求状態操作条件)を示している
。状態操作記録管理テーブル35は、システムに一個と
想定しているが、ユーザ単位。
An example of the format of recorded information is shown in FIG. In the figure, 36
37 indicates the executing user, 37 indicates the execution date and time, and 38 indicates the execution request (request target, requested state operation, requested state operation condition). It is assumed that there is one state operation record management table 35 in the system, but it is for each user.

テーブル単位に持つ方式も考えられる。情報操作機能管
理部200は、ユーザ(情報管理者)から、このテーブ
ル35に対して検索要求が来た場合、これを受付け、結
果を返す。同様に、削除要求が来た場合にも、不要情報
になったとみなし、削除を行う。追加、変更は認めない
A method of having each table separately is also conceivable. When the information operation function management unit 200 receives a search request for this table 35 from a user (information manager), it accepts the request and returns the result. Similarly, when a deletion request is received, it is assumed that the information has become unnecessary and the information is deleted. Additions or changes are not permitted.

最後に、第7の実施例を示す。本実施例は、状態管理機
能を有するデータベース管理システム10を利用したド
キュメント管理システム900を示すものである。本実
施例のドキュメント管理システム900とデータベース
管理システム10は、゛第2図に示した計算機40上で
稼動する。もちろん、分散システムの場合、別計算機上
で稼動しても良い。
Finally, a seventh example will be shown. This embodiment shows a document management system 900 using a database management system 10 having a state management function. The document management system 900 and database management system 10 of this embodiment operate on the computer 40 shown in FIG. Of course, in the case of a distributed system, it may be run on separate computers.

上記ドキュメント管理システム900は、データベース
管理システム10を利用してドキュメント情報を管理し
、ドキュメント情報に対するユーザの要求を受付け、ユ
ーザの要求に対応するデータベース操作要求をデータベ
ース管理システム10に発行することにより、ドキュメ
ント情報に対する登録、変更、廃棄、承認、公開/非公
開、封印/封印解除といった操作機能を実現する。
The document management system 900 manages document information using the database management system 10, accepts user requests for document information, and issues database operation requests corresponding to the user requests to the database management system 10. It realizes operational functions such as registration, modification, disposal, approval, publication/non-disclosure, and sealing/unsealing of document information.

ドキュメント管理システム900は、ユーザからの要求
を受付け、要求の内容により、処理を振分ける処理制御
部910と、ユーザからの各要求に対応する処理を管理
する、登録処理部9209編集処理部930.廃棄処理
部940.承認処理部950.公開/非公開処理部96
0.封印/封印解除処理部970等から構成される。上
記各処理部は、ユーザからの要求を、ユーザの要求に対
応するデータベース操作要求に変換して、データベース
管理システム10に処理の実行を要求する(第9図参照
)。
The document management system 900 includes a processing control unit 910 that accepts requests from users and distributes processing according to the content of the requests, a registration processing unit 9209, an editing processing unit 930, and 930 that manage processing corresponding to each request from the user. Waste processing section 940. Approval processing unit 950. Public/private processing unit 96
0. It is composed of a sealing/unsealing processing section 970 and the like. Each of the processing units described above converts a request from a user into a database operation request corresponding to the user's request, and requests the database management system 10 to execute the process (see FIG. 9).

本実施例によれば、ドキュメント管理システムを構築す
るユーザは、承認、公開/非公開、封印/封印解除とい
った操作を、直接データベース操作要求に変換できるの
で、開発が容易になるという効果がある。また、情報の
状態の管理を、データベース管理システムに一任できる
ので、管理上の煩わしさが無くなるという利点もある。
According to this embodiment, a user who constructs a document management system can directly convert operations such as approval, disclosure/disclosure, and sealing/unsealing into database operation requests, thereby facilitating development. Furthermore, since the management of the information status can be entrusted to the database management system, there is also the advantage that the troublesome management is eliminated.

〔発明の効果〕〔Effect of the invention〕

以上述べた如く、本発明によれば、データベースに格納
した情報の状態の管理を、データベース管理システムが
提供する機能として実現することが可能になり、ユーザ
(情報管理者、情報利用者)の負担軽減を図るとともに
、実世界の情報管理に即した情報操作を実現可能とする
データベース管理方式を実現できるという顕著な効果を
奏するものである。
As described above, according to the present invention, it is possible to realize the management of the state of information stored in a database as a function provided by a database management system, thereby reducing the burden on users (information managers and information users). This has the remarkable effect of realizing a database management system that can reduce the amount of data and perform information operations that are consistent with real-world information management.

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

第1図は本発明の一実施例であるするデータベースシス
テムの構成図、第2図は本発明を実施する最小ハードウ
ェア構成を示す図、第3図は情報操作機能管理部が情報
操作処理実行部に引渡すパラメータ情報の例を示す図、
第4図は状態操作機能管理部が状態操作処理実行部に引
渡すパラメータ情報の例を示す図、第5図はテーブル定
義管理テーブルの例を示す図、第6図は状態情報を持た
せた場合のレコード形式の例を示す図、第7図は情報の
状態によって格納場所を変える方式の例を示す図、第8
図は状態操作記録管理テーブルの形式の例を示す図、第
9図は本発明のデータベース管理システムを利用したド
キュメント管理システムの機能構成例を示す図、第1O
図〜第15図はそれぞれ第1の実施例の動作を示すフロ
ーチャート、第16図〜第19図はそれぞれ第2の実施
例の動作を示すフローチャート、第20図は主キーイン
デクスの枯成例を示す図、第21図は状態インデクスの
例を示す図である。 lO:データベース管理システム、20:データベース
、30:データ辞書、31:テーブル定義情報管理テー
ブル、35:状態操作記録管理テーブル、40:計算機
、50:端末、60:二次記憶装置、70:状態の遷移
、71:未承認状態、72:承認状態、73:封印状態
、74:公開状態、100:要求制御部、200 :情
報操作機能管理部、300:状態操作機能管理部、40
0:情報定義機能管理部、500:情報操作処理実行部
、600:状態操作処理実行部、700:データ辞書管
理部。
Figure 1 is a configuration diagram of a database system that is an embodiment of the present invention, Figure 2 is a diagram showing the minimum hardware configuration for implementing the present invention, and Figure 3 is an information operation function management unit that executes information operation processing. A diagram showing an example of parameter information to be passed to the department,
Figure 4 is a diagram showing an example of parameter information passed by the state manipulation function management unit to the state manipulation processing execution unit, Figure 5 is a diagram showing an example of a table definition management table, and Figure 6 is a diagram showing a case in which state information is provided. Figure 7 is a diagram showing an example of a record format, Figure 7 is a diagram showing an example of a method of changing the storage location depending on the state of information, and Figure 8 is a diagram showing an example of a method of changing the storage location depending on the state of information.
9 is a diagram showing an example of the format of a status operation record management table, FIG. 9 is a diagram showing an example of the functional configuration of a document management system using the database management system of the present invention, and FIG.
15 to 15 are flowcharts showing the operation of the first embodiment, FIGS. 16 to 19 are flowcharts showing the operation of the second embodiment, and FIG. 20 is a flowchart showing the operation of the second embodiment. The figure shown in FIG. 21 is a diagram showing an example of a state index. lO: database management system, 20: database, 30: data dictionary, 31: table definition information management table, 35: state operation record management table, 40: computer, 50: terminal, 60: secondary storage device, 70: state Transition, 71: Unapproved state, 72: Approved state, 73: Sealed state, 74: Public state, 100: Request control section, 200: Information manipulation function management section, 300: State manipulation function management section, 40
0: information definition function management section, 500: information manipulation processing execution section, 600: state manipulation processing execution section, 700: data dictionary management section.

Claims (1)

【特許請求の範囲】 1、データベース管理システムにおけるデータベース管
理方式であって、データベースに格納した情報毎に、該
情報への可能な操作を示す状態情報を記憶する領域を設
け、該記憶領域に格納情報の状態情報を設定し、該状態
情報に基づいてこれに対応する情報に対する操作を制限
することを特徴とするデータベース管理方式。 2、前記状態情報を記憶する領域として、情報自身に状
態情報を付加することを特徴とする請求項1記載のデー
タベース管理方式。 3、前記情報を記憶する領域を状態毎に区分けして、情
報の格納位置により情報の状態を区別することを特徴と
する請求項1記載のデータベース管理方式。 4、前記状態情報を記憶する領域として、情報の主キー
に対して作成したインデクスのエントリに状態情報を付
加することを特徴とする請求項1記載のデータベース管
理方式。 5、前記状態情報を記憶する領域として、情報を格納す
る論理的なファイルの管理情報に状態情報を付加するこ
とを特徴とする請求項1記載のデータベース管理方式。 6、前記情報への可能な操作を示す状態として、参照だ
け可能な状態と、参照と更新が可能な状態と、参照も更
新も不可能な状態とを設けることを特徴とする請求項1
記載のデータベース管理方式。 7、前記情報への可能な操作を示す状態として、当該シ
ステムを利用するすべてのユーザが参照だけ可能な状態
(公開状態)と、当該情報に対して参照を許されたユー
ザだけが参照のみ可能な状態(承認状態)と、当該情報
に対して操作を許されたユーザだけが許された操作を実
行可能な状態(未承認状態)と、当該システムを利用す
るすべてのユーザが参照も更新も不可能な状態(封印状
態)とを設けることを特徴とする請求項1記載のデータ
ベース管理方式。 8、前記状態情報の記憶領域に状態情報を設定または変
更する手段は、情報作成時には、前記請求項6または7
に記載の状態のいずれかを設定するものであることを特
徴とする請求項1記載のデータベース管理方式。 9、前記状態情報の記憶領域に状態情報を設定または変
更する手段は、データベース格納時の情報に対しては、
前記請求項7記載の未承認状態に設定し、ユーザの承認
操作要求により未承認状態の情報を承認状態に変更し、
ユーザの公開操作要求により承認状態の情報を公開状態
に変更し、ユーザの非公開操作要求により公開状態の情
報を承認状態に変更し、ユーザの封印操作要求により未
承認状態または承認状態の情報を封印状態に変更し、ユ
ーザの封印解除操作要求により封印状態の情報を元の未
承認または承認状態に変更するような、ユーザからの情
報の状態操作要求を受付け、指定された情報の状態を変
更することを特徴とする請求項1記載のデータベース管
理方式。 10、前記ユーザからの情報の状態変更操作要求受付け
時の要求内容の記録領域を設け、該記録領域に要求内容
を登録し、ユーザの検索、削除要求により検索、削除す
ることを特徴とする請求項1記載のデータベース管理方
式。 11、前記情報の状態の管理を、各状態毎に当該状態の
情報群をポイントするインデクスを設けて行うようにし
たことを特徴とする請求項1記載のデータベース管理方
式。 12、前記データベースに格納した情報が、文書または
図面であることを特徴とする請求項1記載のデータベー
ス管理方式。
[Claims] 1. A database management method in a database management system, which provides an area for storing status information indicating possible operations on the information for each piece of information stored in a database, and stores the status information in the storage area. A database management method characterized by setting status information of information and restricting operations on the corresponding information based on the status information. 2. The database management system according to claim 1, wherein the state information is added to the information itself as the area for storing the state information. 3. The database management system according to claim 1, wherein the area in which the information is stored is divided by state, and the state of the information is distinguished depending on the storage location of the information. 4. The database management system according to claim 1, wherein the state information is added to an entry of an index created for the primary key of the information as the area for storing the state information. 5. The database management method according to claim 1, wherein the state information is added to management information of a logical file that stores information as the area for storing the state information. 6.Claim 1, wherein the states indicating possible operations on the information include a state in which only reference is possible, a state in which reference and update is possible, and a state in which neither reference nor update is possible.
Database management method described. 7. The states that indicate possible operations on the information include a state where all users of the system can only view it (public state), and a state where only users who are allowed to view the information can only view it. (approved state), a state in which only authorized users can perform operations on the information (unauthorized state), and a state in which all users of the system cannot view or update the information. 2. The database management system according to claim 1, further comprising an impossible state (sealed state). 8. The means for setting or changing the status information in the storage area of the status information, when creating the information, according to claim 6 or 7.
2. The database management method according to claim 1, wherein any of the states described in the above is set. 9. The means for setting or changing status information in the status information storage area is configured to:
setting the information in the unapproved state according to claim 7, and changing the information in the unapproved state to the approved state according to a user's approval operation request;
Information in the approved state is changed to public state by a user's public operation request, information in public state is changed to approved state by user's private operation request, and information in unapproved or approved state is changed by user's seal operation request. Accepts information state manipulation requests from users and changes the specified information state, such as changing the state to sealed state and changing the sealed state information to the original unapproved or approved state based on the user's unsealing operation request. The database management method according to claim 1, characterized in that: 10. A claim characterized in that a recording area is provided for the contents of the request when accepting an information status change operation request from the user, the request contents are registered in the recording area, and the request is searched and deleted according to the user's search and deletion request. The database management method described in Section 1. 11. The database management system according to claim 1, wherein the state of the information is managed by providing an index for each state that points to a group of information in that state. 12. The database management system according to claim 1, wherein the information stored in the database is a document or a drawing.
JP63245445A 1988-09-28 1988-09-29 Data base control system Pending JPH0293744A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP63245445A JPH0293744A (en) 1988-09-29 1988-09-29 Data base control system
US08/070,634 US5379423A (en) 1988-09-28 1993-06-01 Information life cycle processor and information organizing method using it

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63245445A JPH0293744A (en) 1988-09-29 1988-09-29 Data base control system

Publications (1)

Publication Number Publication Date
JPH0293744A true JPH0293744A (en) 1990-04-04

Family

ID=17133768

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63245445A Pending JPH0293744A (en) 1988-09-28 1988-09-29 Data base control system

Country Status (1)

Country Link
JP (1) JPH0293744A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06149841A (en) * 1992-11-02 1994-05-31 Matsushita Electric Ind Co Ltd Information processor
JPH0744623A (en) * 1993-06-29 1995-02-14 Oki Electric Ind Co Ltd Correcting system of transaction data

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06149841A (en) * 1992-11-02 1994-05-31 Matsushita Electric Ind Co Ltd Information processor
JPH0744623A (en) * 1993-06-29 1995-02-14 Oki Electric Ind Co Ltd Correcting system of transaction data

Similar Documents

Publication Publication Date Title
US5379423A (en) Information life cycle processor and information organizing method using it
US7200593B2 (en) Document management system
US5826268A (en) Secure multilevel object oriented database management system
Denning et al. Views for multilevel database security
US7065515B2 (en) System and method for electronically managing composite documents
US8078595B2 (en) Secure normal forms
EP0978061B1 (en) Object graph editing context and methods of use
US5355474A (en) System for multilevel secure database management using a knowledge base with release-based and other security constraints for query, response and update modification
EP1385100A2 (en) Mapping a class hierarchy to a relational database system
US20090292711A1 (en) Constraints With Hidden Rows in a Database
US20020156767A1 (en) Method and service for storing records containing executable objects
US10089315B2 (en) Systems, apparatus, and methods for accessing data from a database as a file
US5890160A (en) Object representation of relational database cells having nontraditional large object datatypes
EP1383055A2 (en) Map and data location provider
US8478791B2 (en) Interoperability across heterogeneous taxonomies
JPH03196364A (en) Document retrieving method
WO2004079607A2 (en) System and method for automatically starting a document on a workflow process
US20040139141A1 (en) Integration of virtual data within a host operating environment
Thuraisingham Towards the design of a secure data/knowledge 11 base management system
JPH05181734A (en) Access right management control systems for data base and file system
JPH0293744A (en) Data base control system
US20050160101A1 (en) Method and apparatus using dynamic SQL for item create, retrieve, update delete operations in a content management application
Thuraisingharn Security in_i () bject-Oriented Database Systems
Zhezhnych et al. On restricted set of DML operations in an ERP System’s database
Belokosztolszki et al. Policy storage for role-based access control systems