JPH0218641A - Data control method - Google Patents

Data control method

Info

Publication number
JPH0218641A
JPH0218641A JP63169710A JP16971088A JPH0218641A JP H0218641 A JPH0218641 A JP H0218641A JP 63169710 A JP63169710 A JP 63169710A JP 16971088 A JP16971088 A JP 16971088A JP H0218641 A JPH0218641 A JP H0218641A
Authority
JP
Japan
Prior art keywords
data
identifier
search
stored
paired
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
JP63169710A
Other languages
Japanese (ja)
Inventor
Kenji Kira
賢治 吉良
Akizumi Mitsuishi
三石 彰純
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP63169710A priority Critical patent/JPH0218641A/en
Publication of JPH0218641A publication Critical patent/JPH0218641A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To cut down the data transfer frequency between the memory means and to improve the data retrieving efficiency by transferring the data related to the desired data retrieved out of a 2nd memory means in a 2nd retrieving step to a 1st memory means to store said data there in case the desired data is not obtained from a 1st memory means in a 1st retrieving step. CONSTITUTION:The desired data specified by an inputted identifier is retrieved out of the data stored in a 1st memory means 1 in a 1st retrieving step 10. While the paired data related to the desired data is retrieved out of the paired data stored in a 2nd memory means 4 in a 2nd retrieving step 11. In the case the desired data is not obtained in the step 10, the paired data retrieved in the 2nd step 11 are sent to the means 1 and stored there. Therefore the data related to the desired data can be retrieved out of the means 1 in the subsequent data retrieving steps. Thus it is possible to cut down the data transfer frequency between two memory means and to improve the data retrieving efficiency.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は2例えばデータベースシステムなど複数の記
憶手段に蓄積されたデータを利用するものにおけるデー
タ管理方法、特にデータの検索を効率的に行うことので
きる方法に関するものである。
[Detailed Description of the Invention] [Industrial Application Field] This invention provides a data management method in a system that utilizes data stored in a plurality of storage means, such as a database system, and in particular, to efficiently perform data retrieval. This is related to the method by which this can be done.

〔従来の技術〕[Conventional technology]

例えば従来のデータベースシステムにおいては各データ
にそのデータを識別するための識別子を付して記憶手段
に蓄積するとともにその識別子をもとにデータの検索を
行うようにしている。またその記憶手段としては、容量
がある程度制限されるが検索が高速に行える主記憶装置
と、検索は比較的低速となるが容量を大きくできる二次
記憶装置とがあり8通常これら両記憶装置を用いてデー
タの蓄積、検索といった管理を行っている。第7図は2
例えばADDISON4ESLEY PUBLIS)I
ING COMANY発行のC,J、 DATE著FA
n Introduction to Databas
eSystemsjの75頁に示されたような従来のデ
ータ管理方法に基づいてデータを検索する際のフローチ
ャートである。まずステップ(71)において検索した
いデータを特定するための識別子(以下検索識別子とい
う)を入力する。次にステップ(72)で検索処理が高
速である主記憶装置の中のデータからの検索を行う。即
ち、上記ステップ(71)で入力された検索識別子と同
じ識別子が付されているデータを主記憶装置に記憶され
たデータの中からさがす1次にステップ(73)で、該
当データが存在したか否かを判別し、存在した場合はス
テップ(74)においてその該当データを検索結果とし
て出力レジスタに格納し、検索処理を終了する。またス
テ。
For example, in a conventional database system, each piece of data is assigned an identifier for identifying the data and stored in a storage means, and the data is searched based on the identifier. In addition, there are two types of storage means: main storage, which has a limited capacity to some extent but can be searched quickly, and secondary storage, which has a relatively slow search speed but can have a large capacity.8 Normally, both of these storage devices are used. It is used to manage data accumulation and search. Figure 7 is 2
For example, ADDISON4ESLEY PUBLIS)I
C, J, FA written by DATE published by ING COMANY
n Introduction to Databas
75 is a flowchart when searching for data based on the conventional data management method as shown on page 75 of eSystemsj. First, in step (71), an identifier for specifying data to be searched (hereinafter referred to as a search identifier) is input. Next, in step (72), a search is performed from data in the main memory, where search processing is fast. That is, in the first step (73) of searching for data with the same identifier as the search identifier input in the above step (71) from among the data stored in the main memory, it is determined whether the corresponding data exists or not. If it exists, the corresponding data is stored in the output register as a search result in step (74), and the search process is ended. See you again.

