JPS63184836A - Frame managing system - Google Patents

Frame managing system

Info

Publication number
JPS63184836A
JPS63184836A JP62017104A JP1710487A JPS63184836A JP S63184836 A JPS63184836 A JP S63184836A JP 62017104 A JP62017104 A JP 62017104A JP 1710487 A JP1710487 A JP 1710487A JP S63184836 A JPS63184836 A JP S63184836A
Authority
JP
Japan
Prior art keywords
frame
queue
storage area
load number
frames
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
JP62017104A
Other languages
Japanese (ja)
Inventor
Yoshikatsu Ikoma
生駒 良勝
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP62017104A priority Critical patent/JPS63184836A/en
Publication of JPS63184836A publication Critical patent/JPS63184836A/en
Pending legal-status Critical Current

Links

Landscapes

  • Devices For Executing Special Programs (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PURPOSE:To improve the utilization efficiency of a main storage device by managing a frame by a queue arranged in order of a new access. CONSTITUTION:A main storage device 8 contains a frame storage part 13 for storing a frame F and a frame managing information storage part 1. The frame managing information storage part 1 consists of a queue storage area 1a for storing a queue which has arranged discriminating information of the frame existing on the main storage device 8, a load number storage area 1b for storing a load number being the total number of the frames existing on the main storage device 8, a maximum load number storage area 1c for storing the maximum load number, and a minimum load number storage area 1d for storing the minimum load number. A queue adding means 3 updates a queue storage area 1a and a load number storage area 1b at the time the frame on a file 11 is read onto the main storage device 8 by a loading means 9.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は人工知能システムにおけるフレーム型知識表現
システムに関し、特に大量のフレームを限られた容量の
主記憶装置を使用して処理することができるフレーム管
理方式に関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a frame-type knowledge representation system in an artificial intelligence system, and in particular is capable of processing a large number of frames using a main memory with a limited capacity. Regarding frame management methods.

〔従来の技術〕[Conventional technology]

人工知能システムにおける知識表現システムの一つとし
て、フレームと呼ばれるデータ構造を採用したフレーム
型知識表現システムが知られている。
A frame-based knowledge representation system that employs a data structure called a frame is known as one of the knowledge representation systems in artificial intelligence systems.

従来、このようなフレーム型知識表現システムを計算機
システムにて実現する場合、必要なフレームは予め外部
記憶装置上のファイルに格納されており、処理開始時に
そのファイルから全てのフレームを一括して主記憶装置
に読込んで処理に供するようにしていた。また、−互生
記憶装置に読込まれたフレームをファイルに書出す処理
と、書出したフレームを主記憶装置から消去する処理と
は、システムの処理終了時に一括して行なっていた。
Conventionally, when implementing such a frame-based knowledge representation system on a computer system, the necessary frames are stored in advance in a file on an external storage device, and all frames are retrieved from that file at once at the start of processing. It was read into a storage device and used for processing. Furthermore, the process of writing a frame read into a reciprocal storage device to a file and the process of erasing the written frame from the main storage device are performed together at the end of system processing.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上述したように、従来の方式においては、全てのフレー
ムを常に主記憶装置上に存在させる方式を採用している
ので、主記憶装置の利用効率が低下し、大容量の主記憶
装置がなければ大量のフレームの処理が困難であるとい
う欠点があった。
As mentioned above, the conventional method uses a method in which all frames are always stored in the main memory, which reduces the utilization efficiency of the main memory and requires a large-capacity main memory. The drawback is that it is difficult to process a large number of frames.

そこで、本発明の目的は、大量のフレームを限られた容
量の主記憶装置を使用して処理することができるフレー
ム管理方式を提供することにある。
SUMMARY OF THE INVENTION Therefore, an object of the present invention is to provide a frame management method that can process a large number of frames using a main storage device with a limited capacity.

〔問題点を解決するための手段〕[Means for solving problems]

本発明は上記目的を達成するために、主記憶装置上に存
在するフレームをそのアクセスの新しい順に並べたキュ
ーを記憶するキュー記憶領域、主記憶装置上に存在する
フレームの総数であるロード数を記憶するロード数記憶
領域、ロード数の上限値である最大ロード数が設定され
た最大ロード数記憶領域およびロード数の最小値が設定
された最小ロード数記憶領域を含むフレーム管理情報記
憶部と、 フレームを格納するファイルから主記憶装置にフレーム
を読込む毎に前記キュー記憶領域およびロード数記憶領
域を更新するキュー追加手段と、前記ファイルから主記
憶装置にフレームを読込む毎に前記ロード数記憶領域と
前記最大ロード数記憶領域との内容からアンロードの必
要性を判定するアンロード判定手段と、 該アンロード判定手段でアンロードが必要と判定される
ことにより起動され、前記最小ロード数記憶領域に設定
されたロード数だけのフレームが主記憶装置に残るよう
に前記キュー記憶領域を参照して最近アクセスされてい
ないフレームを前記主記憶装置から前記ファイルへ書出
すためにアンロード手段を起動するアンロード選択手段
と、主記憶装置上のフレームがアクセスされる毎に前記
キュー記憶領域を更新するキュー更新手段とを備える。
In order to achieve the above object, the present invention has a queue storage area that stores a queue in which frames existing on the main storage are arranged in the order of the most recently accessed frames, and a load number that is the total number of frames existing on the main storage. a frame management information storage unit including a load number storage area to be stored, a maximum load number storage area where a maximum load number which is an upper limit of the load number is set, and a minimum load number storage area where a minimum load number is set; a queue addition means for updating the queue storage area and the load number storage area each time a frame is read into the main storage from a file storing the frame; and the load number storage is updated each time a frame is read from the file into the main storage. unload determination means for determining the necessity of unloading from the contents of the area and the maximum load number storage area; Activate an unloading means to refer to the queue storage area and write frames that have not been accessed recently from the main storage to the file so that as many frames as the number of loads set in the area remain in the main storage. and a queue update means that updates the queue storage area each time a frame on the main memory is accessed.

〔作用〕[Effect]

ロード手段によって主記憶装置へファイルからフレーム
が読込まれる毎にキュー追加手段により、また主記憶装
置上に存在するフレームがアクセスされる毎にキュー更
新手段により、それぞれキュー記憶領域が更新されるの
で、キュー記憶領域は常に主記憶装置上に存在するフレ
ームをそのアクセスの新しい順に並べたキューの状態を
保つ。ロード手段によるファイルから主記憶装置へのフ
レームの読込みが逐次行なわれ、主記憶装置に現に存在
するフレームの数が最大ロード数記憶領域に予め設定さ
れた最大ロード数を例えば越えると、それがアンロード
判定手段で判別されてアンロード選択手段が起動され、
このアンロード選択手段の指示に応答するアンロード手
段によって主記憶装置上に存在するフレームのうち最近
アクセスされていないフレームがファイルに書出され、
新たなフレームをファイルから主記憶装置ヘロードする
ための空き領域が確保される。
The queue storage area is updated by the queue adding means each time a frame is read from a file into the main memory by the loading means, and by the queue updating means each time a frame existing on the main memory is accessed. , the queue storage area always maintains a queue state in which frames existing on the main memory are arranged in the order of their most recent access. When frames are sequentially read from a file to the main memory by the loading means, and the number of frames currently existing in the main memory exceeds the maximum load number preset in the maximum load number storage area, for example, the frames are unloaded. It is determined by the load determination means and the unload selection means is activated.
The unloading means responsive to the instruction from the unloading selection means writes frames that have not been accessed recently among the frames existing on the main storage device to a file;
Free space is reserved for loading a new frame from the file into main storage.

〔実施例〕〔Example〕

次に本発明の実施例について図面を参照して説明する。 Next, embodiments of the present invention will be described with reference to the drawings.

第1図は本発明を実施するシステムの一例を示すブロッ
ク図であり、8は主記憶装置で、フレームFを記憶する
フレーム記憶部13.フレーム管理情報記憶部1を含ん
でいる。フレーム管理情報記憶部1は、主記憶装置8上
に存在するフレームの識別情報をアクセスの新しい順に
並べたキューを記憶するキュー記憶領域1a、主記憶装
置8上に存在するフレームの総数であるロード数を記憶
する。ロード数記憶領域lb、 ロード数の上限値であ
る最大ロード数を記憶する最大ロード数記憶領域1c、
および最小ロード数を記憶する最小ロード数記憶領域1
dから構成されている。また、11はフレームを格納す
るファイル、9はファイル11に格納されたフレームを
主記憶装置8にロードするロード手段、lOは主記憶装
置8上のフレームをファイル11に書出すアンロード手
段、7は図示しない要求元からの要求に応じて主記憶装
置8上のフレームの参照、更新を行なうフレーム参照更
新手段、2はフレーム管理情報記憶部1内の各領域へ初
期値を設定するための初期値設定手段、3はファイル1
1上のフレームがロード手段9によって主記憶装置8上
に読込まれる契機においてキュー記憶領域1aおよびロ
ード数記憶領域1bを更新するキュー追加手段、4はキ
ュー追加手段3と同一の契機においてアンロード手段l
Oの起動が必要か否かを判定するアンロード判定手段、
5はアンロード判定手段4から起動されファイル11へ
書出すフレームの選択とアンロード手段10の起動を行
なうアンロード選択手段、6はフレーム参照更新手段7
によって主記憶装置8上のフレームがアクセスされる契
機においてキュー記憶領域1aを更新するキュー更新手
段、12は入力手段である。
FIG. 1 is a block diagram showing an example of a system implementing the present invention, in which 8 is a main storage device, and a frame storage section 13.8 stores a frame F. It includes a frame management information storage section 1. The frame management information storage unit 1 includes a queue storage area 1a that stores a queue in which identification information of frames existing on the main storage device 8 is arranged in descending order of access, and a load storage area 1a that stores a queue that is the total number of frames existing on the main storage device 8. Memorize numbers. a load number storage area lb; a maximum load number storage area 1c that stores the maximum load number, which is the upper limit of the load number;
and minimum load number storage area 1 that stores the minimum load number.
It is composed of d. Further, 11 is a file for storing frames, 9 is a loading means for loading the frames stored in the file 11 into the main storage device 8, IO is an unloading means for writing the frames on the main storage device 8 to the file 11, and 7 Reference numeral 2 refers to a frame reference/update unit for referencing and updating frames on the main storage device 8 in response to a request from a request source (not shown); 2 is an initial unit for setting initial values to each area in the frame management information storage unit 1 Value setting means, 3 is file 1
Queue adding means updates the queue storage area 1a and load number storage area 1b when the frame above 1 is read into the main storage device 8 by the loading means 9; 4 unloads at the same time as the queue adding means 3; means l
unload determination means for determining whether or not it is necessary to start O;
5 is an unload selection means activated by the unload determination means 4 to select a frame to be written to the file 11 and activates the unload means 10; 6 is a frame reference update means 7
12 is an input means for updating the queue storage area 1a when a frame on the main storage device 8 is accessed by the queue updating means.

第2図は初期値設定手段2の処理例の流れ図、第3図は
キュー追加手段3の処理例の流れ図、第4図はアンロー
ド判定手段4の処理例の流れ図、第5図はアンロード選
択手段5の処理例の流れ図および第6図はキュー更新手
段6の処理例の流れ図であり、Sl〜S6.311〜3
12. 521〜S24.531〜336. S41は
各ステップを示す、以下、各図を参照して本実施例の動
作を説明する。
FIG. 2 is a flowchart of a processing example of the initial value setting means 2, FIG. 3 is a flowchart of a processing example of the queue addition means 3, FIG. 4 is a flowchart of a processing example of the unloading determination means 4, and FIG. A flowchart of an example of processing by the selection means 5 and FIG. 6 are a flowchart of an example of processing by the queue updater 6.
12. 521-S24.531-336. S41 indicates each step. Hereinafter, the operation of this embodiment will be explained with reference to each figure.

第1図において、ファイル11に格納されたフレームを
主記憶装置8のフレーム記憶部13にロードして処理を
開始する契機において、入力手段12により初期値設定
手段2が起動されると、初期値設定手段2は第2図に示
す処理を開始する。先ず初期値設定手段2は、主記憶装
置8上にフレームが一つも存在しない状態のキューをキ
ュー記憶領域1aへ設定しく51)、次に主記憶装置8
上のフレームの初期状態の総数である「0」をロード数
記憶領域1bへ設定する(S2)。また入力手段12か
ら入力される最大ロード数を取込み(S3)、この値を
最大ロード数記憶領域1cに設定しくS4)、入力手段
12から次に入力される最小ロード数を取込み(35)
、その値を最小ロード数記憶領域1dに設定する(36
)、以上の処理でフレーム管理情報記憶部1の初期化が
終了する。
In FIG. 1, when the initial value setting means 2 is activated by the input means 12 at the timing of loading the frame stored in the file 11 into the frame storage section 13 of the main storage device 8 and starting processing, the initial value The setting means 2 starts the process shown in FIG. First, the initial value setting means 2 sets a queue in which no frame exists on the main memory 8 to the queue storage area 1a (51), and then sets the queue in the main memory 8.
"0", which is the total number of initial states of the upper frame, is set in the load number storage area 1b (S2). Also, take in the maximum load number input from the input means 12 (S3), set this value in the maximum load number storage area 1c (S4), and take the next minimum load number input from the input means 12 (35).
, set that value to the minimum load number storage area 1d (36
), the initialization of the frame management information storage unit 1 is completed with the above processing.

