JP3318787B2 - Data management method and device - Google Patents

Data management method and device

Info

Publication number
JP3318787B2
JP3318787B2 JP08322793A JP8322793A JP3318787B2 JP 3318787 B2 JP3318787 B2 JP 3318787B2 JP 08322793 A JP08322793 A JP 08322793A JP 8322793 A JP8322793 A JP 8322793A JP 3318787 B2 JP3318787 B2 JP 3318787B2
Authority
JP
Japan
Prior art keywords
data
stored
link
storage means
main memory
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.)
Expired - Fee Related
Application number
JP08322793A
Other languages
Japanese (ja)
Other versions
JPH06301592A (en
Inventor
光司 吉村
秋也 石田
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.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP08322793A priority Critical patent/JP3318787B2/en
Publication of JPH06301592A publication Critical patent/JPH06301592A/en
Application granted granted Critical
Publication of JP3318787B2 publication Critical patent/JP3318787B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Devices For Executing Special Programs (AREA)
  • Memory System (AREA)
  • Memory System Of A Hierarchy Structure (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、リストデータなど複数
のデータがリンクされた構造を有するデータを、そのリ
ンク構造を反映させてメインメモリと2次メモリとの間
を転送し、CPU(Central Processing Unit)の処理に
必要なデータを効率よくメインメモリに記憶させるデー
タ管理方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method of transferring data having a structure in which a plurality of data such as list data are linked between a main memory and a secondary memory while reflecting the link structure, and a CPU (Central). The present invention relates to a data management method for efficiently storing data necessary for processing of a processing unit in a main memory.

【0002】[0002]

【従来の技術】人工知能、数式処理、自然言語処理など
の分野において用いられるリスト構造のデータをコンピ
ュータで高速に処理するためには、データを、そのリン
ク構造を考慮して、CPUによる高速アクセスが可能な
メインメモリと、アクセス速度は遅いが記憶容量が大き
い2次メモリとに効率よく記憶させることが必要であ
る。つまり、CPUによって高頻度に処理されるデータ
をメインメモリに記憶させ、CPUが必要とするデータ
が2次メモリに記憶されているために発生する、2次メ
モリからメインメモリに対して必要なデータを転送する
処理の実行を可能な限り少なくすることが必要である。
2. Description of the Related Art In order to process a list-structured data used in fields such as artificial intelligence, mathematical formula processing, and natural language processing at a high speed by a computer, the data must be accessed at a high speed by a CPU in consideration of its link structure. It is necessary to efficiently store the data in a main memory capable of storing data and a secondary memory having a low access speed but a large storage capacity. That is, the data frequently processed by the CPU is stored in the main memory, and the data required by the CPU is stored in the secondary memory. It is necessary to minimize the execution of the processing for transferring the data.

【0003】たとえば、特開平2−263233号公報
は、密にリンクされた構造を有する複数のデータを、メ
インメモリと2次メモリとの間を転送させる単位として
取り扱うことでメインメモリに密にリンクされたデータ
を記憶させることを開示する。通常、リンクされた複数
のデータは、CPUによって同時またはかなり短い時間
間隔で処理されるため、上記公報が開示するように密に
リンクされた複数のデータをメインメモリに記憶させる
ことで、CPUが処理するデータがメインメモリに記憶
されている確率を高めることができ、コンピュータにお
ける高速処理が可能となる。
For example, Japanese Patent Laid-Open Publication No. Hei 2-263233 discloses that a plurality of data having a closely linked structure are handled as a unit for transferring between a main memory and a secondary memory, so that the data is closely linked to the main memory. It is disclosed that stored data is stored. Normally, a plurality of linked data is processed by the CPU at the same time or at a considerably short time interval. Therefore, as disclosed in the above-mentioned publication, by storing a plurality of closely linked data in the main memory, the CPU can execute the processing. The probability that data to be processed is stored in the main memory can be increased, and high-speed processing in a computer can be performed.

【0004】また、上記公報は、メインメモリの記憶領
域を有効に使用するために、以下に示すような処理を行
い不用な間接ポインタを削除することを開示する。ここ
で、間接ポインタは、メインメモリに記憶されたセル
(データ)の2次メモリに記憶されたセルに対してのリ
ンクを示すセルである。たとえば、図8(A)に示すよ
うに、2次メモリのストラクチャ1(str1)に対し
てリンクするメインメモリの間接ポインタmm6が、ス
トラクチャ1のセルss1およびストラクチャ2のセル
ss2からもリンクされている場合がある。この場合に
は、図8(A)に示すデータのリンク構造は、図8
(B)に示すようなリンク構造に簡略化することができ
る。しかし、この簡略化には、2次メモリに記憶された
セルのリスト構造を変更する処理が含まれ、CPUがア
クセス速度の遅い2次メモリに記憶されたセルに対して
逐次処理を行うのでは、処理時間が長くなる。
Further, the above-mentioned publication discloses that in order to effectively use a storage area of a main memory, the following processing is performed to delete unnecessary indirect pointers. Here, the indirect pointer is a cell indicating a link of a cell (data) stored in the main memory to a cell stored in the secondary memory. For example, as shown in FIG. 8A, the indirect pointer mm6 of the main memory linked to the structure 1 (str1) of the secondary memory is also linked from the cell ss1 of the structure 1 and the cell ss2 of the structure 2. May be. In this case, the data link structure shown in FIG.
The link structure can be simplified as shown in FIG. However, this simplification includes a process of changing the list structure of the cells stored in the secondary memory, and it is difficult for the CPU to perform the sequential process on the cells stored in the secondary memory having a low access speed. , The processing time becomes longer.

【0005】この問題の解決策として上記公報は、図9
(A)に示す、2次メモリに記憶されたセルの外部セル
に対してのリンク情報をストラクチャ毎に管理する外部
参照表(XRT)と、図9(B)に示す、メインメモリ
に記憶されたセルに対しての2次メモリに記憶されたセ
ルからのリンク情報を一括して管理する逆参照表(DR
T)と、ストラクチャ毎にXRTおよびDRTが記憶さ
れたメインメモリ上のアドレスを管理するストラクチャ
管理表(SRT)とを用いて行い、2次メモリに対して
のアクセス数を低減させることを開示する。このとき、
XRTは、図9(A)に示すように、リンク情報を、外
部に対してリンクするセルを特定する情報(ptr.i
d)と、このセルがリンクしているセルのポインタ(d
st)を用いて管理している。また、DRTは、図9
(B)に示すように、リンク情報を、リンクされるメイ
ンメモリに記憶されたセルを特定する情報(dst.i
d)と、このセルに対してリンクする2次メモリに記憶
されたセルを特定する情報(ptr.list)を用い
て管理している。
As a solution to this problem, the above publication discloses FIG.
An external reference table (XRT) shown in FIG. 9A for managing the link information of the cells stored in the secondary memory to the external cells for each structure, and stored in the main memory shown in FIG. 9B. Reference table (DR) for collectively managing link information from the cells stored in the secondary memory for the
T) and a structure management table (SRT) that manages addresses on a main memory in which XRTs and DRTs are stored for each structure to reduce the number of accesses to a secondary memory. . At this time,
As shown in FIG. 9A, the XRT converts the link information into information (ptr.i) specifying a cell to be linked to the outside.
d) and a pointer (d
(st). The DRT is shown in FIG.
As shown in (B), the link information is changed to information (dst.i) for specifying the cell stored in the main memory to be linked.
d) and the information (ptr.list) for specifying the cell stored in the secondary memory linked to this cell.

