JPH09293007A - Program install device - Google Patents

Program install device

Info

Publication number
JPH09293007A
JPH09293007A JP8107585A JP10758596A JPH09293007A JP H09293007 A JPH09293007 A JP H09293007A JP 8107585 A JP8107585 A JP 8107585A JP 10758596 A JP10758596 A JP 10758596A JP H09293007 A JPH09293007 A JP H09293007A
Authority
JP
Japan
Prior art keywords
file
program
capacity
installation
disk
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
JP8107585A
Other languages
Japanese (ja)
Inventor
Shigeto Tsuburaya
成人 円谷
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 JP8107585A priority Critical patent/JPH09293007A/en
Publication of JPH09293007A publication Critical patent/JPH09293007A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To surely permit the effective speed of an installed program to be high-spped. SOLUTION: A program install device is provided with an install control means 1 installing program data in a computer in accordance with an external command and a program capacitance storage part 22 storing capacitance after installing program data as file capacitance information. The install control means 1 is provided with a capacitance inspecting part 12 which inspects whether or not continuous null capacitance more than capacitance by file capacitance information exists in the disk-shaped storage medium of the computer and a capacitance securing part 14 which moves data stored in the disk-shaped storage medium when it is judged continuous null capacitance does not exist in the disk-shaped storage medium by the capacitance inspecting part 12 and secures continuous null capacitance.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、プログラムインス
トール装置に関し、特にディスク媒体へプログラムをイ
ンストール(据え付け,導入)するプログラムインスト
ール装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a program installation device, and more particularly to a program installation device for installing (installing or installing) a program on a disk medium.

【0002】[0002]

【従来の技術】まず最初に一般的なディスク媒体を用い
た記憶装置の説明を行う。図6にみられる様に、ディス
ク56はその中心からトラックと呼ばれる円周状のデー
タ記憶溝を持ち、それが外周部からその内側に向けて多
数本配置されている。また、図7はこのトラックを模式
的に直線状に表現したものである。各トラックは起点マ
ーカ部57を起点として一定の記憶容量領域を持った複
数のレコードに分割される。
2. Description of the Related Art First, a storage device using a general disk medium will be described. As shown in FIG. 6, the disk 56 has a circumferential data storage groove called a track from the center thereof, and a large number of the data storage grooves are arranged from the outer peripheral portion toward the inner side. Further, FIG. 7 is a schematic representation of this track in a linear form. Each track is divided into a plurality of records having a fixed storage capacity area starting from the starting point marker section 57.

【0003】この様なディスク媒体を用いた記憶装置に
対しては、上位に位置するコンピュータからトラック番
号とレコード番号及び動作が指定されることにより、相
当トラック位置へアクセスアーム52を移動し、相当す
るレコードがアーム先端のヘッド部53まで回転した時
点からデータを読み出すリード動作や、データを書き出
すライト動作を行う。
For a storage device using such a disk medium, a track number, a record number, and an operation are designated by a computer located at a higher level, so that the access arm 52 is moved to a corresponding track position. A read operation for reading data and a write operation for writing data are performed from the time when the record to be rotated reaches the head portion 53 at the tip of the arm.

【0004】また、最小記憶領域であるレコードにおい
ては、その記憶容量が一定である為に、その大きさを越
える大きさのファイルを仮想的にこのディスク記憶媒体
に格納する為には、複数のレコードを使用する必要が発
生することとなるのであるが、一般的に、その各レコー
ドの配置は空きレコードであれば任意に決定される。
Further, in the record which is the minimum storage area, since the storage capacity is constant, in order to virtually store a file having a size exceeding that size in this disk storage medium, a plurality of files are stored. Although it becomes necessary to use records, generally, the arrangement of each record is arbitrarily determined if it is a blank record.

【0005】このような構造であるため、1つのファイ
ルにおいては、連続するレコード、トラックにデータを
順次格納すると、論理的に接続されるレコードをアクセ
スする際に、アクセス速度に大きな影響を及ぼすと考え
られるヘッドの移動時間を最小限にすることができ、そ
の結果、プログラム実行速度が向上する。
Due to such a structure, if data is sequentially stored in consecutive records and tracks in one file, the access speed will be greatly affected when accessing the logically connected records. Possible head movement time can be minimized, resulting in faster program execution speed.

【0006】また、特開平3−113527号公報に
は、この速度向上手段を発展させたものとして、複数の
ファイル間にアクセスがどのような順序で行われるかと
いう相関関係を監視することにより、その統計結果を基
に互いにアクセス順序に相関関係が深いと予想されるフ
ァイルどうしをディスク上のレコード、トラックに動的
に隣接して再配置する手法が開示されている。
Further, in Japanese Patent Laid-Open No. 3-113527, as an extension of this speed improving means, by monitoring the correlation in which order access is made between a plurality of files, There is disclosed a method of dynamically rearranging files, which are expected to be deeply correlated with each other in access order, on the basis of the statistical result so as to be dynamically adjacent to records and tracks on the disk.

【0007】これによると、次回にこのファイルにアク
セスする場合に、2つのファイル間をディスクのヘッド
が移動する時間を短縮することが期待でき、その結果フ
ァイル間のアクセス速度が高速化される。
According to this, when the file is accessed next time, it can be expected that the time for the head of the disk to move between the two files can be shortened, and as a result, the access speed between the files can be increased.

【0008】[0008]

