Movatterモバイル変換


[0]ホーム

URL:


JP2007249414A - Storage device management program and storage device management method - Google Patents

Storage device management program and storage device management method
Download PDF

Info

Publication number
JP2007249414A
JP2007249414AJP2006069688AJP2006069688AJP2007249414AJP 2007249414 AJP2007249414 AJP 2007249414AJP 2006069688 AJP2006069688 AJP 2006069688AJP 2006069688 AJP2006069688 AJP 2006069688AJP 2007249414 AJP2007249414 AJP 2007249414A
Authority
JP
Japan
Prior art keywords
storage device
metadata
data
capacity
stored
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
JP2006069688A
Other languages
Japanese (ja)
Other versions
JP4734150B2 (en
Inventor
Shigehiro Itani
茂寛 井谷
Toshihiro Sonoda
俊浩 園田
Tomoyoshi Takebayashi
知善 竹林
Akihiro Inomata
彰浩 猪俣
Rakujin Ozaki
楽人 尾崎
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu LtdfiledCriticalFujitsu Ltd
Priority to JP2006069688ApriorityCriticalpatent/JP4734150B2/en
Publication of JP2007249414ApublicationCriticalpatent/JP2007249414A/en
Application grantedgrantedCritical
Publication of JP4734150B2publicationCriticalpatent/JP4734150B2/en
Expired - Fee Relatedlegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Landscapes

Abstract

Translated fromJapanese

【課題】USBメモリなどポータブル記憶デバイスの容量をシームレスに拡張すること。
【解決手段】専用ドライバ221がUSBデバイスコントローラ210を制御してUSBメモリ100へのアクセス機能を提供し、ストレージサービス提供プログラム230が専用ドライバ221と連携してUSBメモリ100の記憶容量をネットディスク40を用いてシームレスに拡張するために必要な機能を提供する。また、データを書き込む際に、USBメモリ100の空領域が不足する場合には、メタデータ作成プログラム233が、USBメモリ100の実データからメタデータを作成して実データを置き換える。
【選択図】 図2
To seamlessly expand the capacity of a portable storage device such as a USB memory.
A dedicated driver 221 controls a USB device controller 210 to provide an access function to the USB memory 100, and a storage service providing program 230 cooperates with the dedicated driver 221 to reduce the storage capacity of the USB memory 100 to the net disk 40. Provides the functions necessary to seamlessly extend using. Also, when writing data, if the empty area of the USB memory 100 is insufficient, the metadata creation program 233 creates metadata from the actual data in the USB memory 100 and replaces the actual data.
[Selection] Figure 2

Description

Translated fromJapanese

この発明は、ポータブル記憶デバイスが記憶するデータを管理する記憶デバイス管理プログラムおよび記憶デバイス管理方法に関し、特に、ポータブル記憶デバイスの容量をシームレスに拡張し、ポータブル記憶デバイスの容量制限を取り除くことができる記憶デバイス管理プログラムおよび記憶デバイス管理方法に関するものである。  The present invention relates to a storage device management program and a storage device management method for managing data stored in a portable storage device, and in particular, a storage capable of seamlessly expanding the capacity of a portable storage device and removing the capacity limitation of the portable storage device. The present invention relates to a device management program and a storage device management method.

近年、PC(パソコン)の低価格により、職場だけでなく、自宅や出先のPC(パソコン)を利用して仕事をする環境が整ってきている。ただし、自宅や出先のPCを利用して仕事をする場合には、仕事に使うデータに何らかの形でアクセスできることが必要となる。  In recent years, due to the low price of a PC (personal computer), not only the workplace but also an environment for working using a PC (personal computer) at home or on the go has been established. However, when working from home or away from home, it is necessary to be able to access data used for work in some form.

そこで、自宅や出先のPCなどから仕事に使うデータにアクセスするために、ネットワークを介してアクセスが可能なネットディスクにデータを置くか、あるいは、USBメモリやポータブルHDなどの大容量ポータブル記憶デバイスにデータを入れて持ち運ぶことが行われている。  Therefore, in order to access data used for work from a home or office PC, place the data on a net disk that can be accessed via a network, or use a large-capacity portable storage device such as a USB memory or portable HD. Carrying data is carried.

また、USBメモリにデータだけでなく、メーラー等のソフトウェアを格納して携帯し、USBメモリを出先のPCに装着するだけで、メーラー等のソフトウェアをインストールすることなく使えるようにする技術も開発されている(例えば、特許文献1参照。)。  In addition, not only data but also software such as mailers are stored in the USB memory and carried, and a technology that enables the use of the mailer and other software without having to install it by simply mounting the USB memory on the destination PC has also been developed. (For example, refer to Patent Document 1).

特開2004−151785号公報JP 2004-151785 A

しかしながら、ネットディスクにデータを置く方法には、職場のネットワークにアクセスできる場所でないとデータにアクセスすることができないという問題がある。また、近年、ストレージの大容量化やCPUパワーの向上に伴い、企業や個人がPC上で取り扱うデータは肥大化する傾向にあり、ネットワークにアクセスできる場合でも、携帯電話やPHSを使ったインターネット接続では、帯域が細く、画像データなど大規模なデータを扱うときにはデータの転送に時間がかかるという問題がある。  However, the method of placing data on a net disk has a problem that data cannot be accessed unless the place is accessible to a work network. In recent years, with the increase in storage capacity and CPU power, the data handled by companies and individuals on PCs tends to increase, and even if the network can be accessed, it can be connected to the Internet using a mobile phone or PHS. However, there is a problem in that the bandwidth is narrow and it takes time to transfer data when handling large-scale data such as image data.

また、USBメモリなどのポータブル記憶デバイスを携帯する場合には、記憶容量に制限があるため、大規模なデータを記憶することができないという問題がある。  In addition, when a portable storage device such as a USB memory is carried, there is a problem that large-scale data cannot be stored because of a limited storage capacity.

この発明は、上述した従来技術による問題点を解消するためになされたものであり、ポータブル記憶デバイスの容量をシームレスに拡張し、ポータブル記憶デバイスの容量制限を取り除くことができる記憶デバイス管理プログラムおよび記憶デバイス管理方法を提供することを目的とする。  The present invention has been made to solve the above-mentioned problems caused by the prior art, and a storage device management program and storage capable of seamlessly expanding the capacity of a portable storage device and removing the capacity limitation of the portable storage device. An object is to provide a device management method.

上述した課題を解決し、目的を達成するため、請求項1の発明に係る記憶デバイス管理プログラムは、ポータブル記憶デバイスが記憶するデータを管理する記憶デバイス管理プログラムであって、ポータブル記憶デバイスにデータの書き込みに必要な空領域があるか否かを判定する空領域有無判定手順と、前記空領域有無判定手順により必要な空領域がないと判定された場合に、ポータブル記憶デバイスが記憶する実データをネットワークを介して接続されたリモートコンピュータ(後述する実施例のネットディスクサーバ30に相当)が管理する記憶装置に保存するとともに、該実データからサイズを小さくしたメタデータを作成し、該作成したメタデータで実データを置き換えて必要な空領域を生成する空領域生成手順と、をコンピュータに実行させることを特徴とする。  In order to solve the above-described problems and achieve the object, a storage device management program according to the invention of claim 1 is a storage device management program for managing data stored in a portable storage device. An empty area presence / absence determination procedure for determining whether or not there is an empty area necessary for writing, and actual data stored in the portable storage device when it is determined by the empty area presence / absence determination procedure that there is no necessary empty area. It is stored in a storage device managed by a remote computer (corresponding to anet disk server 30 in an embodiment described later) connected via a network, and metadata with a reduced size is created from the actual data. An empty area generation procedure for generating necessary empty areas by replacing actual data with data, and a computer Characterized in that to execute the.

この請求項1の発明によれば、ポータブル記憶デバイスにデータの書き込みに必要な空領域があるか否かを判定し、必要な空領域がないと判定した場合に、ポータブル記憶デバイスが記憶する実データをネットワークを介して接続されたリモートコンピュータが管理する記憶装置に保存するとともに、実データからサイズを小さくしたメタデータを作成し、作成したメタデータで実データを置き換えて必要な空領域を生成するよう構成したので、ポータブル記憶デバイスの容量をシームレスに拡張することができる。  According to the first aspect of the present invention, it is determined whether or not the portable storage device has an empty area necessary for data writing, and when it is determined that there is no necessary empty area, the portable storage device stores the actual area. Saves data to a storage device managed by a remote computer connected via a network, creates metadata with a reduced size from the actual data, and replaces the actual data with the created metadata to generate the necessary free space Thus, the capacity of the portable storage device can be seamlessly expanded.

また、請求項2の発明に係る記憶デバイス管理プログラムは、請求項1の発明において、ポータブル記憶デバイスから読み出すデータがメタデータで記憶されているか否かを判定するメタデータ判定手順と、前記メタデータ判定手順によりメタデータで記憶されていると判定された場合に、前記空領域生成手順により前記記憶装置に保存された実データをポータブル記憶装置に回復する実データ回復手順と、をさらにコンピュータに実行させることを特徴とする。  According to a second aspect of the present invention, there is provided a storage device management program according to the first aspect, wherein the metadata determination procedure for determining whether or not data read from the portable storage device is stored as metadata; When the determination procedure determines that it is stored as metadata, the computer further executes an actual data recovery procedure for recovering the actual data stored in the storage device by the empty area generation procedure to a portable storage device. It is characterized by making it.

この請求項2の発明によれば、ポータブル記憶デバイスから読み出すデータがメタデータで記憶されているか否かを判定し、メタデータで記憶されていると判定した場合に、リモートコンピュータが管理する記憶装置に保存された実データをポータブル記憶装置に回復するよう構成したので、リモートコンピュータが管理する記憶装置に格納されたデータをポータブル記憶装置デバイスに格納されたデータと同様に読み出すことができる。  According to the second aspect of the present invention, it is determined whether or not the data read from the portable storage device is stored as metadata, and when it is determined that the data is stored as metadata, the storage device managed by the remote computer Since the actual data stored in the portable storage device is restored to the portable storage device, the data stored in the storage device managed by the remote computer can be read out in the same manner as the data stored in the portable storage device.

また、請求項3の発明に係る記憶デバイス管理プログラムは、請求項1または2の発明において、ポータブル記憶デバイスの記憶容量保持領域の内容を前記空領域生成手順により実データが保存される記憶装置の容量を含めた容量に変更する容量変更手順をさらにコンピュータに実行させることを特徴とする。  A storage device management program according to a third aspect of the present invention provides the storage device management program according to the first or second aspect of the present invention, wherein the contents of the storage capacity holding area of the portable storage device are stored in the storage device in which actual data is stored by the empty area generation procedure The computer is further caused to execute a capacity changing procedure for changing to a capacity including the capacity.

この請求項3の発明によれば、ポータブル記憶デバイスの記憶容量保持領域の内容を、リモートコンピュータが管理する記憶装置の容量を含めた容量に変更するよう構成したので、OSはポータブル記憶デバイスの記憶容量としてリモートコンピュータが管理する記憶装置の容量を含めた容量を取得することができる。  According to the invention of claim 3, since the contents of the storage capacity holding area of the portable storage device are changed to the capacity including the capacity of the storage device managed by the remote computer, the OS stores the storage of the portable storage device. The capacity including the capacity of the storage device managed by the remote computer can be acquired as the capacity.

また、請求項4の発明に係る記憶デバイス管理プログラムは、請求項1、2または3の発明において、前記空領域生成手順は、ポータブル記憶デバイスに実データがない場合には、所定の経過時間以前にアクセスされたメタデータを削除して必要な空領域を作り出すことを特徴とする。  According to a fourth aspect of the present invention, there is provided a storage device management program according to the first, second, or third aspect, wherein the empty area generation procedure is performed before a predetermined elapsed time if there is no actual data in the portable storage device. It deletes the metadata accessed to create a necessary empty area.

この請求項4の発明によれば、ポータブル記憶デバイスに実データがない場合には、所定の経過時間以前にアクセスされたメタデータを削除して必要な空領域を作り出すよう構成したので、ポータブル記憶デバイスに、より必要性の高いデータを記憶することができる。  According to the fourth aspect of the present invention, when there is no actual data in the portable storage device, the metadata accessed before the predetermined elapsed time is deleted to create a necessary empty area. The device can store more necessary data.

また、請求項5の発明に係る記憶デバイス管理方法は、ポータブル記憶デバイスが記憶するデータを管理する記憶デバイス管理方法であって、ポータブル記憶デバイスにデータの書き込みに必要な空領域があるか否かを判定する空領域有無判定工程と、前記空領域有無判定工程により必要な空領域がないと判定された場合に、ポータブル記憶デバイスが記憶する実データをネットワークを介して接続されたリモートコンピュータが管理する記憶装置に保存するとともに、該実データからサイズを小さくしたメタデータを作成し、該作成したメタデータで実データを置き換えて必要な空領域を生成する空領域生成工程と、を含んだことを特徴とする。  The storage device management method according to the invention of claim 5 is a storage device management method for managing data stored in a portable storage device, and whether or not there is an empty area necessary for writing data in the portable storage device. The remote computer connected via the network manages the actual data stored in the portable storage device when it is determined by the empty region presence / absence determining step and the empty region presence / absence determining step that there is no necessary empty region. And creating a necessary empty area by creating metadata having a reduced size from the actual data and replacing the actual data with the created metadata. It is characterized by.

この請求項5の発明によれば、ポータブル記憶デバイスにデータの書き込みに必要な空領域があるか否かを判定し、必要な空領域がないと判定した場合に、ポータブル記憶デバイスが記憶する実データをネットワークを介して接続されたリモートコンピュータが管理する記憶装置に保存するとともに、実データからサイズを小さくしたメタデータを作成し、作成したメタデータで実データを置き換えて必要な空領域を生成するよう構成したので、ポータブル記憶デバイスの容量をシームレスに拡張することができる。  According to the fifth aspect of the present invention, it is determined whether or not the portable storage device has an empty area necessary for data writing, and when it is determined that there is no necessary empty area, the portable storage device stores the actual area. Saves data to a storage device managed by a remote computer connected via a network, creates metadata with a reduced size from the actual data, and replaces the actual data with the created metadata to generate the necessary free space Thus, the capacity of the portable storage device can be seamlessly expanded.

請求項1および5の発明によれば、ポータブル記憶デバイスの容量をシームレスに拡張するので、ポータブル記憶デバイスの容量制限を取り除くことができるという効果を奏する。  According to the first and fifth aspects of the present invention, since the capacity of the portable storage device is seamlessly expanded, the capacity limitation of the portable storage device can be removed.

また、請求項2の発明によれば、リモートコンピュータが管理する記憶装置に格納されたデータをポータブル記憶装置デバイスに格納されたデータと同様に読み出すことができるので、利用者はリモートコンピュータが管理する記憶装置を意識することなくポータブル記憶装置からデータ読み出すことができるという効果を奏する。  According to the second aspect of the present invention, data stored in the storage device managed by the remote computer can be read out in the same manner as data stored in the portable storage device, so that the user manages the data by the remote computer. There is an effect that data can be read from the portable storage device without being aware of the storage device.

また、請求項3の発明によれば、OSはポータブル記憶デバイスの記憶容量としてリモートコンピュータが管理する記憶装置の容量を含めた容量を取得するので、利用者はリモートコンピュータが管理する記憶装置の容量を含めた容量をOSに標準搭載された機能を用いて知ることができるという効果を奏する。  According to the invention of claim 3, since the OS acquires the capacity including the capacity of the storage device managed by the remote computer as the storage capacity of the portable storage device, the user can use the capacity of the storage device managed by the remote computer. There is an effect that it is possible to know the capacity including the “” using a function that is standardly installed in the OS.

また、請求項4の発明によれば、ポータブル記憶デバイスに、より必要性の高いデータを記憶するので、ポータブル記憶デバイスを効率良く使用することができるという効果を奏する。  According to the fourth aspect of the present invention, more highly necessary data is stored in the portable storage device, so that the portable storage device can be used efficiently.

以下に添付図面を参照して、この発明に係る記憶デバイス管理プログラムおよび記憶デバイス管理方法の好適な実施例を詳細に説明する。なお、ここでは、ポータブル記憶デバイスとしてUSBメモリを用いる場合について説明が、PCに接続が簡単であるデバイスであれば、USBインタフェースを有するHD、PCMCIAやPCI Expressのインタフェースを有するメモリ、HDなどをポータブル記憶デバイスとして用いることもできる。  Exemplary embodiments of a storage device management program and a storage device management method according to the present invention will be explained below in detail with reference to the accompanying drawings. Here, the case where a USB memory is used as a portable storage device is described. However, if the device can be easily connected to a PC, an HD having a USB interface, a memory having an interface of PCMCIA or PCI Express, an HD, etc. are portable. It can also be used as a storage device.

まず、本実施例に係るストレージ提供システムについて説明する。図1は、本実施例に係るストレージ提供システムを説明するための説明図である。同図に示すように、このストレージ提供システムは、USBメモリ100と、USBメモリ100を装着して使用するPC200と、VPN10を介してPC200に接続されるリモートコンピュータおよびリモートディスクを有するサーバシステム50とから構成される。  First, the storage providing system according to the present embodiment will be described. FIG. 1 is an explanatory diagram for explaining the storage providing system according to the present embodiment. As shown in the figure, this storage providing system includes aUSB memory 100, a PC 200 with theUSB memory 100 mounted and used, aserver system 50 having a remote computer and a remote disk connected to the PC 200 via theVPN 10. Consists of

USBメモリ100は、PC200に装着して使用するデータを格納したポータブル記憶デバイスであり、複数のファイルを記憶する。サーバシステム50は、VPNのゲートウェイであるVPNGW20と、VPNGW20を介してPC200に接続されるリモートコンピュータであるネットディスクサーバ30と、ネットディスクサーバ30が管理する記憶装置であってPC200にとってはリモートディスクとなるネットディスク40とから構成され、PC200は、VPN10を介してネットディスク40にアクセスすることができる。  TheUSB memory 100 is a portable storage device that stores data used by being attached to the PC 200, and stores a plurality of files. Theserver system 50 includes a VPN GW 20 that is a VPN gateway, anet disk server 30 that is a remote computer connected to the PC 200 via the VPN GW 20, a storage device managed by thenet disk server 30, and a remote disk for the PC 200. The PC 200 can access thenet disk 40 via the VPN 10.

PC200で動作するアプリケーションプログラムは、専用ドライバ221を用いてUSBメモリ100のファイルにアクセスする。また、専用ドライバ221は、データを書き込む際にUSBメモリ100の容量が不足すると、ストレージサービス提供プログラム230に容量不足を通知する。  An application program running on the PC 200 accesses a file in theUSB memory 100 using thededicated driver 221. In addition, when the capacity of theUSB memory 100 is insufficient when writing data, thededicated driver 221 notifies the storageservice providing program 230 that the capacity is insufficient.

すると、ストレージサービス提供プログラム230は、USBメモリ100の一部のデータをネットディスク40に移すとともに、ネットディスク40に移したデータからメタデータを作成し、USBメモリ100上のデータをメタデータで置き換える。  Then, the storageservice providing program 230 moves a part of the data in theUSB memory 100 to thenet disk 40, creates metadata from the data moved to thenet disk 40, and replaces the data on theUSB memory 100 with the metadata. .

ここで、メタデータとは、ネットディスクに移したデータよりサイズが小さいデータであり、ここでは、ファイル名だけから構成されるデータである。なお、メタデータとしては、先頭から所定のサイズのデータなどを用いることもできる。また、データがXMLで構成されている場合には、概要が書かれているタグのデータのみを残してメタデータとすることもできる。また、ここでは、ネットディスクに移されたデータおよびUSBメモリ100上でメタデータに置き換えられていないデータを「実データ」と呼ぶこととする。  Here, the metadata is data having a smaller size than the data transferred to the net disk, and here is data composed only of the file name. As metadata, data of a predetermined size from the top can also be used. If the data is composed of XML, it is possible to use only the tag data on which the outline is written as metadata. Here, data transferred to the net disk and data that has not been replaced with metadata on theUSB memory 100 are referred to as “real data”.

また、専用ドライバ221は、USBメモリ100からファイルを読み出す際に、読み出すファイルについてUSBメモリ100がメタデータを記憶している場合には、ストレージサービス提供プログラム230と連携してネットディスク40から対応する実データを読み出し、USBメモリ100に自動ロードする。  Further, when thededicated driver 221 reads a file from theUSB memory 100 and theUSB memory 100 stores metadata about the file to be read, thededicated driver 221 responds from thenet disk 40 in cooperation with the storageservice providing program 230. The actual data is read and automatically loaded into theUSB memory 100.

このように、本実施例に係るストレージ提供システムでは、USBメモリ100の容量が不足すると、専用ドライバ221とストレージサービス提供プログラム230が連携して、USBメモリ100の一部のデータをネットディスク40に移すとともに、ネットディスク40に移したデータからメタデータを作成し、USBメモリ100上のデータをメタデータで置き換えることによって、USBメモリ100の容量をシームレスに拡張することができる。  As described above, in the storage providing system according to this embodiment, when the capacity of theUSB memory 100 is insufficient, thededicated driver 221 and the storageservice providing program 230 cooperate to transfer a part of the data in theUSB memory 100 to thenet disk 40. At the same time, by creating metadata from the data transferred to thenet disk 40 and replacing the data on theUSB memory 100 with the metadata, the capacity of theUSB memory 100 can be expanded seamlessly.

なお、このストレージ提供システムの利用者は、ストレージ提供サービスを提供するレンタルストレージ会社とサービス利用契約の締結を行うときに、ネットディスク40で利用する最大容量を決定する。ここで、利用できる最大容量は、月額費用などでランクわけされる。また、レンタルストレージ会社は、利用者がオフラインの状態にある場合に使用できるストレージとしてUSBメモリ100を提供する。このUSBメモリ100の容量も月額費用などでランクわけされる。  The user of this storage providing system determines the maximum capacity to be used by thenet disk 40 when a service use contract is concluded with a rental storage company that provides the storage providing service. Here, the maximum capacity that can be used is ranked according to the monthly cost. In addition, the rental storage company provides theUSB memory 100 as a storage that can be used when the user is offline. The capacity of theUSB memory 100 is also ranked according to the monthly cost.

そして、サービス利用契約の締結を行うと、レンタルストレージ会社は、利用者に専用ドライバ221およびストレージサービス提供プログラム230を格納したUSBメモリ100を提供する。なお、レンタルストレージ会社は、専用ドライバ221およびストレージサービス提供プログラム230を、別途CD−ROMなどに格納して利用者に提供することもできる。  When the service use contract is concluded, the rental storage company provides the user with theUSB memory 100 storing thededicated driver 221 and the storageservice providing program 230. The rental storage company can also provide thededicated driver 221 and the storageservice providing program 230 to the user by separately storing them in a CD-ROM or the like.

次に、本実施例に係るストレージ提供システムの構成について説明する。図2は、本実施例に係るストレージ提供システムの構成を示す機能ブロック図である。同図に示すように、このストレージ提供システムでは、USBメモリ100は、容量保持用FRAM110と、R/Wメモリ120とを有し、PC200は、USBデバイスコントローラ210と、ネットワークデバイス260とを有する。  Next, the configuration of the storage providing system according to the present embodiment will be described. FIG. 2 is a functional block diagram illustrating the configuration of the storage providing system according to the present embodiment. As shown in the figure, in this storage providing system, theUSB memory 100 has acapacity holding FRAM 110 and an R /W memory 120, and thePC 200 has aUSB device controller 210 and anetwork device 260.

また、PC200では、ストレージデバイスドライバ220、ストレージサービス提供プログラム230、ファイルアクセスプログラム240、ネットワークデバイスドライバ250などのプログラムが実行される。  In thePC 200, programs such as astorage device driver 220, a storageservice providing program 230, afile access program 240, and anetwork device driver 250 are executed.

容量保持用FRAM110は、USBメモリ100の記憶容量を保持するFRAMであり、OSの標準の動作によって、この容量保持用FRAM110が記憶する容量がUSBメモリの記憶容量として確認される。ただし、この容量保持用FRAM110は、USBメモリ100だけの記憶容量ではなく、ネットディスク40で利用者が利用できる記憶容量も含めた容量を記憶する。したがって、利用者は、OSの標準機能によって、USBメモリ100の記憶容量ではなく、契約によって使用可能なネットディスク40を含めた容量を使用可能な記憶容量として知ることができる。  Thecapacity holding FRAM 110 is an FRAM that holds the storage capacity of theUSB memory 100, and the capacity stored in thecapacity holding FRAM 110 is confirmed as the storage capacity of the USB memory by the standard operation of the OS. However, thecapacity holding FRAM 110 stores not only the storage capacity of theUSB memory 100 but also the capacity including the storage capacity available to the user on thenet disk 40. Therefore, the user can know not only the storage capacity of theUSB memory 100 but the capacity including thenet disk 40 that can be used according to the contract as the usable storage capacity by the standard function of the OS.

R/Wメモリ120は、データを記憶するメモリである。図3は、R/Wメモリ120のデータフォーマットを示す図である。同図に示すように、このR/Wメモリ120は、管理テーブル124と、データ保存領域125とを有する。  The R /W memory 120 is a memory that stores data. FIG. 3 is a diagram showing a data format of the R /W memory 120. As shown in the figure, the R /W memory 120 has a management table 124 and adata storage area 125.

管理テーブル124は、通常のファイルシステムが使用する管理テーブルを拡張したものであり、ファイルごとに、前回同期が行われているどうかを示す同期フラグ、USBメモリ100上にファイルの実データが存在しているかどうかを示す実データフラグ、USBメモリ100が挿入されてからファイルが更新されたかどうかを示す更新フラグ、ファイル名、最終アクセス時刻、実データの保存先の開始アドレスと終了アドレスを記憶する。  The management table 124 is an extension of the management table used by a normal file system. For each file, there is a synchronization flag indicating whether or not the previous synchronization has been performed, and the actual data of the file exists on theUSB memory 100. An actual data flag indicating whether the file has been updated since theUSB memory 100 was inserted, a file name, a last access time, and a start address and an end address of the storage destination of the actual data are stored.

データ保存領域125は、データを保存する領域であり、ファイルごとにファイル名とデータを記憶する。ただし、ファイルがメタデータに置き換えられた場合には、ファイル名だけを記憶する。  Thedata storage area 125 is an area for storing data, and stores a file name and data for each file. However, when the file is replaced with metadata, only the file name is stored.

また、このR/Wメモリ120は、インストーラ121と、専用ドライバプログラム122と、ストレージサービス提供プログラム123とを記憶する。  The R /W memory 120 also stores aninstaller 121, adedicated driver program 122, and a storageservice providing program 123.

インストーラ121は、USBメモリ100がPC200に挿入されると自動的に実行されるプログラムであり、専用ドライバプログラム122をPC200にインストールし、ストレージサービス提供プログラム123を実行する。  Theinstaller 121 is a program that is automatically executed when theUSB memory 100 is inserted into thePC 200. Theinstaller 121 installs thededicated driver program 122 in thePC 200 and executes the storageservice providing program 123.

専用ドライバプログラム122は、PC200に専用ドライバ221としてインストールされUSBメモリ100へのアクセスに用いられるドライバプログラムであり、ストレージサービス提供プログラム123は、PC200で実行され、ストレージサービスの提供に必要な機能を備えたプログラムである。  Thededicated driver program 122 is a driver program that is installed in thePC 200 as thededicated driver 221 and used to access theUSB memory 100. The storageservice providing program 123 is executed by thePC 200 and has functions necessary for providing the storage service. Program.

USBデバイスコントローラ210は、USBメモリ100を制御するコントローラであり、ネットワークデバイス260は、ネットワークを介して他のコンピュータと通信を行うデバイスである。  TheUSB device controller 210 is a controller that controls theUSB memory 100, and thenetwork device 260 is a device that communicates with other computers via the network.

ストレージデバイスドライバ220は、USBメモリ100をファイルシステムとしてアクセスするためのドライバであり、専用ドライバ221と、マスストレージドライバ222とから構成される。  Thestorage device driver 220 is a driver for accessing theUSB memory 100 as a file system, and includes adedicated driver 221 and amass storage driver 222.

専用ドライバ221は、USBデバイスコントローラ210を制御してUSBメモリ100にアクセスするドライバであり、インストーラ121によって専用ドライバプログラム122がPC200にインストールされたものである。  Thededicated driver 221 is a driver that controls theUSB device controller 210 to access theUSB memory 100. Thededicated driver program 122 is installed in thePC 200 by theinstaller 121.

マスストレージドライバ222は、ストレージデバイスをファイルシステムとして管理するドライバであり、専用ドライバ221を介してUSBメモリ100にアクセスしてファイルの読み書きを行う。なお、マスストレージドライバ222は標準のOSが備えるドライバである。  Themass storage driver 222 is a driver that manages storage devices as a file system, and accesses theUSB memory 100 via thededicated driver 221 to read and write files. Themass storage driver 222 is a driver provided in a standard OS.

ファイルアクセスプログラム240は、ファイルにアクセスするアプリケーションプログラムである。ネットワークデバイスドライバ250は、ネットワークデバイス260を制御するドライバである。  Thefile access program 240 is an application program that accesses a file. Thenetwork device driver 250 is a driver that controls thenetwork device 260.

ストレージサービス提供プログラム230は、USBメモリ100に格納されたストレージサービス提供プログラム123がPC200で実行され、ストレージサービスに必要な機能を提供するプログラムであり、VPN通信プログラム231、同期プログラム232、メタデータ作成プログラム233、容量書き換えプログラム234、イベント通知プログラム235から構成される。  The storageservice providing program 230 is a program for executing the storageservice providing program 123 stored in theUSB memory 100 on thePC 200 and providing functions necessary for the storage service. TheVPN service program 231, thesynchronization program 232, and metadata creation Theprogram 233, thecapacity rewriting program 234, and theevent notification program 235 are configured.

VPN通信プログラム231は、VPN通信機能を提供するプログラムであり、PC200をVPNGW20に接続し、PC200からネットディスク40に安全にアクセスすることを可能としている。  TheVPN communication program 231 is a program that provides a VPN communication function, and connects thePC 200 to theVPNGW 20 so that thePC 200 can safely access thenet disk 40.

ここで、VPN方式としては、SSL−VPN、IPSec−VPNなどを用いることができる。また、VPNソフトウェアとサーバ間で利用する個人認証の方法は、利用者がサービス契約締結時に設定したIDとパスワードを使う方法や、PKIを使う方法などがある。PKIの場合、個人の証明書をR/Wメモリ120に3DESやAES、Blowfishなどによって暗号化して保存し、容易に解読できないようにする。  Here, SSL-VPN, IPSec-VPN, etc. can be used as the VPN system. Also, personal authentication methods used between the VPN software and the server include a method using an ID and password set by a user when a service contract is concluded, and a method using PKI. In the case of PKI, the personal certificate is encrypted and stored in the R /W memory 120 by 3DES, AES, Blowfish, etc. so that it cannot be easily decrypted.

同期プログラム232は、USBメモリ100の実データとネットディスク40の実データとを同期するための同期機能を提供するプログラムである。  Thesynchronization program 232 is a program that provides a synchronization function for synchronizing the actual data of theUSB memory 100 and the actual data of thenet disk 40.

メタデータ作成プログラム233は、USBメモリ100が記憶するファイルの中からアクセス履歴の古いファイルを特定し、特定したファイルの実データからメタデータを作成してファイルをメタデータで置き換えるプログラムである。  Themetadata creation program 233 is a program that identifies a file with an old access history from files stored in theUSB memory 100, creates metadata from actual data of the identified file, and replaces the file with metadata.

このメタデータ作成プログラム233が、USBメモリ100のファイルの実データからメタデータを作成し、そのファイルをメタデータで置き換えることによって、USBメモリ100にデータを書き込む十分な大きさの空領域がない場合に、空領域を生成し、データの書き込みを可能とすることができる。  When themetadata creation program 233 creates metadata from the actual data of the file in theUSB memory 100 and replaces the file with the metadata, so that there is no empty area of sufficient size for writing data to theUSB memory 100. In addition, an empty area can be generated to enable data writing.

容量書き換えプログラム234は、USBメモリ100の容量保持用FRAM110を書き換えるプログラムである。この容量書き換えプログラム234が容量保持用FRAM110を書き換えることによって、容量保持用FRAM110にネットディスク40での容量を含めた記憶容量を記憶させることができる。  Thecapacity rewriting program 234 is a program for rewriting thecapacity holding FRAM 110 of theUSB memory 100. Thecapacity rewriting program 234 rewrites thecapacity holding FRAM 110 so that thecapacity holding FRAM 110 can store the storage capacity including the capacity of thenet disk 40.

また、利用者がサービス途中でネットディスク40の容量を増量した場合でも、ストレージサービス提供プログラム230とネットディスクサーバ30がVPN10によって通信を確立したときに、ネットディスクサーバ30からストレージサービス提供プログラム230へ容量値の増量通知を行い、容量書き換えプログラム234によって、容量保持用FRAM110を更新することができる。  Even when the user increases the capacity of thenet disk 40 during the service, when the storageservice providing program 230 and thenet disk server 30 establish communication with theVPN 10, thenet disk server 30 transfers to the storageservice providing program 230. Thecapacity holding FRAM 110 can be updated by thecapacity rewriting program 234 by notifying the increase of the capacity value.

イベント通知プログラム235は、専用ドライバ221からイベントを受信し、受信したイベントに対応した処理を実行するように制御するプログラムである。  Theevent notification program 235 is a program that receives an event from thededicated driver 221 and controls to execute processing corresponding to the received event.

次に、ストレージサービス提供プログラム123の起動処理の処理手順について説明する。図4は、ストレージサービス提供プログラム123の起動処理の処理手順を示すフローチャートである。  Next, the processing procedure of the startup process of the storageservice providing program 123 will be described. FIG. 4 is a flowchart showing the processing procedure of the startup process of the storageservice providing program 123.

同図に示すように、この起動処理では、USBメモリ100の挿入を検出すると(ステップS101)、PC200のOSは汎用のUSBストレージドライバを導入し(ステップS102)、USBメモリ100内のAutoRun.infを参照して、USBメモリ100内のインストーラ121を実行する(ステップS103)。  As shown in the figure, in this activation process, when insertion of theUSB memory 100 is detected (step S101), the OS of thePC 200 installs a general-purpose USB storage driver (step S102), and AutoRun.inf in theUSB memory 100 is detected. Theinstaller 121 in theUSB memory 100 is executed (step S103).

そして、インストーラ121は、専用ドライバ221の導入状況を確認し(ステップS104)、未導入か否かを判定する(ステップS105)。その結果、未導入である場合には、インストーラ121は専用ドライバプログラム122をUSBメモリ100から読み出して専用ドライバ221としてインストールする(ステップS106)。  Then, theinstaller 121 confirms the installation status of the dedicated driver 221 (step S104), and determines whether it is not installed (step S105). As a result, if not yet installed, theinstaller 121 reads thededicated driver program 122 from theUSB memory 100 and installs it as the dedicated driver 221 (step S106).

そして、インストーラ121は、USBメモリ100内のストレージサービス提供プログラム123を実行する(ステップS107)。これにより、PC200上で、ストレージサービス提供プログラム230としての利用が可能となる。  Then, theinstaller 121 executes the storageservice providing program 123 in the USB memory 100 (step S107). As a result, the storageservice providing program 230 can be used on thePC 200.

このように、USBメモリ100がPC200に挿入されると、インストーラ121が起動されて専用ドライバ221をインストールし、ストレージサービス提供プログラム230を利用可能とすることによって、ファイルアクセスプログラム240は、通常のUSBメモリをアクセスするのと同様に、USBメモリ100をアクセスすることができる。  As described above, when theUSB memory 100 is inserted into thePC 200, theinstaller 121 is activated to install thededicated driver 221, and the storageservice providing program 230 can be used. Similar to accessing the memory, theUSB memory 100 can be accessed.

次に、USBメモリ100への書き込み処理の処理手順について説明する。図5は、USBメモリ100への書き込み処理の処理手順を示すフローチャートである。同図に示すように、この書き込み処理では、ファイルアクセスプログラム240がマスストレージドライバ222へ書き込み依頼を行うと(ステップS201)、マスストレージドライバ222は専用ドライバ221に書き込み依頼を行う(ステップS202)。  Next, a processing procedure for writing to theUSB memory 100 will be described. FIG. 5 is a flowchart showing the processing procedure of the writing process to theUSB memory 100. As shown in the figure, in this writing process, when thefile access program 240 makes a write request to the mass storage driver 222 (step S201), themass storage driver 222 makes a write request to the dedicated driver 221 (step S202).

そして、専用ドライバ221は、書き込みを依頼されたファイルがUSBメモリ100上にあるかを確認し(ステップS203)、USBメモリ100上にあるか否かを判定する(ステップS204)。その結果、USBメモリ100上にある場合には、専用ドライバ221は新たに書き込むファイルのサイズと記憶されたファイルのサイズの差分を確認する(ステップS205)。  Then, thededicated driver 221 confirms whether the file requested to be written exists on the USB memory 100 (step S203), and determines whether it exists on the USB memory 100 (step S204). As a result, if it is on theUSB memory 100, thededicated driver 221 checks the difference between the size of the newly written file and the size of the stored file (step S205).

そして、専用ドライバ221は、USBメモリ100の容量を確認し(ステップS206)、データを書き込む容量があるか否かを判定する(ステップS207)。その結果、データを書き込む容量がある場合には、専用ドライバ221は、書き込み処理を実行し(ステップS208)、アクセス時刻など管理テーブル124を更新する(ステップS209)。そして、専用ドライバ221は書き込み完了をマスストレージドライバ222へ通知し(ステップS210)、マスストレージドライバ222はファイルアクセスプログラム240へ書き込み完了を通知する(ステップS211)。  Then, thededicated driver 221 confirms the capacity of the USB memory 100 (step S206), and determines whether there is a capacity for writing data (step S207). As a result, when there is a capacity for writing data, thededicated driver 221 executes a writing process (step S208), and updates the management table 124 such as the access time (step S209). Then, thededicated driver 221 notifies themass storage driver 222 of the completion of writing (step S210), and themass storage driver 222 notifies thefile access program 240 of the completion of writing (step S211).

一方、データを書き込む容量がない場合には、専用ドライバ221は、イベント通知プログラム235にメタデータ化を依頼するイベントを通知し(ステップS212)、イベント通知プログラム235はメタデータ作成プログラム233にメタデータ化を依頼する(ステップS213)。  On the other hand, when there is no capacity to write data, thededicated driver 221 notifies theevent notification program 235 of an event for requesting metadata conversion (step S212), and theevent notification program 235 transmits metadata to themetadata creation program 233. (Step S213).

そして、メタデータ作成プログラム233は管理テーブル124の実データフラグを確認し(ステップS214)、実データがあるか否かを判定する(ステップS215)。その結果、実データがある場合には、メタデータ作成プログラム233は、アクセス履歴の古いファイルを検索して特定し(ステップS216〜ステップS217)、特定したファイルの更新フラグを確認する(ステップS218)。  Then, themetadata creation program 233 checks the actual data flag in the management table 124 (step S214), and determines whether there is actual data (step S215). As a result, if there is actual data, themetadata creation program 233 searches for and identifies a file with an old access history (steps S216 to S217), and checks the update flag of the identified file (step S218). .

そして、特定したファイルが更新されているか否かを判定し(ステップS225)、更新されていない場合には、ステップS230に進み、更新されている場合には、メタデータ作成プログラム233は同期プログラム232に同期を依頼し(ステップS226)、同期プログラム232はVPN通信プログラムを使用してネットディスク40にデータを保存する(ステップS227)。  Then, it is determined whether or not the identified file has been updated (step S225). If it has not been updated, the process proceeds to step S230. If it has been updated, themetadata creation program 233 causes thesynchronization program 232 to be updated. (Step S226), and thesynchronization program 232 stores data in thenet disk 40 using the VPN communication program (step S227).

そして、同期プログラム232は保存完了をメタデータ作成プログラム233に通知し(ステップS228)、メタデータ作成プログラム233は更新フラグを消去し(ステップS229)、該当ファイルをメタデータ化する(ステップS230)。  Then, thesynchronization program 232 notifies themetadata creation program 233 of the completion of storage (step S228), themetadata creation program 233 deletes the update flag (step S229), and converts the corresponding file into metadata (step S230).

そして、メタデータ作成プログラム233は、該当ファイルをメタデータ化したファイルに置き換え(ステップS231)、管理テーブル124の対応する実データフラグを消去し(ステップS232)、イベント通知プログラム235を介して専用ドライバ221に容量確認の再実行を依頼する(ステップS233)。すなわち、ステップS206に戻る。  Then, themetadata creation program 233 replaces the corresponding file with a metadata file (step S231), deletes the corresponding actual data flag in the management table 124 (step S232), and uses the dedicated driver via theevent notification program 235. A request for re-execution of the capacity check is made to 221 (step S233). That is, the process returns to step S206.

一方、実データがない場合には(ステップS215、No)、実データをメタデータ化することでは空領域を生成することができないので、メタデータ作成プログラム233は、設定値に基づいて古いメタデータを削除可能か確認する(ステップS219)。ここで、設定値は、例えば、最後のアクセスからの経過時間であり、ここでは、この経過時間を過ぎた古いファイルのメタデータは削除するものとする。  On the other hand, when there is no actual data (step S215, No), since the empty area cannot be generated by converting the actual data into metadata, themetadata creation program 233 uses the old metadata based on the set value. It is confirmed whether or not can be deleted (step S219). Here, the setting value is, for example, the elapsed time from the last access, and here, the metadata of the old file that has passed this elapsed time is deleted.

そして、古いメタデータを削除可能か否かを判定し(ステップS220)、削除可能である場合には、古いメタデータを削除し(ステップS221)、ステップS206に戻る。一方、削除可能でない場合には、メタデータ作成プログラム233はイベント通知プログラム235を介して専用ドライバ221に書き込み容量不足を通知し(ステップS222)、専用ドライバ221はマスストレージドライバ222に容量不足を通知する(ステップS223)。そして、マスストレージドライバ222はファイルアクセスプログラム240に容量不足を通知する(ステップS224)。  Then, it is determined whether or not the old metadata can be deleted (step S220). If the old metadata can be deleted, the old metadata is deleted (step S221), and the process returns to step S206. On the other hand, if deletion is not possible, themetadata creation program 233 notifies thededicated driver 221 of insufficient writing capacity via the event notification program 235 (step S222), and thededicated driver 221 notifies themass storage driver 222 of insufficient capacity. (Step S223). Then, themass storage driver 222 notifies thefile access program 240 that the capacity is insufficient (step S224).

このように、USBメモリ100にデータを書き込む際に、USBメモリ100の空容量が不足している場合に、メタデータ作成プログラム233が、実データをネットディスク40に保存するように制御するとともに、メタデータを作成して実データと置き換えることによって、USBメモリ100の容量をシームレスに拡張することができる。  As described above, when writing data to theUSB memory 100, if theUSB memory 100 has insufficient free space, themetadata creation program 233 controls the actual data to be stored in thenet disk 40, and By creating metadata and replacing it with actual data, the capacity of theUSB memory 100 can be expanded seamlessly.

次に、USBメモリ110からの読み出し処理の処理手順について説明する。図6は、USBメモリ110からの読み出し処理の処理手順を示すフローチャートである。同図に示すように、この読み出し処理では、ファイルアクセスプログラム240がマスストレージドライバ222へ読み出し依頼を行うと(ステップS301)、マスストレージドライバ222は専用ドライバ221に読み出し依頼を行う(ステップS302)。  Next, a processing procedure for reading from theUSB memory 110 will be described. FIG. 6 is a flowchart showing a processing procedure for reading from theUSB memory 110. As shown in the figure, in this read process, when thefile access program 240 makes a read request to the mass storage driver 222 (step S301), themass storage driver 222 makes a read request to the dedicated driver 221 (step S302).

そして、専用ドライバ221は、読み出しを依頼されたファイルの実データフラグを確認し(ステップS303)、そのファイルの実データがUSBメモリ100上にあるか否かを判定する(ステップS304)。その結果、USBメモリ100上にある場合には、専用ドライバ221はデータを読み出してマスストレージドライバ222に渡し(ステップS305)、マスストレージドライバ222はデータをファイルアクセスプログラム240に渡す(ステップS306)。  Then, thededicated driver 221 confirms the actual data flag of the file requested to be read (step S303), and determines whether the actual data of the file is on the USB memory 100 (step S304). As a result, if it is on theUSB memory 100, thededicated driver 221 reads the data and passes it to the mass storage driver 222 (step S305), and themass storage driver 222 passes the data to the file access program 240 (step S306).

一方、読み出すファイルの実データがUSBメモリ100上にない場合には、専用ドライバ221はイベント通知プログラム235に、読み出しを依頼されたデータのネットディスク40からのダウンロード依頼を通知し(ステップS307)、イベント通知プログラム235は、読み出しを依頼されたデータのダウンロードを同期プログラム232に依頼する(ステップS308)。  On the other hand, if the actual data of the file to be read is not in theUSB memory 100, thededicated driver 221 notifies theevent notification program 235 of a request to download the data requested to be read from the net disk 40 (step S307). Theevent notification program 235 requests thesynchronization program 232 to download the data requested to be read (step S308).

そして、同期プログラム232は、VPN通信プログラム231を介して、読み出しを依頼されたデータをPC200のメモリ上にダウンロードし(ステップS309)、USBメモリ100に書き込む(ステップS310)。なお、USBメモリ100への書き込みは、図5に示した書き込み処理によって行う。  Then, thesynchronization program 232 downloads the data requested to be read via theVPN communication program 231 onto the memory of the PC 200 (step S309) and writes it into the USB memory 100 (step S310). Note that writing to theUSB memory 100 is performed by the writing process shown in FIG.

そして、同期プログラム232はイベント通知プログラム235にダウンロード完了を通知し(ステップS311)、イベント通知プログラム235は読み出しを依頼されたデータのダウンロード完了を専用ドライバ221に通知する(ステップS312)。そして、ステップS305に進む。  Then, thesynchronization program 232 notifies theevent notification program 235 of the download completion (step S311), and theevent notification program 235 notifies thededicated driver 221 of the completion of downloading the data requested to be read (step S312). Then, the process proceeds to step S305.

このように、実データがUSBメモリ100にない場合には、専用ドライバ221がイベント通知プログラム235に実データのダウンロード依頼を通知することによって、ネットディスク40からの実データのダウンロードを行い、ファイルアクセスプログラム240に対しては、USBメモリ100上にデータがあるのと同様にデータ引き渡すことができる。  As described above, when the actual data is not in theUSB memory 100, thededicated driver 221 notifies theevent notification program 235 of the download request for the actual data, thereby downloading the actual data from thenet disk 40 and accessing the file. Data can be delivered to theprogram 240 in the same manner as there is data on theUSB memory 100.

なお、ここでは、実データがUSBメモリ100上にない場合には、ネットディスク40から実データを読み出してUSBメモリ100に格納してファイルアクセスプログラム240に渡す場合について説明したが、ファイルアクセスプログラム240からの指定によって、メタデータを渡すようにすることもできる。  Here, a case has been described in which actual data is not stored in theUSB memory 100, the actual data is read from thenet disk 40, stored in theUSB memory 100, and passed to thefile access program 240. You can also pass metadata by specifying from.

次に、容量書き換え処理の処理手順について説明する。図7は、容量書き換え処理の処理手順を示すフローチャートである。同図に示すように、この容量書き換え処理では、容量書き換えプログラム234は、専用ドライバ221に容量値を通知する(ステップS401)。  Next, the processing procedure of the capacity rewriting process will be described. FIG. 7 is a flowchart showing the processing procedure of the capacity rewriting process. As shown in the figure, in this capacity rewriting process, thecapacity rewriting program 234 notifies thededicated driver 221 of the capacity value (step S401).

そして、専用ドライバ221は、USBメモリ100上の容量保持用FRAM110の値を書き換える(ステップS402)。  Then, thededicated driver 221 rewrites the value of thecapacity holding FRAM 110 on the USB memory 100 (step S402).

このように、容量書き換えプログラム234が専用ドライバ221に容量値を通知し、専用ドライバ221がUSBメモリ100上の容量保持用FRAM110の値を書き換えることによって、ストレージ提供サービスで提供する仮想的なUSBメモリ100の容量を変更し、ネットディスク40によって拡張された記憶容量を利用者に対してUSBメモリ100の容量として通知することが可能となる。  As described above, thecapacity rewriting program 234 notifies thededicated driver 221 of the capacity value, and thededicated driver 221 rewrites the value of thecapacity holding FRAM 110 on theUSB memory 100, thereby providing a virtual USB memory provided by the storage providing service. It is possible to change the capacity of 100 and notify the user of the storage capacity expanded by thenet disk 40 as the capacity of theUSB memory 100.

なお、本実施例では、メタデータの作成をPC200で行う場合について説明したが、メタデータの作成をネットディスクサーバ30で行うこともできる。図8は、メタデータの作成をネットディスクサーバ30で行うストレージ提供システムの構成を示す図である。  In this embodiment, the case where the creation of metadata is performed by thePC 200 has been described, but the creation of metadata can also be performed by thenet disk server 30. FIG. 8 is a diagram showing a configuration of a storage providing system that performs creation of metadata by thenet disk server 30.

同図に示すように、このストレージ提供システムでは、PC200でメタデータ作成プログラム233が実行される代わりにネットディスクサーバ30でメタデータ作成プログラム31が実行される。このように、ネットディスクサーバ30でメタデータを作成することによって、PC200の処理能力が低い場合にも、高速にメタデータを作成することができる。  As shown in the figure, in this storage providing system, themetadata creation program 233 is executed by thenet disk server 30 instead of themetadata creation program 233 being executed by thePC 200. Thus, by creating metadata in thenet disk server 30, even when the processing capability of thePC 200 is low, metadata can be created at high speed.

また、メタデータの作成は、USBメモリにマイコンを搭載し、USBメモリで行うこともできる。USBメモリでメタデータの作成を行うことによって、PC200との間のデータ転送を不要とすることができる。  Further, the creation of metadata can also be performed using a USB memory with a microcomputer mounted on the USB memory. By creating metadata in the USB memory, data transfer with thePC 200 can be made unnecessary.

次に、本実施例に係る専用ドライバ221およびストレージサービス提供プログラム230を実行するコンピュータのハードウェア構成について説明する。なお、専用ドライバ221とストレージサービス提供プログラム230は同一のコンピュータで実行されるため、ここでは、専用ドライバ221を実行する場合について説明する。  Next, a hardware configuration of a computer that executes thededicated driver 221 and the storageservice providing program 230 according to the present embodiment will be described. Since thededicated driver 221 and the storageservice providing program 230 are executed by the same computer, the case where thededicated driver 221 is executed will be described here.

図9は、本実施例に係る専用ドライバ221を実行するコンピュータのハードウェア構成を示す機能ブロック図である。なお、このコンピュータ300は図2に示したPC200に対応する。  FIG. 9 is a functional block diagram illustrating a hardware configuration of a computer that executes thededicated driver 221 according to the present embodiment. Thecomputer 300 corresponds to thePC 200 shown in FIG.

図9に示すように、このコンピュータ300は、RAM310と、CPU320と、HDD330と、ネットワークデバイス260と、入出力インタフェース350と、USBデバイスコントローラ210とを有する。  As illustrated in FIG. 9, thecomputer 300 includes aRAM 310, aCPU 320, anHDD 330, anetwork device 260, an input /output interface 350, and aUSB device controller 210.

RAM310は、プログラムやプログラムの実行途中結果などを記憶するメモリであり、CPU320は、RAM310からプログラムを読み出して実行する中央処理装置である。  TheRAM 310 is a memory that stores a program, a program execution result, and the like. TheCPU 320 is a central processing unit that reads a program from theRAM 310 and executes the program.

HDD330は、プログラムやデータを格納するディスク装置であり、ネットワークデバイス260は、コンピュータ300をVPN10経由でネットディスクサーバ30など他のコンピュータに接続するためのデバイスである。  TheHDD 330 is a disk device that stores programs and data, and thenetwork device 260 is a device for connecting thecomputer 300 to another computer such as thenet disk server 30 via theVPN 10.

入出力インタフェース350は、マウスやキーボードなどの入力装置および表示装置を接続するためのインタフェースであり、USBデバイスコントローラ210は、USBメモリ100へのアクセスを制御するコントローラである。  The input /output interface 350 is an interface for connecting an input device such as a mouse or a keyboard and a display device, and theUSB device controller 210 is a controller that controls access to theUSB memory 100.

そして、このコンピュータ300において実行される専用ドライバ221は、USBメモリ100に記憶され、インストーラ121によってUSBメモリ100から読み出されてコンピュータ300にインストールされる。そして、インストールされた専用ドライバ221は、HDD330に記憶され、RAM310に読み出されてCPU320によって実行される。  Thededicated driver 221 executed in thecomputer 300 is stored in theUSB memory 100, read from theUSB memory 100 by theinstaller 121, and installed in thecomputer 300. The installeddedicated driver 221 is stored in theHDD 330, read into theRAM 310, and executed by theCPU 320.

上述してきたように、本実施例では、専用ドライバ221がUSBデバイスコントローラ210を制御してUSBメモリ100へのアクセス機能を提供し、ストレージサービス提供プログラム230が専用ドライバ221と連携してUSBメモリ100の記憶容量をネットディスク40を用いてシームレスに拡張するために必要な機能を提供することとしたので、USBメモリ100の容量に制限されることなくデータをUSBメモリ100に保存して使用することができる。  As described above, in this embodiment, thededicated driver 221 controls theUSB device controller 210 to provide an access function to theUSB memory 100, and the storageservice providing program 230 cooperates with thededicated driver 221 to connect theUSB memory 100. Since the functions necessary for seamlessly expanding the storage capacity of the storage device using thenet disk 40 are provided, the data is stored in theUSB memory 100 without being limited to the capacity of theUSB memory 100 and used. Can do.

また、データを書き込む際に、USBメモリ100の空領域が不足する場合には、メタデータ作成プログラム233が、USBメモリ100の実データからメタデータを作成して実データを置き換えることとしたので、空領域を確保するとともに、必要に応じて利用者にメタデータを提供することができる。  Also, when the data is written, if theUSB memory 100 has insufficient free space, themetadata creation program 233 creates metadata from the actual data in theUSB memory 100 and replaces the actual data. It is possible to secure an empty area and provide metadata to the user as necessary.

(付記1)ポータブル記憶デバイスが記憶するデータを管理する記憶デバイス管理プログラムであって、
ポータブル記憶デバイスにデータの書き込みに必要な空領域があるか否かを判定する空領域有無判定手順と、
前記空領域有無判定手順により必要な空領域がないと判定された場合に、ポータブル記憶デバイスが記憶する実データをネットワークを介して接続されたリモートコンピュータが管理する記憶装置に保存するとともに、該実データからサイズを小さくしたメタデータを作成し、該作成したメタデータで実データを置き換えて必要な空領域を生成する空領域生成手順と、
をコンピュータに実行させることを特徴とする記憶デバイス管理プログラム。
(Supplementary note 1) A storage device management program for managing data stored in a portable storage device,
An empty area presence / absence determination procedure for determining whether or not there is an empty area necessary for writing data in the portable storage device;
When it is determined by the procedure for determining whether there is no free space, the actual data stored in the portable storage device is stored in a storage device managed by a remote computer connected via a network, and the actual data is stored. Create a metadata with a reduced size from the data, replace the actual data with the created metadata and generate a necessary space area,
A storage device management program for causing a computer to execute

(付記2)ポータブル記憶デバイスから読み出すデータがメタデータで記憶されているか否かを判定するメタデータ判定手順と、
前記メタデータ判定手順によりメタデータで記憶されていると判定された場合に、前記空領域生成手順により前記記憶装置に保存された実データをポータブル記憶装置に回復する実データ回復手順と、
をさらにコンピュータに実行させることを特徴とする付記1に記載の記憶デバイス管理プログラム。
(Additional remark 2) The metadata determination procedure which determines whether the data read from a portable storage device are memorize | stored with metadata,
An actual data recovery procedure for recovering actual data stored in the storage device by the empty area generation procedure to a portable storage device when it is determined that the metadata is stored by the metadata determination procedure;
The storage device management program according to appendix 1, wherein the computer is further executed.

(付記3)ポータブル記憶デバイスの記憶容量保持領域の内容を前記空領域生成手順により実データが保存される記憶装置の容量を含めた容量に変更する容量変更手順をさらにコンピュータに実行させることを特徴とする付記1または2に記載の記憶デバイス管理プログラム。(Supplementary Note 3) The computer further executes a capacity changing procedure for changing the contents of the storage capacity holding area of the portable storage device to a capacity including the capacity of the storage device in which the actual data is stored by the empty area generating procedure. The storage device management program according to appendix 1 or 2.

(付記4)前記空領域生成手順は、ポータブル記憶デバイスに実データがない場合には、所定の経過時間以前にアクセスされたメタデータを削除して必要な空領域を作り出すことを特徴とする付記1、2または3に記載の記憶デバイス管理プログラム。(Additional remark 4) The said empty area production | generation procedure produces | generates a required empty area by deleting the metadata accessed before predetermined | prescribed elapsed time, when there is no real data in a portable storage device. The storage device management program according to 1, 2, or 3.

(付記5)ポータブル記憶デバイスはファイルを記憶し、
前記空領域生成手順は、ファイル名だけのデータをメタデータとして作成することを特徴とする付記1〜4のいずれか一つに記載の記憶デバイス管理プログラム。
(Supplementary note 5) The portable storage device stores files,
5. The storage device management program according to any one of appendices 1 to 4, wherein the empty area generation procedure creates data of only a file name as metadata.

(付記6)ポータブル記憶デバイスが記憶するデータを管理する記憶デバイス管理方法であって、
ポータブル記憶デバイスにデータの書き込みに必要な空領域があるか否かを判定する空領域有無判定工程と、
前記空領域有無判定工程により必要な空領域がないと判定された場合に、ポータブル記憶デバイスが記憶する実データをネットワークを介して接続されたリモートコンピュータが管理する記憶装置に保存するとともに、該実データからサイズを小さくしたメタデータを作成し、該作成したメタデータで実データを置き換えて必要な空領域を生成する空領域生成工程と、
を含んだことを特徴とする記憶デバイス管理方法。
(Appendix 6) A storage device management method for managing data stored in a portable storage device,
An empty area presence / absence determination step for determining whether or not the portable storage device has an empty area necessary for writing data;
When it is determined in the empty area presence / absence determination step that there is no necessary empty area, the actual data stored in the portable storage device is stored in a storage device managed by a remote computer connected via a network, and the actual data is stored. An empty area generation step of creating metadata with a reduced size from the data and replacing the actual data with the created metadata to generate a necessary empty area;
A storage device management method comprising:

(付記7)ポータブル記憶デバイスから読み出すデータがメタデータで記憶されているか否かを判定するメタデータ判定工程と、
前記メタデータ判定工程によりメタデータで記憶されていると判定された場合に、前記空領域生成工程により前記記憶装置に保存された実データをポータブル記憶装置に回復する実データ回復工程と、
をさらに含んだことを特徴とする付記6に記載の記憶デバイス管理方法。
(Additional remark 7) The metadata determination process which determines whether the data read from a portable storage device are memorize | stored with metadata,
An actual data recovery step of recovering the actual data stored in the storage device by the empty area generation step to the portable storage device when it is determined that the metadata is stored by the metadata determination step;
The storage device management method according to appendix 6, further comprising:

(付記8)ポータブル記憶デバイスの記憶容量保持領域の内容を前記空領域生成工程により実データが保存される記憶装置の容量を含めた容量に変更する容量変更工程をさらに含んだことを特徴とする付記6または7に記載の記憶デバイス管理方法。(Supplementary Note 8) The method further includes a capacity changing step of changing the contents of the storage capacity holding area of the portable storage device to a capacity including the capacity of the storage device in which the actual data is stored by the empty area generating step. The storage device management method according to appendix 6 or 7.

(付記9)前記空領域生成工程は、ポータブル記憶デバイスに実データがない場合には、所定の経過時間以前にアクセスされたメタデータを削除して必要な空領域を作り出すことを特徴とする付記6、7または8に記載の記憶デバイス管理方法。(Additional remark 9) The said empty area production | generation process deletes the metadata accessed before predetermined | prescribed elapsed time, and produces a required empty area, when there is no real data in a portable storage device. The storage device management method according to 6, 7, or 8.

(付記10)ポータブル記憶デバイスはファイルを記憶し、
前記空領域生成工程は、ファイル名だけのデータをメタデータとして作成することを特徴とする付記6〜9のいずれか一つに記載の記憶デバイス管理方法。
(Supplementary Note 10) The portable storage device stores files,
10. The storage device management method according to any one of appendices 6 to 9, wherein the empty area generation step creates data of only a file name as metadata.

以上のように、本発明に係る記憶デバイス管理プログラムおよび記憶デバイス管理方法は、ポータブル記憶デバイスに有用であり、特に、ポータブル記憶デバイスの容量制限を越える大量のデータを扱う必要がある場合に適している。  As described above, the storage device management program and the storage device management method according to the present invention are useful for a portable storage device, and particularly suitable for a case where a large amount of data exceeding the capacity limit of the portable storage device needs to be handled. Yes.

本実施例に係るストレージ提供システムを説明するための説明図である。It is explanatory drawing for demonstrating the storage provision system which concerns on a present Example.本実施例に係るストレージ提供システムの構成を示す機能ブロック図である。It is a functional block diagram which shows the structure of the storage provision system which concerns on a present Example.R/Wメモリのデータフォーマットを示す図である。It is a figure which shows the data format of R / W memory.ストレージサービス提供プログラムの起動処理の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of the starting process of a storage service provision program.USBメモリへの書き込み処理の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of the write-in process to USB memory.USBメモリからの読み出し処理の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of the read-out process from USB memory.容量書き換え処理の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of a capacity | capacitance rewriting process.メタデータの作成をネットディスクサーバで行うストレージ提供システムの構成を示す図である。It is a figure which shows the structure of the storage provision system which produces metadata with a net disk server.本実施例に係る専用ドライバを実行するコンピュータのハードウェア構成を示す機能ブロック図である。It is a functional block diagram which shows the hardware constitutions of the computer which executes the exclusive driver which concerns on a present Example.

符号の説明Explanation of symbols

10 VPN
20 VPNGW
30 ネットディスクサーバ
31 メタデータ作成プログラム
40 ネットディスク
100 USBメモリ
110 容量保持用FRAM
120 R/Wメモリ
121 インストーラ
122 専用ドライバプログラム
123 ストレージサービス提供プログラム
124 管理テーブル
125 データ保存領域
200 PC
210 USBデバイスコントローラ
220 ストレージデバイスドライバ
221 専用ドライバ
222 マスストレージドライバ
230 ストレージサービス提供プログラム
231 VPN通信プログラム
232 同期プログラム
233 メタデータ作成プログラム
234 容量書き換えプログラム
235 イベント通知プログラム
240 ファイルアクセスプログラム
250 ネットワークデバイスドライバ
260 ネットワークデバイス
300 コンピュータ
310 RAM
320 CPU
330 HDD
350 入出力インタフェース
10 VPN
20 VPNGW
30Net Disk Server 31Metadata Creation Program 40Net Disk 100USB Memory 110 Capacity Holding FRAM
120 R /W memory 121Installer 122Dedicated driver program 123 Storageservice providing program 124 Management table 125Data storage area 200 PC
210USB device controller 220Storage device driver 221Dedicated driver 222Mass storage driver 230 Storageservice providing program 231VPN communication program 232Synchronization program 233Metadata creation program 234Capacity rewriting program 235Event notification program 240File access program 250Network device driver 260Network Device 300Computer 310 RAM
320 CPU
330 HDD
350 I / O interface

Claims (5)

Translated fromJapanese
ポータブル記憶デバイスが記憶するデータを管理する記憶デバイス管理プログラムであって、
ポータブル記憶デバイスにデータの書き込みに必要な空領域があるか否かを判定する空領域有無判定手順と、
前記空領域有無判定手順により必要な空領域がないと判定された場合に、ポータブル記憶デバイスが記憶する実データをネットワークを介して接続されたリモートコンピュータが管理する記憶装置に保存するとともに、該実データからサイズを小さくしたメタデータを作成し、該作成したメタデータで実データを置き換えて必要な空領域を生成する空領域生成手順と、
をコンピュータに実行させることを特徴とする記憶デバイス管理プログラム。
A storage device management program for managing data stored in a portable storage device,
An empty area presence / absence determination procedure for determining whether or not there is an empty area necessary for writing data in the portable storage device;
When it is determined by the procedure for determining whether there is no free space, the actual data stored in the portable storage device is stored in a storage device managed by a remote computer connected via a network, and the actual data is stored. Create a metadata with a reduced size from the data, replace the actual data with the created metadata and generate a necessary space area,
A storage device management program for causing a computer to execute
ポータブル記憶デバイスから読み出すデータがメタデータで記憶されているか否かを判定するメタデータ判定手順と、
前記メタデータ判定手順によりメタデータで記憶されていると判定された場合に、前記空領域生成手順により前記記憶装置に保存された実データをポータブル記憶装置に回復する実データ回復手順と、
をさらにコンピュータに実行させることを特徴とする請求項1に記載の記憶デバイス管理プログラム。
A metadata determination procedure for determining whether data read from the portable storage device is stored as metadata;
An actual data recovery procedure for recovering actual data stored in the storage device by the empty area generation procedure to a portable storage device when it is determined that the metadata is stored by the metadata determination procedure;
The storage device management program according to claim 1, further causing the computer to execute.
ポータブル記憶デバイスの記憶容量保持領域の内容を前記空領域生成手順により実データが保存される記憶装置の容量を含めた容量に変更する容量変更手順をさらにコンピュータに実行させることを特徴とする請求項1または2に記載の記憶デバイス管理プログラム。  The computer further executes a capacity changing procedure for changing the contents of the storage capacity holding area of the portable storage device to a capacity including a capacity of a storage device in which actual data is stored by the empty area generating procedure. The storage device management program according to 1 or 2. 前記空領域生成手順は、ポータブル記憶デバイスに実データがない場合には、所定の経過時間以前にアクセスされたメタデータを削除して必要な空領域を作り出すことを特徴とする請求項1、2または3に記載の記憶デバイス管理プログラム。  The said empty area generation procedure deletes the metadata accessed before the predetermined elapsed time when there is no actual data in the portable storage device, and creates a necessary empty area. Or the storage device management program according to 3. ポータブル記憶デバイスが記憶するデータを管理する記憶デバイス管理方法であって、
ポータブル記憶デバイスにデータの書き込みに必要な空領域があるか否かを判定する空領域有無判定工程と、
前記空領域有無判定工程により必要な空領域がないと判定された場合に、ポータブル記憶デバイスが記憶する実データをネットワークを介して接続されたリモートコンピュータが管理する記憶装置に保存するとともに、該実データからサイズを小さくしたメタデータを作成し、該作成したメタデータで実データを置き換えて必要な空領域を生成する空領域生成工程と、
を含んだことを特徴とする記憶デバイス管理方法。
A storage device management method for managing data stored in a portable storage device, comprising:
An empty area presence / absence determination step for determining whether or not the portable storage device has an empty area necessary for writing data;
When it is determined in the empty area presence / absence determination step that there is no necessary empty area, the actual data stored in the portable storage device is stored in a storage device managed by a remote computer connected via a network, and the actual data is stored. An empty area generation step of creating metadata with a reduced size from the data and replacing the actual data with the created metadata to generate a necessary empty area;
A storage device management method comprising:
JP2006069688A2006-03-142006-03-14 Storage device management program and storage device management methodExpired - Fee RelatedJP4734150B2 (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
JP2006069688AJP4734150B2 (en)2006-03-142006-03-14 Storage device management program and storage device management method

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
JP2006069688AJP4734150B2 (en)2006-03-142006-03-14 Storage device management program and storage device management method

Publications (2)

Publication NumberPublication Date
JP2007249414Atrue JP2007249414A (en)2007-09-27
JP4734150B2 JP4734150B2 (en)2011-07-27

Family

ID=38593673

Family Applications (1)

Application NumberTitlePriority DateFiling Date
JP2006069688AExpired - Fee RelatedJP4734150B2 (en)2006-03-142006-03-14 Storage device management program and storage device management method

Country Status (1)

CountryLink
JP (1)JP4734150B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
EP2256732A1 (en)2009-05-252010-12-01Funai Electric Co., Ltd.Information reproducing apparatus
JP2015135698A (en)*2011-03-292015-07-27アマゾン テクノロジーズ インクnetwork storage management system

Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
JP2002108363A (en)*2000-09-292002-04-10Casio Comput Co Ltd Download system, portable information processing device, and recording medium
JP2004151785A (en)*2002-10-282004-05-27Shinya KobayashiDetachable device and method for starting program
JP2006065801A (en)*2004-08-302006-03-09Digital Electronics Corp Information processing apparatus, program thereof, and recording medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
JP2002108363A (en)*2000-09-292002-04-10Casio Comput Co Ltd Download system, portable information processing device, and recording medium
JP2004151785A (en)*2002-10-282004-05-27Shinya KobayashiDetachable device and method for starting program
JP2006065801A (en)*2004-08-302006-03-09Digital Electronics Corp Information processing apparatus, program thereof, and recording medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
EP2256732A1 (en)2009-05-252010-12-01Funai Electric Co., Ltd.Information reproducing apparatus
JP2015135698A (en)*2011-03-292015-07-27アマゾン テクノロジーズ インクnetwork storage management system
US9836479B2 (en)2011-03-292017-12-05Amazon Technologies, Inc.Local storage linked to networked storage system

Also Published As

Publication numberPublication date
JP4734150B2 (en)2011-07-27

Similar Documents

PublicationPublication DateTitle
KR101247083B1 (en)System and method for using a file system automatically backup a file as generational file
US10242023B2 (en)Programming model for synchronizing browser caches across devices and web services
KR101138491B1 (en)Synchronizat10n methods and systems
KR101190426B1 (en) Synchronization methods and systems
JP4437432B2 (en) Computer system
CN101636720A (en)Terminal having application update managing function, and application update managing program and system
WO2014089734A1 (en)Terminal and application program restoration method
JP2011237950A (en)Information processor, backup server, backup program, backup method, and backup system
CN104144173A (en) A campus cloud platform system and method based on distributed virtual service technology
CN103092665A (en)Immediate updating device and immediate updating method
CN115150392B (en)Remote file copying method, system, computing equipment and storage medium
CN103136027A (en)Immediate updating device and immediate updating method
CN100399268C (en) A computer system and method for updating software data independent of operating system
KR20080051031A (en) Removable storage device for workplace movement service and its workplace movement service method
JP2002189594A (en)Automatic latest version setting system and automatic setting method
JP4734150B2 (en) Storage device management program and storage device management method
JP4567966B2 (en) Emulation system and emulation method
CN112540777B (en) A method and terminal supporting dynamic reading and writing of NV parameters
CN1303526C (en) How to download and install software
CN116888945B (en)Information processing device, information processing method, program product, and information processing system
JP2007213436A (en) Information processing apparatus, information processing method, terminal apparatus, and control method for terminal apparatus
KR101399016B1 (en) Portable storage device with software and method of storing file package using it
JP6308526B2 (en) Image processing apparatus, image processing apparatus control method, and program
JP6337532B2 (en) Information processing system and information processing method
TWI246001B (en)Method for downloading and installing software

Legal Events

DateCodeTitleDescription
A621Written request for application examination

Free format text:JAPANESE INTERMEDIATE CODE: A621

Effective date:20080704

A131Notification of reasons for refusal

Free format text:JAPANESE INTERMEDIATE CODE: A131

Effective date:20110125

A521Written amendment

Free format text:JAPANESE INTERMEDIATE CODE: A523

Effective date:20110328

TRDDDecision of grant or rejection written
A01Written decision to grant a patent or to grant a registration (utility model)

Free format text:JAPANESE INTERMEDIATE CODE: A01

Effective date:20110419

A01Written decision to grant a patent or to grant a registration (utility model)

Free format text:JAPANESE INTERMEDIATE CODE: A01

A61First payment of annual fees (during grant procedure)

Free format text:JAPANESE INTERMEDIATE CODE: A61

Effective date:20110425

FPAYRenewal fee payment (event date is renewal date of database)

Free format text:PAYMENT UNTIL: 20140428

Year of fee payment:3

R150Certificate of patent or registration of utility model

Free format text:JAPANESE INTERMEDIATE CODE: R150

LAPSCancellation because of no payment of annual fees

[8]ページ先頭

©2009-2025 Movatter.jp