JPH0283638A - Data base record managing system - Google Patents
Data base record managing systemInfo
- Publication number
- JPH0283638A JPH0283638A JP63237378A JP23737888A JPH0283638A JP H0283638 A JPH0283638 A JP H0283638A JP 63237378 A JP63237378 A JP 63237378A JP 23737888 A JP23737888 A JP 23737888A JP H0283638 A JPH0283638 A JP H0283638A
- Authority
- JP
- Japan
- Prior art keywords
- database
- record
- hierarchy
- management
- records
- 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
Links
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】
〔概 要]
階層構造を成すデータベースにおいて、各階層に対応し
たレコードを必要に応じて作成するようにしたデータベ
ースのレコード管理方式に関し、データベースの管理効
率の向上を目的とし、階層構造を成し、1つ以上の上位
階層のそれぞれに対応したレコードに基づいて最下位階
層のレコードのアクセスを行なうデータベースのレコー
ド管理方式において、各階層の該当部分を指定するため
のキー部と、各階層の使用状況を管理するための管理部
とを含む複数のレコードを格納するデータベースと、デ
ータベースの該当する階層をアクセスし、レコード内の
管理部に基づいて該当するキー部を存するレコードの検
索を行なう検索手段と、検索手段による検索の結果、該
当するしコードが存在しないときに、該当する階層以下
の各階層に対応したレコードを発生させるパターン作成
手段とを備えるように構成する。[Detailed Description of the Invention] [Summary] This invention relates to a record management method for a database in which records corresponding to each hierarchy are created as necessary in a database with a hierarchical structure, with the aim of improving database management efficiency. , in a record management method for a database that has a hierarchical structure and accesses records in the lowest hierarchy based on records corresponding to one or more upper hierarchy, a key part for specifying the corresponding part of each hierarchy. and a management part for managing the usage status of each hierarchy, and a record that accesses the relevant hierarchy of the database and has a corresponding key part based on the management part in the record. The present invention is configured to include a search means for performing a search, and a pattern creation means for generating a record corresponding to each layer below the applicable layer when a corresponding code does not exist as a result of the search by the search means.
(産業上の利用分野〕
本発明は、階層構造を成すデータベースにおいて、各階
層に対応したレコードを必要に応じて作成するようにし
たデータベースのレコード管理方式に関するものである
。(Industrial Application Field) The present invention relates to a record management system for a database having a hierarchical structure, in which records corresponding to each hierarchy are created as necessary.
〔従来の技4ネテ]
近年、コンピュータシステムにおけるデータベースの重
要性は高まっており、データベースに格納する膨大なデ
ータを効率良く作成すると共に管理する必要がある。[Conventional Technique 4] In recent years, the importance of databases in computer systems has increased, and it is necessary to efficiently create and manage the enormous amount of data stored in databases.
データベースは、いくつかのデータファイルを組織的に
統合してデータ項目の重複をなくし、データを構造化し
て記憶したものである。データベースを作ると直接アク
セス記憶装置の有効利用が図れ、データの更新が正確に
行なえ、更にデータが集中的に管理されるので、多くの
独立したユーザの間で有効利用ができる等の利点がある
。すなわち、コンピュータシステムを利用する場合、適
用業務が複雑化するにつれてデータ量が増えてくると、
データファイルの種類が多くなる。したがって、従来の
ファイルの記憶方式ではデータ項目がいくつかのファイ
ルに重複してくることになる。A database is a system that systematically integrates several data files to eliminate duplication of data items and stores data in a structured manner. Creating a database has the advantages of making effective use of direct access storage, allowing for accurate data updates, and centrally managing the data so that it can be used effectively among many independent users. In other words, when using a computer system, as the amount of data increases as the applied work becomes more complex,
There are many types of data files. Therefore, traditional file storage methods result in data items being duplicated in several files.
そのため階層構造をもったデータベースが作られたが、
データが集中的に管理されるので、1つのデータベース
でいろいろの適用業務に利用できる(オーム社発行、情
報処理受験講座「ソフトウェアの知識(第2版)Jの2
83.284ページより引用)。For this reason, a database with a hierarchical structure was created, but
Because data is centrally managed, one database can be used for various applications (published by Ohmsha, Information Processing Examination Course "Software Knowledge (2nd Edition) J.2.
83. Quoted from page 284).
第6図に、各階層に対応したレコードを固定的に確保す
る従来のレコード管理要領を示す。FIG. 6 shows a conventional record management procedure for fixedly securing records corresponding to each hierarchy.
図において、■〜■は第1階層から第4階層までをそれ
ぞれ示しており、データベース構築の際に、各階層に対
応させてレコード「1」〜「N」を固定的に確保する。In the figure, ■ to ■ indicate the first to fourth hierarchies, respectively, and when constructing the database, records "1" to "N" are fixedly secured in correspondence to each hierarchy.
各階層は、レコード「1」〜「N」までで特定されるた
め、最下位階N(第4階層)に対応してN4個のレコー
ドが確保されたことになる。Since each hierarchy is specified by records "1" to "N", N4 records are secured corresponding to the lowest floor N (fourth hierarchy).
また、第7図に、最下位階層を管理する管理部を設ける
従来のレコード管理要領を示す。(イ)は最下位階層を
管理するための管理テーブルを、(ロ)は管理テーブル
に基づいて確保された各階層のレコードの対応関係を示
す。Further, FIG. 7 shows a conventional record management procedure in which a management section is provided to manage the lowest hierarchy. (a) shows a management table for managing the lowest hierarchy, and (b) shows the correspondence of records in each hierarchy secured based on the management table.
データベース構築の際に、最下位階層を除く各階層のレ
コードは固定的に確保されており、最下位階層のレコー
ドのみは管理テーブルに基づいて順次更新されていく。When constructing a database, records for each hierarchy except the lowest hierarchy are fixedly secured, and only the records for the lowest hierarchy are sequentially updated based on the management table.
例えば、鼻下位階層の初期値を「001」、最終値をr
999Jとし、現在値を管理することによってデータベ
ースのレコード管理を行なう。現在値は、初期値から始
まって必要に応じて順次更新(加算)される。For example, the initial value of the nasal sublayer is "001", and the final value is r.
999J, and record management of the database is performed by managing the current value. The current value is sequentially updated (added) as necessary starting from the initial value.
ところで、上述した従来方式にあっては、全ての階層あ
るいは最下位階層を除く全ての階層のレコードをデータ
ベース構築時に設定する必要があるため、データベース
構築に手間がかかると共に無駄な領域が多く、管理効率
が悪いという問題点があった。By the way, with the above-mentioned conventional method, it is necessary to set records for all hierarchies or all hierarchies except the lowest layer when constructing the database, which requires time and effort to construct the database, and a lot of wasted space, making management difficult. The problem was that it was inefficient.
本発明は、このような点にかんがみて創作されたもので
あり、管理効率を上げることができるデータベースのレ
コード管理方式を提供することを目的としている。The present invention was created in view of these points, and an object of the present invention is to provide a database record management method that can improve management efficiency.
第1図は、本発明のデータベースのレコード管理方式の
原理ブロック図である。FIG. 1 is a principle block diagram of the database record management system of the present invention.
図において、階層構造を成し、1つ以上の上位階層のそ
れぞれに対応したレコードに基づいて最下位階層のレコ
ードのアクセスを行なうデータベースのレコード管理方
式におけるデータベース111は、各階層の該当部分を
指定するためのキー部と、各階層の使用状況を管理する
ための管理部とを含む複数のレコードを格納する。In the figure, a database 111 in a record management method of a database that has a hierarchical structure and accesses records in the lowest hierarchy based on records corresponding to one or more upper hierarchy, specifies the corresponding part of each hierarchy. A plurality of records are stored including a key section for managing the usage status of each layer, and a management section for managing the usage status of each layer.
検索手段121は、データベース111の該当する階層
をアクセスし、レコード内の管理部に基づいて該当する
キー部を有するレコードの検索を行なう。The search means 121 accesses the relevant hierarchy of the database 111 and searches for a record having the relevant key part based on the management part in the record.
パターン作成手段131は、検索手段121による検索
の結果、該当するレコードが存在しないときに、該当す
る階層以下の各階層に対応したレコードを発生させる。The pattern creation means 131 generates records corresponding to each hierarchy below the relevant hierarchy when no corresponding record exists as a result of the search by the search means 121.
従って、全体として、該当する階層のレコードが存在し
ないときにこの階層以下の各階層に対応したレコードを
発生させるように構成されている。Therefore, the system as a whole is configured to generate records corresponding to each layer below this layer when there is no record of the corresponding layer.
データベース111には複数のレコードが格納されてお
り、各レコードは、各階層の該当部分を指定するための
キー部と、各階層の使用状況を管理する管理部とを含ん
でいる。A plurality of records are stored in the database 111, and each record includes a key part for specifying a corresponding part of each hierarchy, and a management part for managing the usage status of each hierarchy.
検索手段121によってデータベース111の該当する
階層のレコードをアクセスし、該当するレコードが存在
しないときには、パターン作成手段131によって、該
当する階層以下の各階層に対応したレコードが作成され
る。The search means 121 accesses records in the relevant hierarchy of the database 111, and if the relevant record does not exist, the pattern creation means 131 creates records corresponding to each hierarchy below the relevant hierarchy.
本発明にあっては、データベース111の構築時に最小
限の領域を確保し、必要に応じて各階層のレコードを作
成していくことにより、管理するレコードが最小限で済
むので、管理効率を上げることができる。In the present invention, by securing a minimum area when constructing the database 111 and creating records for each hierarchy as necessary, the number of records to be managed can be kept to a minimum, thereby improving management efficiency. be able to.
以下、図面に基づいて本発明の実施例について詳細に説
明する。Hereinafter, embodiments of the present invention will be described in detail based on the drawings.
第2図は、本発明の一実施例におけるデータベースのレ
コード管理方式の構成を示す。FIG. 2 shows the configuration of a database record management system in an embodiment of the present invention.
■、 と 1 との
ここで、本発明の実施例と第1図との対応関係を示して
おく。(1) Here, the correspondence between the embodiment of the present invention and FIG. 1 will be shown.
データベース111は、データベース231に相当する
。Database 111 corresponds to database 231.
検索手段121は、CPU211.メモリ221に相当
する。The search means 121 uses the CPU 211. It corresponds to the memory 221.
パターン作成手段131は、CPU211.メモリ22
1に相当する。The pattern creation means 131 includes the CPU 211. memory 22
Corresponds to 1.
以上のような対応関係があるものとして、以下本発明の
実施例について説明する。Examples of the present invention will be described below assuming that the correspondence relationship as described above exists.
ニー】■I准へl戊
第2図において、本発明のデータベースのレコード管理
方式を適用したコンピュータシステムは、プログラムの
実行を行なうCPU211と、CPU211が直接制御
を行なうプログラムやデータを格納するメモリ221と
、ディスク装置で構成され、CPU211が処理するプ
ログラムやデータを保持するためのデータベース231
と、データベース231へのデータの入出力を制御する
ためのチャネル装置233と、データや処理結果を表示
するためのデイスプレィ241と、データや指示を入力
するためのキーボード243と、データや処理結果を印
刷するためのプリンタ245と、デイスプレィ241.
キーボード243及びプリンタ245とのデータの入出
力を制御するチャネル装置247とを備えている。In FIG. 2, a computer system to which the database record management method of the present invention is applied includes a CPU 211 that executes programs, and a memory 221 that stores programs and data that are directly controlled by the CPU 211. and a database 231 consisting of a disk device and used to hold programs and data processed by the CPU 211.
a channel device 233 for controlling data input/output to the database 231; a display 241 for displaying data and processing results; a keyboard 243 for inputting data and instructions; A printer 245 for printing, and a display 241.
It includes a keyboard 243 and a channel device 247 that controls input and output of data to and from a printer 245.
CPU211.メモリ221及び2つのチャネル装置2
33,247はバ°ス接続されている。また、データベ
ース231はチャネル装置233に接続されている。デ
イスプレィ241.キーボード243.プリンタ245
は、チャネル装置247に接続されている。CPU211. Memory 221 and two channel devices 2
33 and 247 are connected to the bus. Further, the database 231 is connected to the channel device 233. Display 241. Keyboard 243. printer 245
is connected to channel device 247.
また、メモリ221には、データベース231をアクセ
スするためのデータベース管理プログラム223が格納
されており、CPU211はメモリ221のデータベー
ス管理プログラム223を実行することによりデータベ
ース231をアクセスする。Further, a database management program 223 for accessing a database 231 is stored in the memory 221, and the CPU 211 accesses the database 231 by executing the database management program 223 in the memory 221.
1−140し針肛作 次に、上述した本発明実施例の動作を説明する。1-140 made by a needle Next, the operation of the embodiment of the present invention described above will be explained.
第3図に、3つの階層から成るデータベース231の各
階層に対応した管理レコードの内容を示す。図において
、[キー部Jは各階層に対応した4桁の識別番号であり
、第1階層に対応した部分をa、第2階層に対応した部
分をb、第3階層に対応した部分をCとする。第1階層
の管理レコードのキー部にはaが格納されており、第2
階層の管理レコードのキー部にはa及びbが、第3階層
の管理レコードのキー部にはa、b及びCが格納されて
いる。FIG. 3 shows the contents of management records corresponding to each hierarchy of the database 231, which is composed of three hierarchies. In the figure, [key part J is a four-digit identification number corresponding to each layer, where the part corresponding to the first layer is a, the part corresponding to the second layer is b, and the part corresponding to the third layer is C. shall be. a is stored in the key part of the management record in the first layer, and
A and b are stored in the key part of the management record of the hierarchy, and a, b, and C are stored in the key part of the management record of the third hierarchy.
また、「管理部」は、各階層の使用状況を表しており、
「現在値」はキー部(a、b、cの何れか)の使用状況
を表している。この現在値は、最初は「初期値」に等し
く、データベース231の格納領域(作業領域)を拡張
する都度更新され、最大が「最終値」となる。In addition, "Management Department" represents the usage status of each layer,
"Current value" represents the usage status of the key part (any one of a, b, and c). This current value is initially equal to the "initial value" and is updated each time the storage area (work area) of the database 231 is expanded, and the maximum value becomes the "final value."
更に、「キーの意味jは、キー部a、b、cのそれぞれ
に意味付けが為されているときの各意味付けの内容を示
している。例えば、A、B、CDの各符号に意味を持た
せて識別する。Furthermore, ``key meaning j'' indicates the content of each meaning when key parts a, b, and c are each given a meaning.For example, each symbol of A, B, and CD has a meaning. to identify it.
最小限必要な領域に対応した基本パターンをデータベー
ス231の構築時に作成する。例えば、キー部aを「0
001」、キー部すをl’1000」、キー部Cをr2
000J及びr3000」として基本パターンを設定す
る。A basic pattern corresponding to the minimum required area is created when constructing the database 231. For example, set key part a to "0"
001", key part C is l'1000", key part C is r2
The basic pattern is set as "000J and r3000".
以後、この基本パターンにおいては、第3階層管理レコ
ードの管理部の現在値を更新することによりデータの取
得を行なう。Thereafter, in this basic pattern, data is acquired by updating the current value of the management section of the third layer management record.
尚、本実施例においては、第3階層管理レコードのキー
部と管理部の現在値とを合計した16桁の値をユーザデ
ータとし、このユーザデータを得ることをデータの取得
と称して説明する。In this embodiment, the user data is a 16-digit value that is the sum of the key part of the third-tier management record and the current value of the management part, and obtaining this user data will be referred to as data acquisition. .
また、この基本パターンと第1階層あるいは第2階層が
異なる新パターンを作成する場合、第1階層あるいは第
2階層の各キー部の値を更新する。Furthermore, when creating a new pattern whose first or second hierarchy is different from this basic pattern, the values of each key part of the first or second hierarchy are updated.
第4図に、データベース231をアクセスして新パター
ンを作成する場合の動作手順を示す。尚、データベース
管理プログラム223を実行したCPU211がデータ
ベース231に対してアクセスあるいは判断を行なうも
のとする。FIG. 4 shows the operating procedure when accessing the database 231 and creating a new pattern. It is assumed that the CPU 211 that has executed the database management program 223 accesses or makes decisions about the database 231.
先ず、データベース231の第1階層管理レコードをア
クセスしくステップ410)、第1階層管理レコードの
現在値までのデータを取得するか否かの判定を行なう(
ステップ411)。肯定判断したときは、対応する第2
階層管理レコードの現在値までのデータを取得するか否
かの判定を行なう(ステップ412)。First, the first tier management record of the database 231 is accessed (step 410), and it is determined whether or not to acquire data up to the current value of the first tier management record (step 410).
Step 411). When a positive judgment is made, the corresponding second
It is determined whether data up to the current value of the hierarchy management record is to be acquired (step 412).
ここでも肯定判断(第1階層、第2階層ともに既存のパ
ターンをアクセスする場合)すると、次に、第3階層管
理レコードの現在値に所定値(例えば1)を加算しくス
テップ413)、加算した現在値が所定の範囲内にある
か否かを判定する(ステップ414)。この現在値が最
終値を越えたときには(否定判断)、レコードの拡張不
能と判断して(ステップ415)、処理を終了する。拡
張不能の場合には、例えばデイスプレィ241からその
旨を通知する。If a positive judgment is made here (when accessing an existing pattern in both the first and second layers), then a predetermined value (for example, 1) is added to the current value of the third layer management record (step 413). It is determined whether the current value is within a predetermined range (step 414). If this current value exceeds the final value (negative determination), it is determined that the record cannot be extended (step 415), and the process is terminated. If expansion is not possible, the display 241 will notify you of this, for example.
また、ステップ414で肯定判断したとき(現在値が最
終値以下のとき)は、第3階層管理レコードの現在値を
取得して(ステップ416)、処理を終了する(ステッ
プ413で加算処理を行なった現在値を確保して処理を
終了する)。Further, when an affirmative judgment is made in step 414 (when the current value is less than or equal to the final value), the current value of the third layer management record is obtained (step 416), and the process is terminated (addition processing is performed in step 413). (Secure the current value and end the process.)
また、ステップ411の判定(第1階層管理レコードの
現在値までのデータを取得か)で否定判断すると、次に
4、第1階層管理レコードの現在値に所定値を加算しく
ステップ421)、加算した現在値が所定の範囲内にあ
るか否かを判定する(ステップ422)。この現在値が
最終値を越えたときには(否定判断)、レコードの拡張
不能と判断して(ステップ423)、処理を終了する。In addition, if a negative determination is made in step 411 (whether data up to the current value of the first tier management record has been obtained), the next step 4 is to add a predetermined value to the current value of the first tier management record (step 421). It is determined whether the current value is within a predetermined range (step 422). If this current value exceeds the final value (negative determination), it is determined that the record cannot be extended (step 423), and the process is terminated.
ステップ422で肯定判断したときは、下位パターン(
初期値を現在値に設定した第2階層管理レコード)を作
成しくステップ424)、この作成した第2階層管理レ
コードをアクセスする(ステップ425)。以後、ステ
ップ412の処理以降を繰り返す。When the affirmative judgment is made in step 422, the lower pattern (
A second hierarchical management record in which the initial value is set to the current value is created (step 424), and the created second hierarchical management record is accessed (step 425). Thereafter, the process from step 412 onwards is repeated.
また、ステップ412の判定(第21!!i店管理レコ
ードの現在値までのデータを取得か)で否定判断すると
、次に、第2階層管理レコードを現在値に所定値を加算
しくステップ431)、加算した現在値が所定の範囲内
にあるか否かを判定する(ステップ432)、この現在
値が最終値を越えたときには(否定判断)、レコードの
拡張不能と判定して(ステップ433)、処理を終了す
る。Also, if a negative determination is made in step 412 (data up to the current value of the 21st!! i-store management record has been obtained), then a predetermined value is added to the current value of the second layer management record (step 431). , it is determined whether the added current value is within a predetermined range (step 432), and if this current value exceeds the final value (negative determination), it is determined that the record cannot be extended (step 433). , ends the process.
ステップ432で肯定判断したときは、下位パターン(
初期値を現在値に設定した第3階層管理レコード)を作
成しくステップ434)、この作成した第3階層管理レ
コードをアクセスする(ステン7’435)。以後、ス
テップ413以降の処理を繰り返す。When the affirmative judgment is made in step 432, the lower pattern (
A third layer management record in which the initial value is set to the current value is created (step 434), and the created third layer management record is accessed (step 7'435). Thereafter, the processing from step 413 onwards is repeated.
第5図に、第4図に示した動作手順に従って作成した新
パターンを示す。FIG. 5 shows a new pattern created according to the operating procedure shown in FIG.
(イ)は、第1階層管理部の現在値に所定値を加算して
(第4図のステップ421)、第1階層以下の各階層か
ら成る新パターンを作成した場合を示す。また、(ロ)
は、第2階層管理部の現在値に所定値を加算して(第4
図のステップ321)、第2階層以下の各階層から成る
新パターンを作成した場合を示す。更に、(ハ)は、第
3階層管理部の現在値に所定値を加算して(第4図のス
テップ413)、新パターンを作成した場合を示す。(a) shows a case where a predetermined value is added to the current value of the first layer management section (step 421 in FIG. 4) to create a new pattern consisting of each layer below the first layer. Also, (b)
Adds a predetermined value to the current value of the second layer management section (fourth layer management section).
Step 321) in the figure shows the case where a new pattern consisting of each layer below the second layer is created. Furthermore, (c) shows the case where a new pattern is created by adding a predetermined value to the current value of the third layer management section (step 413 in FIG. 4).
U1例−0)J、=≦屹
このように、データベース231を構築する際には、最
小限必要な基本パターンのみを作成しておき、データの
取得の必要が生じたときに、第1階層、第2階層あるい
は第3階層の何れかを更新し、それに続く各階層から成
る新パターンを作成する。U1 example - 0) J,=≦屹In this way, when constructing the database 231, only the minimum necessary basic patterns are created, and when it becomes necessary to acquire data, the first layer , either the second layer or the third layer is updated, and a new pattern consisting of each subsequent layer is created.
従って、データベース構築の手間が低減できると共に5
.不要なデータ領域を確保しておく必要もなく、データ
ベースの管理効率を上げることができる。Therefore, the effort required to construct a database can be reduced and
.. There is no need to reserve unnecessary data areas, and database management efficiency can be improved.
また、管理するデータ量が少ないことにより、目的とす
るデータのアクセス時間を短縮できる効果もある。Furthermore, since the amount of data to be managed is small, the access time for the target data can be shortened.
V−jIWq変」〜様。V-jIWqhen”~.
なお、rl、実施例と第1図との対応関係jにおいて、
本発明と実施例との対応関係を説明しておいたが、これ
に限られることはなく、本発明には各種の変形態様があ
ることは当業者であれば容易に推考できるであろう。In addition, in rl, the correspondence relationship j between the example and FIG. 1,
Although the correspondence between the present invention and the embodiments has been described, those skilled in the art will easily assume that the present invention is not limited to this and that there are various modifications.
上述したように、本発明によれば、データベースの構築
時に最小限の領域を確保し、必要に応じて各階層のレコ
ードを作成していくことにより、管理効率を上げること
ができるので、実用的には極めて有用である。As described above, according to the present invention, it is possible to improve management efficiency by securing a minimum amount of space when constructing a database and creating records for each hierarchy as necessary, which makes it possible to improve management efficiency. It is extremely useful.
第1図は本発明のデータベースのレコード管理方式の原
理ブロフク図、
第2図は本発明のデータベースのレコード管理方式を適
用した一実施例の構成図、
第3図は実施例の管理レコードの説明図、第4図は実施
例の動作説明図、
第5図は実施例のデータ取得の説明図、第6図は従来例
の説明図、
第7図は従来例の説明図である。
図において、
111はデータベース、
121は検索手段、
131はパターン作成手段、
211はCPIJ、
221はメモリ、
223はデータベース管理プログラム、231はデータ
ベース、
233はチャネル装置、
241はデイスプレィ、
243はキーボード、
245はプリンタ、
247はチャネル装置である。
、f−発B月/)乃巨!プロlり図
第
■
図
寛り邑)刈り臂工児レコード4克明図
、第 3 図
(イン
rり邑(四のテ′−7Hス了4=)み免1j月1図第5
図Figure 1 is a basic diagram of the database record management system of the present invention. Figure 2 is a block diagram of an embodiment to which the database record management system of the present invention is applied. Figure 3 is an explanation of management records in the embodiment. 4 is an explanatory diagram of the operation of the embodiment, FIG. 5 is an explanatory diagram of data acquisition in the embodiment, FIG. 6 is an explanatory diagram of the conventional example, and FIG. 7 is an explanatory diagram of the conventional example. In the figure, 111 is a database, 121 is a search means, 131 is a pattern creation means, 211 is a CPIJ, 221 is a memory, 223 is a database management program, 231 is a database, 233 is a channel device, 241 is a display, 243 is a keyboard, 245 is a printer, and 247 is a channel device. , f-departure B month/) no giant! Professional Map No. ■ Figure Kariuri-mura) Kariwa Koji Record 4 Katsuaki Map, Figure 3 (Inruri-eup (4th Te'-7H 4 =) Miman 1J Month 1 Figure 5
figure
Claims (1)
に対応したレコードに基づいて最下位階層のレコードの
アクセスを行なうデータベースのレコード管理方式にお
いて、 各階層の該当部分を指定するためのキー部と、各階層の
使用状況を管理するための管理部とを含む複数の前記レ
コードを格納するデータベース(111)と、 前記データベース(111)の該当する階層をアクセス
し、前記レコード内の管理部に基づいて該当するキー部
を有するレコードの検索を行なう検索手段(121)と
、 前記検索手段(121)による検索の結果、該当するレ
コードが存在しないときに、前記該当する階層以下の各
階層に対応した前記レコードを発生させるパターン作成
手段(131)と、 を備えるように構成したことを特徴とするデータベース
のレコード管理方式。(1) In a record management system for a database that has a hierarchical structure and accesses records in the lowest hierarchy based on records corresponding to each of one or more upper hierarchies, there is a method for specifying the relevant part of each hierarchy. a database (111) that stores a plurality of the records including a key part and a management part for managing the usage status of each hierarchy; a search means (121) for searching for a record having a corresponding key part based on the part; and when a corresponding record does not exist as a result of the search by the search means (121), each hierarchy below the corresponding hierarchy; A record management system for a database, characterized in that it is configured to include: pattern creation means (131) for generating the record corresponding to the above.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63237378A JPH0283638A (en) | 1988-09-20 | 1988-09-20 | Data base record managing system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63237378A JPH0283638A (en) | 1988-09-20 | 1988-09-20 | Data base record managing system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0283638A true JPH0283638A (en) | 1990-03-23 |
Family
ID=17014501
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP63237378A Pending JPH0283638A (en) | 1988-09-20 | 1988-09-20 | Data base record managing system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0283638A (en) |
Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS6065352A (en) * | 1983-09-19 | 1985-04-15 | Nec Corp | Method and device for statistic data base processing |
-
1988
- 1988-09-20 JP JP63237378A patent/JPH0283638A/en active Pending
Patent Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS6065352A (en) * | 1983-09-19 | 1985-04-15 | Nec Corp | Method and device for statistic data base processing |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| Stonebraker et al. | The Postgres rule manager | |
| JP2510945B2 (en) | A query optimization support method from a relational database management system. | |
| AU2005225020B2 (en) | Complex data access | |
| JPH0358249A (en) | Access method of file | |
| JP5033322B2 (en) | Information management method and apparatus using connection relation information | |
| JP3484440B2 (en) | Distributed database update method | |
| JP2643811B2 (en) | Database reorganization method | |
| JP3289054B2 (en) | File validity period management method and data processing device | |
| JPH02287730A (en) | History control system | |
| JP2004126680A (en) | SQL concealed database access method and computer program | |
| JPH041836A (en) | Data base controller | |
| JPH0969112A (en) | Intelligent estate information management system | |
| JP3980326B2 (en) | Data management method and computer-readable recording medium | |
| JPS6058492B2 (en) | Database search method | |
| JP2658097B2 (en) | Secondary file creation method | |
| JPH01282634A (en) | Data base device | |
| JPH09167167A (en) | Object Retrieval Method in Object-Oriented Database | |
| JPH02278439A (en) | Data control system for draw | |
| JPH11110265A (en) | Information processing device | |
| JPH02178854A (en) | Range division managing system | |
| JPS62163156A (en) | Control system for access of data set | |
| JPH02253451A (en) | Data base managing system | |
| JPH0476744A (en) | Computer system with shared memory table recovering function | |
| JPH04333142A (en) | Exclusive control system | |
| JPH04314129A (en) | File managing system |