【発明が解決しようとする課題】従来のプログラムイン
ストール装置においては、ディスクの空きレコードに対
し無造作にデータを格納することから、一つのレコード
に収まらないファイルは複数のレコードに分割されディ
スク上に断片化される。その結果、そのプログラムを実
行する場合にヘッドの移動量が比較的大きくなり、する
と、実行速度が低下してしまう。
In the conventional program installation device, data is randomly stored in empty records on the disk, so a file that does not fit in one record is divided into a plurality of records and fragmented on the disk. Be converted. As a result, when the program is executed, the movement amount of the head becomes relatively large, which causes the execution speed to decrease.

【0009】また、上述した特開平3−113527号
公報記載の技術は、相関関係を、ディスクへのアクセス
状況を過去の統計を基に推測しているにすぎないもので
あるため、その隣接させたファイル同士が本当に相関関
係が深いのかどうか分からず、従って、相関関係の深い
ファイルを隣接して動的に再配置する手法では、確実に
実効速度を高速にすることができない、という不都合が
あった。
Further, in the technique described in Japanese Patent Laid-Open No. 3-113527, the correlation is merely estimated based on the past statistics of the access status to the disk. It is not known whether the files that have a strong correlation are deeply related to each other.Therefore, the method that dynamically rearranges the files that have a strong correlation cannot reliably increase the effective speed. It was

【0010】[0010]

【発明の目的】本発明は、係る従来例の有する不都合を
改善し、特に、インストールしたプログラムの実効速度
を確実に高速にすることのできるプログラムインストー
ル装置を提供することを、その目的とする。
SUMMARY OF THE INVENTION It is an object of the present invention to provide a program installation device capable of improving the disadvantages of the conventional example and, in particular, capable of surely increasing the effective speed of the installed program.

【0011】[0011]

【課題を解決するための手段】そこで、本発明では、第
1の手段として、プログラムデータを外部指令に応じて
コンピュータにインストールするインストール制御手段
と、当該プログラムデータのインストール後の容量をフ
ァイル容量情報として記憶したプログラム容量記憶部と
を備えている。しかも、インストール制御手段が、コン
ピュータのディスク状記憶媒体にファイル容量情報によ
る容量以上の連続した空き容量があるか否かを検査する
容量検査部と、この容量検査部によってディスク状記憶
媒体に連続した空き容量がないと判定された場合には当
該デスク状記憶媒体に格納されたデータを移動させて当
該連続した空き容量を確保する容量確保部とを備えた、
という構成を採っている。
Therefore, in the present invention, as a first means, an installation control means for installing program data in a computer in accordance with an external command, and a capacity after the installation of the program data are file capacity information. And a program capacity storage unit stored as. In addition, the installation control means checks the disk-shaped storage medium of the computer whether there is a continuous free space equal to or larger than the capacity according to the file capacity information, and the disk-shaped storage medium is continuously connected by the capacity inspection section. When it is determined that there is no free space, a data storage unit for moving the data stored in the desk-shaped storage medium to secure the continuous free space is provided.
The configuration is adopted.

【0012】第1の手段では、容量確保部により、連続
した空き容量を確保した後に、プログラムをインストー
ルするため、当該プログラムが実行されるときには、少
ないヘッド移動量で必要なファイルの読み込みが行われ
る。
In the first means, since the program is installed after the continuous capacity is secured by the capacity securing unit, when the program is executed, the necessary file is read with a small head movement amount. .

【0013】第2の手段(請求項2)では、第1の手段
を特定する事項に加え、プログラム容量記憶部に、プロ
グラムデータの相関関係に応じて予め定められたファイ
ル順序情報を記憶したファイル順序記憶部を併設し、イ
ンストール制御手段が、ファイル順序記憶部に格納され
たファイル順序情報に基づいた順序でプログラムデータ
をインストールする順序別インストール部を備えた、と
いう構成を採っている。
In the second means (claim 2), in addition to the item for specifying the first means, a file in which file order information predetermined according to the correlation of the program data is stored in the program capacity storage section. A configuration is adopted in which an order storage unit is provided side by side, and the installation control unit includes an order-based installation unit that installs the program data in an order based on the file order information stored in the file order storage unit.

【0014】第2の手段では、プログラムを開発した開
発者が、プログラムを構成するファイルの相関関係をフ
ァイルの順序として特定する。相関関係の高いファイル
は近い順序に並べられ、このファイル順序情報は、ファ
イル順序記憶部に格納される。そして、順序別インスト
ール部は、当該ファイル順序情報に従ってプログラムデ
ータを連続した空き領域にインストールする。このた
め、プログラムの実行中にファイルが参照される場合に
は、相関関係にあるファイルが連続して格納されている
ため、実効速度が向上する。
In the second means, the developer who develops the program specifies the correlation of the files constituting the program as the order of the files. The files having a high correlation are arranged in the close order, and this file order information is stored in the file order storage unit. Then, the order-based installation unit installs the program data in continuous free areas according to the file order information. Therefore, when a file is referenced during the execution of the program, the correlated files are continuously stored, so that the effective speed is improved.

【0015】第3の手段(請求項3)では、第2の手段
を特定する事項に加え、ファイル順序記憶部が、インス
トールするプログラムデータの組み合わせ別にファイル
順序情報を記憶し、プログラム容量記憶部が、当該イン
ストールするプログラムデータの組み合わせ別にファイ
ル容量情報を記憶している。さらに、インストール制御
手段が、外部入力されたインストール指令に基づいて複
数のファイル順序情報のうちの1つを選択するファイル
順序情報選択部と、当該インストール指令に基づいて複
数のファイル容量情報のうちの1つを選択するファイル
容量情報選択部とを備えた、という構成を採っている。
In the third means (claim 3), in addition to the matter for specifying the second means, the file order storage section stores file order information for each combination of program data to be installed, and the program capacity storage section The file capacity information is stored for each combination of the program data to be installed. Further, the installation control means selects a file order information selection unit that selects one of the plurality of file order information based on the externally input installation instruction, and a plurality of file capacity information based on the installation instruction. The configuration is such that a file capacity information selection unit for selecting one is provided.