【0006】上述したように、特開平2−263233
号公報は、メインメモリと2次メモリとの間のデータ転
送を密なリンク構造を有する複数のデータを単位として
行い、CPUからのアクセス頻度の高いデータをメイン
メモリに記憶させること、および、上記SRT,XRT
およびDRTを用いて、不用な間接ポインタを高速に削
除することを開示する。
As described above, Japanese Patent Application Laid-Open No. 2-263233
Japanese Patent Application Laid-Open Publication No. HEI 9-303572 discloses that data transfer between a main memory and a secondary memory is performed in units of a plurality of data having a dense link structure, and data frequently accessed by a CPU is stored in the main memory. SRT, XRT
And using DRT to quickly delete unnecessary indirect pointers.

【0007】[0007]

【発明が解決しようとする課題】ところで、CPUの処
理において、メインメモリに所定の空き領域が必要とな
り、メインメモリに記憶されたデータを上記単位で2次
メモリに退避させる場合がある。また、CPUの処理に
おいて必要なデータを2次メモリからメインメモリに対
して転送するために、メインメモリに記憶されたデータ
を上記単位で2次メモリに退避させる場合がある。しか
し、メインメモリから2次メモリに退避させるさせるこ
とで、メインメモリに記憶されたデータと2メモリに記
憶されたデータとの間のリンク数が増大し、2次メモリ
に記憶されたデータに対してのCPUのアクセス数が増
加し、CPUにおける効率的処理の妨げとなる場合があ
る。
By the way, in the processing of the CPU, a predetermined free area is required in the main memory, and the data stored in the main memory may be saved to the secondary memory in the above units. Further, in order to transfer necessary data from the secondary memory to the main memory in the processing of the CPU, the data stored in the main memory may be saved in the above-described unit in the secondary memory. However, by evacuating the main memory to the secondary memory, the number of links between the data stored in the main memory and the data stored in the secondary memory increases, and the data stored in the secondary memory is In some cases, the number of accesses of all CPUs increases, which hinders efficient processing in the CPUs.

【0008】本発明は、上述した従来技術の課題を達成
し、CPUがリンク構造を有するデータを高速に処理す
ることができるデータ管理方法およびその装置を提供す
ることを目的とする。
SUMMARY OF THE INVENTION An object of the present invention is to provide a data management method and apparatus capable of solving the problems of the prior art described above and enabling a CPU to process data having a link structure at high speed.

【0009】[0009]

【課題を解決するための手段】上述した目的を達成する
ために、第1の発明のデータ管理方法は、演算制御手段
からアクセスされる第1の記憶手段と、該第1の記憶手
段に記憶されたデータを退避可能であり前記第1の記憶
手段に比べて大規模な記憶容量を有する第2の記憶手段
とに記憶され、前記演算制御手段で処理されてリンク構
造が変化するデータを管理するデータ管理方法であっ
て、前記第2の記憶手段に記憶されたデータの前記第1
の記憶手段に記憶されたデータに対しての複数のリンク
に関するリンク情報を、それぞれリンクさせて記憶し、
該リンクに基づいて、複数のリンク情報のなかから単数
または複数のリンク情報を検索し、該検索されたリンク
情報に基づいて、前記第2の記憶手段に記憶されたデー
タからリンクされた前記第1の記憶手段に記憶されたデ
ータ、および、該データと直接または間接的にリンクさ
れたデータを前記第2の記憶手段に退避する。
In order to achieve the above-mentioned object, a data management method according to a first aspect of the present invention comprises a first storage unit accessed by an operation control unit, and a storage unit in the first storage unit. And the second storage means, which can save the stored data and have a larger storage capacity than the first storage means, and manage the data processed by the arithmetic and control means to change the link structure. A data management method for storing data stored in the second storage unit.
Of Ruri link information about the plurality of links <br/> against data stored in the storage means, stores by linking respectively,
Based on the link, a search is made for one or a plurality of pieces of link information from among the plurality of pieces of link information, and based on the searched link information, the second link information is linked from the data stored in the second storage unit. The data stored in the first storage means and the data directly or indirectly linked to the data are saved in the second storage means.

【0010】また、第1の発明のデータ管理方法は、好
ましくは、前記第1の記憶手段から前記第2の記憶手段
に退避したデータのうち、前記第1の記憶手段のデータ
に対してのリンクに関するリンク情報を、リンクされて
記憶された前記リンク情報に対してさらにリンクさせて
記憶する。
In the data management method according to the first aspect of the present invention, it is preferable that, of the data saved from the first storage unit to the second storage unit, the data stored in the first storage unit be deleted. The link information relating to the link is further linked to the link information stored as a link and stored.

【0011】また、第1の発明のデータ管理方法は、好
ましくは、前記第1の記憶手段と前記第2の記憶手段と
の間のデータ転送を、直接または間接的にリンクされた
複数のデータを単位として行う。
In the data management method according to the first invention, the data transfer between the first storage means and the second storage means is preferably performed by a plurality of data directly or indirectly linked. Is performed as a unit.

【0012】また、第1の発明のデータ管理方法は、好
ましくは、前記第1の記憶手段に前記リンク情報を記憶
する。
Further, in the data management method of the first invention, preferably, the link information is stored in the first storage means.

【0013】また、第2の発明のデータ管理装置は、該
演算制御手段からアクセスされ、前記演算制御手段で処
理されてリンク構造が変化するデータを管理する第1の
記憶手段と、該第1の記憶手段に記憶されたデータを退
避可能であり前記第1の記憶手段に比べて大規模な記憶
容量を有する第2の記憶手段とを有するデータ管理装置
であって、前記第2の記憶手段に記憶されたデータの前
記第1の記憶手段に記憶されたデータに対しての複数の
リンクに関するリンク情報を、それぞれリンクさせて前
記第1の記憶手段に記憶し、前記第1の記憶手段が、前
記リンクに基づいて、複数のリンク情報のなかから単数
または複数のリンク情報を検索し、該検索されたリンク
情報に基づいて、前記第2の記憶手段に記憶されたデー
タからリンクされた前記第1の記憶手段に記憶されたデ
ータ、および、該データと直接または間接的にリンクさ
れたデータを前記第2の記憶手段に退避する。
Further, a data management device according to a second aspect of the present invention includes a first storage means for managing data accessed by the arithmetic control means and processed by the arithmetic control means to change the link structure; A second storage unit capable of saving data stored in the storage unit and having a larger storage capacity than the first storage unit, wherein the second storage unit the Ruri link information about the plurality of links with respect stored in said first memory means the stored data data, respectively by linking stored in said first storage means, said first The storage means retrieves one or more pieces of link information from the plurality of pieces of link information based on the link, and links the data stored in the second storage means based on the retrieved link information. Is It said first memory means the stored data, and retreats directly the data or indirectly linked data in the second storage means.

