JPH04318673A - Split indexing/retrieving system - Google Patents

Split indexing/retrieving system

Info

Publication number
JPH04318673A
JPH04318673A JP3110840A JP11084091A JPH04318673A JP H04318673 A JPH04318673 A JP H04318673A JP 3110840 A JP3110840 A JP 3110840A JP 11084091 A JP11084091 A JP 11084091A JP H04318673 A JPH04318673 A JP H04318673A
Authority
JP
Japan
Prior art keywords
range
record
index
unit
storage
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
JP3110840A
Other languages
Japanese (ja)
Inventor
Nobue Katabami
方波見 伸江
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.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP3110840A priority Critical patent/JPH04318673A/en
Publication of JPH04318673A publication Critical patent/JPH04318673A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To provide an index sequential access method in a record split storage system for data base. CONSTITUTION:To records that are splitted in a certain unit of storage in accordance with a record split rule, a keyword analysing means 1 for extracting a specified condition from an application program, a range information extracting means 2 for reading specified definition information, a range unit retrieving means 3 for executing retrieval for each unit of storage, a bit map connecting means 4 for carrying out inspection of storage unit, and a retrieval instruction executing means 5 for retrieving the optimum record are applied to obtain an object record, thereby being able to access records in unit of table or unit of storage in order of index in a split storage system.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、電子計算機システムに
於けるデータベースのファイル管理システムの分割方式
制御に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to control of the division method of a database file management system in an electronic computer system.

【0002】0002

【従来の技術】従来の分割格納方式では、レコードのあ
る項目の値に対して格納する単位が決定され、索引もま
たその項目の値により格納単位が決定される。そのこと
により、索引順の処理は格納単位内部で閉じている。
2. Description of the Related Art In the conventional divided storage method, the storage unit is determined for the value of a certain item in a record, and the storage unit for an index is also determined based on the value of that item. Thereby, index-order processing is closed within the storage unit.

【0003】上述した従来の方法では、索引順の処理は
、レコードが格納された格納単位を指定して実行し、検
索される順序は格納単位内での索引順である。格納単位
分割した項目の値とは無関係に、表全体を通して又は特
定の格納単位内での索引順処理が不可能であるという欠
点がある。
In the conventional method described above, index order processing is performed by specifying a storage unit in which records are stored, and the search order is the index order within the storage unit. A drawback is that index-order processing is not possible throughout the table or within a particular storage unit, regardless of the values of the items that are partitioned into storage units.

【0004】従来の方法で、表全体で索引順に処理する
為には、応用プログラム内で格納単位別に検索命令を実
行し、検索結果の各レコードを比較して目的とするレコ
ードを採取しなければならず、処理が複雑化してしまう
[0004] In the conventional method, in order to process the entire table in index order, the application program must execute a search command for each storage unit and compare each record in the search results to extract the desired record. Otherwise, the processing becomes complicated.

【0005】[0005]

【発明が解決しようとする課題】本発明はデータベース
におけるレコード分割格納方式での索引順アクセス方式
を提供することを目的とする。
SUMMARY OF THE INVENTION It is an object of the present invention to provide an index order access method using a record division storage method in a database.

【0006】[0006]

【課題を解決するための手段】本発明に従って、特定の
レコードの様式を持ったレコードの集合を表として表現
し、1つないしは2つ以上の項目を結合して索引として
表現し、ある特定の規則でレコードを複数の格納単位に
分割し格納して保持するファイル管理システムにおいて
、応用プログラムで指定された命令を解析するキーワー
ド解析手段と、応用プログラムで指定されたレンジ定義
情報を定義情報記憶装置から読み込むレンジ情報採取手
段と、前記キーワード解析手段で決定された格納単位に
対して検索を行うレンジ単位検索手段と、前記レンジ情
報採取手段で得た情報から格納単位の検査を行うビット
マップ結合手段と、前記ビットマップ結合手段から応用
プログラムの要求する最適なレコードを検索する検索命
令実行手段とを有する分割索引検索方式が提供される。
[Means for Solving the Problems] According to the present invention, a set of records having a specific record format is expressed as a table, one or more items are combined and expressed as an index, and a certain In a file management system that divides and stores records into multiple storage units according to the rules of range information collection means for reading from the device; range unit search means for searching the storage unit determined by the keyword analysis means; and bitmap combination for inspecting the storage unit from the information obtained by the range information collection means. and search command execution means for searching the bitmap combination means for an optimal record required by an application program.