【0016】本発明は、これらにより上述した目的を達
成しようとするものである。
The present invention aims to achieve the above-mentioned objects by these.

【0017】[0017]

【発明の実施の形態】本発明のプログラムインストール
装置は、インストールに先立ち、インストールに必要と
なるディスク容量を予め算出し、その容量に相当するデ
ィスクの連続する未使用領域を生成・確保する機能を有
する。一般に、あるアプリケションプログラムを使用し
ている場合には、そのアプリケーションに関連するファ
イルへのアクセスが集中することが容易に予想され、こ
の事実から、連続する未使用領域に一連のプログラムを
インストールしてあることにより、ディスクのアクセス
アームの移動量はインストールを行った連続領域無いに
収まる可能性が高くなり、その結果、当該アプリケーシ
ョンの実行速度が向上される。
BEST MODE FOR CARRYING OUT THE INVENTION The program installation device of the present invention has a function of pre-calculating the disk capacity required for the installation prior to the installation and generating / securing a continuous unused area of the disk corresponding to the capacity. Have. In general, when using an application program, it is easy to expect that access to the files related to that application will be concentrated, and this fact makes it possible to install a series of programs in consecutive unused areas. By this, there is a high possibility that the movement amount of the access arm of the disk will be within the continuous area where the installation is performed, and as a result, the execution speed of the application is improved.

【0018】また、インストール時にディスクに格納す
るファイルに対する記憶ディスク媒体の格納順序情報を
持ち、それに従って、順序で被インストールディスク記
憶媒体にファイルを格納する機能を持つ。これは、アプ
リケーション開発者であるならば、使用するファイルに
おける相互関係(例えばある実行プログラムファイルか
ら必ず別の特定のデータファイルを呼び出す等)を正確
に把握できるため、それら相関関係のあるファイルを隣
接してディスク上に配置しておけば、より確実にファイ
ルのアクセス速度が高められる。
Further, it has a storage order information of the storage disk medium for files to be stored in the disk at the time of installation, and accordingly has a function of storing the files in the installed disk storage medium in order. This is because if you are an application developer, you can accurately understand the interrelationships in the files you use (for example, you must always call another specific data file from one execution program file), so these correlated files are adjacent to each other. Then, if it is placed on the disk, the file access speed can be increased more reliably.

【0019】補足事項として、通常、アプリケーション
プログラムは上位コンピュータから見れば読み出し専用
のファイルが殆どであることから、本方法により一度イ
ンストールしたプログラムは意識的にディスク上のファ
イル格納位置を変更することが無い限り、恒久的な高い
動作速度が維持される。
As a supplementary note, since most application programs are mostly read-only files when viewed from the host computer, a program once installed by this method may intentionally change the file storage location on the disk. Unless high, a permanent high operating speed is maintained.

【0020】次に、本発明の形態について図面を参照し
て詳細に説明する。図1は本発明によるプログラムイン
ストール装置の構成を示すブロック図である。
Next, embodiments of the present invention will be described in detail with reference to the drawings. FIG. 1 is a block diagram showing the configuration of a program installation device according to the present invention.

【0021】図1に示すように、プログラムインストー
ル装置は、プログラムデータを外部指令に応じてコンピ
ュータにインストールするインストール制御手段1と、
当該プログラムデータを記憶した記憶手段2とを備えて
いる。
As shown in FIG. 1, the program installation device includes installation control means 1 for installing program data in a computer in accordance with an external command,
The storage means 2 stores the program data.

【0022】インストール制御手段1は、コンピュータ
のディスク状記憶媒体(ディスク媒体)56にファイル
容量情報による容量以上の連続した空き容量があるか否
かを検査する容量検査部12と、この容量検査部12に
よってディスク媒体56に連続した空き容量がないと判
定された場合には当該デスク媒体56に格納されたデー
タを移動させて当該連続した空き容量を確保する容量確
保部14とを備えている。
The installation control means 1 includes a capacity inspection unit 12 for inspecting whether or not the disk-shaped storage medium (disk medium) 56 of the computer has a continuous free space equal to or larger than the capacity according to the file capacity information, and this capacity inspection unit. When it is determined by 12 that there is no continuous free space in the disk medium 56, the capacity securing unit 14 that moves the data stored in the desk medium 56 to secure the continuous free space is provided.

【0023】記憶手段2は、当該プログラムデータのイ
ンストール後の容量をファイル容量情報として記憶した
プログラム容量記憶部22と、インストールするプログ
ラムデータを記憶するプログラムデータ記憶部24とを
備えている。
The storage means 2 comprises a program capacity storage section 22 that stores the installed capacity of the program data as file capacity information, and a program data storage section 24 that stores the program data to be installed.

【0024】本実施形態では、インストール形態とし
て、インストール元の媒体の形態は特に選ばないが、被
インストール媒体としては、図6、図7に示される様な
トラック、レコード構造を持つディスク状媒体を想定し
ている。
In the present embodiment, as the installation form, the form of the installation source medium is not particularly selected, but the installed medium is the disk-shaped medium having the track and record structures as shown in FIGS. 6 and 7. I am assuming.