【0014】[0014]

【0015】[0015]

【作用】第1の発明のデータ管理方法では、演算制御手
段からアクセスされる第1の記憶手段と、該第1の記憶
手段に記憶されたデータを退避可能であり前記第1の記
憶手段に比べて大規模な記憶容量を有する第2の記憶手
段とに記憶され、演算制御手段で処理されてリンク構造
が変化するデータを管理する。このとき、第1の発明の
データ管理方法では、前記第2の記憶手段に記憶された
データの前記第1の記憶手段に記憶されたデータに対し
ての複数のリンクに関する前記リンク情報を、それぞれ
リンクさせて記憶する。そして、該リンクに基づいて、
複数のリンク情報のなかから単数または複数のリンク情
報を検索し、該検索されたリンク情報に基づいて、前記
第2の記憶手段に記憶されたデータからリンクされた前
記第1の記憶手段に記憶されたデータ、および、該デー
タと直接または間接的にリンクされたデータを前記第2
の記憶手段に退避する。
According to the data management method of the first invention, the first storage means accessed by the arithmetic and control means and the data stored in the first storage means can be saved, and the first storage means can store the data in the first storage means. The data stored in the second storage unit having a relatively large storage capacity and processed by the arithmetic and control unit to manage data whose link structure changes. At this time, in the data management method of the first invention, the link information relating to a plurality of links of the data stored in the second storage unit to the data stored in the first storage unit is respectively stored. Link and remember. And, based on the link,
One or more pieces of link information are searched from among the plurality of pieces of link information, and based on the searched link information, stored in the first storage unit linked from the data stored in the second storage unit. Data, and data directly or indirectly linked to the data,
To the storage means.

【0016】また、第2の発明のデータ管理装置では、
先ず、第2の記憶手段に記憶されたデータの第1の記憶
手段に記憶されたデータに対しての複数のリンクに関す
る前記リンク情報を、それぞれリンクさせて前記第1の
記憶手段に記憶する。そして、前記第1の記憶手段が、
前記リンクに基づいて、複数のリンク情報のなかから単
数または複数のリンク情報を検索し、該検索されたリン
ク情報に基づいて、前記第2の記憶手段に記憶されたデ
ータからリンクされた前記第1の記憶手段に記憶された
データ、および、該データと直接または間接的にリンク
されたデータを前記第2の記憶手段に退避する。
Further, in the data management device of the second invention,
First, the link information relating to a plurality of links of the data stored in the second storage unit with respect to the data stored in the first storage unit is linked to each other and stored in the first storage unit. And the first storage means,
Based on the link, a search is made for one or a plurality of pieces of link information from among the plurality of pieces of link information, and based on the searched link information, the second link information linked from the data stored in the second storage unit is retrieved. The data stored in the first storage means and the data directly or indirectly linked to the data are saved in the second storage means.

【0017】[0017]

【実施例】図1は、本実施例のデータ管理方法を用いた
計算システムの構成図である。図1に示すように、内部
バス14を介して、演算制御手段としてのCPU(Cent
ral Processing Unit )2および第1の記憶手段として
のメインメモリ4が接続されている。また、CPU2
は、内部バス12、入出力回路6および外部バス10を
介して第2の記憶手段としての2次メモリ8と接続され
ている。CPU2は、たとえば、予め組み込まれたプロ
グラムに応じた演算処理を行う。メインメモリ4は、高
速アクセスが可能な、たとえば、バイポーラ型半導体メ
モリであり、後述するようにCPU2における使用頻度
が比較的高いリンク構造のデータとしてのリスト構造の
データを保持する。
FIG. 1 is a configuration diagram of a computing system using the data management method of this embodiment. As shown in FIG. 1, a CPU (Cent
ral Processing Unit) 2 and a main memory 4 as first storage means. Also, CPU2
Are connected to a secondary memory 8 as a second storage means via an internal bus 12, an input / output circuit 6, and an external bus 10. The CPU 2 performs, for example, an arithmetic process according to a program installed in advance. The main memory 4 is, for example, a bipolar semiconductor memory that can be accessed at high speed, and holds data of a list structure as data of a link structure that is relatively frequently used in the CPU 2 as described later.

【0018】2次メモリ8は、メインメモリ4に比べて
大きな記憶容量を有する、たとえば、ハードディスクド
ライブなどが用いられ、CPU2が処理するリスト構造
のデータのうち、たとえば、メインメモリ4に記憶され
ないデータを記憶する。CPU2は、演算処理を行う際
に、必要なデータを内部バス12を介して2次メモリ8
から入力する。このとき、必要なデータがメインメモリ
4に存在しない場合には、2次メモリ8に記憶された上
記必要なデータを含むデータが後述するストラクチャ単
位で、外部バス10,入出力回路6および内部バス12
を介して、メインメモリ4に転送される。
The secondary memory 8 has a larger storage capacity than that of the main memory 4. For example, a hard disk drive or the like is used. Among the data in a list structure processed by the CPU 2, for example, data not stored in the main memory 4. Is stored. The CPU 2 transmits necessary data to the secondary memory 8 via the internal bus 12 when performing arithmetic processing.
Enter from. At this time, if the necessary data does not exist in the main memory 4, the data including the necessary data stored in the secondary memory 8 is stored in the external bus 10, the input / output circuit 6, and the internal bus 12
Is transferred to the main memory 4.