ブ(73)で該当データが存在しないと判別された場合
、ステップ(75)において二次記憶装置内のデータか
らの検索を行い、主記憶装置の検索時と同様に、上記検
索識別子と同じ識別子が付されたデータを二次記憶装置
内のデータの中からさがす。そしてステップ(76)で
該当データが存在したかを判別し、存在しない場合は該
当データなしとして検索処理を終了する。また該当デー
タが存在した場合にはステップ(77)においてその該
当データをそのデータに付された識別子とともに主記憶
装置に転送して記憶させる。これは、後にこの検索した
データを度々参照する場合、その都度二次記憶装置から
検索することなくすぐに主記憶装置からそのデータガ得
られるようにして処理の効率をよくするためである。そ
してステップ(78)において該当データを出力レジス
タに格納し、検索処理を終了する。
If it is determined in step (73) that the corresponding data does not exist, a search is performed from the data in the secondary storage device in step (75), and the same identifier as the above search identifier is used in step (75). Search for the data with the ``mark'' in the data in the secondary storage device. Then, in step (76), it is determined whether the corresponding data exists, and if the corresponding data does not exist, it is determined that there is no corresponding data and the search process ends. Further, if the corresponding data exists, in step (77), the corresponding data is transferred to the main storage device together with the identifier attached to the data and stored therein. This is to improve processing efficiency by allowing the retrieved data to be immediately obtained from the main storage device without having to retrieve it from the secondary storage device each time when the retrieved data is referred to frequently later. Then, in step (78), the corresponding data is stored in the output register, and the search process is ended.

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

以上のような従来のデータ管理方法においては所望のデ
ータが主記憶装置内に存在せず二次記憶装置内から検索
された場合、その検索されたデータのみ主記憶装置に転
送されるので、そのデータに関連するデータをつづけて
検索するようなときに、その関連データが二次記憶装置
内に存在するものであれば、主記憶装置と二次記憶装置
の両方を検索し、かつその検索データを二次記憶装置か
ら主記憶装置に転送するという処理を逐一実行すること
になるので、記憶装置からの検索時間や記憶装置間のデ
ータ転送回数が多くなり、効率が悪いという問題点があ
った。
In the conventional data management method described above, if the desired data does not exist in the main storage and is retrieved from the secondary storage, only the retrieved data is transferred to the main storage. When continuously searching for data related to data, if the related data exists in the secondary storage device, both the main storage device and the secondary storage device are searched, and the search data Since the process of transferring data from the secondary storage device to the main storage device is executed one by one, the time required to search from the storage device and the number of times data is transferred between the storage devices increases, resulting in inefficiency. .

この発明はこのような問題点を解決するためになされた
もので、複数の記憶手段を用いてデータ管理を行う際に
、記憶手段間のデータ転送回数が少なくて効率的なデー
タ検索が行えるデータ管理方法を得ることを目的とする
This invention was made in order to solve these problems, and when managing data using multiple storage means, it is possible to efficiently retrieve data by reducing the number of data transfers between the storage means. The purpose is to obtain management methods.

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

この発明に係るデータ管理方法は、所望のデータを特定
する識別子を入力する入力ステップと。
The data management method according to the present invention includes an input step of inputting an identifier specifying desired data.