【0025】また、本実施形態では、記憶手段2は、プ
ログラムデータの相関関係に応じて予め定められたファ
イル順序情報を記憶したファイル順序記憶部26を備え
ている。これに応じて、インストール制御手段1は、フ
ァイル順序記憶部26に格納されたファイル順序情報に
基づいた順序でプログラムデータをインストールする順
序別インストール部16を備えた。
Further, in this embodiment, the storage means 2 is provided with a file order storage unit 26 which stores file order information which is predetermined according to the correlation of the program data. In response to this, the installation control unit 1 includes the order-based installation unit 16 that installs the program data in the order based on the file order information stored in the file order storage unit 26.

【0026】また、インストール装置は、複数のプログ
ラムデータのうち利用者に指定されるプログラムデータ
のみをインストールする場合がある。この例では、ファ
イル順序記憶部が、インストールするプログラムデータ
の組み合わせ別にファイル順序情報を記憶し、プログラ
ム容量記憶部が、当該インストールするプログラムデー
タの組み合わせ別にファイル容量情報を記憶する。
The installation device may install only the program data designated by the user among the plurality of program data. In this example, the file order storage unit stores the file order information for each combination of the program data to be installed, and the program capacity storage unit stores the file capacity information for each combination of the program data to be installed.

【0027】さらに、インストール制御手段1は、外部
入力されたインストール指令に基づいて複数のファイル
順序情報のうちの1つを選択するファイル順序情報選択
部と、当該インストール指令に基づいて複数のファイル
容量情報のうちの1つを選択するファイル容量情報選択
部とを備える。
Further, the installation control means 1 has a file order information selection unit for selecting one of a plurality of file order information based on an externally input installation command, and a plurality of file capacities based on the installation command. And a file capacity information selection unit for selecting one of the information.

【0028】図3は図1に示した構成の実行例を示すフ
ローチャートである。処理初期状態としては、被インス
トール記憶媒体は、特に処置を施していないために、フ
ラグメンテーションを起こし、ディスクの使用中のレコ
ード領域は随所に点在している可能性がある。
FIG. 3 is a flow chart showing an example of execution of the configuration shown in FIG. In the initial state of the processing, since the installed storage medium has not been subjected to any particular treatment, fragmentation may occur, and the record areas in use of the disk may be scattered everywhere.

【0029】プログラムのインストールを開始するにあ
たり、所望のインストール条件により被インストールデ
ィスク媒体に格納するファイルサイズが不定である場合
には、インストール条件がインストールを行う利用者か
ら入力される(ステップS12)。ファイル容量情報選
択部は、このインストール条件に従って必要なディスク
容量を選択又は算出する(ステップS13)。またその
後、ファイル順序情報選択部先工程にて選出されたイン
ストールに必要なファイル群に対し、被インストールデ
ィスクのアクセス速度がより高速となると考えられるデ
ィスク格納順序を確定する(ステップS14)。
When starting the installation of the program, if the file size to be stored in the disk medium to be installed is indefinite due to the desired installation condition, the installation condition is input by the user who performs the installation (step S12). The file capacity information selection unit selects or calculates the required disk capacity according to this installation condition (step S13). Further, thereafter, the disk storage order in which the access speed of the disk to be installed is considered to be higher for the files necessary for the installation selected in the file order information selection unit preceding step is determined (step S14).

【0030】次に、容量検査部12は、必要ディスク容
量分が被インストールディスク状に連続した領域として
存在するか否かを検査し、もし必要領域が無いならば、
レコードの移動を行うことにより必要連続領域を確保す
る(ステップS15)。
Next, the capacity inspecting unit 12 inspects whether or not the required disk capacity is present as a continuous area on the disk to be installed, and if there is no necessary area,
The necessary continuous area is secured by moving the record (step S15).

【0031】次にステップS14にて得たファイル格納
順序に従い、ステップS15にて確保した被インストー
ルディスク上の領域に順次連続する様にプログラムデー
タを格納する(ステップS16)。
Next, according to the file storage order obtained in step S14, the program data is stored so as to be successively continuous in the area on the installed disk secured in step S15 (step S16).

【0032】最後に使用しているファイルシステムにお
いて個々のファイルに対しレコード情報の消去を不可と
する属性の付加が可能であるならば、その属性を与える
ことにより最適に配置したレコート位置を保持すること
ができ、高速なプログラム実行の効果を維持できる。
If it is possible to add an attribute that makes it impossible to erase the record information to each file in the file system that is being used last, the optimally arranged record position is held by giving that attribute. Therefore, the effect of high-speed program execution can be maintained.

【0033】本実施形態によるインストール制御手段1
の動作は、コンピュータと、コンピュータの動作を指令
するプログラムによって実現できる。このため、記憶手
段2に、インストール制御手段としてコンピュータを動
作させるプログラムを格納し、これを供給することで本
発明の実施が可能となる。このインストール制御手段を
実行するためのプログラムは、容量検出指令と、容量確
保指令と、順序別インストール指令とにより特定され
る。
Installation control means 1 according to this embodiment
The operation of can be realized by a computer and a program for instructing the operation of the computer. Therefore, the present invention can be implemented by storing the program for operating the computer as the installation control means in the storage means 2 and supplying the program. The program for executing the installation control means is specified by the capacity detection command, the capacity securing command, and the order-based installation command.

【0034】[0034]

【実施例】本発明の実施例について図3乃至図5を参照
して詳細に説明する。
Embodiments of the present invention will be described in detail with reference to FIGS.

