JPH0535844A - Electronic filing device - Google Patents
Electronic filing deviceInfo
- Publication number
- JPH0535844A JPH0535844A JP3189736A JP18973691A JPH0535844A JP H0535844 A JPH0535844 A JP H0535844A JP 3189736 A JP3189736 A JP 3189736A JP 18973691 A JP18973691 A JP 18973691A JP H0535844 A JPH0535844 A JP H0535844A
- Authority
- JP
- Japan
- Prior art keywords
- page
- pages
- memory
- terminal
- management table
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000007726 management method Methods 0.000 description 40
- 238000010586 diagram Methods 0.000 description 10
- 230000003287 optical effect Effects 0.000 description 8
- 230000007723 transport mechanism Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
- 230000037221 weight management Effects 0.000 description 1
Landscapes
- Processing Or Creating Images (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明は、先読みメモリを有する
電子ファイル装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an electronic file device having a read-ahead memory.
【0002】[0002]
【従来の技術】複数のデッキを有し、光ディスクなどの
大容量の記憶媒体を装着し、複数の端末からアクセス要
求を処理する電子ファイル装置が用いられている。電子
ファイル装置はメモリを備え、光ディスクから読み出し
たデータを一時貯えた後、要求元の端末に転送する。2. Description of the Related Art An electronic file device having a plurality of decks, mounted with a large-capacity storage medium such as an optical disk, and processing access requests from a plurality of terminals is used. The electronic file device includes a memory, and temporarily stores the data read from the optical disc, and then transfers the data to the requesting terminal.
【0003】このメモリには各端末からの読み出し要求
頁を先読みしたデータが格納され、このメモリのエリア
は各端末ごとに頁単位で重み付けした管理テーブルによ
って管理されている。メモリのエリアが全て読み込まれ
ている状態で、さらに読み込み要求がある場合、いずれ
かのエリアの先読み頁を削除して使用することになる
が、この場合、管理テーブルより各端末用に読み込んだ
頁の重み付けを調べ、これから使用する頁の重み付けよ
り低い重み付けの頁を削除する。This memory stores data in which read-requested pages from each terminal are preread, and the area of this memory is managed by a management table weighted page by page for each terminal. If all memory areas have been read and there is a further read request, the read-ahead page in any area will be deleted and used. In this case, the page read for each terminal from the management table. , And delete pages with lower weight than the weight of the page to be used.
【0004】[0004]
【発明が解決しようとする課題】このようなメモリ管理
方法の場合、管理しているブロック数(頁数)が大きく
なると、管理テーブルも大きくなる。このため削除する
ブロックを決定する場合、重み付けの低いブロックを決
定するのに処理時間が多くかかるようになり、また不用
になったブロックも管理することになる。In such a memory management method, as the number of blocks (pages) managed increases, the size of the management table also increases. Therefore, when deciding a block to be deleted, it takes a long processing time to decide a block with a low weighting, and an unnecessary block is also managed.
【0005】本発明は、上述の問題点に鑑みてなされた
もので、先読みメモリの管理を容易とする電子ファイル
装置を提供することを目的とする。The present invention has been made in view of the above problems, and an object of the present invention is to provide an electronic file device which facilitates management of a prefetch memory.
【0006】[0006]
【課題を解決するための手段】上記目的を達成するた
め、電子ファイルより先読みした頁を格納するメモリ
と、前記電子ファイルにアクセスする各端末ごとの前記
メモリに格納されているデータを各端末ごとに頁単位で
管理する管理手段を備え、この管理手段が各端末ごとに
所定量の頁を各頁の重み付けに基づき管理する頁管理テ
ーブルと、この所定量を越えた頁を各端末共通に管理す
る余剰管理テーブルにより管理する。In order to achieve the above object, a memory for storing pages read ahead of an electronic file and data stored in the memory for each terminal accessing the electronic file are stored in each terminal. And a page management table that manages a predetermined amount of pages for each terminal based on the weighting of each page, and a page management table that manages pages exceeding this predetermined amount in common for each terminal. It is managed by the surplus management table.
【0007】[0007]
【作用】各端末ごとの先読み頁を管理する頁管理テーブ
ルの頁数を所定数に押さえてしまうので管理が容易にな
り、これから読み込む頁より重み付けの低い頁を検索す
ることも容易となる。また、この所定数を越えた頁は余
剰管理テーブルに登録しておき、削除する頁を決定する
際は、この余剰テーブルに記載の頁を削除するようにす
れば重み付けの低い頁を検索する必要もない。この余剰
テーブルに記載の頁だけでは不足する場合、頁管理テー
ブルより重み付けの低い頁を検索すればよいので管理速
度が向上する。Since the number of pages in the page management table for managing the prefetched page for each terminal is limited to a predetermined number, the management becomes easy, and it becomes easy to search for a page having a lower weight than the page to be read. Also, pages exceeding this predetermined number are registered in the surplus management table, and when determining the pages to be deleted, it is necessary to search for pages with a low weighting by deleting the pages described in this surplus table. Nor. When the pages described in this surplus table are insufficient, it is sufficient to search for a page with a lower weight than the page management table, so the management speed is improved.
【0008】[0008]
【実施例】以下、本発明の実施例を図面を参照して説明
する。図1はメモリと頁管理テーブルおよび余剰管理テ
ーブルの関係を示す図である。図2は本実施例の電子フ
ァイル装置の構成図を示す図である。まず全体を把握す
るため図2について説明する。1は端末としてのワーク
ステーションを示す。ワークステーション1は3台とし
て説明するが複数台であればよい。2はファイルコント
ローラで各ワークステーション1とのインタフェースを
構成する。3はマルチデッキ制御部でファイルコントロ
ーラ2よりコマンドを入力し、それに基づき後述するマ
ルチデッキ部4を制御し、その結果をファイルコントロ
ーラ2を介してワークステーション1に伝送する。マル
チデッキ制御部3はディスク交換制御部とコマンド制御
部よりなる第1制御部31と、このコマンド制御部の指令
によりデッキ部を制御する第2制御部32から構成され
る。4はマルチデッキ部で複数(例えば、24枚とか48
枚) の光ディスク5と、この複数の光ディスク5の中か
ら指定された光ディスク5を指定されたデッキ部7に移
動する搬送機構部6と、2個のデッキ部7から構成され
る。8はメモリでマルチデッキ部4よりデータを先読み
し格納する。9はメモリ制御部でメモリ8の管理を行
う。Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a diagram showing a relationship among a memory, a page management table, and a surplus management table. FIG. 2 is a diagram showing a configuration diagram of the electronic file device of this embodiment. First, FIG. 2 will be described in order to grasp the whole. Reference numeral 1 denotes a workstation as a terminal. The workstation 1 is described as three, but a plurality of workstations may be used. A file controller 2 constitutes an interface with each workstation 1. A multi-deck control unit 3 inputs a command from the file controller 2, controls a multi-deck unit 4 described later based on the command, and transmits the result to the workstation 1 via the file controller 2. The multi-deck control section 3 is composed of a first control section 31 including a disc exchange control section and a command control section, and a second control section 32 for controlling the deck section according to a command from the command control section. 4 is a multi-deck section (for example, 24 or 48
The optical disk 5 comprises a plurality of optical disks 5, a transport mechanism section 6 for moving the specified optical disk 5 from the plurality of optical disks 5 to a specified deck section 7, and two deck sections 7. A memory 8 pre-reads data from the multi-deck unit 4 and stores it. A memory control unit 9 manages the memory 8.
【0009】図1はメモリ8と、このメモリ8の頁ごと
のブロックを端末1ごとに管理する頁管理テーブル、お
よび余剰管理テーブルを示す。メモリ8は光ディスク5
から先読みされたデータが各端末ごとに頁単位で格納さ
れる。ワークステーションAはA1〜A5の5頁を先読
みし、ワークステーションBはB1,B2の2頁、ワー
クステーションCはC1,C2の2頁先読みしている。
各頁管理テーブルは15頁まで管理することにしており、
16頁以上の頁は各ワークステーション共通に設けられた
余剰管理テーブルで管理される。FIG. 1 shows a memory 8, a page management table for managing a block for each page of the memory 8 for each terminal 1, and a surplus management table. Memory 8 is optical disk 5
The pre-read data is stored page by page for each terminal. The workstation A pre-reads 5 pages A1 to A5, the workstation B pre-reads 2 pages B1 and B2, and the workstation C pre-reads 2 pages C1 and C2.
Each page management table manages up to 15 pages,
Pages over 16 are managed by a surplus management table provided in common for each workstation.
【0010】図3は重み付けによる頁管理を説明する図
である。(a)はワークステーションA,B,Cがそれ
ぞれ先読みした頁と重み付けを示す。重み付けは各頁の
中に書かれた数字を示し、この場合、先読みした頁数と
重み付けが一致している。重み付けの数字の大きい程、
重みは低いことを表す。(b)は、ワークステーション
Cが先読み用に5頁要求した場合の説明である。ワーク
ステーションCの重みの最低値は(a)に示すように
6、これに対してワークステーションAは12、ワークス
テーションBは15でいずれもワークステーションCの重
みより低い。このためワークステーションAより1頁
分、ワークステーションBより4頁分、分けてもらえ
ば、各ワークステーションの重みは11となり等しくな
る。このように各ワークステーションの重みの低い頁を
重みの高い要求を出力したワークステーションに渡すよ
うに管理する。FIG. 3 is a diagram for explaining page management by weighting. (A) shows the pages preread by the workstations A, B, and C and the weighting. The weight indicates the number written in each page, and in this case, the number of preread pages matches the weight. The larger the weighting number,
The weight is low. (B) is an explanation when the workstation C requests 5 pages for prefetching. The minimum value of the weight of the workstation C is 6, as shown in (a), while the workstation A has 12 and the workstation B has 15, which are lower than the workstation C. For this reason, if the work A is divided by one page and the work B is divided by four, the weights of the respective work stations will be equal to 11. In this way, the pages with low weight of each workstation are managed so as to be passed to the workstation that outputs the request with high weight.
【0011】図4は1つのワークステーションの管理を
説明する図である。(a)は頁管理テーブルの頁数管理
を説明する図であり、(b)は重み管理を説明する図で
ある。頁管理テーブルは15頁まで管理する。(a)にお
いて、左端はメモリ8に10頁まで読み込んだ状態を示
す。−1より−5頁は架空の頁で、重み付けをする必要
上設けたものである。1頁の線は端末1がメモリ8より
読み出している頁を示す。中央は13頁までメモリ8に読
み込まれ、端末1が4頁を読み出している状態を示す。
架空の頁は−1,−2の2頁になる。右端は16頁までメ
モリ8に読み込み、端末1が7頁を読み出している状態
である。この場合、1頁は15頁の管理範囲からはみ出す
ので、これは余剰テーブルで管理される。FIG. 4 is a diagram for explaining the management of one workstation. (A) is a figure explaining page number management of a page management table, (b) is a figure explaining weight management. The page management table manages up to 15 pages. In (a), the left end shows a state in which up to 10 pages have been read into the memory 8. Pages -1 to -5 are fictitious pages, which are provided for the purpose of weighting. The line on page 1 indicates the page that the terminal 1 is reading from the memory 8. In the center, up to 13 pages are read into the memory 8 and the terminal 1 is reading out 4 pages.
The fictitious page becomes -1 and -2. The right end is a state in which up to 16 pages are read into the memory 8 and the terminal 1 is reading out 7 pages. In this case, since one page is out of the management range of 15 pages, this is managed by the surplus table.
【0012】(b)は(a)に対応しており、各頁の重
み付けを示す。重み付けは上に行く程、重みとしては低
いレベルになる。左端の場合、1,2頁の次に−1頁、
3,4頁の次に−2頁と、2対1の割合で実頁と架空頁
とが重み付けされている。中央は(a)の13頁まで読み
込んだときの重み付けである。架空頁を設けた意味は、
実頁が15頁まで読み込まれてないとき、他の端末が15頁
まで読み込んでいるようなとき、重みを比較できるよう
にするためである。(B) corresponds to (a) and shows weighting of each page. The higher the weight, the lower the weight. In the case of the left end, pages 1 and 2, then -1 page,
Pages 3 and 4 are followed by page -2, and real pages and fictitious pages are weighted at a ratio of 2: 1. The center is the weighting when reading up to page 13 in (a). The meaning of providing a fictitious page is
This is so that the weights can be compared when the actual page is not read up to 15 pages and when another terminal is reading up to 15 pages.
【0013】例えば(b)の左端がワークステーション
Aの頁重み付けとし、右端がワークステーションCの頁
重み付けとする。左端の下から4つ目の3頁と、右端の
下から4つ目の9頁とは同じ重み付けである。左端の場
合、下から3つ目の−1がないと、4つ目の3頁が3つ
目となってしまい、重みつけが上がってしまう。この不
都合を避けるため、15頁まで読み込まれないときは架空
の頁を設け、重み付けのレベルを調整するようにしたも
のである。For example, the left end of (b) is the page weight of workstation A, and the right end is the page weight of workstation C. The fourth page from the bottom of the left end, the third page, and the fourth page from the bottom of the right end, the ninth page, have the same weighting. In the case of the left end, if there is no third -1 from the bottom, the fourth page 3 becomes the third page and the weighting increases. In order to avoid this inconvenience, a fictitious page is provided and the weighting level is adjusted when 15 pages are not read.
【0014】図5は本実施例のフロー図である。まず、
端末1が、マルチデッキ部4から読み出そうとする頁が
メモリ8に読み込み済みであるか調べ(ステップ51) 、
読み込まれていれば端末1へ読み込んだ頁を転送し(ス
テップ52) 、図4に示すように頁並び、重み付けを更新
する(ステップ53) 。ステップ51において、読み込み済
みでなければ読み込み対象頁があるか調べ(ステップ5
4) 、あれば読み込むためのメモリが獲得できるか調べ
(ステップ55) 、獲得できれば頁を読み込んむ(ステッ
プ56)。FIG. 5 is a flow chart of this embodiment. First,
The terminal 1 checks whether the page to be read from the multi-deck unit 4 has already been read into the memory 8 (step 51),
If it has been read, the read page is transferred to the terminal 1 (step 52), the pages are arranged as shown in FIG. 4, and the weighting is updated (step 53). If it has not been read in step 51, it is checked whether there is a page to be read (step 5
4) If so, it is checked whether a memory for reading can be acquired (step 55), and if acquired, the page is read (step 56).
【0015】ステップ55でメモリが獲得できないとき
は、15頁以上となって余剰管理テーブルに登録されたは
み出し頁があるか調べ (ステップ57) 、有った場合、メ
モリ8に要求頁と同一頁が、他の端末1により既に読み
込まれているか調べ(ステップ58) 、読み込まれていれ
ば、その頁を自己の端末の頁管理テーブルに移動する。
( ステップ59) 。ステップ58において、要求頁と同一頁
がメモリ8に読み込まれていないときは、余剰管理テー
ブルの頁を削除して(ステップ60) 、そのメモリを獲得
し(ステップ55) 、要求頁を読み込む (ステップ56) 。If the memory cannot be obtained in step 55, it is checked whether there is a protruding page which is more than 15 pages and is registered in the surplus management table (step 57). However, if it is read by another terminal 1 (step 58), the page is moved to the page management table of its own terminal.
(Step 59). In step 58, if the same page as the requested page is not read into the memory 8, the page in the surplus management table is deleted (step 60), the memory is acquired (step 55), and the requested page is read (step 55). 56).
【0016】ステップ57で余剰管理テーブルにはみ出し
頁が登録されていないときは、図3、図4で説明したよ
うに要求頁より低い重み付けの頁が頁管理テーブルにあ
るか調べ(ステップ61) 、あれば要求頁が既にメモリに
他の端末1によって読み込まれているか調べ(ステップ
62) 、読み込まれていればその頁を要求した端末の頁管
理テーブルに移動し (ステップ63) 、読み込まれてなけ
れば重みの低い頁を削除して (ステップ60) 、メモリを
獲得し (ステップ55) 、頁を読み込む (ステップ56) 。If no extra page is registered in the surplus management table in step 57, it is checked whether there is a page weighted lower than the requested page in the page management table as described with reference to FIGS. 3 and 4 (step 61). If so, it is checked whether the requested page has already been read into the memory by another terminal 1 (step
62) If it is read, move to the page management table of the terminal that requested the page (step 63), if not read, delete the page with low weight (step 60), and acquire memory (step 60). 55), and read the page (step 56).
【0017】以上のように本実施例によれば、次の効果
が得られる。 各端末用の管理テーブルを小さくすることができる。 管理範囲から外れたブロック(頁)は重み付けを考慮
することなく、削除し、要求してきた端末が使用でき
る。 管理するブロック数に制限があるため、重み付けを比
較して削除するブロックを決める時間が短縮できる。 要求情報と同一情報が既にメモリに読み込まれている
ときは、管理情報を移し変えるだけでその同一情報を利
用することができる。As described above, according to this embodiment, the following effects can be obtained. The management table for each terminal can be made smaller. Blocks (pages) outside the management range can be deleted without consideration of weighting and can be used by the requesting terminal. Since the number of blocks to be managed is limited, it is possible to shorten the time for determining the blocks to be deleted by comparing the weights. When the same information as the request information has already been read into the memory, the same information can be used simply by transferring the management information.
【0018】[0018]
【発明の効果】以上の説明から明らかなように、本発明
は管理する頁数を限定した頁管理テーブルと、頁管理テ
ーブルをはみ出した頁を管理する余剰テーブルを設ける
ことにより、先読みメモリの管理を効率よく行うことが
できる。As is apparent from the above description, the present invention manages the prefetch memory by providing a page management table that limits the number of pages to be managed and a surplus table that manages the pages outside the page management table. Can be done efficiently.
【図1】メモリと頁管理テーブルおよび余剰管理テーブ
ルの関係を示す図FIG. 1 is a diagram showing a relationship among a memory, a page management table, and a surplus management table.
【図2】本実施例を実現する電子ファイル装置の構成図FIG. 2 is a configuration diagram of an electronic filing device that realizes the present exemplary embodiment.
【図3】重み付けによる頁管理を説明する図FIG. 3 is a diagram illustrating page management by weighting.
【図4】頁管理テーブルの遷移を説明する図FIG. 4 is a diagram for explaining transition of a page management table.
【図5】本実施例の動作を説明する図FIG. 5 is a diagram for explaining the operation of this embodiment.
1 端末 2 ファイルコントローラ 3 マルチデッキ制御部 4 マルチデッキ部 5 光ディスク 6 搬送機構部 7 デッキ 8 メモリ 9 メモリ制御部 1 terminal 2 file controller 3 multi-deck control unit 4 multi-deck unit 5 optical disc 6 transport mechanism unit 7 deck 8 memory 9 memory control unit
Claims (1)
るメモリと、前記電子ファイルにアクセスする各端末ご
との前記メモリに格納されているデータを各端末ごとに
頁単位で管理する管理手段を備え、この管理手段が各端
末ごとに所定量の頁を各頁の重み付けに基づき管理する
頁管理テーブルと、この所定量を越えた頁を各端末共通
に管理する余剰管理テーブルにより管理することを特徴
とする電子ファイル装置。Claim: What is claimed is: 1. A memory for storing pages prefetched from an electronic file, and data stored in the memory for each terminal accessing the electronic file is managed page by page for each terminal. By a page management table that manages a predetermined amount of pages for each terminal based on the weighting of each page, and a surplus management table that commonly manages pages exceeding this predetermined amount for each terminal. An electronic file device characterized by management.
Priority Applications (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP3189736A JPH0535844A (en) | 1991-07-30 | 1991-07-30 | Electronic filing device |
| EP91310367A EP0491463A2 (en) | 1990-11-30 | 1991-11-08 | Data storage system |
| US08/295,488 US5522055A (en) | 1990-11-30 | 1994-08-25 | Electronic file system with pre read memory management of data to be displayed |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP3189736A JPH0535844A (en) | 1991-07-30 | 1991-07-30 | Electronic filing device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0535844A true JPH0535844A (en) | 1993-02-12 |
Family
ID=16246324
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP3189736A Pending JPH0535844A (en) | 1990-11-30 | 1991-07-30 | Electronic filing device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0535844A (en) |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0248751A (en) * | 1988-08-10 | 1990-02-19 | Nec Corp | Buffer controlling system for data control system |
| JPH02156348A (en) * | 1988-12-08 | 1990-06-15 | Fujitsu Ltd | Overflow area control method for plural hash tables |
| JPH02230373A (en) * | 1988-05-19 | 1990-09-12 | Hitachi Ltd | Data base processing system |
-
1991
- 1991-07-30 JP JP3189736A patent/JPH0535844A/en active Pending
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH02230373A (en) * | 1988-05-19 | 1990-09-12 | Hitachi Ltd | Data base processing system |
| JPH0248751A (en) * | 1988-08-10 | 1990-02-19 | Nec Corp | Buffer controlling system for data control system |
| JPH02156348A (en) * | 1988-12-08 | 1990-06-15 | Fujitsu Ltd | Overflow area control method for plural hash tables |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6230239B1 (en) | Method of data migration | |
| US20020091902A1 (en) | File system and data caching method thereof | |
| JPH0551928B2 (en) | ||
| JPH0427580B2 (en) | ||
| JPS5873085A (en) | Control of memory hierarchy | |
| JPH02281350A (en) | Cache memory management | |
| JPH07506923A (en) | System and method for dynamically controlling cache management | |
| JPH07334426A (en) | Information recording / reproducing apparatus and data cache method | |
| US20240061786A1 (en) | Systems, methods, and apparatus for accessing data in versions of memory pages | |
| JPH0535844A (en) | Electronic filing device | |
| JPS6258351A (en) | Optical disk cache system | |
| JP3111912B2 (en) | Disk cache control method | |
| JP4197587B2 (en) | Data processing apparatus and data reading method | |
| JP3707890B2 (en) | Data output method of external storage device | |
| JP2594385B2 (en) | Electronic file device | |
| JPH0520196A (en) | Disk / Cash control unit | |
| JP2854668B2 (en) | Disk cache control method | |
| JPS62130440A (en) | Cache subsystem | |
| JPH09212393A (en) | Information storage device and information storage method | |
| JP3103209B2 (en) | Image file device | |
| JPH11306190A (en) | Video server system | |
| JP3080416B2 (en) | Method of executing internal operation in controller and controller | |
| JPH05342152A (en) | Buffer control system | |
| JPH0573421A (en) | Disk cache control system | |
| JPS60224178A (en) | Accessing system of indexing order forming file using disk cash |