【0007】[0007]

【実施例】次に、本発明について図面を参照して説明す
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be explained with reference to the drawings.

【0008】本実施例では、レコードの格納単位をレン
ジとして表現する。
In this embodiment, the record storage unit is expressed as a range.

【0009】図1を参照すると、本発明の一実施例はキ
ーワード解析手段1と、レンジ情報採取手段2と、レン
ジ単位検索手段3と、ビットマップ結合手段4と、検索
命令実行手段5と、定義情報記憶装置6と、ワーク領域
7と、データベースファイル群8から構成される。図2
は、キーワード解析手段1と、表情報採取手段2との詳
細な処理の流れである。
Referring to FIG. 1, one embodiment of the present invention includes keyword analysis means 1, range information collection means 2, range unit search means 3, bitmap combination means 4, search command execution means 5, It consists of a definition information storage device 6, a work area 7, and a database file group 8. Figure 2
1 is a detailed flow of processing performed by the keyword analysis means 1 and the table information collection means 2.

【0010】図3は、レンジ単位検索手段3と、ビット
マップ結合手段4と、検索命令実行手段5との詳細な処
理の流れである。
FIG. 3 shows the detailed processing flow of the range unit search means 3, the bitmap combination means 4, and the search command execution means 5.

【0011】最初に図2を使用して説明する。First, explanation will be given using FIG. 2.

【0012】キーワード解析手段1は、応用プログラム
21が起動され、表をオープンした時点で定義情報記憶
装置6から表情報レコード22を読み出す。次に検索命
令が実行された際に、パラメータを解析し、RANGE
が指定されたかどうかを検査する。RANGEパラメー
タが指定されていれば、指定されたレンジ番号を取り出
して、レンジ情報採取手段2を起動して処理を終了する
The keyword analysis means 1 reads the table information record 22 from the definition information storage device 6 when the application program 21 is activated and a table is opened. Next time the search command is executed, the parameters are analyzed and the RANGE
Checks if is specified. If the RANGE parameter is specified, the specified range number is retrieved, the range information collection means 2 is activated, and the process ends.

【0013】レンジ情報採取手段2は、まずオープンし
ている表の表情報レコードからその表のレンジ分割情報
レコード23を定義情報記憶装置6から読み出す。表が
レンジ分割していなければ、RANGEパラメータの有
無にかかわらず、処理を終了する。表がレンジ分割し、
且つキーワード解析手段1でレンジ番号を採取した場合
は、レンジ分割情報レコード23のレコード格納レンジ
番号24から、キーワード解析手段で得たレンジ番号を
読み出す。レンジ番号が未定義、又は使用禁止ならば処
理を中止する。レンジ番号が定義され、且つ使用可能な
らば、指定されたレンジ番号に対応する索引レンジ番号
25をレンジ索引情報レコード26の索引レンジ番号2
7に入力し、次のレンジ番号を採取する。全レンジ検査
終了したならば、レンジ数部28に対象の索引レンジ数
を入力して、レンジ単位検索手段3を起動する。レンジ
番号として“ALL”が指定されていれば、レンジ索引
情報レコード26には、指定された索引の全レンジ番号
とレンジ数を入力する。その際に、レコード又は索引格
納レンジで使用禁止のものがあれば、それを除く。表が
レンジ分割していて、RANGEパラメータが指定され
ていなければ、レンジ番号として“ALL”が指定され
たとして動作する。各情報を入力後、レンジ単位検索手
段3を起動して処理を終了する。
The range information collecting means 2 first reads the range division information record 23 of the open table from the table information record of the table from the definition information storage device 6. If the table is not range-divided, the process ends regardless of the presence or absence of the RANGE parameter. The table is divided into ranges,
Further, when the range number is collected by the keyword analysis means 1, the range number obtained by the keyword analysis means is read from the record storage range number 24 of the range division information record 23. If the range number is undefined or prohibited from use, the process is stopped. If the range number is defined and available, the index range number 25 corresponding to the specified range number is set to index range number 2 of the range index information record 26.
7 and collect the next range number. When all range tests are completed, the target index range number is input into the range number section 28, and the range unit search means 3 is activated. If "ALL" is specified as the range number, all range numbers and range numbers of the specified index are input into the range index information record 26. At that time, if there are records or index storage ranges that are prohibited from use, they are removed. If the table is divided into ranges and the RANGE parameter is not specified, the operation is performed as if "ALL" was specified as the range number. After inputting each piece of information, the range unit search means 3 is activated to complete the process.