【0035】インストール元媒体としてはCD−ROM
を用い、その中には3つのアプリケーションプログラム
ファイル群、必要ディスク容量データファイル、インス
トール順序データファイルが収納されている。すなわ
ち、記憶手段2としてはCD−ROMを採用し、プログ
ラムデータ記憶部24は3つのアプリケーションプログ
ラムデータを記憶している。
CD-ROM as an installation source medium
, Which contains three application program file groups, a required disk capacity data file, and an installation order data file. That is, a CD-ROM is adopted as the storage unit 2, and the program data storage unit 24 stores three application program data.

【0036】アプリケーションファイル群とは、実際に
インストールの際に被インストールディスク媒体に転送
されるプログラムやデータのファイルの実態である。プ
ログラム容量情報(必要ディスク容量データファイル)
を図3に示す。このファイルにはあらゆる想定されるイ
ンストール条件をファイルの左部分に、またそれに対応
した必要ディスク容量のデータをバイト単位で右側に格
納したものである。この必要ディスク容量データファイ
ルは、プログラム容量記憶部22に格納される。
The application file group is the actual state of files of programs and data transferred to the disk medium to be installed at the time of actual installation. Program capacity information (required disk capacity data file)
Is shown in FIG. This file contains all possible installation conditions in the left part of the file, and the corresponding disk space data in bytes on the right. The required disk capacity data file is stored in the program capacity storage unit 22.

【0037】ファイル順序情報(インストール順序デー
タファイル)を図4に示す。このファイルはインストー
ル条件の種類だけ存在し、各々に対しファイルの先頭か
ら被インストールディスクに格納する順序に従った形で
ファイル名が羅列されている。また、この順序はファイ
ルの参照関係を元に相関関係の大きいものが隣接するよ
うに考慮されて、インストールするアプリケーションソ
フトウエアの開発者が予め作成したものである。このイ
ンストール順序データファイルは、app1.ord,
app1.ord等のファイル名でファイル順序記憶部
26に格納される。
The file order information (installation order data file) is shown in FIG. This file exists only for the types of installation conditions, and the file names are listed for each file in the order in which they are stored in the disk to be installed from the beginning of the file. Also, this order is created in advance by the developer of the application software to be installed, considering that the ones having a large correlation are adjacent to each other based on the reference relationship of the files. This installation order data file is app1. ord,
app1. It is stored in the file order storage unit 26 with a file name such as ord.

【0038】被インストール媒体としては、磁気固定デ
ィスク(ハードディスク)を使用する。この磁気固定デ
ィスクは、トラック及びレコードにてデータの格納場所
を指定する仕様のものであり、また、各レコードの仕様
状況とファイルの名称・属性・参照している一連のレコ
ードアドレスの管理等の為に仕様するVTOC(Vol
ume Table of Contents)と呼ば
れるディスク管理領域を持つ。
A magnetic fixed disk (hard disk) is used as the installed medium. This magnetic fixed disk has specifications that specify the storage location of data by tracks and records, and also manages the specification status of each record, the file name / attribute, and the series of record addresses being referenced. VTOC (Vol
It has a disk management area called ume Table of Contents).

【0039】VTOCのファイル属性付与機能において
各ファイルに対し読み出し専用の属性を付与することが
でき、この属性を与えてあるファイルに対しては不用意
にファイルを消去することができず、同時にディスク上
のレコード位置が変更されることもない。
In the VTOC file attribute assigning function, a read-only attribute can be added to each file, and a file to which this attribute has been added cannot be erased carelessly. The upper record position is not changed.

【0040】次に、本実施例の動作について説明する。
図2の動作フローに沿って説明する。”インストール条
件の確定(S12)”として、本実施例においてはCD
−ROMに格納された3つのアプリケーションapp_
1、app_2、app_3に対し、どのアプリケーシ
ョンをインストールするかをユーザーに問いかけ、その
回答によって条件を確定する。
Next, the operation of this embodiment will be described.
Description will be given along the operation flow of FIG. In the present embodiment, the CD is used as "Confirm installation condition (S12)".
-Three applications app_ stored in ROM
The user is asked which application to install for 1, app_2 and app_3, and the condition is determined by the answer.

【0041】”必要ディスク容量の算出(ステップS1
3)”では、必要ディスク容量データファイルがCD−
ROM内のファイルとして予め準備してあるので、その
ファイル内容を検索し、該当するインストール条件に相
当する部分の数値を必要ディスク容量とする。例えば、
app_1とapp_3をインストールする場合には図
3に示されるファイルにおいて、app_1とapp_
3の行の数値49,333バイトが必要ディスク容量と
なる。
Calculation of Required Disk Capacity (Step S1
3) ”, the required disk capacity data file is CD-
Since it is prepared in advance as a file in the ROM, the contents of the file are searched and the numerical value of the portion corresponding to the corresponding installation condition is set as the required disk capacity. For example,
When installing app_1 and app_3, in the files shown in FIG. 3, app_1 and app_
The required disk capacity is the numerical value of 49,333 bytes in the row of 3.

【0042】”ファイル格納順序の確定(ステップS1
4)”は、本実施例では、インストール順序データファ
イルがインストール条件毎にCD−ROM内のファイル
として予め準備してあるので、該当するインストール条
件のインストール順序データファイルの内容に従う。
"Determine file storage order (step S1
4) ”, according to the present embodiment, the installation order data file is prepared in advance as a file in the CD-ROM for each installation condition, and therefore follows the contents of the installation order data file of the corresponding installation condition.