【0019】メインメモリ空間4aおよび2次メモリ空
間8aに記憶されたリスト構造のデータについて説明す
る。図2は、メインメモリ空間4aおよび2次メモリ空
間8aに記憶されたデータを説明するための図である。
図2において、メインメモリ空間4aのmm1〜mm
2,mm4〜mm8,mm10,mm11と、2次メモ
リ空間8aのストラクチャ1のss1〜ss3およびス
トラクチャ2のss1,ss2とは、それぞれ、リスト
構造を構成している個々のセル(データ)を示す。セル
は、記憶すべきデータ部の他に、関連する別のセルをリ
ンクする(結び付ける)ためのポインタ部で構成され
る。このとき、データの部には、データの代わりにポイ
ンタが記憶されていてもよい。図2では、各セルのデー
タ部には、ポインタが記憶されている。図2における矢
印はセル間のリンクを表し、破線矢印は図示しないセル
に対してのリンクを示す。
The data of the list structure stored in the main memory space 4a and the secondary memory space 8a will be described. FIG. 2 is a diagram for explaining data stored in the main memory space 4a and the secondary memory space 8a.
In FIG. 2, mm1 to mm of the main memory space 4a
2, mm4 to mm8, mm10, and mm11, and ss1 to ss3 of structure 1 and ss1 and ss2 of structure 2 in the secondary memory space 8a indicate individual cells (data) constituting the list structure, respectively. . The cell includes a data portion to be stored and a pointer portion for linking (linking) another related cell. At this time, a pointer may be stored in the data section instead of the data. In FIG. 2, a pointer is stored in the data section of each cell. Arrows in FIG. 2 indicate links between cells, and broken arrows indicate links to cells not shown.

【0020】また、メインメモリ空間4aのmm3およ
びmm9は、間接ポインタを示す。この間接ポインタ
は、メインメモリ空間4aのセルを2次メモリ空間8a
のセルに対してリンクさせるためのポインタである。ま
た、2次メモリ空間8aには、リスト構造のセルが、リ
ンク構造が密な複数のセルで構成されるストラクチャを
単位として記憶されている。このストラクチャは、後述
するように、メインメモリ4と2次メモリ8との間でデ
ータを転送するときの単位となる。
Further, mm3 and mm9 in the main memory space 4a indicate indirect pointers. This indirect pointer stores cells in the main memory space 4a in the secondary memory space 8a.
This is a pointer for linking to the cell of. In the secondary memory space 8a, cells having a list structure are stored in units of a structure having a plurality of cells having a dense link structure. This structure is a unit when data is transferred between the main memory 4 and the secondary memory 8 as described later.

【0021】図2に示す、リスト構造のデータでは、メ
インメモリ空間4a上におけるセル間のリンク(たとえ
ば、mm1からmm2に対してのリンク)、および、2
次メモリ空間8a上のセルからメインメモリ空間4a上
のセルに対してのリンク(たとえば、ストラクチャ2の
ss2からmm4に対してのリンク)は、メインメモリ
空間4a上のアドレスをポインタとして表現される。ま
た、メインメモリ空間4a上のセルから2次メモリ空間
8a上のセルに対してのリンク(たとえば、mm2から
ストラクチャ1のss1に対してのリンク)は、上述し
たメインメモリ空間4a上の間接ポインタ(この場合
は、mm3)を用いて表現される。
In the data of the list structure shown in FIG. 2, links between cells in the main memory space 4a (for example, links from mm1 to mm2) and 2
A link from a cell in the next memory space 8a to a cell in the main memory space 4a (for example, a link from ss2 to mm4 of the structure 2) is represented by using an address in the main memory space 4a as a pointer. . A link from a cell in the main memory space 4a to a cell in the secondary memory space 8a (for example, a link from mm2 to ss1 of the structure 1) is provided by the indirect pointer in the main memory space 4a. (In this case, mm3).

【0022】また、2次メモリ空間8a上におけるセル
間のリンク(たとえば、ストラクチャ2のss1からs
s2に対してのリンク)は、2次メモリ空間8a上のア
ドレスをポインタとして表現される。
Further, a link between cells in the secondary memory space 8a (for example, ss1 to s1 of the structure 2)
The link to s2) is represented by using an address in the secondary memory space 8a as a pointer.

【0023】上述したメインメモリ空間4a上のセルと
2次メモリ空間8a上のセルとのリンク、および、2次
メモリ空間8aの異なるストラクチャ上のセル間のリン
クは、以下に示すSRT(ストラクチャ管理表)を用い
て管理されている。ただし、メインメモリ空間4a上の
セルから2次メモリ空間8a上のセルに対してのリンク
は、上述した間接ポインタによって管理され、SRTで
は管理されない。SRTは、たとえば、メインメモリ空
間4a上の所定の領域に記憶されている。
The link between the cell in the main memory space 4a and the cell in the secondary memory space 8a and the link between the cells in different structures in the secondary memory space 8a are described below by SRT (structure management). Table). However, a link from a cell in the main memory space 4a to a cell in the secondary memory space 8a is managed by the above-described indirect pointer, and is not managed by the SRT. The SRT is stored, for example, in a predetermined area on the main memory space 4a.

【0024】図3は、SRTを説明するための図であ
る。図3に示すように、SRT表は、2次メモリ8のス
トラクチャ(str.id)ごとに、外部参照表(XR
T)へのポインタ、および、逆参照表(IRT)へのポ
インタを有するテーブル形式のデータであり、XRTお
よびIRTの管理、検索などを行う際にハッシュ方式な
どで参照される。たとえば、srt1(ストラクチャ
1)の外部参照表へのポインタはXRT1であり、ま
た、逆参照表へのポインタはIRT1である。外部参照
表(XRT)は、2次メモリ8の各ストラクチャごとに
作成され、そのストラクチャ上のセルの、メインメモリ
4上のセルおよび2次メモリ8上の他のストラクチャ上
のセルに対してのリンクに関する情報を有する。この情
報は、たとえば、図3に示すように、リンク元のセルの
ポインタ(prt.id)、リンク先のセルが記憶され
る領域(たとえば、メインメモリ4、ストラクチャ1,
2など)を特定する情報(dstarea)、および、
リンク先のセルのポインタ(dst.id)を有する。
FIG. 3 is a diagram for explaining the SRT. As shown in FIG. 3, the SRT table includes an external reference table (XR) for each structure (str.id) of the secondary memory 8.
This is tabular data having a pointer to T) and a pointer to a dereference table (IRT), and is referred to by a hash method or the like when managing and searching for XRT and IRT. For example, the pointer to the external reference table of srt1 (structure 1) is XRT1, and the pointer to the reverse reference table is IRT1. An external reference table (XRT) is created for each structure of the secondary memory 8, and the cells on that structure are used for cells on the main memory 4 and cells on other structures on the secondary memory 8. Has information about the link. This information includes, for example, as shown in FIG. 3, a pointer (prt.id) of the cell of the link source, an area where the cell of the link destination is stored (for example, main memory 4, structure 1,
2), etc. (dstarea), and
It has a pointer (dst.id) of the linked cell.

【0025】たとえば、図1に示す2次メモリ空間8a
のストラクチャ1上のセルss3のCAR部(ss3.
car)は、メインメモリ空間4a上のセルmm6に対
してリンクしている。このリンクは、2次メモリ空間8
aのストラクチャ1上のセルからメインメモリ空間4a
のセルへのリンクであり、このリンクに関する情報はX
RT1に記載されている。
For example, the secondary memory space 8a shown in FIG.
Of the cell ss3 (ss3.
car) is linked to the cell mm6 in the main memory space 4a. This link is the secondary memory space 8
a from the cell on the structure 1 to the main memory space 4a
Is a link to the cell of
RT1.

