JPH1173349A - Device and method for preventing file fragmentation due to downloading - Google Patents

Device and method for preventing file fragmentation due to downloading

Info

Publication number
JPH1173349A
JPH1173349A JP9249811A JP24981197A JPH1173349A JP H1173349 A JPH1173349 A JP H1173349A JP 9249811 A JP9249811 A JP 9249811A JP 24981197 A JP24981197 A JP 24981197A JP H1173349 A JPH1173349 A JP H1173349A
Authority
JP
Japan
Prior art keywords
file
software
storage device
host computer
changed
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.)
Granted
Application number
JP9249811A
Other languages
Japanese (ja)
Other versions
JP3166676B2 (en
Inventor
Takahiro Fujimoto
隆宏 藤本
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 JP24981197A priority Critical patent/JP3166676B2/en
Publication of JPH1173349A publication Critical patent/JPH1173349A/en
Application granted granted Critical
Publication of JP3166676B2 publication Critical patent/JP3166676B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Stored Programmes (AREA)

Abstract

PROBLEM TO BE SOLVED: To store a file of a storage device of a terminal in a continuous area without fragmentating it, to improve the storage efficiency of the storage device and to improve an access speed by managing an unused area of the storage device and simultaneously performing downloading for software change and relocation of a file to prevent file fragmentation. SOLUTION: A download control part 14 supervises the increase and decrease of a file size of software that has change and calculates the size of an unused area after change of the software. Also, it stores a file that has change due to download from a host computer 20 after deciding the storage position of new software based on the size of the calculated unused area and copies a file that does not have change. That is, it becomes possible to prevent a file on a storage device 13 from being fragmentated by simultaneously performing downloading for software updating and relocation of a file for file fragmentation prevention.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、ホストコンピュー
タと端末をネットワーク接続したオンラインシステムに
おいてダウンロードによるソフトウェア更新技術に関
し、特に、端末における資源的制約が大きい場合の記憶
装置の格納効率の低下を回避するファイル断片化防止方
法及び装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a software update technique by download in an online system in which a host computer and a terminal are connected to a network, and in particular, to avoid a decrease in storage efficiency of a storage device when resource constraints at the terminal are large. The present invention relates to a method and apparatus for preventing file fragmentation.

【0002】[0002]

【従来の技術】ホストコンピュータと端末をネットワー
クにより接続したオンラインシステムにおいて、端末の
ソフトウェアに変更が発生した場合、オンライン中でも
ホストコンピュータからのダウンロードを可能とするた
め、ソフトウェアの二世代管理を行い、現在使用してい
ない旧版のソフトウェアに対してファイルの更新を行っ
ている。
2. Description of the Related Art In an online system in which a host computer and a terminal are connected via a network, if the software of the terminal changes, the software is managed for two generations so that it can be downloaded from the host computer even while online. The file has been updated for an old version of the software that is not being used.

【0003】従来のダウンロードによるソフトウェア更
新方式においては、ダウンロードによるファイル更新時
に、端末の記憶装置への格納効率を考慮していず、記憶
装置の管理は、専ら、端末のOS(オペレーティングシ
ステム)のファイルシステムに依存している。
[0003] In the conventional software update method by download, when updating a file by download, the storage efficiency of the terminal in the storage device is not considered, and the management of the storage device is exclusively performed by the file of the OS (operating system) of the terminal. System dependent.

【0004】一般に、ファイルシステムでは、ファイル
の作成、削除を繰り返すことにより、ファイルは物理的
に分割されて記憶装置に格納される、すなわち、ファイ
ルの作成、削除等の繰り返しにより空き領域が断片化
し、ファイルが連続した領域に格納できなくなり、ファ
イルの断片化(フラグメンテーション)が発生してしま
う。
Generally, in a file system, by repeatedly creating and deleting a file, the file is physically divided and stored in a storage device. That is, free space is fragmented by repeatedly creating and deleting a file. However, files cannot be stored in a continuous area, and file fragmentation (fragmentation) occurs.

【0005】このため、従来は、記憶装置の格納効率の
低下に対処するため、大容量の記憶装置というハードウ
ェア資源を必要としていた。
For this reason, conventionally, in order to cope with a decrease in storage efficiency of the storage device, a hardware resource of a large-capacity storage device has been required.

【0006】[0006]

【発明が解決しようとする課題】上記した従来方式は下
記記載の問題点を有している。
The above-mentioned conventional system has the following problems.

【0007】第1の問題点は、端末のソフトウェアの変
更を繰り返す度に、端末の記憶装置の格納効率が低下し
てしまう、ということである。
[0007] The first problem is that the storage efficiency of the storage device of the terminal decreases every time the software of the terminal is repeatedly changed.

【0008】その理由は、端末のソフトウェアを変更す
ると、ファイルサイズが変更になるために、記憶装置の
連続した領域に格納できなくなり、ファイルの断片化が
生じ、断片化したファイルは、断片ごとに、記憶装置上
の異なる位置に保存されるためである。
[0008] The reason is that, when the software of the terminal is changed, the file size is changed, so that the file cannot be stored in a continuous area of the storage device, and the file becomes fragmented. Is stored in different locations on the storage device.

【0009】第2の問題点は、端末のソフトウェアの変
更を繰り返す度に、記憶装置にアクセスする速度が低下
してしまう、ということである。
[0009] The second problem is that the speed of accessing the storage device decreases every time the software of the terminal is repeatedly changed.

【0010】その理由は、上記の第1の問題点の理由と
同様に、記憶装置上のファイルが断片化し、断片ごとに
記憶装置上の異なる位置に格納されるためである。
[0010] The reason for this is that, similarly to the reason for the first problem, the file on the storage device is fragmented and stored in a different location on the storage device for each fragment.

【0011】したがって、本発明は、上記問題点に鑑み
てなされたものであって、その目的は、ホストコンピュ
ータからのダウンロードにより端末のソフトウェアを更
新する場合、端末の記憶装置のファイルを断片化するこ
となく連続した領域に格納し、記憶装置の格納効率を向
上させると共に、ファイルにアクセスする速度を向上さ
せる、ファイル断片化防止方法及び装置を提供すること
にある。
Accordingly, the present invention has been made in view of the above problems, and an object of the present invention is to fragment a file in a storage device of a terminal when updating the software of the terminal by downloading from a host computer. An object of the present invention is to provide a method and apparatus for preventing fragmentation of a file, in which the file is stored in a continuous area without increasing the storage efficiency of the storage device and the speed of accessing the file is improved.

【0012】[0012]

【課題を解決するための手段】前記目的を達成するた
め、本発明は、端末のソフトウェアに変更が発生しファ
イルサイズが変更になった場合、端末において変更後の
ファイルサイズを算出し、記憶装置の未使用領域を管理
することにより、ソフトウェア変更のためのダウンロー
ドとファイル断片化防止のためのファイルの再配置を同
時に行い、ダウンロード中にファイルを断片化すること
なく、記憶装置上の連続した領域に変更のあるソフトウ
ェアのファイルデータを格納できるようにしたものであ
る。
In order to achieve the above object, according to the present invention, when a change occurs in software of a terminal and a file size is changed, the terminal calculates a file size after the change and stores the changed file size in a storage device. By managing the unused area of the storage device, download for software change and relocation of file to prevent file fragmentation can be performed at the same time. Can store file data of software that has changed.

【0013】本発明は、好ましくは、新旧二世代のソフ
トウェアを格納する記憶装置を備え、ソフトウェアの変
更が発生した場合にホストコンピュータからのダウンロ
ードによりソフトウェアの更新を行う端末と、前記ホス
トコンピュータとをネットワークにより接続するオンラ
インシステムにおいて、前記記憶装置全体の容量、前記
新旧二世代のソフトウェアを構成する各ファイルの容量
を記憶しているファイル情報管理手段と、前記記憶装置
における未使用領域を管理し、ソフトウェア更新のため
のダウンロードと、ファイル断片化防止のためのファイ
ル再配置を同時に行うダウンロード制御手段と、を備え
たことを特徴とする。
[0013] The present invention preferably comprises a storage device for storing two generations of new and old software, and a terminal for updating software by downloading from a host computer when the software is changed, and the host computer. In an online system connected by a network, a file information management unit that stores a capacity of the entire storage device, a capacity of each file constituting the new and old two-generation software, and an unused area in the storage device, Download control means for simultaneously performing download for software update and file relocation for preventing file fragmentation is provided.

【0014】[0014]

【発明の実施の形態】本発明の実施の形態について説明
する。本発明は、その好ましい実施の形態において、新
旧二世代のソフトウェアを格納する記憶装置を備え、ソ
フトウェアの変更が発生した場合にホストコンピュータ
からのダウンロードによりソフトウェアの更新を行う端
末が、通信制御手段(図1の11)、および記憶装置
(図1の12)に加え、記憶装置全体の容量、新旧二世
代のソフトウェアを構成する各ファイルの容量を記憶し
ているファイル情報管理手段(図1の13)と、記憶装
置の未使用領域を管理し、ファイルのダウンロード、及
び、ファイルの複写/削除を制御するダウンロード制御
部(図1の14)と、を有する。
Embodiments of the present invention will be described. According to a preferred embodiment of the present invention, a terminal which includes a storage device for storing software of two generations, old and new, and updates the software by downloading from a host computer when the software is changed, comprises a communication control unit ( File information management means (13 in FIG. 1) which stores the capacity of the entire storage device and the capacity of each file constituting the software of the new and old two generations in addition to the storage device (11 in FIG. 1) and the storage device (12 in FIG. 1). ), And a download control unit (14 in FIG. 1) that manages an unused area of the storage device and controls file download and file copy / deletion.

【0015】本発明の実施の形態において、ダウンロー
ド制御部(図1の14)は、変更のあるソフトウェアの
ファイルサイズの増減を監視し、ソフトウェア変更後の
未使用領域のサイズを算出する。
In the embodiment of the present invention, the download control unit (14 in FIG. 1) monitors an increase or decrease in the file size of the software that has changed, and calculates the size of the unused area after the software change.

【0016】ダウンロード制御部(図1の14)は、算
出した未使用領域のサイズを基に、新しいソフトウェア
の格納位置を決定した後、変更のあるファイルをホスト
コンピュータからのダウンロードにより格納し、変更の
無いファイルを複写する。すなわち、ソフトウェア更新
のためのダウンロードとファイル断片化防止のためのフ
ァイルの再配置を同時に行うことにより、記憶装置(図
1の12)上のファイルの断片化を防止することが可能
となる。
The download control unit (14 in FIG. 1) determines the storage location of the new software based on the calculated unused area size, stores the changed file by downloading from the host computer, and changes the file. Copies a file without a. That is, by simultaneously performing the download for updating the software and the rearrangement of the file for preventing the fragmentation of the file, the fragmentation of the file on the storage device (12 in FIG. 1) can be prevented.

【0017】[0017]

【実施例】次に、上記した本発明の実施の形態について
更に詳細に説明すべく、本発明の実施例について図面を
参照して説明する。図1は、本発明の一実施例のシステ
ム構成を示す図である。図1を参照すると、本発明の一
実施例において、ホストコンピュータ20に接続する端
末10は、通信制御部11、記憶装置12、ファイル情
報管理部13、及び、ダウンロード制御部14を含んで
構成されている。
Next, in order to describe the above-mentioned embodiment of the present invention in more detail, an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a diagram showing a system configuration according to an embodiment of the present invention. Referring to FIG. 1, in one embodiment of the present invention, a terminal 10 connected to a host computer 20 includes a communication control unit 11, a storage device 12, a file information management unit 13, and a download control unit 14. ing.

【0018】通信制御部11は、ホストコンピュータ2
0と接続している通信パス30を監視し、データの送受
信を制御する。ホストコンピュータ20からの受信デー
タがダウンロードに関するデータの場合、ダウンロード
制御部14に対してデータを引き渡す。
The communication control unit 11 includes a host computer 2
It monitors the communication path 30 connected to 0 and controls transmission and reception of data. When the data received from the host computer 20 is data related to download, the data is delivered to the download control unit 14.

【0019】ここで、ダウンロードに関するデータと
は、変更するソフトウェアのファイル名やファイル容量
などの変更ファイルの制御情報(図3(A)の312)
と、変更ファイルの全容量(図3(A)の311)とで
構成するダウンロード制御データ(図3(A)の31)
と、変更するソフトウェアの実際のファイルデータであ
る。図3(A)は、ダウンロード制御データを模式的に
示す図である。
Here, the data relating to the download is the control information of the changed file such as the file name and file capacity of the software to be changed (312 in FIG. 3A).
And download control data (31 in FIG. 3A) composed of the file and the total capacity of the change file (311 in FIG. 3A).
And the actual file data of the software to be changed. FIG. 3A is a diagram schematically showing download control data.

【0020】記憶装置12は、新旧二世代のソフトウェ
アを構成する実際のファイルデータを格納している。
The storage device 12 stores actual file data constituting the new and old two-generation software.

【0021】図2は、本発明の実施例における記憶装置
12の構成を模式的に示す図である。図2に示すよう
に、新旧二世代のソフトウェアは、それぞれファイル1
からファイルnで構成され(22、23)、ここでは、
ソフトウェアAとソフトウェアBとする。
FIG. 2 is a diagram schematically showing the configuration of the storage device 12 according to the embodiment of the present invention. As shown in FIG. 2, the new and old two-generation software
To file n (22, 23), where
Software A and software B.

【0022】図2を参照すると、ソフトウェアAは、記
憶装置12において、領域の先頭から格納し、ソフトウ
ェアBは、領域の最後から格納し、ソフトウェアAとソ
フトウェアBの中間部分に、使用していない未使用領域
が存在する。
Referring to FIG. 2, software A is stored in the storage device 12 from the beginning of the area, software B is stored from the end of the area, and is not used in an intermediate portion between software A and software B. There is an unused area.

【0023】ソフトウェア情報管理部13は、記憶装置
12に関する情報を格納する。図3(B)は、本発明の
一実施例におけるファイル情報管理部13の内容を模式
的に示す図である。
The software information management unit 13 stores information on the storage device 12. FIG. 3B is a diagram schematically showing the contents of the file information management unit 13 in one embodiment of the present invention.

【0024】図3(B)を参照すると、ソフトウェア情
報管理部13に格納される記憶装置12に関する情報と
は、記憶装置全体の容量321と、新旧二世代のソフト
ウェアを構成する各ファイルの制御情報324、32
6、及び、新旧二世代のソフトウェアの容量323、3
25である。また、ソフトウェア情報管理部13は、ソ
フトウェアA、ソフトウェアBの新旧を区別するための
情報として、現在の世代322を格納する。
Referring to FIG. 3B, the information on the storage device 12 stored in the software information management unit 13 includes the capacity 321 of the entire storage device and the control information of each file constituting the new and old two generations of software. 324, 32
6 and the capacity of new and old two generation software 323, 3
25. Further, the software information management unit 13 stores the current generation 322 as information for distinguishing between new and old software A and software B.

【0025】ダウンロード制御部14は、通信制御部1
1からのダウンロード制御データ(図3(A)参照)
と、ファイル情報管理部13(図3(B)参照)の情報
を基に、変更のあるソフトウェアのファイルサイズの増
減を監視し、ソフトウェア変更後の未使用領域のサイズ
を算出する。
The download control unit 14 is a communication control unit 1
Download control data from 1 (see FIG. 3A)
Then, based on the information of the file information management unit 13 (see FIG. 3B), an increase or decrease in the file size of the changed software is monitored, and the size of the unused area after the software change is calculated.

【0026】算出した未使用領域のサイズを基に、新し
いソフトウェアの格納位置を決定し、変更のあるファイ
ルは、ダウンロードファイルデータを格納し、変更のな
いファイルは現在の世代から複写する。
Based on the calculated size of the unused area, the storage location of the new software is determined. For a file with a change, download file data is stored, and for a file without a change, the file is copied from the current generation.

【0027】図4は、本発明の一実施例におけるダウン
ロード制御部14の動作を説明するための流れ図であ
る。本発明の実施例の動作について、図1、図3、及び
図4を参照して詳細に説明する。
FIG. 4 is a flowchart for explaining the operation of the download control unit 14 in one embodiment of the present invention. The operation of the embodiment of the present invention will be described in detail with reference to FIG. 1, FIG. 3, and FIG.

【0028】通信制御部11は、ホストコンピュータ2
0と接続している通信パス30に対してデータの到着監
視を行う。ホストコンピュータからダウンロード制御デ
ータ(図3の31)が到着した場合は、ダウンロード制
御部14にデータの到着を通知する。
The communication control unit 11 is a host computer 2
Data arrival monitoring is performed on the communication path 30 connected to the communication path 0. When the download control data (31 in FIG. 3) arrives from the host computer, the download control unit 14 is notified of the arrival of the data.

【0029】ダウンロード制御部14は、ダウンロード
制御データ(図3の31)の到着通知を受け、ファイル
管理部13を参照して、更新し、変更のあるソフトウェ
アのファイルデータを更新する。
Upon receiving the notification of the arrival of the download control data (31 in FIG. 3), the download control unit 14 refers to the file management unit 13 to update and update the file data of the changed software.

【0030】以下では、図4のフローチャートを参照し
て、ダウンロード制御部14におけるファイル更新動作
を説明する。
Hereinafter, the file update operation of the download control unit 14 will be described with reference to the flowchart of FIG.

【0031】まず、ステップ42において、ファイル情
報管理部13から現在の世代(図3の332)を取得
し、ソフトウェアA、および、ソフトウェアBの新旧を
ステップ43にて判別する。
First, in step 42, the current generation (332 in FIG. 3) is acquired from the file information management unit 13, and the software A and the software B are discriminated in step 43.

【0032】ソフトウェアAが現在の世代である場合に
は、ステップ441において、ソフトウェアBを構成す
るファイルを全て削除する。
If the software A is the current generation, in step 441, all the files constituting the software B are deleted.

【0033】次にステップ442において、変更後のソ
フトウェアBの容量(図3の325)を算出する。すな
わち、変更のあるファイルについてはダウンロード制御
データ(図3の31)の変更ファイルの全容量(図3の
311)から、また、変更のないファイルについてはフ
ァイル情報管理部(図3の32)のソフトウェアAの制
御情報(図3の324)を参照し、各々を加算すること
により、変更後のソフトウェアBの容量を算出する。
Next, in step 442, the capacity of the software B after the change (325 in FIG. 3) is calculated. That is, for a file that has been changed, the total size of the changed file (311, FIG. 3) of the download control data (31, FIG. 3) is used, and for a file that has not been changed, the file information management unit (32, FIG. 3) uses it. With reference to the control information of the software A (324 in FIG. 3), the capacity of the software B after the change is calculated by adding each of them.

【0034】さらに、ファイル情報管理部13に格納さ
れている記憶装置全体の容量(図3の321)から、変
更後のソフトウェアBの容量(図3の325)を減算す
ることにより、記憶装置12の使用しない領域(未使用
領域)の容量を算出する。
Further, the capacity of the software B after the change (325 in FIG. 3) is subtracted from the capacity of the entire storage device (321 in FIG. 3) stored in the file information management unit 13, thereby obtaining the storage device 12 The capacity of the unused area (unused area) is calculated.

【0035】次にステップ443において、記憶装置1
2上のソフトウェアAの直後の領域に、ステップ442
で算出した未使用領域の容量の一時作業ファイルを作成
する。
Next, at step 443, the storage device 1
Step 442 in the area immediately after software A on
Create a temporary work file with the capacity of the unused area calculated in.

【0036】ステップ444において、変更のあるファ
イルは、ダウンロードファイルデータを通信制御部11
から受け取り、記憶装置12上において、上記ステップ
443で作成した一時作業ファイルの直後に格納する。
In step 444, the file having the change is downloaded to the communication control unit 11.
And on the storage device 12 immediately after the temporary work file created in step 443.

【0037】次にステップ445において、変更のない
ファイルは、現在の世代であるソフトウェアAから記憶
装置12上において、上記ステップ444で作成しした
変更のあるファイルの直後の領域に格納する。
Next, in step 445, the unchanged file is stored in the area immediately after the changed file created in step 444 on the storage device 12 from the current generation software A.

【0038】最後に、ステップ446において、上記ス
テップ443で作成した一時作業ファイルを削除する。
Finally, in step 446, the temporary work file created in step 443 is deleted.

【0039】一方、ステップ43において、ソフトウェ
アBが現在の世代の場合は、ステップ451において、
ソフトウェアAを構成するファイルを全て削除する。
On the other hand, if the software B is the current generation in step 43,
Delete all files that make up software A.

【0040】次にステップ452において、変更のある
ファイルはダウンロードファイルデータを通信制御部1
1から受け取り、記憶装置12上の先頭の領域に格納す
る。
Next, in step 452, the file having the change is downloaded from the communication control unit 1.
1 and stored in the first area on the storage device 12.

【0041】さらにステップ453において、変更のな
いファイルは、現在の世代であるソフトウェアBである
ため、記憶装置12上において、上記ステップ452で
作成した変更のあるファイルの直後の領域に格納する。
Further, in step 453, the unchanged file is the software B of the current generation, and is stored on the storage device 12 in an area immediately after the changed file created in step 452.

【0042】なお、上記ステップ441、444、44
5、451、452、および、453にてソフトウェア
を構成するファイルを作成、削除した場合は、それぞれ
ファイル情報管理部13(図3参照)の該当する個所を
更新する。
The above steps 441, 444, 44
When files constituting software are created or deleted in 5, 451, 452, and 453, the corresponding portions of the file information management unit 13 (see FIG. 3) are updated.

【0043】以上に説明したように、現在の世代がソフ
トウェアAの場合には、ステップ441からステップ4
46、現在の世代がソフトウェアBの場合はステップ4
51からステップ453の作業を行うことによって、ダ
ウンロード制御部14は、記憶装置12上の連続した領
域に、変更のあるソフトウェアのファイルデータを更新
する。
As described above, when the current generation is software A, the steps 441 to 4
46, if the current generation is software B, step 4
By performing the operations from 51 to 453, the download control unit 14 updates the file data of the changed software in a continuous area on the storage device 12.

【0044】[0044]

【発明の効果】以上説明したように、本発明によれば下
記記載の効果を奏する。
As described above, according to the present invention, the following effects can be obtained.

【0045】本発明の第1の効果は、端末のソフトウェ
アに変更が発生し、ホストコンピュータからのダウンロ
ードによりソフトウェアを更新しても、端末の記憶装置
の格納効率が低下しない、ということである。
The first effect of the present invention is that the storage efficiency of the storage device of the terminal does not decrease even if the software of the terminal is changed and the software is updated by downloading from the host computer.

【0046】その理由は、本発明においては、記憶装置
の未使用領域を管理しソフトウェア変更のためのダウン
ロードとファイル断片化を防止するためのファイルの再
配置を同時に行うように構成したためである。
The reason is that, in the present invention, an unused area of the storage device is managed, and download for changing software and relocation of files for preventing file fragmentation are simultaneously performed.

【0047】本発明の第2の効果は、端末のソフトウェ
アに変更が発生し、ホストコンピュータからのダウンロ
ードによりソフトウェアを更新しても、端末の記憶装置
にアクセスする速度が低下しない、ということである。
A second effect of the present invention is that the speed of accessing the storage device of the terminal does not decrease even if the software of the terminal changes and the software is updated by downloading from the host computer. .

【0048】その理由は、上記の第1の効果の理由によ
り、記憶装置上のファイルが連続した領域に格納される
ためである。
The reason is that the files on the storage device are stored in a continuous area for the reason of the first effect.

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

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

【図2】本発明の一実施例における記憶装置の詳細を示
す図である。
FIG. 2 is a diagram illustrating details of a storage device according to an embodiment of the present invention.

【図3】本発明の一実施例におけるファイル情報管理部
の詳細を示す図である。
FIG. 3 is a diagram showing details of a file information management unit in one embodiment of the present invention.

【図4】本発明の一実施例におけるダウンロード制御部
のファイル更新動作説明するためのフローチャートであ
る。
FIG. 4 is a flowchart illustrating a file update operation of a download control unit according to an embodiment of the present invention.

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

10 端末 11 通信制御部 12 記憶装置 13 ファイル情報管理部 14 ダウンロード制御部 20 ホストコンピュータ 30 通信パス(ネットワーク) DESCRIPTION OF SYMBOLS 10 Terminal 11 Communication control part 12 Storage device 13 File information management part 14 Download control part 20 Host computer 30 Communication path (network)

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】新旧二世代のソフトウェアを格納する記憶
装置を備え、ソフトウェアの変更が発生した場合にホス
トコンピュータからのダウンロードによりソフトウェア
の更新を行う端末と、前記ホストコンピュータと、をネ
ットワークにより接続するオンラインシステムにおい
て、 前記記憶装置全体の容量、前記新旧二世代のソフトウェ
アを構成する各ファイルの容量を記憶しているファイル
情報管理手段と、 前記記憶装置における未使用領域を管理し、ソフトウェ
ア更新のためのダウンロード、及び、ファイル断片化防
止のためのファイル再配置を同時に行うダウンロード制
御手段と、 を備えたことを特徴とするファイル断片化防止装置。
1. A terminal, comprising a storage device for storing software of two generations, new and old, wherein a terminal for updating software by downloading from a host computer when the software is changed, and the host computer are connected by a network. In the online system, a file information management unit that stores a capacity of the entire storage device, a capacity of each file configuring the new and old two-generation software, and an unused area in the storage device to update software. Download control means for simultaneously downloading and relocating files to prevent file fragmentation. A file fragmentation prevention device comprising:
【請求項2】新旧二世代のソフトウェアを格納する記憶
装置を備え、ソフトウェアの変更が発生した場合にホス
トコンピュータからのダウンロードによりソフトウェア
の更新を行う端末と、前記ホストコンピュータと、をネ
ットワークにより接続するオンラインシステムにおい
て、 前記端末のソフトウェアに変更が発生しファイルサイズ
が変更になった場合、前記記憶装置の未使用領域を管理
することにより、ソフトウェア変更のためのダウンロー
ドと、ファイル断片化防止のためのファイルの再配置と
を同時に行い、ダウンロード中にファイルを断片化する
ことなく、前記記憶装置上の連続した領域に変更のある
ソフトウェアのファイルデータを格納できるようにした
ことを特徴とするファイル断片化防止方法。
2. A host computer comprising a storage device for storing software of two generations, new and old, and a terminal for updating software by downloading from a host computer when the software is changed, and the host computer connected by a network. In the online system, when a change occurs in the software of the terminal and a file size is changed, by managing an unused area of the storage device, download for software change and file fragmentation prevention are performed. File fragmentation characterized by simultaneously relocating the file and storing the changed file data of the software in a continuous area on the storage device without fragmenting the file during downloading. Prevention method.
【請求項3】前記記憶装置全体の容量、前記新旧二世代
のソフトウェアを構成する各ファイルの容量、及び現在
の世代を記憶管理するファイル情報管理手段を備え、 前記ホストコンピュータから前記端末に送信された、変
更ファイルとそのファイル容量、及び変更ファイルの全
容量の情報からなるダウンロード制御データと、前記フ
ァイル情報管理手段の情報を基に、変更のあるソフトウ
ェアのファイルサイズの増減を監視し、前記記憶装置に
おけるソフトウェア変更後の未使用領域のサイズを算出
し、算出した未使用領域のサイズを基に、新しいソフト
ウェアの格納位置を決定し、 変更のあるファイルは、前記ホストコンピュータからの
ダウンロードファイルデータを格納し、変更のないファ
イルについては現在の世代のソフトウェアから複写す
る、 ことを特徴とする請求項2記載のファイル断片化防止方
法。
3. A file information management means for storing and managing the capacity of the entire storage device, the capacity of each file constituting the software of the two generations old and new, and the current generation, and is transmitted from the host computer to the terminal. Further, based on download control data including information on the changed file, its file capacity, and the total capacity of the changed file, and information on the file information management means, monitor the increase or decrease in the file size of the software that has changed, and The size of the unused area after the software change in the device is calculated, the storage location of the new software is determined based on the calculated size of the unused area, and the changed file is obtained by downloading the download file data from the host computer. For files that are stored and unchanged, do you use the current generation of software? Copying, file fragmentation prevention method according to claim 2, wherein a.
【請求項4】新旧二世代のソフトウェアを領域の先頭、
及び最後からそれぞれ格納する記憶装置を備え、ソフト
ウェアの変更が発生した場合にホストコンピュータから
のダウンロードによりソフトウェアの更新を行う端末
と、前記ホストコンピュータと、をネットワークにより
接続するオンラインシステムにおいて、 前記記憶装置全体の容量、前記新旧二世代のソフトウェ
アを構成する各ファイルの容量、及び、現在の世代を記
憶管理するファイル情報管理手段と、 前記記憶装置における未使用領域を管理し、ソフトウェ
ア更新のためのダウンロード、及び、ファイル断片化防
止のためのファイル再配置を同時に行うダウンロード制
御手段と、 を備え、 前記ダウンロード制御手段は、 (a)現在の世代情報を前記ファイル情報管理手段から
取得し (b)現在の世代が前記記憶装置の領域の最後から格納
されるソフトウェアの場合、前記記憶装置の領域の先頭
から格納される旧世代のソフトウェアを構成するファイ
ルを前記記憶装置において全て削除し、 (c)変更のあるファイルは、前記ホストコンピュータ
からのダウンロードファイルデータを格納し、変更のな
いファイルについては現在の世代のソフトウェアから複
写し、 (d)一方、現在の世代が前記記憶装置の領域の先頭か
ら格納されるソフトウェアの場合、前記記憶装置の領域
の最後から格納される旧世代のソフトウェアを構成する
ファイルを前記記憶装置において全て削除し、 (e)前記ホストコンピュータから前記端末に送信され
た、変更ファイルとそのファイル容量、及び変更ファイ
ルの全容量の情報からなるダウンロード制御データと、
前記ファイル情報管理手段の情報を基に、変更のあるソ
フトウェアのファイルサイズの増減を監視し、 (f)前記記憶装置におけるソフトウェア変更後の未使
用領域のサイズを算出し、算出した未使用領域のサイズ
を基に、新しいソフトウェアの格納位置を決定し、 (g)変更のあるファイルは、前記ホストコンピュータ
からのダウンロードファイルデータを格納し、変更のな
いファイルについては現在の世代のソフトウェアから複
写する、ことを特徴とするファイル断片化防止方式。
4. The two generations of new and old software are placed at the beginning of the area,
An online system that connects a host computer and a terminal that updates software by downloading from a host computer when a change in software is provided, the storage device comprising: File information management means for storing and managing the total capacity, the capacity of each file constituting the two generations of old and new software, and the current generation; and managing the unused area in the storage device and downloading for updating the software. And download control means for simultaneously performing file relocation for preventing file fragmentation, wherein the download control means obtains (a) current generation information from the file information management means, and (b) Generation is at the end of the storage device area In the case of software stored from the storage device, all files constituting the old generation software stored from the beginning of the area of the storage device are deleted from the storage device, and (c) the changed file is deleted from the host computer. Storing the download file data and copying the unchanged file from the current generation software; (d) if the current generation is software stored from the beginning of the storage device area, (E) deleting all files constituting the old-generation software stored from the end of the area in the storage device, and (e) transmitting the changed file, its file capacity, and all the changed files transmitted from the host computer to the terminal. Download control data consisting of capacity information;
Based on the information of the file information management means, monitor the increase or decrease of the file size of the software that has been changed. (F) Calculate the size of the unused area in the storage device after the software change, and Determining the storage location of the new software based on the size; (g) storing the changed file, storing the downloaded file data from the host computer, and copying the unchanged file from the current generation software; A file fragmentation prevention method, characterized in that:
【請求項5】新旧二世代のソフトウェアを領域の先頭、
及び最後からそれぞれ格納する記憶装置を備え、ソフト
ウェアの変更が発生した場合にホストコンピュータから
のダウンロードによりソフトウェアの更新を行う端末
と、前記ホストコンピュータとをネットワークにより接
続するオンラインシステムにおける前記ソフトウェアの
ダウンロードに際して、 (a)現在の世代情報を、前記記憶装置全体の容量、前
記新旧二世代のソフトウェアを構成する各ファイルの容
量、及び現在の世代を記憶管理するファイル情報管理手
段を参照して取得する処理 (b)現在の世代が前記記憶装置の領域の最後から格納
されるソフトウェアである場合、前記記憶装置の領域の
先頭から格納される旧世代のソフトウェアを構成するフ
ァイルを前記記憶装置において全て削除する処理、 (c)変更のあるファイルは、前記ホストコンピュータ
からのダウンロードファイルデータを格納し、変更のな
いファイルについては現在の世代のソフトウェアから複
写する処理、 (d)一方、現在の世代が前記記憶装置の領域の先頭か
ら格納されるソフトウェアである場合、前記記憶装置の
領域の最後から格納される旧世代のソフトウェアを構成
するファイルを前記記憶装置において全て削除する処
理、 (e)前記ホストコンピュータから前記端末に送信され
た、変更ファイルとそのファイル容量、及び変更ファイ
ルの全容量の情報からなるダウンロード制御データと、
前記ファイル情報管理手段の情報を基に、変更のあるソ
フトウェアのファイルサイズの増減を監視する処理、 (f)前記記憶装置におけるソフトウェア変更後の未使
用領域のサイズを算出し、算出した未使用領域のサイズ
を基に、新しいソフトウェアの格納位置を決定する処
理、及び、 (g)変更のあるファイルは、前記ホストコンピュータ
からのダウンロードファイルデータを格納し、変更のな
いファイルについては現在の世代のソフトウェアから複
写する処理、 の上記(a)〜(g)の各処理を前記端末を構成するコ
ンピュータで実行するためのプログラムを記録した記録
媒体。
5. The two generations of new and old software are placed at the beginning of the area,
And a storage device for storing the software from the end, and in the case of downloading the software in an online system for connecting the host computer via a network and a terminal for updating the software by downloading from the host computer when the software is changed. (A) a process of acquiring current generation information by referring to file information management means for storing and managing the total capacity of the storage device, the size of each file constituting the software of the new and old generations, and the current generation. (B) If the current generation is software stored from the end of the storage device area, all files constituting the old generation software stored from the beginning of the storage device area are deleted from the storage device. Processing, (c) files with changes A process of storing download file data from the host computer and copying a file that has not been changed from the software of the current generation; (d) a software in which the current generation is stored from the beginning of the area of the storage device In the case of (a), a process of deleting all the files constituting the old generation software stored from the end of the area of the storage device in the storage device, and (e) a change file transmitted from the host computer to the terminal. Download control data including information on the file capacity and the total capacity of the changed file;
(F) calculating the size of the unused area of the storage device after the software change, and calculating the calculated unused area based on the information of the file information management means. And (g) storing a file that has been changed from the host computer and storing the file data that has been downloaded from the host computer. A recording medium on which a program for executing each of the above-described processes (a) to (g) by a computer constituting the terminal is recorded.
JP24981197A 1997-08-29 1997-08-29 Apparatus and method for preventing file fragmentation by downloading Expired - Lifetime JP3166676B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP24981197A JP3166676B2 (en) 1997-08-29 1997-08-29 Apparatus and method for preventing file fragmentation by downloading

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP24981197A JP3166676B2 (en) 1997-08-29 1997-08-29 Apparatus and method for preventing file fragmentation by downloading

Publications (2)

Publication Number Publication Date
JPH1173349A true JPH1173349A (en) 1999-03-16
JP3166676B2 JP3166676B2 (en) 2001-05-14

Family

ID=17198565

Family Applications (1)

Application Number Title Priority Date Filing Date
JP24981197A Expired - Lifetime JP3166676B2 (en) 1997-08-29 1997-08-29 Apparatus and method for preventing file fragmentation by downloading

Country Status (1)

Country Link
JP (1) JP3166676B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000322291A (en) * 1999-05-13 2000-11-24 Nec Corp Method and device for expanding compressed data
JP2000322268A (en) * 1999-05-13 2000-11-24 Sharp Corp Rearrangeable add-in-software management system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000322291A (en) * 1999-05-13 2000-11-24 Nec Corp Method and device for expanding compressed data
JP2000322268A (en) * 1999-05-13 2000-11-24 Sharp Corp Rearrangeable add-in-software management system

Also Published As

Publication number Publication date
JP3166676B2 (en) 2001-05-14

Similar Documents

Publication Publication Date Title
JP4786954B2 (en) Remote file update by remote protocol
US8463867B2 (en) Distributed storage network
US7363352B2 (en) Method for accessing distributed file system
JP3335801B2 (en) Information processing system enabling access to different types of files and control method thereof
US6189051B1 (en) System and method for manufacturing hard disk master by downloading selected programs and drivers from a host through a network
US5987497A (en) System and method for managing the configuration of distributed objects
JP2008033912A (en) Method and device of continuous data protection for nas
JP2004280485A (en) Computer system
US8429129B2 (en) Database restructuring apparatus, and computer-readable recording medium recording database restructuring program
US8301773B2 (en) Server management program, server management method, and server management apparatus
JP3861538B2 (en) Program distribution management system
JP2009020882A (en) Method and apparatus for upgrading firmware in embedded system
JP2002140213A (en) Information managing device and method, information managing system, and computer-readable recording medium with program to be installed in information managing device recorded thereon
US7451279B2 (en) Storage system comprising a shared memory to access exclusively managed data
JP3166676B2 (en) Apparatus and method for preventing file fragmentation by downloading
CN114528260A (en) File access request processing method, electronic equipment and computer program product
US20060069883A1 (en) Directory server and data processing method in directory server
CN108345431B (en) Data reading method and device
JP2004038232A (en) Information management device, information processor and method for controlling them, information management system and program
JP3672483B2 (en) Content distribution apparatus, content distribution method, and recording medium recording content distribution program
JPH1091500A (en) Client/server system, differential file down loading method in client/server system and storage medium storing program for differential file down loading
JP3559571B2 (en) Data processing device and data processing method
JP2009265743A (en) Web application management system, web application management method and program
JPH1165895A (en) System and method for managing logging file
JPH10240594A (en) Data file monitor system

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20010206

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080309

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090309

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090309

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100309

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100309

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110309

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110309

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120309

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120309

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130309

Year of fee payment: 12