【0043】以上の準備が整った時点で”未使用連続領
域の確保(ステップS15)”を行う。容量確保部14
の具体的な確保手順を図5の流れ図に従って説明する。
必要な連続未使用領域の大きさは、上記工程の”必要デ
ィスク容量の算出(ステップS13)”にて得られた容
量である。
When the above preparation is completed, "an unused continuous area is secured (step S15)". Capacity securing unit 14
The specific securing procedure of will be described with reference to the flowchart of FIG.
The size of the required continuous unused area is the capacity obtained in the "calculation of required disk capacity (step S13)" in the above process.

【0044】図5に示すように、まずVTOCのレコー
ド使用状況をチェックし、必要な容量に相当する連続未
使用領域があるかどうかを調査する(ステップS2
0)。
As shown in FIG. 5, first, the record use status of the VTOC is checked to check whether there is a continuous unused area corresponding to the required capacity (step S2).
0).

【0045】必要な容量に相当する連続未使用領域が見
つかればその部分をインストール領域として確保し、こ
の工程を完了する(ステップS23)。一方、必要な連
続未使用領域が検出できなければ、次にVTOCにて未
使用レコード又は読み出し専用属性を持たないファイル
が使用しているレコードにて必要ディスク容量の連続領
域の有無を調査する(ステップS21)。
If a continuous unused area corresponding to the required capacity is found, that portion is secured as an installation area and this process is completed (step S23). On the other hand, if the necessary continuous unused area cannot be detected, the VTOC next checks whether there is a continuous area of the required disk capacity in the unused record or the record used by the file having no read-only attribute ( Step S21).

【0046】ここで、該当する領域が検出できない場合
には、本発明のインストールは断念し、従来方法にてプ
ログラムインストールを行う(ステップS24)。ま
た、インストール処理を一時中断して、不必要ファイル
の削除を利用者に促すようにしても良い。
If the corresponding area cannot be detected, the installation of the present invention is abandoned and the program is installed by the conventional method (step S24). Further, the installation process may be temporarily suspended to prompt the user to delete unnecessary files.

【0047】発見できた場合にはその領域内にてファイ
ルとして使用されているレコードに記録してあるデータ
を、今から確保しようとする領域外の未使用領域に移動
し、同時にVTOCにおける該当ファイルの参照してい
たレコード位置を新規異動先へ書き換える(ステップS
22)。この作業を確保しようとする領域全体に施すこ
とにより、未使用の連続領域を確保する工程が完了する
(ステップS23)。
If found, the data recorded in the record used as a file in that area is moved to an unused area outside the area to be secured at the same time, and at the same time, the corresponding file in the VTOC. The record position referred to by is rewritten to the new transfer destination (step S
22). By applying this work to the entire area to be secured, the step of securing an unused continuous area is completed (step S23).

【0048】次いで、図3に示すように、”順序を考慮
したファイル転送(ステップS16)”では、”ファイ
ル格納順序の確定(ステップS14)”工程にて得たフ
ァイルの順番、即ち、該当する「インストール順序デー
タファイル」に記述してある順番に従って、確保した未
使用連続領域に対してレコード単位に隙間無く格納す
る。
Then, as shown in FIG. 3, in the "file transfer in consideration of order (step S16)", the order of the files obtained in the "determination of file storage order (step S14)" step, that is, the corresponding According to the order described in the "installation order data file", the reserved unused continuous areas are stored in record units without any gaps.

【0049】最後に、ディスク状記憶媒体に転送したフ
ァイルに対し、VTOCに記述されているファイル属性
に対して読み出し専用の属性を与える。
Finally, the file transferred to the disk-shaped storage medium is given a read-only attribute with respect to the file attribute described in the VTOC.

【0050】上述したように本実施形態およびその実施
例によると、以下の効果をそうする。第一の効果は、イ
ンストールしたプログラムを実行する場合に記憶媒体か
ら読み出される一つのファイルのレコードが物理的に連
続していることにより、アクセスアームの移動量が小さ
くなり、その結果ファイルへアクセスを開始してから、
そのファイルを読み込み終えるまでの時間が短縮され、
その結果プログラム実行速度が向上することである。第
二の効果は、インストールしたプログラムに含まれるフ
ァイル群を、ディスク状記憶媒体の連続した領域にまと
めて配置してあることから、このプログラムを実行する
場合に互いに呼び出すファイルのレコードは必ずインス
トール時に確保した領域に存在し、アクセスアームの移
動量はこの範囲内にて移動する。その結果、インストー
ルしたプログラムの実行速度が向上することである。
As described above, according to this embodiment and its example, the following effects are obtained. The first effect is that the records of one file read from the storage medium when the installed program is executed are physically continuous, the movement amount of the access arm is reduced, and as a result, the file can be accessed. Since it started
It takes less time to finish reading the file,
As a result, the program execution speed is improved. The second effect is that the files included in the installed program are placed together in a continuous area of the disk-shaped storage medium, so the records of the files that are called by each other when this program is executed must be recorded during installation. It exists in the secured area and the movement amount of the access arm moves within this range. As a result, the execution speed of the installed program is improved.

【0051】第三の効果は、インストール時にディスク
状記憶媒体にファイルを格納する場所として、互いに相
関関係の大きいファイル同志を近接する様に配慮してい
ることから、あるファイルから連続して次に必要となる
ファイルを読み出す場合等には、第二の効果で期待され
るアクセスアームの移動量よりもさらに小さい移動にて
アクセスすることができるようになり、その結果、イン
ストールしたプログラムの実行速度が向上することであ
る。
A third effect is that, as a place for storing files in a disk-shaped storage medium at the time of installation, it is considered that files having a large correlation with each other are brought close to each other. When reading a required file, etc., it becomes possible to access with a movement smaller than the movement amount of the access arm expected in the second effect, and as a result, the execution speed of the installed program can be increased. It is to improve.