それぞれにデータ識別子が付与されて第1の記憶手段に
記憶された複数のデータカラ、上記入力ステップで入力
された識別子と対応するデータ識別子が付与された所望
データを検索する第1の検索ステ、ブとデータおよびそ
のデータに付与されたデータ識別子が対になって形成さ
れ、かつそのデータに関連するデータの識別子が関連デ
ータ識別子として付与されて第2の記憶手段に記憶され
た対データの中から、上記入力ステップで入力された識
別子に対応する関連データ識別子が付与された対データ
を検索する第2の検索ステップと、上記第1の検索ステ
ップで所望データがみつからなかった場合に上記第2の
検索ステップで検索された対データを一ヒ記第1の記憶
手段に転送し記憶させておく転送ステップとを有するも
のである。
a plurality of data colors each assigned a data identifier and stored in the first storage means; a first search step for searching for desired data assigned a data identifier corresponding to the identifier input in the input step; Among the paired data stored in the second storage means, a pair of data and a data identifier assigned to the data is formed as a pair, and an identifier of the data related to the data is assigned as a related data identifier. a second search step of searching for paired data to which a related data identifier corresponding to the identifier input in the input step is added; 1. A transfer step of transferring the paired data retrieved in the search step to the first storage means and storing them therein.

〔作用〕[Effect]

この発明においては2人力された識別子により特定され
る所望データが第1の検索ステップにおいて第1の記憶
手段内のデータの中から検索されまた上記入力された識
別子に対応した関連データ識別子が付与された対データ
即ち上記所望データに関連した対データが第2の検索ス
テップにおいて第2の記憶手段内の対データの中から検
索され第1の検索ステップで所望データがみつからなか
ったときに第2の検索ステップで検索された対データが
第1の記憶手段に転送されて記憶されることにより2次
回以降のデータ検索において上記所望データに関連する
データが検索される場合にはその関連データは第1の記
憶手段内から検索されるのて、その関連データを第2の
記憶手段から検索する処理時間か削減されるとともに第
2の記憶手段から第1の記憶手段へのデータ転送が省か
れ総合的なデータ転送回数が減る。
In this invention, the desired data specified by the input identifier is searched from among the data in the first storage means in the first search step, and a related data identifier corresponding to the input identifier is assigned. The paired data, that is, the paired data related to the desired data is searched from the paired data in the second storage means in the second search step, and when the desired data is not found in the first search step, the second search step is performed. The paired data retrieved in the retrieval step is transferred to and stored in the first storage means, so that when data related to the desired data is retrieved in the second or subsequent data retrieval, the related data is stored in the first storage means. The processing time for retrieving the related data from the second storage means is reduced, and the data transfer from the second storage means to the first storage means is omitted. The number of data transfers is reduced.

〔発明の実施例〕[Embodiments of the invention]

第1図はこの発明の一実施例を示す構成図であり、(1
)はデータとそのデータに一対一で対応して付されたデ
ータ識別子とを記憶する第1の記憶手段としての主記憶
装置であり高速な検索がなされる。この主記憶装置(1
)においては、データとそのデータに付与されたデータ
識別子とで形成された対データがルコードを構成し、デ
ータ識別子はデータm 利子フィールド(2)に、デー
タはデータフィールド(3)にそれぞれ格納されている
。(4)はデータとデータ識別子とで形成された対デー
タ、およびこの対データに付与され、その対データのデ
ータ識別子とその対データに関連する対データのデータ
識別子からなる関連データ識別子を記憶する第2の記憶
手段としての二次記憶装置である。
FIG. 1 is a block diagram showing one embodiment of the present invention, and (1
) is a main storage device serving as a first storage means for storing data and data identifiers assigned to the data in one-to-one correspondence, and is capable of high-speed retrieval. This main storage device (1
), paired data formed by data and a data identifier assigned to the data constitutes a code, and the data identifier is stored in the data m interest field (2) and the data is stored in the data field (3). ing. (4) stores paired data formed by data and a data identifier, and a related data identifier that is assigned to this paired data and consists of the data identifier of the paired data and the data identifier of the paired data related to the paired data. This is a secondary storage device as a second storage means.