【0026】図3に示すように、XRT1には、このリ
ンクに関する情報が、ptr.idとしてss3.ca
r、dstareaとしてmain(メインメモリ空間
4aを示す)、および、dst.idとしてmm6を用
いて記載されている。これと同様に、ストラクチャ2上
のss2.carからメインメモリ空間4a上のmm4
に対してのリンク、および、ss2.cdrからストラ
クチャ1上のss2に対してのリンクに関する情報が、
XRT2に記載されている。
As shown in FIG. 3, information on this link is stored in XRT1 as ptr. id as ss3. ca
r, dstarea as main (indicating the main memory space 4a), and dst. It is described using mm6 as id. Similarly, ss2. mm4 on main memory space 4a from car
And ss2. Information about the link from cdr to ss2 on structure 1
XRT2.

【0027】XRTに記載されたリンク情報のうち、メ
インメモリ空間4aに対してのリンク情報(dstar
eaがmainになっているリンク情報)は、ルート情
報としての管理される。ルート情報は、後述するよう
に、メインメモリ4上に空き記憶領域を確保するため
に、メインメモリ4に記憶されたリスト構造のデータを
2次メモリ8に退避させる際に用いられる。このルート
情報の管理方法としては、ルート情報が複数ある場合
に、たとえば、全てのルート情報をリンクさせて記憶す
る方法を用いる。この方法を用いれば、ルート情報に関
する情報を記憶する管理表を特別に設けた場合に比べ
て、記憶する情報量を少なくすることができる。たとえ
ば、図3に示すように、ストラクチャ1のss3からメ
インメモリ空間4aのmm6へのリンクはルート情報で
あり、ストラクチャ1およびストラクチャ2上の他のル
ート情報と矢印で示されるようにリンクされている。
Of the link information described in the XRT, the link information (dstar) for the main memory space 4a
Link information in which ea is main) is managed as route information. The route information is used when data of a list structure stored in the main memory 4 is saved in the secondary memory 8 in order to secure a free storage area on the main memory 4 as described later. As a method of managing the route information, when there is a plurality of route information, for example, a method of linking and storing all the route information is used. By using this method, the amount of information to be stored can be reduced as compared with a case where a management table for storing information on route information is specially provided. For example, as shown in FIG. 3, the link from ss3 of structure 1 to mm6 of main memory space 4a is route information, and is linked to other route information on structures 1 and 2 as shown by arrows. I have.

【0028】このリンクの方法としては、たとえば、最
先にルート情報として管理されるようなったルート情報
を先頭にして、その後、ルート情報として管理されるよ
うになった順に、ルート情報を末尾のルート情報にリン
クさせる方法を採る。そして、後述するデータ転送を行
う際に、リンクされたルート情報のうち、先頭のルート
情報から順に、用いられる。
As a method of this link, for example, the route information managed first as the route information is first, and then the route information is added to the last in the order in which the route information is managed as the route information. Use a method of linking to route information. Then, when performing the data transfer described later, the linked route information is used in order from the leading route information.

【0029】逆参照表(IRT)は、XRTと同様に各
ストラクチャごとに作成され、2次メモリ8上の他のス
トラクチャからリンクされるセルのポインタ(dst.
id)、リンク元のセルが記憶されるストラクチャを特
定する情報(ptrarea)、および、。リンク元の
セルのポインタ(ptr.id)を有する。たとえば、
図3に示すように、ストラクチャ1のss2は、ストラ
クチャ2のss2.cdrからリンクされていて、この
リンクに関する情報が、ストラクチャ1についてのIR
T1に記載されている。
A reverse reference table (IRT) is created for each structure as in the case of the XRT, and is a pointer (dst.
id), information (ptrea) specifying the structure in which the link source cell is stored, and It has a pointer (ptr.id) of the link source cell. For example,
As shown in FIG. 3, ss2 of structure 1 is ss2. linked from the cdr, the information about this link is
It is described in T1.

【0030】メインメモリ4に記憶されたリスト構造の
データを、2次メモリ8に退避する際の、データ管理方
法について説明する。CPU2の演算処理において、メ
インメモリ4に所定の空き領域を確保する必要が生じる
と、たとえば、メインメモリ4に記憶された直接または
間接的にリンクされた複数のデータを選択し、2次メモ
リ8に転送する。このときに、メインメモリ4に記憶さ
れたデータのうち、2次メモリ8に転送するデータを選
択する際に、上述したリンクして記憶されたルート情報
を用いる。
A data management method for saving the list-structured data stored in the main memory 4 to the secondary memory 8 will be described. When it becomes necessary to secure a predetermined free area in the main memory 4 in the arithmetic processing of the CPU 2, for example, a plurality of directly or indirectly linked data stored in the main memory 4 is selected and the secondary memory 8 is selected. Transfer to At this time, when selecting data to be transferred to the secondary memory 8 from the data stored in the main memory 4, the above-described route information stored by linking is used.

【0031】つまり、リンクされた複数のルート情報の
うち、先頭にリンクされたルート情報のdst.idで
特定されるメインメモリ空間4a上のセルを選択し、こ
の選択されたセルから直接的または間接的にリンクされ
ているセルを順次、検索し、検索されたセルの全てまた
は一部を2次メモリ8に退避する単位とする。このよう
に、メインメモリ空間4a上のセルのうち、2次メモリ
空間8a上のセルからリンクされている2次メモリ空間
8a上のセルを選択して退避のさせることで、2次メモ
リ空間8a上のセルからメインメモリ空間4a上のセル
に対してのリンク数を低減させることができる。
That is, of the plurality of linked route information, the dst. A cell in the main memory space 4a specified by id is selected, cells directly or indirectly linked are sequentially searched from the selected cell, and all or a part of the searched cell is replaced with 2 or more. It is a unit to be saved in the next memory 8. As described above, the cells in the secondary memory space 8a linked from the cells in the secondary memory space 8a among the cells in the main memory space 4a are selected and saved, whereby the secondary memory space 8a The number of links from the upper cell to the cell on the main memory space 4a can be reduced.

【0032】また、メインメモリ空間4a上の選択され
たセルから、直接および間接的にリンクされているセル
を選択するのは、データ転送を行うことで、メインメモ
リ空間4a上のセルから2次メモリ空間8a上のセルに
対してのリンク数が爆発的に増加するのを防止するため
である。
The selection of the directly and indirectly linked cells from the selected cells in the main memory space 4a is performed by performing data transfer, so that the cells in the main memory space 4a are This is to prevent the number of links to cells in the memory space 8a from explosively increasing.