【0052】第四の効果として、一旦インストールした
ファイル群を読み出し専用と設定することにより、半永
久的にこのプログラムを実行する速度を高く維持するこ
とができる。
As a fourth effect, by setting the once installed file group as read-only, the speed of executing this program semipermanently can be maintained high.

【0053】[0053]

【発明の効果】本発明は以上のように構成され機能する
ので、これによると、請求項1記載の発明では、容量確
保部が、連続した空き容量を確保した後に、インストー
ル制御手段がプログラムをインストールするため、当該
プログラムが実行されるときには、少ないヘッド移動量
で実行に必要なファイルの読み込みが行われ、従って、
プログラムの立ち上げに際して必要となるプログラム読
み出し処理を短縮することができる従来にない優れたプ
ログラムインストール装置を提供することができる。
Since the present invention is constructed and functions as described above, according to the present invention, in the invention according to claim 1, the installation control means executes the program after the capacity securing section secures a continuous free capacity. Because of the installation, when the program is executed, the files necessary for execution are read with a small amount of head movement, and therefore,
It is possible to provide an unprecedented excellent program installation device capable of shortening the program reading process required for starting a program.

【0054】請求項2記載の発明では、順序別インスト
ール部が、当該ファイル順序情報に従って、相関関係の
高いファイルを近い順序にした状態でプログラムデータ
を連続した空き領域にインストールするため、相関関係
にあるファイルを連続して格納することができ、このた
め、プログラムの実行中にファイルが参照される場合に
実効速度が向上し、しかも、連続した空き領域にインス
トールするため、このような相関関係にあるファイルを
近接した領域への格納に際して、アプリケーションの開
発者は、実際のディスク媒体の構成を考慮することな
く、プログラムデータファイルを順序指定するという比
較的単純な作業のみで実施することができる従来にない
優れたプログラムインストール装置を提供することがで
きる。
According to the second aspect of the present invention, the order-based installation unit installs the program data in a continuous free area in a state in which files having a high correlation are arranged in a close order according to the file order information. A file can be stored contiguously, which improves the speed of execution when the file is referenced during program execution, yet installs in contiguous free space, thus creating this correlation. Conventionally, when storing a file in a close area, the application developer can perform the program data file ordering relatively simply without considering the actual configuration of the disk medium. It is possible to provide an excellent program installation device that does not exist.

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

【図1】本発明の一実施形態の構成を示すブロック図で
ある。
FIG. 1 is a block diagram showing a configuration of an embodiment of the present invention.

【図2】図1に示した構成による動作を示すフローチャ
ートである。
FIG. 2 is a flowchart showing an operation according to the configuration shown in FIG. 1;

【図3】プログラム容量情報(必要ディスク容量データ
ファイル)の一例を示す説明図である。
FIG. 3 is an explanatory diagram showing an example of program capacity information (required disk capacity data file).

【図4】ファイル順序情報(インストール順序データフ
ァイル)の一例を示す説明図であり、図4(a)はap
p_1のみをインストールする際のファイル順序の例を
示す図で、図4(b)はapp_1からapp_3まで
をインストールする際のファイル順序の例を示す図であ
る。
FIG. 4 is an explanatory diagram showing an example of file order information (installation order data file), and FIG.
FIG. 4B is a diagram showing an example of a file order when only p_1 is installed, and FIG. 4B is a diagram showing an example of a file order when installing app_1 to app_3.

【図5】未使用連続領域の確保手順の一例を示すフロー
チャートである。
FIG. 5 is a flowchart showing an example of a procedure for securing an unused continuous area.

【図6】従来のディスク状記憶媒体の一例を示す説明図
である。
FIG. 6 is an explanatory diagram showing an example of a conventional disc-shaped storage medium.

【図7】図6に示したディスク上記憶媒体のトラック構
造を示す説明図である。
7 is an explanatory diagram showing a track structure of the on-disk storage medium shown in FIG.

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