この二次記憶装置(4)内では、データ、そのデータに
付与されたデータ識別子、およびこれらからなる対デー
タに付与された関連データ識別子がルコードを構成し、
それぞれデータ識別子はデータ識別子フィールド(5)
に、データはデータフィールド(6)に、関連データ識
別子は関連データ識別子フィールド(7)に格納されて
いる。第1図に示したデータ構造の例においては、 D
ata−aには、関連データ識別子としてそのData
−a自信のデータ識別子aとData−aに関連するデ
ータのData−bの識別子すとが付与され、レコード
(8)の関連データ識別子フィールド(7)に格納され
ている。(9)は検索したいデータを特定するための検
索識別子が入力される検索識別子レジスタ、 (10)
はこの入力された検索識別子に対応するデータ識別子が
付されたデータを上記主記憶装置(1)中のデータから
検索する主記憶検索手段、 (11)は上記検索識別子
に対応する関連データ識別子の付与された対データを上
記次記憶装置(4)中の対データから検索するとともに
、その検索された対データの中から上記検索識別子に対
応するデータ識別子の付与されたデータを抽出する二次
記憶検索手段、 (12)はこの二次記憶検索手段(1
1)で検索された対データを上記主記憶装置(1)に転
送する転送手段、(13)は上記主記憶検索手段(10
)、二次記憶検索手段(]1)による検索の結果所望デ
ータがみつかったか否か、即ち所望データが」二次記憶
装置(1)または二次記憶装置(4)内に存在したか否
かを、存在した時1.存在しなかった時0で示す値を記
憶するデータ存在レジスタ、 (14)は検索されたデ
ータを格納するデータレジスタである。
Within this secondary storage device (4), data, a data identifier assigned to that data, and a related data identifier assigned to paired data consisting of these constitute a code,
Each data identifier is a data identifier field (5)
The data is stored in the data field (6) and the related data identifier is stored in the related data identifier field (7). In the example data structure shown in Figure 1, D
Ata-a contains that Data as a related data identifier.
-a's own data identifier a and the identifier of Data-b of data related to Data-a are assigned and stored in the related data identifier field (7) of the record (8). (9) is a search identifier register into which a search identifier for specifying data to be searched is input; (10)
(11) is a main memory search means for searching the data in the main memory (1) for data attached with a data identifier corresponding to the input search identifier; a secondary storage that searches for the assigned paired data from the paired data in the secondary storage device (4) and extracts data assigned a data identifier corresponding to the search identifier from the retrieved paired data; The retrieval means (12) is this secondary memory retrieval means (1
Transfer means (13) transfers the paired data retrieved in step 1) to the main storage device (1);
), whether the desired data was found as a result of the search by the secondary storage search means (1), that is, whether the desired data existed in the secondary storage device (1) or the secondary storage device (4). 1. A data presence register stores a value indicated as 0 when the data does not exist. (14) is a data register that stores retrieved data.

このような構成のものにおいて所望データを検索する場
合、第2図に示すフローチャートに基づいて検索か行わ
れる。まずステップ(21)でデータ存在フラグ(13
)、データレジスタ(14)、転送バッファの内容を初
期化する・。次にステップ(22)で検索したい所望デ
ータを特定する識別子を検索識別子レジスタ(9)に人
力する。次にステップ(23)において主記憶装置(1
)中のデータからの所望データ検索を行う。この主記憶
の検索の詳細を第3図ニ示す。まず(3])において、
主記憶装置(1)中の各レコードの中でデータ識別子フ
ィールトク2)ノ値が検索識別子レジスタ(9)の値と
一致するレコードをさがす。次にステップ(32)で該
当するレコードが存在したか否かを判別し、存在しなか
った場合主記憶の検索を終了する(S2)。存在した場
合にはステップ(33)でデータ存在フラグ(13)の
値を1にし、ステップ(34)でその該当レコードのデ
ータフィールド(6)の値をデータレジスタ(14)に
格納し主記憶の検索を終了する(S2)。そして第2図
のステップ(24)に進みデータ存在フラグ(13)の
値が1であるか否かを判定し、■の場合は所望データが
検索されてデータレジスタ(14)に格納されているこ
とを示すので、データ検索処理を終了しくステップ(2
5))、またデータ存在フラグ(13)の値がOのまま
の場合、所望データが主記憶装置(1)中に存在しなか
ったことを示すので、ステップ(26)に進み、二次記
憶装置(4)の検索を行う。この二次記憶の検索の詳細
を第4図に示す。まずステ・ツブ(41)において二次
記憶装置(4)中の各レコードの中から、関連データ識
別子フィールド(’7)内に検索識別子レジスタ(9)
の値と同じ値を含むレコードをさがす。次にステップ(
42)で該当するレコードが存在したか否かを判定し、
存在しなかった場合二次記憶の検索を終了する(s4)
。該当レコードが存在した場合にはステップ(43)で
データ存在フラグ(I3)の値を1にし、ステップ(4
4)でそのそれぞれの該当レコードのデータ識別子フィ
ールド(5)およびデータフィールド(6)の値を対デ
ータとして転送手段(12)に格納し、二次記憶の検索
を終了する(S4)。ここで9本実施例においては、デ
ータ識別子に用いられることのない識別子は関連データ
識別子として用いられないこととする。従って上述のよ
うに関連データ識別子フィールド(7)に各データ自身
のデータ識別子が格納されていれば。
When searching for desired data in such a configuration, the search is performed based on the flowchart shown in FIG. First, in step (21), the data existence flag (13
), data register (14), and initialize the contents of the transfer buffer. Next, in step (22), an identifier specifying the desired data to be searched is manually entered into the search identifier register (9). Next, in step (23), the main memory (1
) to search for desired data from the data in ). The details of this main memory search are shown in FIG. First, in (3),
Among each record in the main storage device (1), a record whose value in the data identifier field 2) matches the value in the search identifier register (9) is searched. Next, in step (32), it is determined whether or not a corresponding record exists, and if it does not exist, the search in the main memory is terminated (S2). If it exists, the value of the data existence flag (13) is set to 1 in step (33), and the value of the data field (6) of the corresponding record is stored in the data register (14) in step (34), and the value is stored in the main memory. The search is ended (S2). Then, the process proceeds to step (24) in FIG. 2, and it is determined whether the value of the data presence flag (13) is 1. If the value is 1, the desired data is retrieved and stored in the data register (14). Therefore, to finish the data search process, step (2)
5)), and if the value of the data existence flag (13) remains O, this indicates that the desired data does not exist in the main memory (1), so the process proceeds to step (26) and the data is stored in the secondary memory. Search for device (4). Details of this secondary memory search are shown in FIG. First, in the step (41), a search identifier register (9) is stored in the related data identifier field ('7) from among each record in the secondary storage device (4).
Find records that contain the same value as . Then step (
42) determine whether the corresponding record exists,
If it does not exist, end the secondary memory search (s4)
. If the corresponding record exists, the value of the data existence flag (I3) is set to 1 in step (43), and the value of the data existence flag (I3) is set to 1 in step (43).
In step 4), the values of the data identifier field (5) and data field (6) of each corresponding record are stored in the transfer means (12) as paired data, and the search in the secondary storage is completed (S4). Here, in this embodiment, an identifier that is never used as a data identifier is not used as a related data identifier. Therefore, if the data identifier of each data item itself is stored in the related data identifier field (7) as described above.

転送手段(I2)に格納された対データの中には必ず検
索識別子と同じ値のデータ識別子を有するデータ、即ち
所望データが存在する。そして第2図のステップ(27
)に進んでデータ存在フラグ(13)の値が1であるか
否かを判定し、1の場合はステップ(28)で転送手段
(12)に格納されている対データを主記憶装置(1)
に転送して記憶させるとともに、この転送された対デー
タの中から、データ識別子の値が検索識別子の値と一致
するものを抽出し、そのデータの値をデータレジスタ(
14)に格納してデータ検索処理を終了する(ステップ
(25乃。またステップ(27)でデータ存在フラグ(
13)の値がOであれば、所望データが二次記憶装置(
4)内にも存在しなかったことを示し、該当データなし
で検索処理を終了する。
Among the paired data stored in the transfer means (I2), there is always data having a data identifier having the same value as the search identifier, that is, desired data. Then step (27) in Figure 2
), it is determined whether the value of the data existence flag (13) is 1, and if it is 1, the paired data stored in the transfer means (12) is transferred to the main memory (1) in step (28). )
At the same time, from among the transferred paired data, data whose data identifier value matches the search identifier value is extracted, and the value of that data is stored in the data register (
14) and ends the data search process (step (25). Also, in step (27), the data existence flag (
13) is O, the desired data is stored in the secondary storage device (
4) indicates that the data does not exist, and ends the search process without the corresponding data.

上記ステップ(28)の転送操作により2次回以降のデ
ータ検索時に今回検索したデータに関連するデータを続
けて検索する場合にその関連データは主記憶装置(1)
に存在していることになり、直ちに検索されるものであ
る。例えば、互いに関連するデータ1.データ2.デー
タ3が二次記憶装置(4)内に存在し、この3つのデー
タを順に検索する場合 従来の方法によれば第5図(a
)に示したような処理の流れとなり、各データを検索す
るたびに主記憶装置(1)の検索(ステップ(51b)
、 (52b)。
When data related to the data searched this time is to be searched for the second time and subsequent data searches due to the transfer operation in step (28) above, the related data will be stored in the main memory (1).
, and will be searched immediately. For example, mutually related data 1. Data 2. When data 3 exists in the secondary storage device (4) and these three pieces of data are searched in order, the conventional method is as shown in Fig. 5(a).
), and each time each data is searched, the main storage device (1) is searched (step (51b)).
, (52b).

(53b))、二次記憶装置(4)の検索(ステ・ノブ
(51c)。
(53b)), search of secondary storage device (4) (ste knob (51c)).

(52c)、 (53c))、データの転送(ステップ
(5]d)。
(52c), (53c)), data transfer (step (5]d).

(sza)、 (sza))を逐−行うことになるが、
この発明によれば、第5図(b)に示すようにデータ2
.データ3の検索は主記憶装置(1)からの検索のみで
済み、従って処理時間のかかる二次記憶装置(4)から
の検索や、データ転送の回数が減り、それらのための処
理時間が削減されて総合的に検索処理の効率化がなされ
るものである。
(sza), (sza)) will be performed one after another,
According to this invention, as shown in FIG. 5(b), data 2
.. Searching for data 3 only requires searching from the main memory (1), which reduces the number of searches from the secondary storage (4), which takes processing time, and the number of data transfers, reducing processing time. In this way, the efficiency of search processing can be improved comprehensively.

なお、上記実施例では、主記憶装置(])の検索を終了
した後に二次記憶装置(4)の検索を行うものについて
説明したが、主記憶装置(1)および二次記憶装置(4
)の検索を同時に並行して行い、主記憶装置(1)の検
索結果に基づいて二次記憶装置(4)の検索結果を主記
憶装置(1)へ転送するようにしても同様の効果を奏す
る。この場合、主記憶装置(1)の検索により、所望デ
ータがみつかった場合その時点で二次記憶装置(4)の
検索を中止して次の処理を始め、所望データがみつから
なかった場合は二次記憶装置(4)の検索を完了させる
ようにすることにより処理時間の効率化がはかれる。
In the above embodiment, the secondary storage device (4) is searched after the main storage device (]) is searched, but the main storage device (1) and the secondary storage device (4) are searched.
), and the search results in the secondary storage device (4) are transferred to the main storage device (1) based on the search results in the main storage device (1). play. In this case, if the desired data is found by searching the main storage device (1), the search in the secondary storage device (4) is stopped at that point and the next process starts, and if the desired data is not found, the next process is started. By completing the search in the next storage device (4), processing time can be made more efficient.

また、上記実施例では、主記憶装置(1)と二次記憶装
置(4)とを用いるものについて説明したが、この発明
は通信回線により接続された複数のデータ管理装置に適
用しても同様の効果を奏するものであり、第6図はその
実施例を示す構成図である。
In addition, although the above embodiment has been described using a main storage device (1) and a secondary storage device (4), the present invention can be applied to a plurality of data management devices connected by a communication line. FIG. 6 is a block diagram showing an embodiment thereof.

第6図において(61)、 (62)はそれぞれ自サイ
ト、他サイトのデータ管理装置、 (63)、 (64
)は各データ管理装置(61)、 (62)に備えられ
た検索手段(65)、 (6B)は各データ管理装置(
6])、 (62)に備えられた記憶手段、(67)は
各データ管理装置(61)、 (62)間を接続する通
信回線である。データ検索を行う場合、まず所望データ
をまず自サイトの記憶手段(65)内から検索し、所望
データが存在しなかった場合2通信回線を介して他サイ
トの記憶手段(66)内から検索するものであるが、こ
の発明を適用すれば上記実施例と同様に、−変能サイト
の記憶手段(66)内からの検索を行うときに関連デー
タを自サイトに転送しておくことにより9次回以降のデ
ータ検索時にはその関連データは自サイト内の検索処理
のみで得ることができ2両サイト間の通信のための処理
時間や通信回線の使用回数が削減される。
In Fig. 6, (61) and (62) are the data management devices of the own site and other sites, respectively, (63) and (64).
) is the search means (65) provided in each data management device (61), (62), and (6B) is the search means (65) provided in each data management device (61), (62).
6]) and (62), and (67) is a communication line connecting each data management device (61) and (62). When performing a data search, the desired data is first searched from the storage means (65) of the own site, and if the desired data does not exist, it is searched from the storage means (66) of another site via two communication lines. However, if this invention is applied, similar to the above embodiment, - when searching from the storage means (66) of the perversion site, by transferring related data to the own site, the 9th time At the time of subsequent data searches, related data can be obtained only by search processing within the own site, reducing processing time and the number of times communication lines are used for communication between the two sites.

さらに上記実施例においては、各データに付与される関
連データ識別子を、データおよびデータ識別子からなる
対データとともにルコードを形成するようにして二次記
憶装置(4)に記憶する場合について説明したか、関連
データ識別子を対ブタとは別に記憶しておくようにして
もよい。
Furthermore, in the above embodiment, the case has been described in which the related data identifier given to each data is stored in the secondary storage device (4) together with paired data consisting of the data and the data identifier to form a code. The related data identifier may be stored separately from the pig.

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

以」−のようにこの発明によれば、第1の検索ステップ
で所望のデータか第1の記憶手段内からみつからなかっ
たときに、第2の検索ステップで第2の記憶手段内から
検索された所望データの関連データを第1の記憶手段に
転送し記憶させておくようにしたので2次回以降にその
所望データに関連するデータを検索する場合に第1の記
憶手段からの検索によりその関連データか得られるため
第2の記憶手段からの検索にかかる時間および第1、第
2の記憶手段間のデータ転送回数が削減され、効率的な
データ検索かできるという効果かある。
According to the present invention, when the desired data is not found in the first storage means in the first search step, the data is retrieved from the second storage means in the second search step. The data related to the desired data is transferred and stored in the first storage means, so that when searching for data related to the desired data from the second time onward, the related data can be retrieved from the first storage means. Since data can be obtained, the time required for retrieval from the second storage means and the number of data transfers between the first and second storage means are reduced, and there is an effect that efficient data retrieval can be performed.

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

第1図はこの発明の一実施例を実現するための構成図、
第2図はこの実施例における動作を示すフローチャート
、第3図、第4図はこのフローチャートの詳細な動作を
示す詳細フローチャート第5図は従来およびこの発明の
データ管理方法に基づくデータ検索時の処理の流れを示
す説明図。 第6図はこの発明の他の実施例を実現するための全体構
成図、第7図は従来のデータ管理方法におけるデータ検
索のフローチャートである。 図において、(1)は主記憶装置、(4)は二次記憶装
置、(9)は検索識別子、 (10)は主記憶検索手段
、 (11)は二次記憶検索手段、(12)は転送手段
である。 なお、各図中同一符号は同一または相当部分を示す。
FIG. 1 is a configuration diagram for realizing an embodiment of the present invention,
FIG. 2 is a flowchart showing the operation in this embodiment, and FIGS. 3 and 4 are detailed flowcharts showing the detailed operation of this flowchart. FIG. 5 is the processing at the time of data search based on the conventional data management method and the data management method of this invention. An explanatory diagram showing the flow. FIG. 6 is an overall configuration diagram for realizing another embodiment of the present invention, and FIG. 7 is a flowchart of data search in a conventional data management method. In the figure, (1) is the main memory, (4) is the secondary memory, (9) is the search identifier, (10) is the main memory search means, (11) is the secondary memory search means, and (12) is the It is a means of transfer. Note that the same reference numerals in each figure indicate the same or corresponding parts.

Claims (1)

【特許請求の範囲】[Claims] (1)所望のデータを特定する識別子を入力する入力ス
テップと、それぞれにデータ識別子が付与されて第1の
記憶手段に記憶された複数のデータの中から、上記入力
ステップで入力された識別子と対応するデータ識別子が
付与された所望データを検索する第1の検索ステップと
、データおよびそのデータに付与されたデータ識別子が
対になって形成され、かつそのデータに関連するデータ
の識別子が関連データ識別子として付与されて第2の記
憶手段に記憶された対データの中から、上記入力ステッ
プで入力された識別子に対応する関連データ識別子が付
与された対データを検索する第2の検索ステップと、上
記第1の検索ステップで所望データがみつからなかった
場合に上記第2の検索ステップで検索された対データを
上記第1の記憶手段に転送し記憶させておく転送ステッ
プとを有することを特徴とするデータ管理方法。
(1) An input step of inputting an identifier specifying the desired data; and an input step of inputting an identifier input in the input step from among a plurality of data each assigned a data identifier and stored in the first storage means. a first search step of searching for desired data to which a corresponding data identifier is assigned; and a first search step in which the data and the data identifier assigned to the data are formed as a pair, and the identifier of the data related to the data is associated data. a second search step of searching for paired data to which a related data identifier corresponding to the identifier input in the input step is assigned from among the paired data assigned as an identifier and stored in the second storage means; and a transfer step of transferring and storing the paired data searched in the second search step to the first storage means when the desired data is not found in the first search step. data management methods.
JP63169710A 1988-07-07 1988-07-07 Data control method Pending JPH0218641A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63169710A JPH0218641A (en) 1988-07-07 1988-07-07 Data control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63169710A JPH0218641A (en) 1988-07-07 1988-07-07 Data control method

Publications (1)

Publication Number Publication Date
JPH0218641A true JPH0218641A (en) 1990-01-22

Family

ID=15891435

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63169710A Pending JPH0218641A (en) 1988-07-07 1988-07-07 Data control method

Country Status (1)

Country Link
JP (1) JPH0218641A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011253299A (en) * 2010-06-01 2011-12-15 Nippon Telegr & Teleph Corp <Ntt> Retrieval device, retrieval method and retrieval program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011253299A (en) * 2010-06-01 2011-12-15 Nippon Telegr & Teleph Corp <Ntt> Retrieval device, retrieval method and retrieval program

Similar Documents

Publication Publication Date Title
US4876643A (en) Parallel searching system having a master processor for controlling plural slave processors for independently processing respective search requests
US5333318A (en) Creating and searching a quad linked list in a trunked communication system
US6105017A (en) Method and apparatus for deferring large object retrievals from a remote database in a heterogeneous database system
US6549917B1 (en) Synchronization of host computers and handheld remote computers
JPH0218641A (en) Data control method
JP2925042B2 (en) Information link generation method
JP2000222434A (en) Combination retrieval method
JPH0644309A (en) Data base managing system
JPH0193843A (en) System for coupling table
JPH0456344B2 (en)
JP3194691B2 (en) Multimedia compound document management system
JP2000222410A (en) Thesaurus retrieving device and thesaurus retrieval system
JP2912334B1 (en) Document management method
JPS6380325A (en) Information retrieval method and index used therefor
JPS63238622A (en) Relation retrieval system
JP4445699B2 (en) Two-stage search system, search request server, document information server, and program
JPS633351A (en) Buffer retrieving control system
JPH0628167A (en) Data and information manipulating device
JP2000148768A (en) Method and device for information retrieval and record medium where information retrieving program is recorded
JPH01300741A (en) System for storing history of transmission data route
JPH03137772A (en) Data base utilizing system
JPH01120621A (en) Retrieving/updating system for data base
JPH04238572A (en) Composite data retrieval communication system
JPH02311958A (en) Data retrieving device
JP3008500B2 (en) Update record reading mechanism