その後システムの処理が進み、例えば第1図のフレーム
参照更新手段7が要求元からの要求に応じ、あるフレー
ムを主記憶装置B上で参照しようとしたところ、そのフ
レームが存在しなかった為にフレーム参照更新手段7か
らロード手段9に対しそのフレームをファイル11から
主記憶装置8に読込む指示が出され、これに応答してロ
ード手段9がそのフレームを主記憶装置8に読込む処理
が行なわれると、この読込みを契機にキュー追加手段3
が起動される。なお、フレーム参照更新手段7は、例え
ば各フレームが主記憶装置8上に存在するか否か等を管
理する管理テーブル130を参照して、要求されたフレ
ームの存在の有無を判別するものであり、ロード手段9
はフレームをロードするとその管理テーブルを更新する
Thereafter, the processing of the system progresses, and for example, when the frame reference update means 7 shown in FIG. The frame reference updating means 7 issues an instruction to the loading means 9 to read the frame from the file 11 into the main storage device 8, and in response, the loading means 9 performs a process of reading the frame into the main storage device 8. When this is done, the queue addition means 3 is triggered by this reading.
is started. Note that the frame reference updating means 7 refers to a management table 130 that manages whether or not each frame exists on the main storage device 8, for example, and determines whether a requested frame exists or not. , loading means 9
loads a frame and updates its management table.