1 インストール制御手段 2 記憶手段 12 容量検査部 14 容量確保部 16 順序別インストール部 20 プログラム容量記憶部 24 プログラムデータ記憶部 26 ファイル順序記憶部 51 アクセスアームの支点 52 アクセスアーム 53 ヘッド 54 トラック0 55 トラックa 56 ディスク状記憶媒体 57 起点マーカ 58 レコード0 59 レコード1 60 レコード2 DESCRIPTION OF SYMBOLS 1 Installation control means 2 Storage means 12 Capacity inspection section 14 Capacity securing section 16 Ordered installation section 20 Program capacity storage section 24 Program data storage section 26 File order storage section 51 Access arm fulcrum 52 Access arm 53 Head 54 Track 0 55 Track a 56 Disk-shaped storage medium 57 Origin marker 58 Record 0 59 Record 1 60 Record 2

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 プログラムデータを外部指令に応じてコ
ンピュータにインストールするインストール制御手段
と、前記プログラムデータのインストール後の容量をフ
ァイル容量情報として記憶したプログラム容量記憶部と
を備えたプログラムインストール装置において、 前記インストール制御手段が、前記コンピュータのディ
スク状記憶媒体に前記ファイル容量情報による容量以上
の連続した空き容量があるか否かを検査する容量検査部
と、この容量検査部によって前記ディスク状記憶媒体に
連続した空き容量がないと判定された場合には当該デス
ク状記憶媒体に格納されたデータを移動させて当該連続
した空き容量を確保する容量確保部とを備えたことを特
徴とするプログラムインストール装置。
1. A program installation device comprising: an installation control means for installing program data in a computer in response to an external command; and a program capacity storage section for storing the installed capacity of the program data as file capacity information. The installation control means checks the disk-shaped storage medium of the computer for a continuous free space equal to or larger than the capacity according to the file capacity information; A program installation device comprising: a capacity securing unit that moves the data stored in the desk-shaped storage medium to secure the continuous free space when it is determined that there is no continuous free space. .
【請求項2】 前記プログラム容量記憶部に、プログラ
ムデータの相関関係に応じて予め定められたファイル順
序情報を記憶したファイル順序記憶部を併設し、 前記インストール制御手段が、前記ファイル順序記憶部
に格納されたファイル順序情報に基づいた順序で前記プ
ログラムデータをインストールする順序別インストール
部を備えたことを特徴とする請求項1記載のプログラム
インストール装置。
2. The program capacity storage section is provided with a file order storage section that stores predetermined file order information according to the correlation of program data, and the installation control means causes the file order storage section to operate. The program installation device according to claim 1, further comprising an order-based installation unit that installs the program data in an order based on the stored file order information.
【請求項3】 前記ファイル順序記憶部が、インストー
ルするプログラムデータの組み合わせ別に前記ファイル
順序情報を記憶し、 前記プログラム容量記憶部が、当該インストールするプ
ログラムデータの組み合わせ別に前記ファイル容量情報
を記憶し、 前記インストール制御手段が、外部入力されたインスト
ール指令に基づいて前記複数のファイル順序情報のうち
の1つを選択するファイル順序情報選択部と、当該イン
ストール指令に基づいて前記複数のファイル容量情報の
うちの1つを選択するファイル容量情報選択部とを備え
たことを特徴とする請求項2記載のプログラムインスト
ール装置。
3. The file order storage unit stores the file order information for each combination of program data to be installed, and the program capacity storage unit stores the file capacity information for each combination of program data to be installed, The installation control means selects a file order information selection unit that selects one of the plurality of file order information based on an externally input installation command, and a plurality of file capacity information among the plurality of file capacity information based on the installation command. 3. The program installation device according to claim 2, further comprising a file capacity information selection unit that selects one of the above.
JP8107585A 1996-04-26 1996-04-26 Program install device Pending JPH09293007A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8107585A JPH09293007A (en) 1996-04-26 1996-04-26 Program install device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8107585A JPH09293007A (en) 1996-04-26 1996-04-26 Program install device

Publications (1)

Publication Number Publication Date
JPH09293007A true JPH09293007A (en) 1997-11-11

Family

ID=14462898

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8107585A Pending JPH09293007A (en) 1996-04-26 1996-04-26 Program install device

Country Status (1)

Country Link
JP (1) JPH09293007A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7293268B2 (en) 2000-04-17 2007-11-06 Fujitsu Limited Installation method, activation method, execution apparatus and medium of application program
JP2008251018A (en) * 1998-04-15 2008-10-16 Microsoft Corp Method of installing program code on logical disk for optimization
JP2012048428A (en) * 2010-08-26 2012-03-08 Digital Electronics Corp Installation method and program

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008251018A (en) * 1998-04-15 2008-10-16 Microsoft Corp Method of installing program code on logical disk for optimization
JP4571992B2 (en) * 1998-04-15 2010-10-27 マイクロソフト コーポレーション How to install and optimize program code on logical disks
US7293268B2 (en) 2000-04-17 2007-11-06 Fujitsu Limited Installation method, activation method, execution apparatus and medium of application program
JP2012048428A (en) * 2010-08-26 2012-03-08 Digital Electronics Corp Installation method and program

Similar Documents

Publication Publication Date Title
US5111444A (en) Method of managing defective sectors in a disk-shaped information recording medium and an apparatus for performing the same
JP2888958B2 (en) File management method for partially rewritable storage media
JP4571992B2 (en) How to install and optimize program code on logical disks
US6735678B2 (en) Method and apparatus for disc drive defragmentation
US6470461B1 (en) Disk drive controller circuit and method for skipping defective and/or undesired sectors
JP2008015623A (en) Controller of storage system equipped with many kinds of storage devices
JPH096540A (en) Built-in directory method for data compression of direct-access storage device and directory record
JPH11191267A (en) Method for allotting disk memory space and memory medium for storing compressed data record
US20040268070A1 (en) Method and apparatus for backing up data in virtual storage medium
JPWO2002056179A1 (en) Method for regenerating partition using virtual drive, data processing device, and data storage device
US6693754B2 (en) Method and apparatus for a disc drive adaptive file system
US5872955A (en) Method and apparatus for reading and writing data in a disk drive system
KR20030031900A (en) Information recording medium, information recording method, information recording apparatus, information reproducing method, and information reproducing apparatus
JP3127796B2 (en) Information recording / reproducing device
JPH09293007A (en) Program install device
US6574704B1 (en) Information storage management device and method, control device and method
US6449705B1 (en) Method and apparatus for improving performance of drive linking through use of hash tables
US6209057B1 (en) Storage device having data buffer
KR20030061948A (en) : Apparatus storing information and method for controlling the File using its
JP3857039B2 (en) Image mastering API
JPH07182232A (en) Information processor
JP2901543B2 (en) Magnetic disk file relocation method
JPH02151944A (en) Data processor
JPS59136860A (en) Disk controller
US7409598B2 (en) Information storage system

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19981222