JPH067376B2 - Information Module Loading Area Selection Method - Google Patents
Information Module Loading Area Selection MethodInfo
- Publication number
- JPH067376B2 JPH067376B2 JP59181941A JP18194184A JPH067376B2 JP H067376 B2 JPH067376 B2 JP H067376B2 JP 59181941 A JP59181941 A JP 59181941A JP 18194184 A JP18194184 A JP 18194184A JP H067376 B2 JPH067376 B2 JP H067376B2
- Authority
- JP
- Japan
- Prior art keywords
- information
- information module
- loaded
- level
- cell
- 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 - Lifetime
Links
- 238000011068 loading method Methods 0.000 title claims description 37
- 238000010187 selection method Methods 0.000 title claims description 6
- 238000000034 method Methods 0.000 claims description 19
- 238000010586 diagram Methods 0.000 description 5
- 238000007796 conventional method Methods 0.000 description 4
- CIWBSHSKHKDKBQ-JLAZNSOCSA-N Ascorbic acid Chemical compound OC[C@H](O)[C@H]1OC(=O)C(O)=C1O CIWBSHSKHKDKBQ-JLAZNSOCSA-N 0.000 description 2
- 230000000694 effects Effects 0.000 description 1
- 230000000717 retained effect Effects 0.000 description 1
- 230000008685 targeting Effects 0.000 description 1
Landscapes
- Memory System Of A Hierarchy Structure (AREA)
Description
【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、モジュール化したプログラム情報等の情報モ
ジュールを、例えば外部記憶装置から主記憶装置にロー
ディングする際のローディング領域選択方法に係り、特
にローディングすべき複数の情報モジュールが階層構造
となる場合のローディング領域選択方法に関する。Description: TECHNICAL FIELD The present invention relates to a loading area selection method when loading an information module such as modularized program information from an external storage device to a main storage device, in particular, The present invention relates to a loading area selection method when a plurality of information modules to be loaded have a hierarchical structure.
従来、モジュール化したプログラム等の情報を必要に応
じてディスク装置等の外部記憶装置から主記憶装置の所
定領域にローディングする際の方式として、例えばLRU
(Least Recently Used)論理に従った方式が知られて
いる。Conventionally, as a method of loading information such as a modularized program from an external storage device such as a disk device into a predetermined area of the main storage device as needed, for example, an LRU
(Least Recently Used) A method based on the logic is known.
これは、例えば第4図(a)に示すように、4個の情報モ
ジュールA,B,C,Dを2個の領域(以下、セルという)C1,
C2にローディングする場合を想定すると、まず、情報モ
ジュールAを使用する場合、この情報モジュールAを未
使用状態のセルC1にローディングし、次いで、情報モジ
ュールBを使用する場合、この情報モジュールBを他の
未使用状態のセルC2にローディングするようにいてい
る。そして、上記のように両セルC1,C2に情報モジュー
ルA,Bが既にローディングされている状態において、情
報モジュールCを使用する場合には、当該既にローディ
ングされている情報モジュールA,Bのうち使用した時期
が最も古い情報モジュールが存在するセル、即ちセルC1
に当該新たな情報モジュールCをローディングするよう
にし、以後同様に、新たな情報モジュールをローディン
グする際には、既にローディングされている情報モジュ
ールのうち使用した時期が最も古い情報モジュールが存
在するセルを新たにローディングすべきセルとして決定
するようにしている。This is, for example, as shown in FIG. 4 (a), four information modules A, B, C, D are divided into two areas (hereinafter referred to as cells) C1,
Assuming that the information module A is used, first, when the information module A is used, the information module A is loaded in the unused cell C1, and then, when the information module B is used, the information module B is not used. It is designed to load the unused cell C2. Then, when the information module C is used in a state where the information modules A and B are already loaded in both cells C1 and C2 as described above, when the information module C is used, one of the already loaded information modules A and B is used. The cell in which the oldest information module existed, that is, cell C1
Then, the new information module C is loaded in the same manner, and thereafter, when loading the new information module, similarly, when loading the new information module, the cell in which the information module that has been used the oldest is present is selected. The cells to be newly loaded are decided.
しかしながら、上記のような単にLRU論理に従う情報モ
ジュールのローディング領域選択方法では、一般にロー
ディング処理の回数が多くなるという欠点があり、ま
た、ローディングすべき複数の情報モジュールが第4図
(b)に示すように階層構造となって、下位階層の情報モ
ジュールが上位階層の情報モジュールの存在のもとに意
味をもつような場合、例えば、メインプログラム情報と
そのサブルーチンプログラム情報等のような場合には、
それらの情報を有効に使用するには、ローディングされ
るべきセルを比較的多数確保しなければならず、効率的
なローディングがむずかしいという問題があった。However, the above-mentioned method of selecting the loading area of the information module simply according to the LRU logic has a drawback that the number of loading processes is generally large, and a plurality of information modules to be loaded are not shown in FIG.
In the hierarchical structure as shown in (b), if the lower level information module has meaning in the presence of the upper level information module, for example, main program information and its subroutine program information, etc. In that case,
In order to effectively use such information, it is necessary to secure a relatively large number of cells to be loaded, which makes efficient loading difficult.
本発明は上記問題点に鑑みてなされたもので、階層構造
となる複数の情報モジュールのローディング領域選択方
法として、領域へのローディング単位にモジュール化さ
れ、そのモジュール化された複数の情報は階層構造の関
係を有し、その階層構造から対応する階層レベルの情報
が与えられている情報モジュールの、ローディング領域
選択方法において、 前記情報モジュールが既にローディングされている領域
のうちいずれかに、新たな1つの情報モジュールをロー
ディングするに際し、前記情報モジュールの階層レベル
の情報に基づいて、既にローディングされている複数の
情報モジュールを対象に、最下位の階層レベルに属する
情報モジュールから上位の階層レベルに属する情報モジ
ュールへと検索を遂行し、検索の過程で同一階層レベル
に属する情報モジュールが複数存在する階層レベルを見
出した時には、当該階層レベルに属する複数の情報モジ
ュールの中で、使用した時期が最も古い情報モジュール
がローディングされている領域を、新たにローディング
すべき領域としたことを特徴とするものである。The present invention has been made in view of the above problems, and as a loading area selection method for a plurality of information modules having a hierarchical structure, the plurality of information modularized is modularized in units of loading into areas. In the loading area selecting method of the information module having the relationship of 1) and the information of the corresponding hierarchical level is given from the hierarchical structure, a new 1 is added to one of the areas where the information module is already loaded. When loading one information module, based on the information of the hierarchy level of the information module, the information modules belonging to the lowest hierarchy level and the information belonging to the higher hierarchy level are targeted for a plurality of already loaded information modules. The module is searched and the same level level is searched during the search. When a hierarchy level in which a plurality of information modules belonging to a hierarchy exist is found, the area in which the information module that has been used the oldest among the plurality of information modules belonging to the hierarchy level is newly loaded should be newly loaded. The feature is that it is defined as a region.
以下、本発明の実施例を図面に基づいて説明する。 Embodiments of the present invention will be described below with reference to the drawings.
第2図は本発明に係る情報モジュールのローディング領
域選択方法を適用したシステムの概念構成例を示す説明
図である。この例はフロッピーディスク装置FDPに記録
した階層構造となる複数の情報モジュールの一つを、ロ
ーダLによって上位装置における主記憶装置MMのセルC1
乃至C4のいずれかにローディングするシステムであり、
ローダLはセル管理モジュールを参照して当該ローディ
ング作動を行うようにしている。FIG. 2 is an explanatory diagram showing a conceptual configuration example of a system to which the method for selecting the loading area of the information module according to the present invention is applied. In this example, one of a plurality of information modules having a hierarchical structure recorded in the floppy disk device FDP is loaded by the loader L into the cell C1 of the main memory MM in the host device.
It is a system to load to any of
The loader L refers to the cell management module to perform the loading operation.
ここで、上記セル管理モジュールは以下のようなテーブ
ル1乃至同3を有している。Here, the cell management module has the following tables 1 to 3.
テーブル1:セルC1乃至C4の使用/未使用状態を示すテ
ーブル テーブル2:セルC1乃至C4にローディングされている情
報モジュールの階層(以下、レベルという)番号を示す
テーブル テーブル3:上位装置において使用した情報モジュール
の履歴に対応した使用セルの履歴を示すテーブルで、新
しいセルを先頭に順次チェーンしたもの。Table 1: Table showing used / unused state of cells C1 to C4 Table 2: Table showing hierarchy (hereinafter referred to as level) number of information module loaded in cells C1 to C4 Table 3: Used in host device A table showing the history of used cells corresponding to the history of the information module, in which new cells are sequentially chained at the beginning.
そして、ローダLは具体的には上記テーブル1乃至同3
を参照して以下の手順に従ってフロッピーディスク装置
FOP内の情報モジュールをセルC1乃至C4のいずれかにロ
ーディングするようにしている。Then, the loader L is specifically the above tables 1 to 3
Please refer to the following steps and follow the procedure below.
The information module in the FOP is loaded in any of the cells C1 to C4.
手順1:テーブル1を参照して未使用セルが存在する場
合、そのセルにローディングする。Procedure 1: Referring to Table 1, if there is an unused cell, load it.
手順2-1:テーブル1を参照して未使用セルが存在しな
い場合、更にテーブル2を参照して、セルC1乃至C4にロ
ーディングされている情報モジュールのレベルのうち同
一レベルとして複数存在し、かつ最下位となるレベルを
検索する。Step 2-1: If there is no unused cell by referring to Table 1, further refer to Table 2 and there are a plurality of information modules loaded in cells C1 to C4 as the same level, and Find the lowest level.
手順2-2:テーブル3を参照して、上記のように検索し
たレベルの情報モジュールのうち使用した時期が最も古
い情報モジュールが存在するセルを決定し、このセルに
ローディングする。Step 2-2: Referring to Table 3, the cell in which the information module of the earliest used time exists among the information modules of the levels searched as described above is determined and loaded into this cell.
次に、第3図(a)に示すような階層構造となる情報モジ
ュールA乃至HをセルC1乃至C4にローディングする際の
具体的な作動について説明する。その作動フローは第1
図に示すようになるが、第1図において、フローF1は上
記手順1に対応し、フローF2は上記手順2-1及び手順2-2
に対応している。Next, a specific operation of loading the information modules A to H having the hierarchical structure as shown in FIG. 3 (a) into the cells C1 to C4 will be described. The operation flow is the first
As shown in the figure, in FIG. 1, the flow F1 corresponds to the above procedure 1, and the flow F2 corresponds to the above procedure 2-1 and procedure 2-2.
It corresponds to.
まず、第3図(b)のステップ1で示すように、セルC1乃
至C3のそれぞれに情報モジュールA,B,Cが既にローディ
ングされている状態で、情報モジュールDの使用指令が
なされると、主記憶装置MMに当該情報モジュールDがロ
ーディングされていないので、新たな情報モジュールD
がローディングされることになる。その作動は、第1図
のフローF1において、nは初期値“1”に設定し、順次
nをインクリメントしながらテーブル1を参照してセル
n(Cn)が未使用か否かを判別してゆく。その過程のn=
4となった時点でセル4(C4)が未使用セルであることが
判別され、この“4”がローディングされるべきセル番
号N(=4)として決定される。従って、ステップ1で
は情報モジュールDがセルC4にローディングされる。First, as shown in step 1 of FIG. 3 (b), when the instruction to use the information module D is issued while the information modules A, B and C are already loaded in the cells C1 to C3, respectively, Since the information module D is not loaded in the main memory MM, a new information module D
Will be loaded. The operation is performed by setting the initial value "1" of n in the flow F1 of FIG.
It is determined whether n (Cn) is unused. N = of the process
When it becomes 4, it is determined that the cell 4 (C4) is an unused cell, and this "4" is determined as the cell number N (= 4) to be loaded. Therefore, in step 1, information module D is loaded into cell C4.
第3図(b)のステップ7で示すように、セルC1乃至C4の
それぞれに情報モジュールA,B,E,Dが既にローディング
されている状態で、新たに情報モジュールCをローディ
ングすることを想定すると、セルC1乃至C4すべてが使用
状態であることから、第1図のフローF1ではローディ
ングすべきセルの決定がなされず、フローF2に移行す
る。フローF2において、に最大レベル番号、即ち
“2”が設定され(最下位レベルに対応)、順次この
をデクリメントしながらテーブル2を参照してレベル
が複数存在するかを判別する。すると、情報モジュール
DとEがレベル2であることから、=2(初期値)の
時にその複数存在が判別され、当該ローディング済とな
るレベル2の情報モジュールの数“2”がmに設定され
ると共に、テーブル3を参照してセルチェーンの先頭ア
ドレスがaに設定される。この時、第3図(b)における
「セルチェーン」の欄から明らかなように上記セルチェ
ーンの先頭アドレスaはセルC2に対応している。以後、
上記アドレスaを順次更新しながら、アドレスaに対応
したセルがレベル2の情報モジュールをローディングし
ているものかを判別してゆく。具体的には、アドレスa
は上記セルC2に対応したものから順次セルC1,C3にそれ
ぞれ対応したものに更新され(第3図(b))「セルチェ
ーン」の欄参照)、その過程で、セルC3がレベル2の情
報モジュールEをローディングしているものとして判別
される。すると、上記数値m(=2,レベル2の情報モ
ジュールの数)をデクリメント(m=1)して再びアド
レスaをセルC3対応のものからセルC4対応のものに更新
すると、このセルC4もまた、レベル2の情報モジュール
Dをローディングしているものとして判別され、更にm
(=1)をデクリメントする。そして、この数値mのデ
クリメント処理によってm=0になると、その時点での
アドレスaに対応したセル番号“4"(C4)がローディング
されるべきセル番号Nとして決定される。従って、ステ
ップ7では情報モジュールCがセルC4にローディングさ
れる。As shown in step 7 of FIG. 3 (b), it is assumed that a new information module C is loaded while the information modules A, B, E, D are already loaded in each of the cells C1 to C4. Then, since the cells C1 to C4 are all in use, the flow F1 of FIG. 1 does not determine the cells to be loaded, and the flow shifts to the flow F2. In the flow F2, the maximum level number, that is, “2” is set to (corresponding to the lowest level), and while decrementing this sequentially, the table 2 is referenced to determine whether there are multiple levels. Then, since the information modules D and E are level 2, a plurality of them are discriminated when = 2 (initial value), and the number "2" of the loaded level 2 information modules is set to m. At the same time, referring to Table 3, the start address of the cell chain is set to a. At this time, as is clear from the column of "cell chain" in FIG. 3 (b), the head address a of the cell chain corresponds to the cell C2. After that,
While sequentially updating the address a, it is determined whether or not the cell corresponding to the address a is loading the level 2 information module. Specifically, the address a
Is updated from the one corresponding to the cell C2 to the one corresponding to the cells C1 and C3, respectively (see FIG. 3 (b), "Cell chain" column). It is determined that the module E is being loaded. Then, when the above number m (= 2, the number of information modules of level 2) is decremented (m = 1) and the address a is updated again from the one corresponding to the cell C3 to the one corresponding to the cell C4, this cell C4 also becomes , It is determined that the level 2 information module D is loaded, and further m
Decrement (= 1). Then, when m = 0 by the decrement processing of the numerical value m, the cell number "4" (C4) corresponding to the address a at that time is determined as the cell number N to be loaded. Therefore, in step 7, the information module C is loaded into cell C4.
また更に、第3図(b)のステップ10で示すように、セルC
1乃至C4のそれぞれに情報モジュールA,B,F,Cが既にロー
ディングされている状態で、新たに情報モジュールGを
ローディングすることを想定すると、セルC1乃至C4すべ
てが使用状態であることから、上記同様フローF1からフ
ローF2に移行する。このフローF2において、に最大レ
ベル番号“2”が設定され、順次このをデクリメント
しながらテーブル2を参照してレベルが複数存在する
かを判別する。すると、情報モジュールBとFがレベル
1であることから、=1の時にその複数存在が判別さ
れ、当該ローディング済となるレベル2の情報モジュー
ルの数“2”がmに設定されると共にテーブル3を参照
してセルチェーンの先頭アドレスがaに設定される。こ
の時、このセルチェーンの先頭アドレスaはセルC3に対
応している(第3図(b)の「セルチェーン」欄参照)。
すると、この先頭アドレスaに対応したセルC3にはレベ
ル1の情報モジュールFがローディングされていること
から、まず、上記数値m(=2)がデクリメント(m=
1)され、以後、上記アドレスaを順次更新しながら、
アドレスaに対応したセルがレベル1の情報モジュール
をローディングしているものかを判別してゆく。具体的
には、アドレスaは上記セルC3に対応したものから順次
セルC1,C4,C2にそれぞれ対応したものに更新され(第3
図(b)「セルチェーン」の欄参照)、その過程で、セルC
2がレベル1の情報モジュールBをローディングしてい
るものとして判別される。すると、上記数値m(=1)
がデクリメントされ、このデクリメント処理によってm=
0になると、その時点でのアドレスaに対応したセル番
号“2"(C2)がローディングされるべきセル番号nとして
決定される。従ってステップ10では情報モジュールGが
セルC2にローディングされる。Furthermore, as shown in step 10 of FIG. 3 (b), the cell C
Assuming that the information module G is newly loaded in a state where the information modules A, B, F, and C are already loaded in each of 1 to C4, all the cells C1 to C4 are in use, Similar to the above, the flow shifts from the flow F1 to the flow F2. In this flow F2, the maximum level number "2" is set to, and while decrementing this sequentially, referring to Table 2, it is determined whether or not there are a plurality of levels. Then, since the information modules B and F are at level 1, a plurality of them are discriminated when = 1 and the number "2" of the information modules of level 2 which have been loaded are set to m and the table 3 is set. Is set to the start address of the cell chain. At this time, the head address a of this cell chain corresponds to the cell C3 (see the "cell chain" column in FIG. 3 (b)).
Then, since the information module F of level 1 is loaded in the cell C3 corresponding to the head address a, first, the numerical value m (= 2) is decremented (m =
1) is performed, and thereafter, while sequentially updating the address a,
It is determined whether the cell corresponding to the address a is loading the level 1 information module. Specifically, the address a is sequentially updated from the address corresponding to the cell C3 to the address corresponding to the cells C1, C4, and C2 (third address).
Figure (b) "Cell chain" column), in the process, cell C
2 is determined as loading the level 1 information module B. Then, the above numerical value m (= 1)
Is decremented and m =
When it becomes 0, the cell number "2" (C2) corresponding to the address a at that time is determined as the cell number n to be loaded. Therefore, in step 10, the information module G is loaded in the cell C2.
尚、第3図(b)における他のステップ2,9,11,14において
も、上記と同様、フローF2に従ってローディングされる
べきセルが決定される。Incidentally, also in the other steps 2, 9, 11, and 14 in FIG. 3 (b), the cells to be loaded are determined in accordance with the flow F2, as in the above.
上記のように本実施例によれば、セルC1乃至C4がすべて
使用状態にある場合、フローF2に従って処理されること
から、セルC1乃至C4にローディング済となる情報モジュ
ールは常に全レベル0乃至2のものとなり、この階層構
造となる情報モジュールを使用するにあたり、極力無駄
なローディングを避けることができる。例えば、第3図
(b)に示す15ステップの情報モジュール使用に際して、
単に従来のLRU論理に従った場合10回のローディングが
必要となるものが、本発明に係る方法に従えば7回で済
むことなる。As described above, according to this embodiment, when all the cells C1 to C4 are in use, the information modules loaded in the cells C1 to C4 are always processed at all levels 0 to 2 because the cells are processed according to the flow F2. Therefore, when using the information module having the hierarchical structure, it is possible to avoid unnecessary loading as much as possible. For example, Figure 3
When using the 15-step information module shown in (b),
Whereas the conventional LRU logic simply requires 10 loadings, the method according to the present invention requires only 7 loadings.
尚、第1図におけるフローF3は、階層構造のレベル数が
ローディングされるべきセルの数と同数かそれ以上の場
合、同一レベルの情報モジュールがローディングされて
いるセルが複数存在しない場合(全レベルについて1つ
ずつローディングされる場合)があるが、この場合にお
いて、新たにローディングすべきセルを決定するための
作動フローを示している。具体的にいえば、同一レベル
の情報モジュールがローディングされているセルが複数
存在しない場合、レベル番号が最も大きい(下位レベ
ル)情報モジュールがローディングされているセルを新
たにローディングすべきセルとして決定するようにして
いる。It should be noted that the flow F3 in FIG. 1 is for the case where the number of levels of the hierarchical structure is equal to or greater than the number of cells to be loaded, and when there are no cells loaded with information modules of the same level (all levels). In this case, the operation flow for determining a cell to be newly loaded is shown. Specifically, if there are no cells loaded with information modules of the same level, the cell loaded with the information module with the highest level number (lower level) is determined as the cell to be newly loaded. I am trying.
〔発明の効果〕 以上説明してきたように、本発明によれば、情報モジュ
ールが既にローディングされている領域のうちのいずれ
かに、新たに1つの情報モジュールをローディングする
に際し、前記情報モジュールの階層レベルの情報に基づ
いて、既にローディングされている複数の情報モジュー
ルを対象に、最下位の階層レベルに属する情報モジュー
ルから上位の階層レベルに属する情報モジュールへと検
索を遂行し、検索の過程で同一階層レベルに属する情報
モジュールが複数存在する階層レベルを見出した時に
は、当該階層レベルに属する複数の情報モジュールの中
で、使用した時期が最も古い情報モジュールがローディ
ングされている領域を、新たにローディングすべき領域
とする。[Effects of the Invention] As described above, according to the present invention, when one information module is newly loaded in any of the areas in which the information module is already loaded, the hierarchy of the information modules is added. Based on the level information, a search is performed from the information modules belonging to the lowest hierarchical level to the information modules belonging to the higher hierarchical level, targeting a plurality of already loaded information modules, and the same in the process of searching. When a hierarchy level having a plurality of information modules belonging to the hierarchy level is found, an area in which the information module that has been used the oldest among the plurality of information modules belonging to the hierarchy level is newly loaded is newly loaded. The area should be
例えば、第3図(a)に示されているような階層構造を持
つ情報モジュールの場合(もしBが使用された後にC,
D,Eと使用され、再度Bが使用される場合で、そのロ
ーディングすべき領域がB,C,Dがローディングされ
ている3個の領域しかない場合には)、従来のローディ
ング方法(従来のLRU)では、B,C,D,Eと順に
使用されるため、情報モジュールEを使用する際に、そ
の時点でBが最も古い情報であるため、Bがローディン
グされている領域にEがローディングされてしまい、次
に使用されるべき情報モジュールBは、すでに使用でき
る領域の中からは消去されていて、再ローディングしな
ければ使用できないという不具合が生じるが、本発明の
ローディング方法では、階層レベル別に使用時期を管理
しているため、情報モジュールEを使用する際には、同
じ階層レベルで最も使用時期の古い情報モジュールCが
ローディングされている領域に情報モジュールEがロー
ディングされ、次に情報モジュールBが使用される際
に、情報モジュールBを再ローディングしなくても使用
できるようになる。For example, in the case of an information module having a hierarchical structure as shown in FIG. 3 (a) (if B is used, then C,
When D and E are used and B is used again, and the area to be loaded is only three areas in which B, C and D are loaded, the conventional loading method (conventional method) is used. In the LRU), B, C, D, and E are used in order, so when using the information module E, since B is the oldest information at that time, E is loaded in the area where B is loaded. The information module B to be used next is erased from the already usable area and cannot be used unless reloaded. However, in the loading method of the present invention, the hierarchical level is used. Since the usage time is managed separately, when using the information module E, the information module C with the oldest usage time at the same hierarchical level is loaded. Information area have the module E is loaded, then when the information module B is used, so that can be used without re-loading the information module B.
これにより、階層レベルが上位のものほど優先的に領域
を保持できるようになり、階層レベル別にLRU管理が
でき、従来方法よりもきめ細かなローディング制御がで
きるとともに、従来方法よりもローディング回数が少な
くなって、より効率の良い情報モジュールのローディン
グ領域選択方法が実現できる。As a result, the higher the hierarchy level, the more the area can be retained, the LRU management can be performed for each hierarchy level, the finer loading control than the conventional method can be performed, and the number of times of loading is smaller than the conventional method. Thus, a more efficient information module loading area selection method can be realized.
第1図は本発明に係る情報モジュールのローディング方
法の処理フローの一例を示すフローチャート、第2図は
本発明に係る情報モジュールのローディング方式を適用
するシステム例の概念構造を示す説明図、第3図(a)は
情報モジュールの階層構造例を示す説明図、第3図(b)
は第3図(a)に示した階層構造となる情報モジュールの
ローディング状態を従来のLRU論理に従う方式と本発明
に係る方法とを比較して示した説明図、第4図(a)は従
来のLRU論理に従った場合のローディング状態の一例を
示す説明図、第4図(b)は情報モジュールの階層構造例
を示す説明図である。FIG. 1 is a flow chart showing an example of a processing flow of an information module loading method according to the present invention, and FIG. 2 is an explanatory diagram showing a conceptual structure of an example system to which the information module loading method according to the present invention is applied. FIG. 3 (a) is an explanatory diagram showing an example of the hierarchical structure of the information module, and FIG. 3 (b).
Is an explanatory view showing the loading state of the information module having the hierarchical structure shown in FIG. 3 (a) by comparing the method according to the conventional LRU logic with the method according to the present invention. FIG. 4 (a) shows the conventional method. FIG. 4 is an explanatory diagram showing an example of a loading state in accordance with the LRU logic of FIG. 4, and FIG. 4 (b) is an explanatory diagram showing an example of a hierarchical structure of information modules.
Claims (1)
され、そのモジュール化された複数の情報は階層構造の
関係を有し、その階層構造から対応する階層レベルの情
報が与えられている情報モジュールの、ローディング領
域選択方法において、 前記情報モジュールが既にローディングされている領域
のうちいずれかに、新たに1つの情報モジュールをロー
ディングするに際し、 前記情報モジュールの階層レベルの情報に基づいて、 既にローディングされている複数の情報モジュールを対
象に、最下位の階層レベルに属する情報モジュールから
上位の階層レベルに属する情報モジュールへと検索を遂
行し、 検索の過程で同一階層レベルに属する情報モジュールが
複数存在する階層レベルを見出した時には、当該階層レ
ベルに属する複数の情報モジュールの中で、使用した時
期が最も古い情報モジュールがローディングされている
領域を、新たにローディングすべき領域としたこと を特徴とする情報モジュールのローディング領域選択方
法。1. An information module which is modularized in a unit of loading into an area, and the plurality of modularized information have a hierarchical structure relationship, and information of a corresponding hierarchical level is given from the hierarchical structure. In the loading area selection method, when newly loading one information module into any of the areas where the information module is already loaded, the information module is already loaded based on the information of the hierarchical level of the information module. A hierarchy in which a plurality of information modules belonging to the same hierarchy level are searched in the process of searching from the information modules belonging to the lowest hierarchy level to the information modules belonging to the higher hierarchy level. When a level is found, multiple information belonging to the hierarchical level A method for selecting a loading area for an information module, characterized in that, in the information module, an area in which an information module that has been used for the oldest time is loaded is set as an area to be newly loaded.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP59181941A JPH067376B2 (en) | 1984-08-31 | 1984-08-31 | Information Module Loading Area Selection Method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP59181941A JPH067376B2 (en) | 1984-08-31 | 1984-08-31 | Information Module Loading Area Selection Method |
Publications (2)
Publication Number | Publication Date |
---|---|
JPS6160152A JPS6160152A (en) | 1986-03-27 |
JPH067376B2 true JPH067376B2 (en) | 1994-01-26 |
Family
ID=16109567
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP59181941A Expired - Lifetime JPH067376B2 (en) | 1984-08-31 | 1984-08-31 | Information Module Loading Area Selection Method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH067376B2 (en) |
-
1984
- 1984-08-31 JP JP59181941A patent/JPH067376B2/en not_active Expired - Lifetime
Also Published As
Publication number | Publication date |
---|---|
JPS6160152A (en) | 1986-03-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5584018A (en) | Information memory apparatus having a plurality of disk drives and calculating and re-allocating data according to access frequency | |
Daley et al. | Virtual memory, processes, and sharing in Multics | |
US6505257B2 (en) | Multi-processor system, disk controller using the same and nondisruptive maintenance method thereof | |
US5247681A (en) | Dynamic link libraries system and method | |
EP0474395A2 (en) | Data storage hierarchy with shared storage level | |
US20050044311A1 (en) | Reducing disk IO by full-cache write-merging | |
JP3510042B2 (en) | Database management method and system | |
JPS5818728A (en) | Data communication executing system | |
CN104573112B (en) | Page interrogation method and data processing node in OLTP Cluster Databases | |
JPS61112255A (en) | Computer system | |
US6952757B2 (en) | Method, system, and program for managing storage units in storage pools | |
ZA200104265B (en) | Method and apparatus for concurrent DBMS table operations. | |
GB2348306A (en) | Batch processing of tasks in data processing systems | |
US5226176A (en) | System for selectively aborting operation or waiting to load required data based upon user response to non-availability of network load device | |
JPH01500377A (en) | Apparatus and method for providing a cache memory unit with write operations that utilize two system clock cycles | |
US5414842A (en) | External sorting using virtual storage as a work device | |
US4937780A (en) | Single instruction updating of processing time field using software invisible working registers | |
JPH05165718A (en) | Processing system | |
US5377353A (en) | Method for managing common data stored in a memory accessible by a plurality of programs | |
JPH067376B2 (en) | Information Module Loading Area Selection Method | |
JPH0679297B2 (en) | Sequence memory control circuit | |
US4760522A (en) | Intermixing of different capacity memory array units in a computer | |
US5684995A (en) | Segment division management system | |
EP0543032A1 (en) | Expanded memory addressing scheme | |
US6243807B1 (en) | Optimizing cache data load required for functions in loop routine by sequentially collecting data in external memory for single block fetch |