キュー追加手段3は起動されると、第3図に示す処理を
開始し、先ず上記で読込まれたフレームの識別情報をキ
ュー記憶領域1aに記憶されているキューの先頭へ追加
しく311) 、次にロード数記憶領域1bに記憶され
ているロード数を+1する(312)、このようなキュ
ー追加手段3による処理はファイル11からフレームが
読込まれる毎に行なわれ、その結果、ロード数記憶領域
1bの値は主記憶装置8に存在するフレームの数に応じ
て徐々に増加される。
When the queue adding means 3 is activated, it starts the process shown in FIG. 3, and first adds the identification information of the frame read above to the head of the queue stored in the queue storage area 1a (311), and then The load number stored in the load number storage area 1b is incremented by 1 (312). Such processing by the queue adding means 3 is performed every time a frame is read from the file 11, and as a result, the load number storage area 1b is increased by 1 (312). The value of 1b is gradually increased according to the number of frames existing in the main storage device 8.

また、ロード手段9がフレームを主記憶装置8に読込む
契機で上記キュー追加手段3が起動されるのに加え、同
じ契機でアンロード判定手段4が起動される。
Furthermore, in addition to the queue addition means 3 being activated when the loading means 9 reads a frame into the main storage device 8, the unloading determining means 4 is activated at the same time.

アンロード判定手段4は起動されると、第4図に示した
処理を開始し、先ずロード数記憶領域1bに記憶されて
いるロード数を参照すると共に最大ロード数記憶領域I
Cに設定されている最大ロード数を参照しくS21. 
522) 、次に参照した口−ド数が最大ロード数以上
か否かを判定する(S23)。そして現在のロード数が
最大ロード数以上でなければアンロードする必要がない
ので処理を終え、反対に現在のロード数が最大ロード数
以上であれば、アンロード選択手段5を起動する(S2
4)。なお、以上はキュー追加手段3の起動後にアンロ
ード判定手段4を起動したが、その逆にアンロード判定
手段4を起動した後にキュー追加手段3を起動するよう
にしても良い。
When the unload determination means 4 is activated, it starts the process shown in FIG.
Refer to the maximum load number set in S21.C.
522), then it is determined whether the number of references referred to is greater than or equal to the maximum number of loads (S23). If the current number of loads is not greater than the maximum number of loads, there is no need to unload, so the process is finished; on the other hand, if the number of current loads is greater than or equal to the maximum number of loads, the unload selection means 5 is activated (S2
4). Although the unload determining means 4 is activated after the queue adding means 3 is activated in the above description, the queue adding means 3 may be activated after the unload determining means 4 is activated.

アンロード選択手段5は起動されると、第5図に示した
処理を行なう。すなわち、先ずキュー記憶領域1aに記
憶されている現在のキューの状態を参照する共に、最小
ロード数記憶領域1dに設定された最小ロード数を参照
しく331. 332)、次にキュー中の識別情報の並
び順が最小ロード数以降の各フレームにつ、いて、それ
らフレームをファイル11に書出す旨を指定して順次に
アンロード手段10を起動する(S33. 534)。
When the unload selection means 5 is activated, it performs the processing shown in FIG. That is, first, the current queue status stored in the queue storage area 1a is referred to, and the minimum load number set in the minimum load number storage area 1d is referred to in 331. 332), and then sequentially activates the unloading means 10 for each frame whose identification information in the queue is arranged after the minimum load number by specifying that these frames are to be written to the file 11 (S33). .534).

これによって、キュー中の識別情報の並び順が最小ロー
ド数以降の全てのフレームがアンロード手段10によっ
て主記憶装置8からファイル11へ書出されることにな
る。また、アンロード手段10によって管理テーブル1
30が更新される。次にアンロード選択手段5は、アン
ロード手段10によってファイル11に書出された各フ
レームの識別情報をキュー記憶領域1aに記憶されてい
るキューから削除しく S 35)、次にロード数記憶
領域1bの内容を最小ロード数記憶領域1dに設定され
ている最小ロード数に更新する(336)。
As a result, all frames whose identification information in the queue is arranged after the minimum load number are written from the main storage device 8 to the file 11 by the unloading means 10. Furthermore, the management table 1 is
30 is updated. Next, the unload selection means 5 deletes the identification information of each frame written to the file 11 by the unload means 10 from the queue stored in the queue storage area 1a (S35), and then the load number storage area The contents of 1b are updated to the minimum load number set in the minimum load number storage area 1d (336).

他方、フレーム参照更新手段7によって主記憶装置8の
フレームがアクセスされる契機においてキュー更新手段
6が起動され、キュー更新手段6は第6図に示すように
、今回アクセスされたフレームの識別情報をキエー記j
t ?iI域1aに記憶されているキューの先頭に並べ
替えている(541)。
On the other hand, when a frame in the main memory 8 is accessed by the frame reference updating means 7, the queue updating means 6 is activated, and the queue updating means 6 updates the identification information of the currently accessed frame as shown in FIG. Chie J
T? The queues stored in the iI area 1a are rearranged to the top (541).

従って、前述したようにアンロード選択手段5が起動さ
れた時点では、キュー記憶領域1aにおけるキュー中の
識別情報の並び順が最小ロード数以降となるフレームは
、最近アクセスされないフレームを古い順から選択した
ものとなる。
Therefore, as described above, at the time when the unload selection means 5 is activated, frames whose identification information in the queue in the queue storage area 1a is arranged after the minimum load number are selected from frames that have not been accessed recently, starting from the oldest frame. It becomes what it is.

例えば、初期値設定手段2によって最大ロード数記憶領
域ICにrloOJが設定され、最小ロード数記憶領域
1dに「70」が設定されており、主記憶装置8に現在
r100J個のフレームが存在し、キュー記憶領域1a
にはF +、 F t、・・・、Ft。。
For example, rloOJ is set in the maximum load number storage area IC by the initial value setting means 2, "70" is set in the minimum load number storage area 1d, and r100J frames currently exist in the main storage device 8, Cue storage area 1a
are F +, F t, ..., Ft. .

Fl、・・・、Ft。、の順にフレームの識別情報が並
んでいたとすると、この時アンロード判定手段4が起動
されれば、ステップS23によってロード数が最大ロー
ド数以上であると判定され、ステップS24によってア
ンロード選択手段5が起動されることになる。そしてア
ンロード選択手段5は、ステップS33によってキュー
中の識別情報の並び順が「70」番目以降である識別情
報F?11・・・、Ft。。
Fl, ..., Ft. , and if the unload determination means 4 is activated at this time, it is determined in step S23 that the number of loads is greater than or equal to the maximum load number, and in step S24, the unload selection means 4 is activated. 5 will be activated. Then, in step S33, the unload selection means 5 determines whether the identification information F in the queue is the "70th" or later identification information? 11..., Ft. .

を持つフレームがステップ334のアンロード手段10
の起動によって主記憶装置8から消去されることになる
。そして、次のステップ335によって、キュー中の識
別情報はF It F It・・・、FIに更新され、
ステップS36によってロード数記憶領域1bのロード
数は「70」に更新される。
The unloading means 10 of step 334
The data will be erased from the main storage device 8 by activation of the . Then, in the next step 335, the identification information in the queue is updated to F It F It..., FI,
The load number in the load number storage area 1b is updated to "70" in step S36.

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

以上説明したように、本発明は、フレームをアクセスの
新しい順に並べたキューによって管理し、主記憶装置上
のフレームの総数が一定値以上となった場合、上記キュ
ーを参照し、最近アクセスされないフレームを主記憶装
置上からファイルに書出した後消去するようにしたもの
であり、主記憶装置の利用効率が向上し、大量のフレー
ムを小容量の主記憶装置上で処理できる効果がある。
As explained above, the present invention manages frames in a queue arranged in the order of the most recently accessed frames, and when the total number of frames on the main storage device exceeds a certain value, the queue is referred to and frames that have not been accessed recently are is written to a file from the main memory and then erased, which improves the utilization efficiency of the main memory and allows a large number of frames to be processed on a small-capacity main memory.

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

第1図は本発明を実施するシステムの一例を示すブロッ
ク図、 第2図は初期値設定手段2の処理例の流れ図、第3図は
キュー追加手段3の処理例の流れ図、第4図はアンロー
ド判定手段4の処理例の流れ図、 第5図はアンロード選択手段5の処理例の流れ図および
、 第6図はキュー更新手段6の処理例の流れ図である。 図において、1・・・フレーム管理情報記憶部、1a・
・・キュー記憶領域、1b・・・ロード数記憶領域、I
C・・・最大ロード数記憶領域、1d・・・最小ロード
数記憶領域、2・・・初期値設定手段、3・・・キュー
追加手段、4・・・アンロード判定手段、5・・・アン
ロード選択手段、6・・・キュー更新手段、7・・・フ
レーム参照更新手段、8・・・主記憶装置、9・・・ロ
ード手段、10・・・アンロード手段、11・・・ファ
イル、12・・・入力手段。
FIG. 1 is a block diagram showing an example of a system implementing the present invention, FIG. 2 is a flowchart of an example of processing by the initial value setting means 2, FIG. 3 is a flowchart of an example of processing by the queue addition means 3, and FIG. 4 is a flowchart of an example of processing by the queue addition means 3. 5 is a flowchart of an example of processing by the unload determining means 4, FIG. 5 is a flowchart of an example of processing by the unload selection means 5, and FIG. 6 is a flowchart of an example of processing by the queue updating means 6. In the figure, 1... frame management information storage unit, 1a...
...Queue storage area, 1b...Load number storage area, I
C... Maximum load number storage area, 1d... Minimum load number storage area, 2... Initial value setting means, 3... Queue addition means, 4... Unload determination means, 5... Unload selection means, 6... Queue update means, 7... Frame reference update means, 8... Main storage, 9... Load means, 10... Unload means, 11... File , 12... input means.

Claims (1)

【特許請求の範囲】 フレーム型知識表現システムにおけるフレーム管理方式
において、 主記憶装置上に存在するフレームをそのアクセスの新し
い順に並べたキューを記憶するキュー記憶領域、主記憶
装置上に存在するフレームの総数であるロード数を記憶
するロード数記憶領域、ロード数の上限値である最大ロ
ード数が設定された最大ロード数記憶領域およびロード
数の最小値が設定された最小ロード数記憶領域を含むフ
レーム管理情報記憶部と、 フレームを格納するファイルから主記憶装置にフレーム
を読込む毎に前記キュー記憶領域およびロード数記憶領
域を更新するキュー追加手段と、前記ファイルから主記
憶装置にフレームを読込む毎に前記ロード数記憶領域と
前記最大ロード数記憶領域との内容からアンロードの必
要性を判定するアンロード判定手段と、 該アンロード判定手段でアンロードが必要と判定される
ことにより起動され、前記最小ロード数記憶領域に設定
されたロード数だけのフレームが主記憶装置に残るよう
に前記キュー記憶領域を参照して最近アクセスされてい
ないフレームを前記主記憶装置から前記ファイルへ書出
すためにアンロード手段を起動するアンロード選択手段
と、主記憶装置上のフレームがアクセスされる毎に前記
キュー記憶領域を更新するキュー更新手段とを具備した
ことを特徴とするフレーム管理方式。
[Claims] In a frame management method in a frame-based knowledge representation system, there is provided a queue storage area for storing a queue in which frames existing on the main storage are arranged in the order of the most recently accessed frames; A frame that includes a load number storage area that stores the total number of loads, a maximum load number storage area where the maximum load number that is the upper limit of the load number is set, and a minimum load number storage area where the minimum load number is set. a management information storage unit; a queue addition means for updating the queue storage area and the load number storage area each time a frame is read from a file storing the frame into the main storage; and a queue addition means for reading the frame from the file into the main storage. an unload determining means that determines the necessity of unloading from the contents of the load number storage area and the maximum load number storage area at each time; , to refer to the queue storage area and write frames that have not been accessed recently from the main storage to the file so that frames equal to the number of loads set in the minimum load number storage area remain in the main storage; 1. A frame management system comprising: unload selection means for activating an unload means when a frame on a main storage device is accessed; and queue update means for updating the queue storage area each time a frame on a main storage device is accessed.
JP62017104A 1987-01-27 1987-01-27 Frame managing system Pending JPS63184836A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62017104A JPS63184836A (en) 1987-01-27 1987-01-27 Frame managing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62017104A JPS63184836A (en) 1987-01-27 1987-01-27 Frame managing system

Publications (1)

Publication Number Publication Date
JPS63184836A true JPS63184836A (en) 1988-07-30

Family

ID=11934717

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62017104A Pending JPS63184836A (en) 1987-01-27 1987-01-27 Frame managing system

Country Status (1)

Country Link
JP (1) JPS63184836A (en)

Similar Documents

Publication Publication Date Title
JPH02148235A (en) Data drawback system
JP2001344148A (en) Boot block flash memory control circuit, ic memory card provided with it, semiconductor storage device, and boot block flash memory deleting method
JPH1011344A (en) Data backup method
JPS63184836A (en) Frame managing system
JPH06110743A (en) System for parallel processing of data base rearrangement
JPH05113920A (en) Method and device for managing file
JPH05258585A (en) Filing device
JPH05158815A (en) Memory device
JPH08272654A (en) File management device
JPH0337748A (en) External storage accessing system utilizing main storage
JPH06168079A (en) Data backup system
JPH05151037A (en) Reorganization processing system for database in business processing
JP3056566B2 (en) FIFO table memory and control method therefor
JPH01144276A (en) System for re-formatting magnetic disk in operating
JPS59111555A (en) Memory circuit
JPS6349952A (en) Memory control system
KR20040079313A (en) Cpu built-in lsi, and optical disc device and lsi device using the same
JPH117408A (en) Information recording device and method and information reproducting device and method
JPH05250243A (en) Data processing system for extended storage device
JP2002024077A (en) Write controller of semiconductor memory and its method
JPS6358555A (en) Control system for file space
JPS61213920A (en) Control system for disk file
JPH05113922A (en) Data storage device
JPH0876940A (en) Method for controlling disk array
JPS63307526A (en) Data processor