【0033】たとえば、図3に示すルート情報のうち、
XRT1におけるss3.carからmm6に対しての
リンク情報が選択された場合には、図2に示すメインメ
モリ空間4a上のセルのうちmm6から直接的または間
接的にリンクされているセル、つまり、mm10,mm
11、および、mm1,mm11にリンクされている
セルの全てまたは一部が2次メモリ8に退避されるセル
として選択される。このとき、たとえば、メインメモリ
4に確保する空き領域の容量などに応じて、この容量に
応じた数の退避されるセルとして選択される。
For example, of the route information shown in FIG.
Ss3 in XRT1. When the link information from car to mm6 is selected, of the cells in the main memory space 4a shown in FIG. 2, cells directly or indirectly linked from mm6, that is, mm10, mm
All or some of the cells linked to 11 and mm 10 and mm 11 are selected as cells to be saved in the secondary memory 8. At this time, for example, according to the capacity of the free area secured in the main memory 4, the number of cells to be saved corresponding to this capacity is selected.

【0034】また、上記dst.idで特定されるメイ
ンメモリ空間4a上のセルから直接または間接的にリン
クされるセルを全て2次メモリ8に退避させても、確保
する空き領域の容量に達しない場合には、たとえば、処
理を行ったルート情報にリンクされる他のルート情報に
ついて同様の処理を実行し、必要な空き領域の容量が確
保できるまで退避されるセルが選択される。退避するセ
ルが選択されると、選択されたセルが2次メモリ8に転
送される。
The above dst. If, even if all cells directly or indirectly linked from the cells in the main memory space 4a specified by id are saved to the secondary memory 8, the capacity of the free area to be secured is not reached, for example, The same process is performed for the other route information linked to the route information on which the above-mentioned is performed, and cells to be saved are selected until the necessary free space capacity can be secured. When a cell to be saved is selected, the selected cell is transferred to the secondary memory 8.

【0035】図4は、選択されたセルを転送した後の、
メインメモリ空間4aおよび2次メモリ空間8aに記憶
されたデータを説明するための図である。図2における
mm6から直接的または間接的にリンクされたセルが退
避された場合には、セルmm6に対してリンクしていた
mm5は、図4に示すように間接ポインタmm6にリン
クする。また、図2におけるmm6,mm10,mm1
1は、図4に示すように、2次メモリ空間8aの新しく
作成されたストラクチャ3上に、それぞれss1,ss
3,ss2として記憶される。このとき、メインメモリ
空間4a上の間接ポインタmm6は、メインメモリ空間
4aのストラクチャ3上のss1に対してリンクする。
転送処理による各セルのポインタの変化、および、新し
いストラクチャの作成に応じてXRT,IRTが変更さ
れる。
FIG. 4 shows the state after transferring the selected cell.
FIG. 4 is a diagram for explaining data stored in a main memory space 4a and a secondary memory space 8a. When a cell directly or indirectly linked from mm6 in FIG. 2 is saved, mm5 linked to cell mm6 is linked to indirect pointer mm6 as shown in FIG. In addition, mm6, mm10, mm1 in FIG.
4, ss1 and ss1 are respectively placed on the newly created structure 3 in the secondary memory space 8a as shown in FIG.
3, ss2. At this time, the indirect pointer mm6 on the main memory space 4a links to ss1 on the structure 3 in the main memory space 4a.
The XRT and IRT are changed according to the change of the pointer of each cell due to the transfer processing and the creation of a new structure.

【0036】図5は、変更後のXRT,IRTを説明す
るための図である。図5に示すように、ストラクチャア
ウト後のSRTには、図3に示すSRTの情報にストラ
クチャ3に対応する情報がさらに加えられている。この
とき、転送処理にともない、ストラクチャ1上のss3
からのリンクは、図2に示すメインメモリ空間4a上の
mm6対してのリンクから、図4に示す2次メモリ空間
8aのストラクチャ3のss1に対してのリンクに変更
される。そのため、図2に示すXRT1のptr.id
がss3.carである部分は、図3に示すように、d
stareaがstr3に、dst.idがss1に変
更される。
FIG. 5 is a diagram for explaining the changed XRT and IRT. As shown in FIG. 5, in the SRT after the structure out, information corresponding to the structure 3 is further added to the information of the SRT shown in FIG. At this time, due to the transfer process, ss3 on the structure 1
Is changed from the link for mm6 on the main memory space 4a shown in FIG. 2 to the link for ss1 of the structure 3 in the secondary memory space 8a shown in FIG. Therefore, the ptr. Of XRT1 shown in FIG. id
Is ss3. The part which is car is d as shown in FIG.
stara to str3, dst. id is changed to ss1.

【0037】また、図5に示すようにストラクチャ3の
IRTが新たに作成され、SRTにおけるストラクチャ
3のIRT部はポインタIRT3となる。IRT3に
は、dst.idとしてss1、またptrareaと
してstr1、ptr.idとしてss3.carが記
載される。尚、図4に示すように、ストラクチャ3上の
セルから、他のストラクチャ上のセルまたはメインメモ
リ空間4a上のセルに対してのリンクは存在しないた
め、ストラクチャ3のXRTは作成されず、SRTにお
けるストラクチャ3のXRT部はNULLとなる。この
ように、メインメモリ空間4a上のリンク構造のデータ
が2次メモリ空間8a上に転送されると、それに応じて
SRT,XRT,IRTが書き換えられる。
As shown in FIG. 5, an IRT of the structure 3 is newly created, and the IRT portion of the structure 3 in the SRT becomes a pointer IRT3. IRT3 contains dst. id, ss1, ptrarea as str1, ptr. id as ss3. car is described. As shown in FIG. 4, since there is no link from a cell on the structure 3 to a cell on another structure or a cell on the main memory space 4a, the XRT of the structure 3 is not created and the SRT is not created. The XRT part of the structure 3 in the above becomes NULL. As described above, when the data of the link structure in the main memory space 4a is transferred to the secondary memory space 8a, the SRT, XRT, and IRT are rewritten accordingly.

【0038】2次メモリ8に記憶されたリスト構造のデ
ータを、メインメモリ4に転送する際のデータ管理方法
について説明する。CPU2の演算処理において、必要
なデータがメインメモリ4に記憶されていない場合また
はメインメモリ4に空き領域が十分にある場合には、必
要なデータをストラクチャ単位で2次メモリ8からメイ
ンメモリ4に転送する。
A data management method for transferring data having a list structure stored in the secondary memory 8 to the main memory 4 will be described. In the arithmetic processing of the CPU 2, if necessary data is not stored in the main memory 4 or if there is sufficient free space in the main memory 4, necessary data is transferred from the secondary memory 8 to the main memory 4 in units of structures. Forward.

