JPH0497452A - Index processing system - Google Patents
Index processing systemInfo
- Publication number
- JPH0497452A JPH0497452A JP2216068A JP21606890A JPH0497452A JP H0497452 A JPH0497452 A JP H0497452A JP 2216068 A JP2216068 A JP 2216068A JP 21606890 A JP21606890 A JP 21606890A JP H0497452 A JPH0497452 A JP H0497452A
- Authority
- JP
- Japan
- Prior art keywords
- data
- record
- index
- value
- grade
- 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
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は索引処理方式に関し、特にデータファイル上に
格納されるデータレコードに対して索弓を作成し、等紙
価もしくは分類識別値により検索を行う索引処理方式に
関する。[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to an index processing method, and in particular, a method for creating an index for data records stored in a data file and searching by paper value or classification identification value. This paper relates to an index processing method that performs.
従来、この種の索引処理方式はデータファイル上に格納
されるデータレコードに対して索引を作成し、あるデー
タ値により検索を行う索引処理方式で、等紙価により索
引処理を行う場合は第7図のように索引レコード41お
よびデータレコード44はデータレコード44内のキー
項目45の値をそのままキー値42としデータレコード
44のアドレスをポインタ値43とした索引レコード4
1を保持して、等紙価による検索処理時に第8図(a)
の等級情報を用いて検索キー値として与えられた等紙価
に対応する等級情報内の等紙価53に対する等級範囲値
−開始値51と等級範囲値−終了値52を得て、索引レ
コード41に対して等級範囲値−開始値51から等級範
囲値−終了値52までの範囲値検索処理を行い、ポイン
タ値43を得て対応するデータレコード44を読み込ん
でいた。Conventionally, this type of index processing method creates an index for data records stored on a data file and searches based on a certain data value. As shown in the figure, the index record 41 and the data record 44 are index records 4 with the value of the key item 45 in the data record 44 as the key value 42 and the address of the data record 44 as the pointer value 43.
1 is retained and the search process is performed using the same paper price as shown in Fig. 8(a).
Using the grade information of , obtain the grade range value - start value 51 and grade range value - end value 52 for the equal paper price 53 in the grade information corresponding to the equal paper price given as the search key value, and index record 41 A range value search process from a grade range value-start value 51 to a grade range value-end value 52 was performed for the pointer value 43, and the corresponding data record 44 was read.
また、分類識別値により検索を行う分類索引処理の場合
は前述と同様、第7図のように索引レコード41および
データレコード44はデータレコード44内のキー項目
45の値をそのままキー値42としデータレコード44
のアドレスをポインタ値43とした索引レコード41を
保持して、分類識別値による検索処理時に第8図(b)
の分類情報を用いて検索キー値として与えられた分類識
別値に対応する分類情報内の分類識別値153に対する
分類データ値151(一般に複数個存在する)を得て、
索引レコード41に対して分類データ値によるOR検索
処理を行い、ポインタ値43を得て対応するデータレコ
ード44を読み込んでいた。In addition, in the case of classification index processing in which a search is performed using a classification identification value, as shown in FIG. record 44
The index record 41 with the address as the pointer value 43 is held, and the search process using the classification identification value is performed as shown in FIG. 8(b).
Using the classification information, obtain the classification data value 151 (generally there is a plurality of them) for the classification identification value 153 in the classification information corresponding to the classification identification value given as the search key value,
An OR search process was performed on the index record 41 using the classification data value, a pointer value 43 was obtained, and the corresponding data record 44 was read.
上述した従来の索引処理方式のようにデータレコードの
キー項目の値を直接索引レコードのキー値とした場合、
等紙価による検索時に等紙価を等級範囲値−開始値と等
級範囲値−終了値に変換し、索引レコードに対して範囲
条件で検索する場合に取り扱う索引レコードが多くなり
、また、分類識別値による検索時に分類識別値を分類デ
ータ値(一般に複数個存在する)に変換し索引レコード
に対してOR条件で検索する場合も取り扱う索引レコー
ドが多(なる。更に、これら索引処理方式はキー項目の
更新時には必ず索引レコードを削除/格納処理を伴うた
めに処理性能面で問題が発生する等の欠点を有していた
。If the value of the key item of the data record is directly used as the key value of the index record as in the conventional index processing method described above,
When searching by equal paper value, the equal paper value is converted into grade range value - start value and grade range value - end value, and when searching index records with range conditions, the number of index records to be handled increases, and the classification identification When searching by value, the classification identification value is converted to a classification data value (generally there are multiple values), and when searching the index record with an OR condition, there are many index records that are handled. When updating, index records must be deleted/stored, resulting in problems in terms of processing performance.
本発明の索引処理方式は、等級範囲値(開始値/終了値
)とその等級範囲値に対応する等紙価とから成る等級情
報を記憶する等級情報記憶手段と、前記等級情報記憶手
段内に記憶されている前記等級情報をアクセスする等級
情報アクセス手段と、データ項目の値に対応する等紙価
を決定するために前記等級情報アクセス手段に対して等
級情報のアクセス要求を行い得た等級情報により等級を
決定する等級決定手段と、データレコードを記憶してお
(データレコード記憶手段と、前記データレコードに記
憶手段に対してデータレコードを格納するデータレコー
ド格納手段、データレコードを変更するデータレコード
変更手段、データレコードを削除するデータレコード削
除手段、データレコードを読み込むデータレコード読込
手段と、索引レコードを記憶しておく索引レコード記憶
手段と、前記索引レコード記憶手段に対して索引レコー
ドを格納する索引レコード格納手段、索引レコードを削
除する索引レコード削除手段、索引レコードを検索する
索引レコード検索手段と、データレコードから索引レコ
ードを生成し前記索引レコード格納手段を用いて前記索
引レコード記憶手段に索引レコードを格納する索引レコ
ード生成手段と、データ変更時に等級変更が必要となっ
た時に前記索引レコード生成手段および前記索引レコー
ド削除手段を用いて等級変更を行う等級変更手段と、前
記各手段を用いてデータレコード記憶手段および索引レ
コード記憶手段に対してデータを格納するデータ格納手
段、データを変更するデータ変更手段、データを削除す
るデータ削除手段、データを検索するデータ検索手段と
を含んで構成される。The index processing method of the present invention includes a grade information storage means for storing grade information consisting of a grade range value (start value/end value) and an equal paper value corresponding to the grade range value; A grade information access means for accessing the stored grade information, and grade information that can request access to the grade information to the grade information access means in order to determine the paper value corresponding to the value of the data item. a grading determining means for determining a grading, a data record storing means for storing a data record in the data record; a data record storing means for storing a data record in the data record; a changing means, a data record deleting means for deleting a data record, a data record reading means for reading a data record, an index record storage means for storing an index record, and an index for storing an index record in the index record storage means. record storage means, index record deletion means for deleting index records, index record search means for searching index records, and generating index records from data records and using said index record storage means to store index records in said index record storage means. an index record generation means for storing; a grade change means for changing the grade using the index record generation means and the index record deletion means when a grade change is required when changing data; and a grade change means for changing the grade using the index record generation means and the index record deletion means; The apparatus includes data storage means for storing data in the storage means and index record storage means, data modification means for changing data, data deletion means for deleting data, and data search means for searching data.
更に本発明の索引処理方式は、分類データ値とその分類
データ値に対応する分類識別値(あるいは分類識別値を
コード化した分類コード)とから成る分類情報を記憶す
る分類情報記憶手段と、前記分類情報記憶手段内に記憶
されている前記分類情報をアクセスする分類情報アクセ
ス手段と、データ項目の値に対応する分類識別値を決定
するために前記分類情報アクセス手段に対して分類情報
のアクセス要求を行い得た分類情報により分類を決定す
る分類識別決定手段と、データレコードを記憶しておく
データレコード記憶手段と、前記データレコードに記憶
手段に対してデータレコードを格納するデータレコード
格納手段、データレコードを変更するデータレコード変
更手段、チータレコードを削除するデータレコード削除
手段、データレコードを読み込むデータレコード読込手
段と、索引レコードを記憶しておく索引レコード記憶手
段と、前記索引レコード記憶手段に対して索引レコード
を格納する索引レコード格納手段、索引レコードを削除
する索引レコード削除手段、索引レコードを検索する索
引レコード検索手段と、データレコードから索引レコー
ドを生成し前記索引レコード格納手段を用いて前記索引
レコード記憶手段に索引レコードを格納する索引レコー
ド生成手段と、データ変更時に分類変更か必要となった
時に前記索引レコード生成手段および前記索引レコード
削除手段を用いて分類変更を行う分類変更手段と、前記
各手段を用いてデータレコード記憶手段および索引レコ
ード記憶手段に対してデータを格納するデータ格納手段
、データを変更するデータ変更手段、データを削除する
データ削除手段、データを検索するデータ検索手段とを
含んで構成される。Furthermore, the index processing method of the present invention includes a classification information storage means for storing classification information consisting of a classification data value and a classification identification value (or a classification code obtained by encoding the classification identification value) corresponding to the classification data value; A classification information access means for accessing the classification information stored in the classification information storage means, and a classification information access request to the classification information access means for determining a classification identification value corresponding to a value of a data item. classification identification determining means for determining the classification based on the classification information obtained through the process; data record storage means for storing data records; data record storage means for storing data records in the data record; data record changing means for changing records, data record deleting means for deleting cheetah records, data record reading means for reading data records, index record storage means for storing index records, and for the index record storage means. An index record storage means for storing an index record, an index record deletion means for deleting an index record, an index record search means for searching an index record, and an index record generating means for generating an index record from a data record and using the index record storage means to delete the index record. an index record generating means for storing index records in a storage means; a classification changing means for changing the classification using the index record generating means and the index record deleting means when a classification change becomes necessary when data is changed; a data storage means for storing data in the data record storage means and the index record storage means using means; a data changing means for changing the data; a data deletion means for deleting the data; and a data retrieval means for searching the data. Consists of.
次に、本発明の一実施例にpいて図面を参照して説明す
る。Next, one embodiment of the present invention will be described with reference to the drawings.
第1図は、本発明の一実施例を示し、第2図は等級情報
の一例を示し、第3図はデータレコード形式および索引
レコード形式の一例を示す。第1図〜第3図において、
本発明の一実施例はデータレコードを記憶しておくデー
タレコード記憶手段7と、索引レコードを記憶しておく
索引レコード記憶手段6と、データレコード記憶手段7
および索引レコード記憶手段6に対してデータを格納す
るデータ格納手段1、データを変更するデータ変更手段
2、データを削除するデータ削除手段3、およびデータ
を検索するデータ検索手段4とを含み、データファイル
上に格納されているデータレコード内のデータ項目の値
をキー値としデータレコードの格納アドレスをポインタ
とした索引レコードを索引ファイルに保持した索引ファ
イルを用いて、索引レコードのキー値となっているデー
タ値を元に予め設定されている等級により検索を行う索
引処理方式で、等縁範囲値(開始値/終了値)51.5
2とその等縁範囲値に対応する等級値とから成る等級情
報を記憶する等級情報記憶手段5と、等級情報記憶十段
5内に記憶されている等級情報をアクセスする等級情報
アクセス手段9と、データ項目の値に対応する等級値を
決定するために等級情報アクセス手段9に対して等級情
報のアクセス要求を行い得た等級情報により等級を決定
する等級決定手段8と、データレコード記憶手段7に対
してデータレコードを格納するデータレコード格納手段
10、データレコードを変更すルテータレコード変更手
段11、データレコードを削除するデータレコード削除
手段12、およびデータレコードを読み込むデータレコ
ード読込手段13と、索引レコード記憶手段6対して索
引レコードを格納する索引レコード格納手段14、索引
レコードを削除する索引レコード削除手段15、および
索引レコードを検索する索引レコード検索手段18と、
データレコードがら索引レコードを生成し前記索引レコ
ード格納手段を用いて索引レコード記憶手段6に索引レ
コードを格納する索引レコード生成手段15と、データ
変更時に等級変更が必要となった時に索引レコード生成
手段15および索引レコード削除手段17を用いて等級
変更を行う等級変更手段と16とを有している。FIG. 1 shows an embodiment of the present invention, FIG. 2 shows an example of grade information, and FIG. 3 shows an example of a data record format and an index record format. In Figures 1 to 3,
One embodiment of the present invention includes data record storage means 7 for storing data records, index record storage means 6 for storing index records, and data record storage means 7 for storing index records.
and index record storage means 6, including data storage means 1 for storing data, data changing means 2 for changing data, data deletion means 3 for deleting data, and data retrieval means 4 for searching data. Using an index file that stores an index record in which the value of a data item in a data record stored on a file is used as a key value and the storage address of the data record is used as a pointer, the key value of the index record is This is an index processing method that searches according to a preset grade based on the data value, and the equi-edge range value (start value / end value) is 51.5.
a grade information storage means 5 for storing grade information consisting of 2 and a grade value corresponding to the equimarginal range value, and a grade information access means 9 for accessing grade information stored in the grade information storage 10 stage 5. , a grade determining means 8 that determines a grade based on the grade information obtained by making a grade information access request to the grade information access means 9 in order to determine a grade value corresponding to the value of the data item, and a data record storage means 7 a data record storage means 10 for storing data records, a router record changing means 11 for changing data records, a data record deletion means 12 for deleting data records, a data record reading means 13 for reading data records, and an index. An index record storage means 14 for storing index records in the record storage means 6, an index record deletion means 15 for deleting index records, and an index record search means 18 for searching for index records;
an index record generation means 15 that generates an index record from data records and stores the index record in the index record storage means 6 using the index record storage means; and an index record generation means 15 when a grade change is required at the time of data change. and a grade change means 16 for changing the grade using the index record deletion means 17.
次に、本発明の一実施例の各処理を第2図および第3図
を用いて具体的に説明する。Next, each process of an embodiment of the present invention will be specifically explained using FIGS. 2 and 3.
a、データ格納処理
データ格納手段1は、データレコード記憶手段7に記憶
するデータレコード71内のキー項目73の値(24才
)に対する等級値(20代)を得るために等級決定手段
8を起動する。a. Data storage processing The data storage means 1 activates the grade determination means 8 in order to obtain the grade value (20s) for the value of the key item 73 (24 years old) in the data record 71 stored in the data record storage means 7. do.
データ格納手段1により起動された等級決定手段8は、
データレコード記憶手段7に記憶するデータレコード7
1内のキー項目73の値(24才)を元に等級情報アク
セス手段9を用いて等級情報記憶手段5内に記憶されて
いる等縁範囲値−開始値(第2図10才)51および等
縁範囲値−終了値(第2図19才)52をアクセスして
データレコード記憶手段7に記憶するデータレコード7
1内のキー項目73の値(24才)に対応する等級値(
20代)53を決定し、決定した等級値(20代)53
をデータ格納手段1に返却する。The grading means 8 activated by the data storage means 1:
Data record 7 stored in data record storage means 7
Based on the value of the key item 73 (24 years old) in 1, using the grade information access means 9, the equi-edge range value-start value (10 years old in FIG. 2) 51 and stored in the grade information storage means 5 is calculated. Data record 7 for accessing equi-edge range value-end value (FIG. 2 19 years) 52 and storing it in data record storage means 7
The grade value (24 years old) corresponding to the value of key item 73 in 1 (
20s) 53 is determined, and the determined grade value (20s) 53
is returned to the data storage means 1.
データ格納手段1は、等級決定手段8がら返却された等
級値(20代)53を格納するデータレコード71内の
等級値(20代)72に設定し、そのデータレコード7
1をデータレコード格納手段10を起動してデータレコ
ード記憶手段7に記憶する。The data storage means 1 sets the grade value (20s) 53 returned from the grade determination means 8 to the grade value (20s) 72 in the data record 71 that stores the data record 7
1 is started in the data record storage means 10 and stored in the data record storage means 7.
このときデータレコード格納手段10は、記憶したデー
タレコード71のデータレコード記憶手段7内のアドレ
スをデータ格納手段1に返却する。At this time, the data record storage means 10 returns the address in the data record storage means 7 of the stored data record 71 to the data storage means 1.
データ格納手段1は、次に索引レコード61を索引レコ
ード記憶手段6に記憶するために索引レコード生成手段
15を起動する。The data storage means 1 then activates the index record generation means 15 in order to store the index record 61 in the index record storage means 6.
データ格納手段1により起動された索引レコード生成手
段15は、データレコード格納手段1゜により返却され
たデータレコード71のデータレコード記憶手段7内の
アドレスをポインタ値63として、等級決定手段8によ
り返却されたキー項目73の値(24才)に対応する等
級値(20代)53をキー値(20才)として索引レコ
ード61を生成して索引レコード格納手段14を用いて
索引レコード記憶手段6内に生成した索引レコード61
を記憶する。The index record generation means 15 activated by the data storage means 1 uses the address in the data record storage means 7 of the data record 71 returned by the data record storage means 1 as a pointer value 63, and returns it by the grade determination means 8. An index record 61 is generated using the grade value (20s) 53 corresponding to the value of the key item 73 (24 years old) as a key value (20 years old), and is stored in the index record storage means 6 using the index record storage means 14. Generated index record 61
remember.
b、データ変更処理
データ変更手段♀は、変更するデータレコード71内の
キー項目73の値(24才)を変更する場合には等級決
定手段8を起動する。b. Data change process The data change means ♀ starts the grade determination means 8 when changing the value (24 years old) of the key item 73 in the data record 71 to be changed.
データ変更手段2により起動された等級状定手段8は、
データ変更手段2より与えられた変更後のキー項目73
の値(24才)を元に等級情報アクセス手段9を用いて
等級情報記憶手段5内に記憶されている等縁範囲値−開
始値(10才)51および等縁範囲値−終了値(19才
)52をアクセスして変更後のキー項目73の値(36
オ)に対応する変更後の等級値(30代)53を決定し
、決定した変更後の等級値(30代)53をデータ変更
手段2に返却する。The grade determining means 8 activated by the data changing means 2,
Key item 73 after change given by data change means 2
Based on the value (24 years old), the grade information access means 9 is used to calculate the equi-margin range value - start value (10 years old) 51 and the equi-margin range value - end value (19) stored in the grade information storage means 5. ) 52 and change the value of key item 73 (36
A modified grade value (30's) 53 corresponding to e) is determined, and the determined modified grade value (30's) 53 is returned to the data changing means 2.
データ変更手段2は、等級決定手段8から返却された変
更後のキー項目73の値(36オ)に対応する変更後の
等級値(30代)53を変更するデータレコード71内
の等級値(30代)72に設定し直し、変更するデータ
レコード71をデータレコード変更手段11を起動して
データレコード記憶手段7に記憶されているデータレコ
ード71を変更する。The data change means 2 changes the grade value (30s) 53 in the data record 71 that corresponds to the value (36 o) of the changed key item 73 returned from the grade determination means 8. 30's) 72, start the data record changing means 11, and change the data record 71 stored in the data record storage means 7.
データ変更手段2は、データレコード71内のキー項目
73の値(36オ)を変更し、かつ、変更前の等級値(
20代)72と変更後の等級値(30代)53とが異な
っている場合には等級変更手段16を起動する。The data changing means 2 changes the value (36o) of the key item 73 in the data record 71, and also changes the grade value (36o) before the change.
If the grade value (20s) 72 is different from the changed grade value (30s) 53, the grade change means 16 is activated.
データ変更手段2により起動された等級変更手段16は
、変更前の等級値(20代)72と変更したデータレコ
ード71に対するデータレコード記憶手段7内のアドレ
スとにより索引レコード削除手段17を用いて索引レコ
ード記憶手段6内に記憶されている索引レコード61を
削除する。The grade change means 16 started by the data change means 2 uses the index record deletion means 17 to index the grade value (20s) 72 before the change and the address in the data record storage means 7 for the changed data record 71. The index record 61 stored in the record storage means 6 is deleted.
等級変更手段16は、次に変更後の等級値(30代)5
3と変更したデータレコード71に対するデータレコー
ド記憶手段7内のアドレスとにより索引レコード生成手
段17を用いて変更したデータレコード71のデータレ
コード記憶手段7内のアドレスをポインタ値63とし、
変更後の等級値(30代)53をキー値とした索引レコ
ード61を生成する。The grade change means 16 then changes the grade value (30s) 5
3 and the address in the data record storage means 7 for the changed data record 71 using the index record generation means 17 to set the address in the data record storage means 7 of the changed data record 71 as a pointer value 63,
An index record 61 is generated using the changed grade value (30s) 53 as a key value.
索引レコード生成手段17は、更に索引レコード格納手
段14を用いて索引レコード記憶手段6内に生成した索
引レコード61を記憶する。The index record generation means 17 further uses the index record storage means 14 to store the generated index record 61 in the index record storage means 6.
C,データ削除処理
データ削除手段3は、削除するデータレコード71をデ
ータレコード削除手段12を起動してデータレコード記
憶手段7に記憶されているデータレコード71を削除す
る。C. Data deletion process The data deletion means 3 activates the data record deletion means 12 to delete the data record 71 stored in the data record storage means 7.
このときデータレコード削除手段12は、削除したデー
タレコード7エ内の等級値(20代)72(!:削除し
たデータレコード7エに対するデータレコード記憶手段
7内のアドレスとをデータ削除手段3に返却する。At this time, the data record deletion means 12 returns the grade value (20s) 72 (!: address in the data record storage means 7 for the deleted data record 7e) to the data deletion means 3. do.
データ削除手段2は、更に索引レコード記憶手段6から
削除したデータレコード71に対する索引レコード61
を削除するために索引レコード削除手段17を起動する
。The data deletion means 2 further includes an index record 61 for the data record 71 deleted from the index record storage means 6.
The index record deletion means 17 is activated in order to delete the index record.
データ削除手段3により起動された索引レコード削除手
段17は、データレコード削除手段12により返却され
た削除したデータレコード71内の等級値(20代)7
2と削除したデータレコード71に対スるデータレコー
ド記憶手段7内のアドレスとにより索引レコード削除手
段17を用いて索引レコード記憶手段6内の記憶されて
いる削除したデータレコード71に対応する索引レコー
ド61を削除する。The index record deletion means 17 activated by the data deletion means 3 deletes the grade value (20s) 7 in the deleted data record 71 returned by the data record deletion means 12.
2 and the address in the data record storage means 7 corresponding to the deleted data record 71. Using the index record deletion means 17, the index record corresponding to the deleted data record 71 stored in the index record storage means 6 is deleted. Delete 61.
d、データ検索処理
データ検索手段4は、検索キー値として与えられた等級
値(たとえば30代)に対応するデータレコード71の
索引レコード記憶手段6内のアドレスを得るために索引
レコード検索手段18を起動する。d. Data retrieval process The data retrieval means 4 uses the index record retrieval means 18 to obtain the address in the index record storage means 6 of the data record 71 corresponding to the grade value (for example, 30s) given as the retrieval key value. to start.
データ検索手段4により起動された索引レコード検索手
段18は、データ検索手段4から与えられた検索キー値
としての等級値(30代)を検索キーとして検索レコー
ド記憶手段6内に記憶されている索引レコード61を検
索し、検索キー値きしての等級値(30代)に対応した
索引レコード61内のポインタ値63からデータレコー
ド記憶手段7内に記憶されているデータレコード71の
アドレス(一般にこのアドレスは、複数存在する)を得
てデータ検索手段4に返却する。The index record search means 18 started by the data search means 4 searches the index stored in the search record storage means 6 using the grade value (30s) as a search key value given from the data search means 4 as a search key. The record 61 is searched, and the address of the data record 71 stored in the data record storage means 7 (generally, this (There are multiple addresses) is obtained and returned to the data search means 4.
データ検索手段4は、次に検索キー値としての等級値(
30代)に対応したデータレコード71を読み込むため
にデータレコード読込手段13を起動する。The data search means 4 then uses the grade value (
The data record reading means 13 is activated to read the data record 71 corresponding to the person in his/her thirties.
データ検索手段4により起動されたデータレコード読込
手段13は、索引レコード検索手段18により得た等級
値(30代)に対応したデータレコード記憶手段7内に
記憶されているデータレコード71のアドレス(一般に
このアドレスは、複数存在する)を元にデータレコード
記憶手段7からアドレスに対応するデータレコード71
を読み込む。この動作を索引レコード検索手段18によ
り得た等級値(30代)に対応したデータレコード記憶
手段7内に記憶されているデータレコード71のアドレ
スの個数回繰り返し、検索キー値としての等級値(30
代)に対応するデータレコード71を全て読み込む。The data record reading means 13 started by the data retrieval means 4 reads the address (generally This address is stored in the data record storage means 7 based on the data record 71 corresponding to the address.
Load. This operation is repeated as many times as the address of the data record 71 stored in the data record storage means 7 corresponding to the grade value (30s) obtained by the index record search means 18, and the grade value (30s) is used as the search key value.
All data records 71 corresponding to
次に、本発明の他の実施例について説明する。Next, other embodiments of the present invention will be described.
第4図は、本発明の他の実施例を示し、第5図は分類情
報の一例を示し、第6図はデータレコード形式および索
引レコード形式の一例を示す。第4図〜第6図において
、本発明の他の実施例は、データレコードを記憶してお
くデータレコード記憶手段107と、索引レコードを記
憶しておく索引レコード記憶手段106と、データレコ
ード記憶手段107および索引レコード記憶手段106
に対してデータを格納するデータ格納手段101、デー
タを変更するデータ変更手段102、データを削除する
データ削除手段103、およびデータを検索するデータ
検索手段104とを含み、データファイル上に格納され
ているデータレコード内のデータ項目の値をキー値とし
データレコードの格納アドレスをポインタとした索引レ
コードを索引ファイルに保持した索引ファイルを用いて
、索引レコードのキー値となっているデータ値を元に予
め設定されている分類により検索を行う索引処理方式で
、
分類データ値とその分類データ値に対応する分類識別値
(あるいは分類識別値をコード化した分類コード)とか
ら成る分類情報を記憶する分類情報記憶手段105と、
分類情報記憶手段105内に記憶されている分類情報を
アクセスする分類情報アクセス手段109と、データ項
目の値に対応する分類識別値を決定するために前記分類
情報アクセス手段に対して分類情報のアクセス要求を行
い得た分類情報により分類を決定する分類識別決定手段
108と、データレコード記憶手段に対してデータレコ
ードを格納するデータレコード格納手段1101データ
レコードを変更するデータレコード変更手段111、デ
ータレコードを削除するデータレコード削除手段112
、データレコードを読み込むデータレコード読込手段1
13と、索引レコード記憶手段106に対して索引レコ
ードを格納する索引レコード格納手段114、索弓レコ
ードを削除する索引レコード削除手段117、索引レコ
ードを検索する索引レコード検索手段118と、データ
レコードから索引レコードを生成し索引レコード格納手
段118を用いて索弓レコード記憶手段106に索引レ
コードを格納する索引レコード生成手段115と、デー
タ変更時に分類変更が必要となった時に索引レコード生
成手段115および索引レコード削除手段117を用い
て分類変更を行う分類識別変更手段116とを有してい
る。FIG. 4 shows another embodiment of the present invention, FIG. 5 shows an example of classification information, and FIG. 6 shows an example of a data record format and an index record format. 4 to 6, another embodiment of the present invention includes data record storage means 107 for storing data records, index record storage means 106 for storing index records, and data record storage means 106 for storing index records. 107 and index record storage means 106
It includes data storage means 101 for storing data, data modification means 102 for modifying data, data deletion means 103 for deleting data, and data retrieval means 104 for retrieving data. Based on the data value that is the key value of the index record, using an index file that stores an index record in which the key value is the value of the data item in the data record that is stored, and the storage address of the data record is the pointer. A classification that stores classification information consisting of a classification data value and a classification identification value (or a classification code that encodes the classification identification value) that corresponds to the classification data value, using an index processing method that performs searches based on preset classifications. Information storage means 105;
Classification information access means 109 accesses classification information stored in classification information storage means 105, and accesses classification information to said classification information access means to determine classification identification values corresponding to the values of data items. A classification identification determining means 108 that determines the classification based on the classification information that can be requested; a data record storage means 1101 that stores data records in the data record storage means; a data record changing means 111 that changes the data records; Data record deletion means 112 to be deleted
, data record reading means 1 for reading data records
13, an index record storage means 114 for storing an index record in the index record storage means 106, an index record deletion means 117 for deleting an index record, an index record search means 118 for searching an index record, and an index record storage means 114 for storing an index record in the index record storage means 106; An index record generation means 115 that generates a record and stores the index record in the index record storage means 106 using an index record storage means 118, and an index record generation means 115 and an index record when a classification change is required when changing data. The classification identification changing means 116 uses the deletion means 117 to change the classification.
次に、本発明の他の実施例の動作について第5図、第6
図を用いて説明する。Next, the operation of other embodiments of the present invention will be explained as shown in FIGS. 5 and 6.
This will be explained using figures.
a、データ格納処理
データ格納手段101は、データレコード記憶手段10
7に記憶するデータレコード171内のキー項目178
の値(モモ、レタス)に対する分類識別値(果物、野菜
)を得るために分類識別決定手段108を起動する。a. Data storage processing The data storage means 101 is the data record storage means 10
Key item 178 in data record 171 stored in 7
The classification identification determining means 108 is activated to obtain the classification identification value (fruit, vegetable) for the value (peaches, lettuce).
データ格納手段101により起動された分類識別決定手
段108は、データレコード記憶手段107に記憶する
データレコード171内のキー項目173の値(モモ)
を元に分類情報アクセス手段109を用いて分類情報記
憶手段105内に記憶されている分類データ値151を
アクセスしてデータレコード記憶手段107に記憶する
データレコード171内のキー項目173の値(モモ)
に対応する分類識別値(果物)153を決定し、決定し
た分類識別値(果物)153をデータ格納手段101に
返却する。The classification identification determining means 108 activated by the data storing means 101 determines the value (Momo) of the key item 173 in the data record 171 to be stored in the data record storing means 107.
Based on the classification information access means 109, the classification data value 151 stored in the classification information storage means 105 is accessed and the value of the key item 173 in the data record 171 stored in the data record storage means 107 (Momo )
The classification identification value (fruit) 153 corresponding to is determined, and the determined classification identification value (fruit) 153 is returned to the data storage means 101.
データ格納手段101は、分類識別決定手段108から
返却された分類識別値(果物)153を格納するデータ
レコード171内の分類識別値(果物)172に設定し
、そのデータレコード171をデータレコード格納手段
110を起動してデータレコード記憶手段107に記憶
する。The data storage means 101 sets the classification identification value (fruit) 153 returned from the classification identification determining means 108 to the classification identification value (fruit) 172 in the data record 171 storing the data record 171. 110 and stores it in the data record storage means 107.
このときデータレコード格納手段110は、記憶したデ
ータレコード171のデータレコード記憶手段107内
のアドレスをデータ格納手段101に返却する。At this time, the data record storage means 110 returns the address in the data record storage means 107 of the stored data record 171 to the data storage means 101.
データ格納手段101は、次に索引レコード161を索
引レコード記憶手段106に記憶するために索引レコー
ド生成手段115を起動する。The data storage means 101 then activates the index record generation means 115 to store the index record 161 in the index record storage means 106.
データ格納手段101により起動された索引レコード生
成手段115は、データレコード格納手段110により
返却されたデータレコード171のデータレコード記憶
手段107内のアドレスをポインタ値163として、分
類決定手段108により返却されたキー項目173の値
(モモ)に対応する分類識別値153をキー値(果物)
とした索引レコード161を生成して索引レコード格納
手段114を用いて索引レコード記憶手段106内に生
成した索引レコード161を記憶する。The index record generation means 115 started by the data storage means 101 uses the address in the data record storage means 107 of the data record 171 returned by the data record storage means 110 as a pointer value 163, and the index record generation means 115 returns the data record 171 returned by the classification determination means 108 as a pointer value 163. The classification identification value 153 corresponding to the value of the key item 173 (peaches) is set to the key value (fruit).
The generated index record 161 is generated, and the generated index record 161 is stored in the index record storage means 106 using the index record storage means 114.
b、データ変更処理
データ変更手段102は、変更するデータレコード17
1内のキー項目173の値(モモ)を変更する場合には
分類決定手段108を起動する。b. Data change processing The data change means 102 changes the data record 17 to be changed.
When changing the value (Momo) of the key item 173 in 1, the classification determining means 108 is activated.
データ変更手段102により起動された分類決定手段1
08は、データ変更手段102より与えられた変更後の
キー項目173の値(レタス)を元に分類情報アクセス
手段109を用いて分類情報記憶手段105内に記憶さ
れている分類データ値151をアクセスして変更後のキ
ー項目173の値(レタス)′に対応する変更後の分類
識別値153を決定し、決定した変更後の分類識別値(
野菜)153をデータ変更手段102に返却する。Classification determining means 1 activated by data changing means 102
08 accesses the classification data value 151 stored in the classification information storage means 105 using the classification information access means 109 based on the changed value of the key item 173 (lettuce) given by the data modification means 102. to determine the changed classification identification value 153 corresponding to the changed value of the key item 173 (lettuce)', and determine the changed classification identification value (
vegetables) 153 is returned to the data changing means 102.
データ変更手段102は、分類決定手段108から返却
された変更後のキー項目173の値(レタス)に対応す
る変更後の分類識別値153を変更するデータレコード
171内の分類識別値(野菜)172に設定し直し、変
更するデータレコード171をデータレコード変更手段
111を起動してデータレコード記憶手段107に記憶
されているデータレコード171を変更する。The data changing means 102 changes the classification identification value (vegetables) 172 in the data record 171 to change the changed classification identification value 153 corresponding to the changed value of the key item 173 (lettuce) returned from the classification determining means 108. , the data record 171 to be changed is activated, and the data record 171 stored in the data record storage means 107 is changed.
データ変更手段102は、データレコード171内のキ
ー項目173の値(モモ)を変更し、かつ、変更前の分
類識別値(果物)172と変更後の分類識別値(野菜)
153とが異なっている場合には分類変更手段116を
起動する。The data changing means 102 changes the value (peaches) of the key item 173 in the data record 171, and changes the classification identification value (fruit) 172 before the change and the classification identification value (vegetables) after the change.
153, the classification change means 116 is activated.
データ変更手段102により起動された分類変更手段1
16は、変更前の分類識別値172と変更したデータレ
コード171に対するデータレコード記憶手段107内
のアドレスとにより索引レコード削除手段117を用い
て索引レコード記憶手段106内に記憶されている索引
レコード161を削除する。Classification changing means 1 activated by data changing means 102
16 deletes the index record 161 stored in the index record storage means 106 using the index record deletion means 117 based on the classification identification value 172 before change and the address in the data record storage means 107 for the changed data record 171. delete.
分類変更手段116は、次に変更後の分類識別値(野菜
)153と変更したデータレコード171に対するデー
タレコード記憶手段107内のアドレスとにより索引レ
コード生成手段117を用いて変更したデータレコード
171のデータレコード記憶手段107内のアドレスを
ポインタ値163とし、変更後の分類識別値153をキ
ー値とした索引レコード161を生成する。Next, the classification changing means 116 uses the index record generating means 117 to change the data of the changed data record 171 based on the changed classification identification value (vegetables) 153 and the address in the data record storage means 107 for the changed data record 171. An index record 161 is generated with the address in the record storage means 107 as a pointer value 163 and the changed classification identification value 153 as a key value.
索引レコード生成手段117は、更に索引レコード格納
手段114を用いて索引レコード記憶手段106内に生
成した索引レコード161を記憶する。The index record generation means 117 further uses the index record storage means 114 to store the generated index record 161 in the index record storage means 106 .
C,データ削除処理
データ削除手段103は、削除するデータレコード17
1をデータレコード削除手段112を起動してデータレ
コード記憶手段107に記憶されているデータレコード
171を削除する。C. Data deletion processing The data deletion means 103 deletes the data record 17 to be deleted.
1, the data record deletion means 112 is activated to delete the data record 171 stored in the data record storage means 107.
このときデータレコード削除手段112は、削除したデ
ータレコード171内の分類識別値(果物)172と削
除したデータレコード171に対するデータレコード記
憶手段107内のアドレスとをデータ削除手段103に
返却する。At this time, the data record deletion means 112 returns the classification identification value (fruit) 172 in the deleted data record 171 and the address in the data record storage means 107 for the deleted data record 171 to the data deletion means 103.
データ削除手段102は、更に索引レコード記憶手段1
06から削除したデータレコード171に対する索引レ
コード161を削除するために索引レコード削除手段1
17を起動する。The data deletion means 102 further includes the index record storage means 1
Index record deletion means 1 to delete the index record 161 for the data record 171 deleted from 06
Start 17.
データ削除手段103により起動された索引レコード削
除手段117は、データレコード削除手段112により
返却された削除したデータレコード171内の分類識別
値172と削除したデータレコード171に対するデー
タレコード記[手段107内のアドレスとにより索引レ
コード削除手段117を用いて索引レコード記憶手段1
06内の記憶されている削除したデータレコード171
に対応する索引レコード161を削除する。The index record deletion means 117 activated by the data deletion means 103 uses the classification identification value 172 in the deleted data record 171 returned by the data record deletion means 112 and the data record record [in the means 107] for the deleted data record 171. The index record storage means 1 uses the index record deletion means 117 according to the address.
Deleted data record 171 stored in 06
The index record 161 corresponding to is deleted.
d、データ検索処理
データ検索手段104は、検索キー値として与えられた
分類識別値(果物、野菜)に対応するデータレコード1
71の索引レコード記憶手段106内のアドレスを得る
ために索引レコード検索手段118を起動する。d. Data search processing The data search means 104 searches the data record 1 corresponding to the classification identification value (fruit, vegetable) given as the search key value.
In order to obtain the address in the index record storage means 106 of 71, the index record search means 118 is activated.
データ検索手段104により起動された索引レコード検
索手段118は、データ検索手段104から与えられた
検索キー値としての分類識別値(果物)を検索キーとし
て検索レコード記憶手段108内に記憶されている索引
レコード161を検索し、検索キー値としての分類識別
値(果物)に対応した索引レコード161内のポインタ
値163からデータレコード記憶手段107内に記憶さ
れているデータレコード171のアドレス(一般にこの
アドレスは、複数存在する)を得てデータ検索手段10
4に返却する。The index record retrieval means 118 started by the data retrieval means 104 uses the classification identification value (fruit) as a retrieval key value given from the data retrieval means 104 as a retrieval key to search for an index stored in the retrieval record storage means 108. The record 161 is searched, and the address of the data record 171 stored in the data record storage means 107 (generally, this address is , there are multiple) is obtained, and the data search means 10
Return it to 4.
データ検索手段104は、次に検索キー値としての分類
識別値に対応したデータレコード171を読み込むため
にデータレコード読込手段113を起動する。The data search means 104 next activates the data record reading means 113 to read the data record 171 corresponding to the classification identification value as the search key value.
データ検索手段104により起動されたデータレコード
読込手段113は、索引レコード検索手段118により
得た分類識別値(果物)に対応したデータレコード記憶
手段107内に記憶されているデータレコード171の
アドレス(一般にこのアドレスは、複数存在する)を元
にデータレコード記憶手段107からアドレスに対応す
るデータレコード171を読み込む。この動作を索引レ
コーPI索手段118により得た分類識別値(果物)に
対応したデータレコード記憶手段107内に記憶されて
いるデータレコード171のアドレスの偶数回繰り返し
、検索キー値としての分類識別値に対応するデータレコ
ード171を全て読み込む。The data record reading means 113 started by the data retrieval means 104 reads the address (generally A data record 171 corresponding to the address is read from the data record storage means 107 based on the address (there is a plurality of addresses). This operation is repeated an even number of times for the address of the data record 171 stored in the data record storage means 107 corresponding to the classification identification value (fruit) obtained by the index record PI search means 118, and the classification identification value is used as the search key value. Read all data records 171 corresponding to .
本発明の索引処理方式は、データレコード格納時にデー
タレコード内のキー項目の値に対応する等級値に変換し
て、その等級値をキー値とした索引レコードを保持する
ことにより、等級値による検索時に等級値を等縁範囲値
−開始値と等縁範囲値−終了値に変換する必要がなく、
また取り扱う索引レコードが削減し、更にデータ項目(
等級値を決定する)の値に対する更新時に於いても、そ
の更新によって等級値が変わらない限り索引レコードの
削減/格納処理が不要となる。The index processing method of the present invention converts the value of a key item in a data record into a corresponding grade value when storing the data record, and maintains an index record with the grade value as a key value. Sometimes, there is no need to convert the grade value into equi-marginal range value - start value and equi-marginal range value - end value,
In addition, the number of index records handled is reduced, and data items (
Even when updating the value (determining the grade value), index record reduction/storage processing is not necessary unless the grade value changes due to the update.
また、本発明の索引処理方式は、データレコード格納時
にデータレコード内のキー項目の値に対応する分類識別
値に変換して、その分類識別値をキー値とした索引レコ
ードを保持することにより、分類識別値による検索時に
分類識別値を分類データ値に変換する必要がなく、また
取り扱う索引レコードが削減し、更にデータ項目(分類
識別値を決定する)の値に対する更新時に於いても、そ
の更新によって分類識別値が変わらない限り索引レコー
ドの削減/格納処理が不要となる。Furthermore, the index processing method of the present invention converts the value of a key item in a data record into a classification identification value corresponding to the value of a key item in the data record when storing the data record, and maintains an index record with the classification identification value as a key value. There is no need to convert the classification identification value to a classification data value when searching by classification identification value, the number of index records to be handled is reduced, and even when updating the value of the data item (determining the classification identification value), it is easy to update. As long as the classification identification value does not change, index record reduction/storage processing becomes unnecessary.
このように、本発明は、データレコード内のデータ項目
の値を等級(分類)化し、その等級(分類識別)値によ
るデータレコードの検索を目的とした等級(分類)索引
処理方式に於いて、等級(分類識別)値によるデータレ
コードの検索時およびデータ項目(等紙価φ分類識別値
を決定する)の値に対する更新時における処理性能を改
善する場合に効果を発揮する。As described above, the present invention provides a grade (classification) index processing method for grading (classifying) the values of data items in data records and searching for data records based on the grade (class identification) values. This is effective in improving the processing performance when searching for data records based on grade (classification identification) values and when updating the values of data items (which determine the equivalent paper value φ classification identification value).
第1図は、本発明の一実施例を示すブロック図、第2図
は、等級情報の一例を表した図、第3図は、データレコ
ード形式および索引レコード形式の一例を表した図、第
4図は、本発明の他の実施例を示すブロック図、第5図
は、分類情報の一例を表した図、第6図は、データレコ
ード形式および索引レコード形式の一例を表した図、第
7図は、従来の方式におけるデータレコードおよび索引
レコードの形式を表した図、第8図(a)。
(b)は、等級情報および分類情報を表した図である。
1.101・・・データ格納手段、2,102・・・デ
ータ変更手段、3,103・・・データ削除手段、4.
104・・・データ検索手段、5・・・等級情報記憶手
段、51・・・等縁範囲値−開始値、52・・・等縁範
囲値−終了値、53・・・等級値、e、ioe・・・索
引レコード記憶手段、61,161・・・索引レコード
、82.IEi2・・・キー値、63,163・・・ポ
インタ値、7,107・・・データレコード記憶手段、
71.171・・・データレコード、72,172・・
・等級値、73,173・・・キー項目(データ項目)
、74,174・・・データ項目、8・・・等級決定手
段、9・・・等級情報アクセス手段、10,110・・
・データレコード格納手段、11,111・・・データ
レコード変更手段、12,112・・・データレコード
削除手段、13,113・・・データレコード読込手段
、14,114・・・索引レコード格納手段、15.1
15・・・索引レコード生成手段、16・・・等級変更
手段、17,117・・・索引レコード削除手段、18
,118・・・索引レレコード検索手段、105・・・
分類情報記憶手段、108川分類識別決定手段、109
・・・分類情報アクセス手段、116・・・分類識別変
更手段、151・・・分類データ値、153・・・分類
識別値。FIG. 1 is a block diagram showing an embodiment of the present invention, FIG. 2 is a diagram showing an example of grade information, FIG. 3 is a diagram showing an example of the data record format and index record format, and FIG. FIG. 4 is a block diagram showing another embodiment of the present invention, FIG. 5 is a diagram showing an example of classification information, FIG. 6 is a diagram showing an example of the data record format and index record format, and FIG. FIG. 7 is a diagram showing the format of data records and index records in the conventional system, and FIG. 8(a). (b) is a diagram showing grade information and classification information. 1.101...Data storage means, 2,102...Data modification means, 3,103...Data deletion means,4.
104... Data retrieval means, 5... Grade information storage means, 51... Equal edge range value - start value, 52... Equal edge range value - end value, 53... Grade value, e, ioe...index record storage means, 61,161...index record, 82. IEi2...key value, 63,163...pointer value, 7,107...data record storage means,
71.171...Data record, 72,172...
・Grade value, 73,173...Key item (data item)
, 74,174...data item, 8...grading determining means, 9...grading information accessing means, 10,110...
- Data record storage means, 11, 111... Data record changing means, 12, 112... Data record deletion means, 13, 113... Data record reading means, 14, 114... Index record storage means, 15.1
15... Index record generation means, 16... Grade changing means, 17, 117... Index record deletion means, 18
, 118... Index record search means, 105...
Classification information storage means, 108 River classification identification determination means, 109
. . . Classification information access means, 116 . . . Classification identification change means, 151 . . . Classification data value, 153 . . . Classification identification value.
Claims (1)
内のデータ項目の値をキー値としデータレコードの格納
アドレスをポインタとした索引レコードを索引ファイル
に保持した索引ファイルを用いて、索引レコードのキー
値となっているデータ値を元に予め設定されている等級
により検索を行う索引処理方式に於いて、 等級範囲値(開始値/終了値)とその等級範囲値に対応
する等級値とから成る等級情報を記憶する等級情報記憶
手段と、 前記等級情報記憶手段内に記憶されている前記等級情報
をアクセスする等級情報アクセス手段と、 データ項目の値に対応する等級値を決定するために前記
等級情報アクセス手段に対して等級情報のアクセス要求
を行い得た等級情報により等級を決定する等級決定手段
と、 データレコードを記憶しておくデータレコード記憶手段
と、 前記データレコード記憶手段に対してデータレコードを
格納するデータレコード格納手段、データレコードを変
更するデータレコード変更手段、データレコードを削除
するデータレコード削除手段、データレコードを読み込
むデータレコード読込手段と、 索引レコードを記憶しておく索引レコード記憶手段と、 前記索引レコード記憶手段に対して索引レコードを格納
する索引レコード格納手段、索引レコードを削除する索
引レコード削除手段、索引レコードを検索する索引レコ
ード検索手段と、 データレコードから索引レコードを生成し前記索引レコ
ード格納手段を用いて前記索引レコード記憶手段に索引
レコードを格納する索引レコード生成手段と、 データ変更時に等級変更が必要となった時に前記索引レ
コード生成手段および前記索引レコード削除手段を用い
て等級変更を行う等級変更手段と、 前記各手段を用いてデータレコード記憶手段および索引
レコード記憶手段に対してデータを格納するデータ格納
手段、データを変更するデータ変更手段、データを削除
するデータ削除手段、データを検索するデータ検索手段
とを含むことを特徴とする索引処理方式。 2、データファイル上に格納されているデータレコード
内のデータ項目の値をキー値としデータレコードの格納
アドレスをポインタとした索引レコードを索引ファイル
に保持した索引ファイルを用いて、索引レコードのキー
値となっているデータ値を元に予め設定されている分類
により検索を行う索引処理方式に於いて、 分類データ値とその分類データ値に対応する分類識別値
(あるいは分類識別値をコード化した分類コード)とか
ら成る分類情報を記憶する分類情報記憶手段と、 前記分類情報記憶手段内に記憶されている前記分類情報
をアクセスする分類情報アクセス手段と、 データ項目の値に対応する分類識別値を決定するために
前記分類情報アクセス手段に対して分類情報のアクセス
要求を行い得た分類情報により分類を決定する分類識別
決定手段と、 データレコードを記憶しておくデータレコード記憶手段
と、 前記データレコード記憶手段に対してデータレコードを
格納するデータレコード格納手段、データレコードを変
更するデータレコード変更手段、データレコードを削除
するデータレコード削除手段、データレコードを読み込
むデータレコード読込手段と、 索引レコードを記憶しておく索引レコード記憶手段と、 前記索引レコード記憶手段に対して索引レコードを格納
する索引レコード格納手段、索引レコードを削除する索
引レコード削除手段、索引レコードを検索する索引レコ
ード検索手段と、 データレコードから索引レコードを生成し前記索引レコ
ード格納手段を用いて前記索引レコード記憶手段に索引
レコードを格納する索引レコード生成手段と、 データ変更時に分類変更が必要となった時に前記索引レ
コード生成手段および前記索引レコード削除手段を用い
て分類変更を行う分類変更手段と、 前記各手段を用いてデータレコード記憶手段および索引
レコード記憶手段に対してデータを格納するデータ格納
手段、データを変更するデータ変更手段、データを削除
するデータ削除手段、データを検索するデータ検索手段
とを含むことを特徴とする索引処理方式。[Claims] 1. Using an index file in which an index record is held with the value of a data item in a data record stored on the data file as a key value and the storage address of the data record as a pointer. , In an index processing method that searches by a preset grade based on the data value that is the key value of the index record, the grade range value (start value/end value) and the corresponding grade range value are used. a grade information storage means for storing grade information consisting of a grade value; a grade information access means for accessing the grade information stored in the grade information storage means; and determining a grade value corresponding to a value of a data item. a grade determining means for determining a grade based on grade information obtained by requesting access to the grade information to the grade information access means; a data record storage means for storing data records; and the data record storage means. data record storage means for storing data records, data record changing means for changing data records, data record deletion means for deleting data records, data record reading means for reading data records, and storing index records. an index record storage means, an index record storage means for storing an index record in the index record storage means, an index record deletion means for deleting an index record, an index record search means for searching an index record, and an index record from a data record. and storing the index record in the index record storage means using the index record storage means; and the index record generation means and the index record deletion means when a grade change is required at the time of data change. a grade changing means for changing the grade using the above-mentioned means, a data storage means for storing data in the data record storage means and the index record storage means, a data changing means for changing the data, and a data changing means for deleting the data. An index processing method comprising a data deletion means and a data search means for searching data. 2. Using an index file that holds an index record with the value of the data item in the data record stored on the data file as the key value and the storage address of the data record as the pointer, use the index file to calculate the key value of the index record. In index processing methods that perform searches using preset classifications based on data values that are a classification information storage means for storing classification information consisting of a code); a classification information access means for accessing the classification information stored in the classification information storage means; and a classification information access means for accessing the classification information stored in the classification information storage means; A classification identification determining means for determining a classification based on the classification information obtained by making a classification information access request to the classification information accessing means in order to make a determination; a data record storage means for storing a data record; and the data record. A data record storage means for storing data records in the storage means, a data record changing means for changing the data records, a data record deleting means for deleting the data records, a data record reading means for reading the data records, and a data record reading means for storing the index records. an index record storage means for storing an index record in the index record storage means, an index record deletion means for deleting an index record, an index record search means for searching for an index record; an index record generation means for generating an index record and storing the index record in the index record storage means using the index record storage means; and the index record generation means and the index record when a classification change is required at the time of data change. A classification change means for changing the classification using a deletion means; a data storage means for storing data in a data record storage means and an index record storage means using each of the above means; a data change means for changing data; An index processing method comprising: a data deletion means for deleting data; and a data search means for searching for data.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2216068A JPH0497452A (en) | 1990-08-16 | 1990-08-16 | Index processing system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2216068A JPH0497452A (en) | 1990-08-16 | 1990-08-16 | Index processing system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0497452A true JPH0497452A (en) | 1992-03-30 |
Family
ID=16682768
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2216068A Pending JPH0497452A (en) | 1990-08-16 | 1990-08-16 | Index processing system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0497452A (en) |
-
1990
- 1990-08-16 JP JP2216068A patent/JPH0497452A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6862602B2 (en) | System and method for rapidly identifying the existence and location of an item in a file | |
| US6212525B1 (en) | Hash-based system and method with primary and secondary hash functions for rapidly identifying the existence and location of an item in a file | |
| US6952730B1 (en) | System and method for efficient filtering of data set addresses in a web crawler | |
| CN107491487B (en) | A full-text database architecture and bitmap index creation, data query method, server and medium | |
| JP3554459B2 (en) | Text data registration search method | |
| US6330567B1 (en) | Searching system for searching files stored in a hard disk of a personal computer | |
| WO1998039715A9 (en) | System and method for rapidly identifying the existence and location of an item in a file | |
| CN116795788B (en) | Deep learning data set storage and retrieval method and system | |
| JP3552318B2 (en) | Document search method and system | |
| JPH0497452A (en) | Index processing system | |
| JP3260706B2 (en) | A search system that searches for files stored on the hard disk of a personal computer | |
| JPH04102968A (en) | Index retrieving processing system | |
| JP3555181B2 (en) | Structured document search method | |
| TW448386B (en) | Method and apparatus for managing electronic data with variable length | |
| JPH1185787A (en) | Search method and registration method for information having link structure | |
| JPH1185585A (en) | Complete memory resident index method and apparatus | |
| JP3564590B2 (en) | Information retrieval method and device | |
| JP3145727B2 (en) | Data retrieval device | |
| JPH02116936A (en) | Reorganizing system | |
| JPS61103242A (en) | High-speed retrieval system | |
| JP2643850B2 (en) | File processing device | |
| JPH04299772A (en) | Data retrieving device | |
| JPH05165891A (en) | Database data registration / search method | |
| JPH06110757A (en) | Data management system | |
| Cooper et al. | Multi-character tries for text searching |