【0014】次に、図3を使用して説明する。Next, explanation will be made using FIG. 3.

【0015】レンジ単位検索手段3は、レンジ索引情報
レコード26の先頭索引レンジ27から、指定された値
のレコードのアドレス番号ビットマップ形式で読み出す
。そのアドレス番号からキーワード解析手段1で採取し
ていないレンジに格納されているレコードを探し、該当
レコードがあれば、索引のアドレス番号をビットマップ
レコード31上OFFにする。ビットマップ上のアドレ
ス番号を全て検査したならば、レンジ索引情報レコード
26のレンジ数28をカウントダウンする。レンジ数が
0になれば、検索命令実行手段5を起動し、それ以外は
ビットマップ結合手段4を起動する。
The range unit search means 3 reads out the address number of the record of the specified value from the first index range 27 of the range index information record 26 in bitmap format. From the address number, the keyword analysis means 1 searches for a record stored in a range that has not been collected, and if a corresponding record is found, the address number of the index is turned OFF on the bitmap record 31. After all address numbers on the bitmap have been checked, the number of ranges 28 in the range index information record 26 is counted down. When the number of ranges becomes 0, the search command execution means 5 is activated, and otherwise the bitmap combination means 4 is activated.

【0016】ビットマップ結合手段4は、レンジ単位検
索手段3と同様に次の索引レンジから指定された値のビ
ットマップレコード31を作成し、レンジ番号の検査を
行い目的のビットマップを作成する。レンジ単位検索手
段3で、直前に作成されたビットマップとを結合する。 また、次の索引レンジを処理し、全索引レンジ終了すれ
ば、索引命令検索手段5を起動して処理を終了する。
Similar to the range unit search means 3, the bitmap combining means 4 creates a bitmap record 31 of the specified value from the next index range, checks the range number, and creates the target bitmap. The range unit search means 3 combines the bitmap created immediately before. Furthermore, when the next index range is processed and all index ranges are completed, the index command search means 5 is activated and the processing is completed.

【0017】検索命令実行手段5は、前手段で得たビッ
トマップから、目的とするレコードを従来の検索命令を
実行して得る。
The search command execution means 5 obtains a target record from the bitmap obtained by the previous means by executing a conventional search command.

【0018】[0018]

【発明の効果】以上説明したように本発明は、分割格納
方式のシステムに於いての索引検索命令で、プログラム
から格納単位番号を指定することにより、指定領域の中
での索引順の処理を可能とするものである。本発明によ
り、格納単位、又は表全体を通しての検索が出来、分割
格納方式の特性を生かしながら、多種多様なアクセス経
路を保証したものである。
Effects of the Invention As explained above, the present invention allows processing of index order within a specified area by specifying a storage unit number from a program with an index search command in a divided storage system. It makes it possible. According to the present invention, it is possible to search through a storage unit or the entire table, and while taking advantage of the characteristics of the divided storage method, a wide variety of access routes are guaranteed.

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

【図1】本発明の一実施例を示す図[Fig. 1] A diagram showing an embodiment of the present invention.

【図2】索引分割検索方式の処理の流れ図[Figure 2] Flowchart of processing of index split search method

【図3】索引
分割検索方式の処理の流れ図
[Figure 3] Flowchart of processing of index split search method

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

1    キーワード解析手段 2    レンジ情報採取手段 3    レンジ単位検索手段 4    ビットマップ結合手段 5    検索命令実行手段 6    定義情報記憶装置 7    ワーク領域 8    データベースファイル群 21    応用プログラム 22    表情報レコード 23    レンジ分割情報レコード 24    レコードレンジ番号 25    索引レンジ番号 26    レンジ索引情報レコード 27    索引レンジ番号 28    レンジ数 31    ビットマップレコード 1 Keyword analysis means 2 Range information collection means 3 Range unit search means 4 Bitmap combination means 5 Search command execution means 6 Definition information storage device 7 Work area 8 Database file group 21 Application program 22 Table information record 23 Range division information record 24 Record range number 25 Index range number 26 Range index information record 27 Index range number 28 Number of ranges 31 Bitmap record

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  特定のレコード様式を持ったレコード
の集合を表として表現し、1つないしは2つ以上の項目
を結合して索引として表現し、ある特定の規則でレコー
ドを複数の格納単位に分割し格納して保持するファイル
管理システムにおいて、応用プログラムで指定された命
令を解析するキーワード解析手段と、応用プログラムで
指定されたレンジ定義情報を定義情報記憶装置から読み
込むレンジ情報採取手段と、前記キーワード解析手段で
決定された格納単位に対して検索を行うレンジ単位検索
手段と、前記レンジ情報採取手段で得た情報から格納単
位の検査を行うビットマップ結合手段と、前記ビットマ
ップ結合手段から応用プログラムの要求する最適なレコ
ードを検索する検索命令実行手段とを有する分割索引検
索方式。
[Claim 1] A set of records with a specific record format is expressed as a table, one or more items are combined and expressed as an index, and the records are divided into multiple storage units according to a specific rule. In a file management system that divides and stores and holds the file, the keyword analysis means analyzes instructions specified by an application program, the range information collection means reads range definition information specified by the application program from a definition information storage device, A range unit search means for searching the storage unit determined by the keyword analysis means, a bitmap combination means for examining the storage unit from the information obtained by the range information collection means, and from the bitmap combination means. A split index search method comprising a search command execution means for searching for an optimal record required by an application program.
JP3110840A 1991-04-17 1991-04-17 Split indexing/retrieving system Pending JPH04318673A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3110840A JPH04318673A (en) 1991-04-17 1991-04-17 Split indexing/retrieving system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3110840A JPH04318673A (en) 1991-04-17 1991-04-17 Split indexing/retrieving system

Publications (1)

Publication Number Publication Date
JPH04318673A true JPH04318673A (en) 1992-11-10

Family

ID=14546001

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3110840A Pending JPH04318673A (en) 1991-04-17 1991-04-17 Split indexing/retrieving system

Country Status (1)

Country Link
JP (1) JPH04318673A (en)

Similar Documents

Publication Publication Date Title
US5832476A (en) Document searching method using forward and backward citation tables
US6389412B1 (en) Method and system for constructing integrated metadata
US7814102B2 (en) Method and system for linking documents with multiple topics to related documents
KR100467638B1 (en) Method for fast searching and analyzing inter-relations between patents from a patent database
US7143086B2 (en) File search method and apparatus, and index file creation method and device
JP2001282810A (en) Automation system to manage computer drawing
JP3205406B2 (en) Reference target variable determination processing method and translation processing system
CN105653546B (en) A kind of search method and system of target topic
CN115794745A (en) File searching method, system, device and storage medium
JPH04318673A (en) Split indexing/retrieving system
JP4767389B2 (en) Logging device and recording medium
JP2001060164A5 (en)
JPS63148341A (en) Trace information analysis system for transaction processing system
KR20050034458A (en) Information search system and method for display searched information
JP2005209043A (en) Retrieval system, computer, and recording medium
CN117194656A (en) Multi-batch historical media asset data classifying and warehousing processing method
JP2724235B2 (en) Variable name inference device
JPH05158984A (en) Device for extracting character string
KR20220140321A (en) Customized document file search and search keyword-centered selection information system and drive method of the Same
JPH11161666A (en) Method and device for document data retrieval and document editing device
Schramm et al. The organization of patent databanks at the Ilmenau Institute of Technology
KR100574888B1 (en) Method for defining and using of zero weighted field in an information retrieval system
JPH02139640A (en) Investigation information output system
JPS6211746B2 (en)
JPH0667870A (en) Software analyzer