【0039】たとえば、リンク構造のデータが、図2に
示すようにメインメモリ空間4aおよび2次メモリ空間
8aに記憶されている場合には、ストラクチャ1上に記
憶された全てのセルまたはストラクチャ2上に記憶され
た全てのセルがメインメモリ4に転送される。たとえ
ば、図2に示す、2次メモリ空間8aのストラクチャ1
上に記憶された全てのセルをメインメモリ4に転送する
と、メインメモリ空間4aおよび2次メモリ空間8a上
のデータのリンク構造は、図6のように変更される。図
6では、図2に示すストラクチャ2上のss1,ss
2,ss3が、メインメモリ空間4a上にそれぞれmm
1’,mm2’mm3’として記憶される。このとき、
図2において、間接ポインタmm3を介して実現されて
いたmm2からss1に対してのリンクは、図6に示す
ように、mm2からmm1’に対しての直接的なリンク
に変更されている。
For example, when the data of the link structure is stored in the main memory space 4a and the secondary memory space 8a as shown in FIG. 2, all the cells stored on the structure 1 or on the structure 2 Are transferred to the main memory 4. For example, the structure 1 of the secondary memory space 8a shown in FIG.
When all the cells stored above are transferred to the main memory 4, the link structure of data in the main memory space 4a and the secondary memory space 8a is changed as shown in FIG. In FIG. 6, ss1, ss on the structure 2 shown in FIG.
2 and ss3 are respectively mm on the main memory space 4a.
It is stored as 1 ′, mm2′mm3 ′. At this time,
In FIG. 2, the link from mm2 to ss1 realized via the indirect pointer mm3 has been changed to a direct link from mm2 to mm1 'as shown in FIG.

【0040】図7は、転送後の、SRT,XRT,IR
Tを説明するための図である。転送後において、2次メ
モリ空間8aにはストラクチャ1は、存在しないため、
SRTにはストラクチャ1に対応する情報は記載されず
XRT1,IRT1も存在しない。また、図7に示すX
RT2では、転送前におけるストラクチャ1上のss2
が転送後においてメインメモリ空間4a上のmm2’と
なったことにともない、dst.idとしてmm2’が
記載されている。
FIG. 7 shows SRT, XRT, IR after transfer.
It is a figure for explaining T. After the transfer, the structure 1 does not exist in the secondary memory space 8a.
No information corresponding to the structure 1 is described in the SRT, and neither XRT1 nor IRT1 exists. Further, X shown in FIG.
In RT2, ss2 on structure 1 before transfer
Becomes mm2 'on the main memory space 4a after the transfer, the dst. mm2 'is described as id.

【0041】上述したように、本実施例のデータ管理方
法によれば、SRT,IRTから得られるルート情報を
用いて、2次メモリ8からメインメモリ4に対してのデ
ータ転送を行うため、データ転送にともなう、メインメ
モリ4に記憶されたセルと2次メモリ8に記憶されたセ
ルとの間のリンク数の増加を防止することができる。ま
た、本実施例のデータ管理方法によれば、ルート情報を
リンクさせて記憶することで、ルート情報の検索を高速
に行うことができる。
As described above, according to the data management method of this embodiment, the data transfer from the secondary memory 8 to the main memory 4 is performed using the route information obtained from the SRT and IRT. An increase in the number of links between the cells stored in the main memory 4 and the cells stored in the secondary memory 8 due to the transfer can be prevented. Further, according to the data management method of this embodiment, the route information can be searched at high speed by storing the route information in a linked manner.

【0042】[0042]

【発明の効果】本発明のデータ管理方法およびその装置
によれば、第1の記憶手段に記憶されたリンク構造のデ
ータを第2の記憶手段に退避させた場合にも、第1の記
憶手段に記憶されたデータのリンク構造を、演算制御手
段が処理に必要なデータを第2の記憶手段に頻繁にアク
セスすることなく第1の記憶手段から効率よく得ること
ができる状態に維持することができ、演算制御手段にお
けるリンク構造のデータの処理を高速に実行することが
可能になる。また、本発明のデータ管理方法およびその
装置によれば、前記第2の記憶手段に記憶されたデータ
の前記第1の記憶手段に記憶されたデータに対しての複
数のリンクに関する前記リンク情報を、高速に検索する
ことができ、データ退避にともなう処理を高速に実行す
ることができる。
According to the data management method and apparatus of the present invention, even when the data of the link structure stored in the first storage means is evacuated to the second storage means, the data management method and the data storage apparatus can be used. The link structure of the data stored in the first storage means is changed to a state where the operation control means can efficiently obtain data necessary for processing from the first storage means without frequently accessing the second storage means. Therefore, it is possible to execute the data processing of the link structure in the arithmetic and control unit at high speed. Further, a data management method and the present invention
According to the apparatus , the link information on a plurality of links of the data stored in the second storage means with respect to the data stored in the first storage means can be searched at high speed. The processing accompanying the evacuation can be executed at high speed.

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

【図1】本実施例のデータ管理方法を用いて計算機シス
テムの構成図である。
FIG. 1 is a configuration diagram of a computer system using a data management method according to an embodiment.

【図2】本実施例のメインメモリおよび2次メモリに記
憶されたデータを説明するための図である。
FIG. 2 is a diagram for explaining data stored in a main memory and a secondary memory according to the embodiment.

【図3】本実施例のメインメモリに記憶されるSRT,
XRT,IRTを説明するための図である。
FIG. 3 shows an SRT stored in a main memory of the present embodiment,
It is a figure for explaining XRT and IRT.

【図4】メインメモリのデータを2次メモリに退避させ
た後に、メインメモリおよび2次メモリに記憶されたデ
ータを説明するための図である。
FIG. 4 is a diagram for explaining data stored in the main memory and the secondary memory after data in the main memory is saved in the secondary memory.

【図5】メインメモリのデータを2次メモリに退避させ
た後に、メインメモリに記憶されるSRT,XRT,I
RTを説明するための図である。
FIG. 5 shows SRT, XRT, and IRT stored in the main memory after data in the main memory is saved in the secondary memory.
It is a figure for explaining RT.

【図6】2次メモリのデータをメインメモリに転送した
後に、メインメモリおよび2次メモリに記憶されるデー
タを説明するため図である。
FIG. 6 is a diagram for explaining data stored in the main memory and the secondary memory after data in the secondary memory is transferred to the main memory.

【図7】2次メモリのデータをメインメモリに転送した
後に、メインメモリに記憶されるSRT,XRT,IR
Tを説明するための図である。
FIG. 7 shows SRT, XRT, IR stored in the main memory after transferring data in the secondary memory to the main memory.
It is a figure for explaining T.

【図8】従来技術を説明するための図である。FIG. 8 is a diagram for explaining a conventional technique.

【図9】従来技術を説明するための図である。FIG. 9 is a diagram for explaining a conventional technique.

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

2・・・CPU 4・・・メインメモリ 6・・・入出力回路 8・・・2次メモリ 10・・・外部バス 12・・・内部バス 2 ... CPU 4 ... Main memory 6 ... I / O circuit 8 ... Secondary memory 10 ... External bus 12 ... Internal bus

フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G06F 9/44 G06F 12/00 - 12/02 G06F 12/08 Continuation of the front page (58) Field surveyed (Int.Cl. 7 , DB name) G06F 9/44 G06F 12/00-12/02 G06F 12/08

Claims (5)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】演算制御手段からアクセスされる第1の記
憶手段と、該第1の記憶手段に記憶されたデータを退避
可能であり前記第1の記憶手段に比べて大規模な記憶容
量を有する第2の記憶手段とに記憶され、前記演算制御
手段で処理されてリンク構造が変化するデータを管理す
るデータ管理方法であって、 前記第2の記憶手段に記憶されたデータの前記第1の記
憶手段に記憶されたデータに対しての複数のリンクに関
るリンク情報を、それぞれリンクさせて記憶し、 該リンクに基づいて、複数のリンク情報のなかから単数
または複数のリンク情報を検索し、該検索されたリンク
情報に基づいて、前記第2の記憶手段に記憶されたデー
タからリンクされた前記第1の記憶手段に記憶されたデ
ータ、および、該データと直接または間接的にリンクさ
れたデータを前記第2の記憶手段に退避するデータ管理
方法。
A first storage unit accessed by an operation control unit; and a data storage unit capable of saving data stored in the first storage unit, and having a larger storage capacity than the first storage unit. A data management method for managing data whose link structure is changed by being processed by the arithmetic and control unit and stored in the second storage unit, wherein the first data of the data stored in the second storage unit is stored. of the relationship <br/> be ruri link information to a plurality of links on the data stored in the storage means, stores by linking each, based on the link, one or from a plurality of link information Searching a plurality of link information, based on the searched link information, data stored in the first storage unit linked from data stored in the second storage unit; and Direct or indirect A data management method for saving data linked to the second storage means.
【請求項2】前記第1の記憶手段から前記第2の記憶手
段に退避したデータのうち、前記第1の記憶手段のデー
タに対してのリンクに関するリンク情報を、リンクされ
て記憶された前記リンク情報に対してさらにリンクさせ
て記憶する請求項1記載のデータ管理方法。
2. A method according to claim 1, wherein, among the data saved from said first storage means to said second storage means, link information relating to a link to said data of said first storage means is stored. 2. The data management method according to claim 1, wherein the link information is further linked and stored.
【請求項3】前記第1の記憶手段と前記第2の記憶手段
との間のデータ転送を、直接または間接的にリンクされ
た複数のデータを単位として行う請求項1または請求項
2に記載のデータ管理方法。
3. The data transfer method according to claim 1, wherein the data transfer between the first storage means and the second storage means is performed in units of a plurality of data directly or indirectly linked. Data management methods.
【請求項4】前記第1の記憶手段に前記リンク情報を記
憶する請求項1〜3のいずれかに記載のデータ管理方
法。
4. The data management method according to claim 1, wherein said link information is stored in said first storage means.
【請求項5】演算制御手段と、 該演算制御手段からアクセスされ、前記演算制御手段で
処理されてリンク構造が変化するデータを管理する第1
の記憶手段と、 該第1の記憶手段に記憶されたデータを退避可能であり
前記第1の記憶手段に比べて大規模な記憶容量を有する
第2の記憶手段とを有するデータ管理装置であって、 前記第2の記憶手段に記憶されたデータの前記第1の記
憶手段に記憶されたデータに対しての複数のリンクに関
るリンク情報を、それぞれリンクさせて前記第1の記
憶手段に記憶し、 前記第1の記憶手段が、前記リンクに基づいて、複数の
リンク情報のなかから単数または複数のリンク情報を検
索し、該検索されたリンク情報に基づいて、前記第2の
記憶手段に記憶されたデータからリンクされた前記第1
の記憶手段に記憶されたデータ、および、該データと直
接または間接的にリンクされたデータを前記第2の記憶
手段に退避するデータ管理装置。
5. An arithmetic control unit, and a first unit for managing data that is accessed by the arithmetic control unit and processed by the arithmetic control unit to change a link structure.
And a second storage unit capable of saving data stored in the first storage unit and having a larger storage capacity than the first storage unit. Te, the relationship <br/> be ruri link information to a plurality of links on the data stored in the first storage means of the data stored in said second storage means, said by linking each Stored in a first storage unit, wherein the first storage unit retrieves one or a plurality of pieces of link information from the plurality of pieces of link information based on the link, and based on the retrieved link information, The first data linked from the data stored in the second storage means;
A data management device for saving data stored in the storage means and data directly or indirectly linked to the data in the second storage means.
JP08322793A 1993-04-09 1993-04-09 Data management method and device Expired - Fee Related JP3318787B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP08322793A JP3318787B2 (en) 1993-04-09 1993-04-09 Data management method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP08322793A JP3318787B2 (en) 1993-04-09 1993-04-09 Data management method and device

Publications (2)

Publication Number Publication Date
JPH06301592A JPH06301592A (en) 1994-10-28
JP3318787B2 true JP3318787B2 (en) 2002-08-26

Family

ID=13796442

Family Applications (1)

Application Number Title Priority Date Filing Date
JP08322793A Expired - Fee Related JP3318787B2 (en) 1993-04-09 1993-04-09 Data management method and device

Country Status (1)

Country Link
JP (1) JP3318787B2 (en)

Also Published As

Publication number Publication date
JPH06301592A (en) 1994-10-28

Similar Documents

Publication Publication Date Title
US4912629A (en) Real-time garbage collection for list processing using restructured cells for increased reference counter size
CN109086388B (en) Block chain data storage method, device, equipment and medium
JP3510042B2 (en) Database management method and system
US5659739A (en) Skip list data structure enhancements
JPH0668736B2 (en) Apparatus and method for providing a cache memory unit with a write operation utilizing two system clock cycles
US5313602A (en) Multiprocessor system and method of control over order of transfer of data between buffer storages
JPH05128072A (en) Inter-system exclusive control system
US5898875A (en) Method and computer system for loading objects
JP3318787B2 (en) Data management method and device
JP3378594B2 (en) Processing unit that performs database relocation
US5684995A (en) Segment division management system
US11874767B2 (en) Memory partitions for processing entities
JP2560610B2 (en) Data processing device
JP2787107B2 (en) Buffer control system and device
JP2980610B2 (en) Transaction management device
JP2615046B2 (en) Record addition processing method
JP3423422B2 (en) Information processing method and information processing apparatus
JPS63261430A (en) Method and apparatus for information processing
JPH0695935A (en) Record format change system for database
JPH0474232A (en) Multi-task computer
JPS6380349A (en) High speed page input/output system
JPH03282966A (en) Method for managing hash entry area
JPH06208497A (en) Method for managing data base
JP3585264B2 (en) Database system and data retrieval method
JPS6035692B2 (en) Buffer management method

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees