JP2009187324A - File keeping device, file keeping method and program - Google Patents

File keeping device, file keeping method and program Download PDF

Info

Publication number
JP2009187324A
JP2009187324A JP2008027013A JP2008027013A JP2009187324A JP 2009187324 A JP2009187324 A JP 2009187324A JP 2008027013 A JP2008027013 A JP 2008027013A JP 2008027013 A JP2008027013 A JP 2008027013A JP 2009187324 A JP2009187324 A JP 2009187324A
Authority
JP
Japan
Prior art keywords
capacity
file
area
contract
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2008027013A
Other languages
Japanese (ja)
Inventor
Yoshio Shiraishi
義雄 白石
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 JP2008027013A priority Critical patent/JP2009187324A/en
Publication of JP2009187324A publication Critical patent/JP2009187324A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a file keeping device capable of storing data temporarily with exceeded contract capacity without generating excessive charging to a user and capable of suppressing the cost of equipment investment. <P>SOLUTION: The file keeping device comprises: a first data storage part 14 securing a contract area 22 wherein one, two or more files can be preserved and deleted in the range of a predetermined contract capacity; a second data storage part 15 provided separately from the first data storage part; a management information storage part storing the contract capacity; and a storage information control part for preparing an additional storage area in the second data storage part if the total capacity of the one, two or more files stored in the contract area exceeds the contract capacity when a file is added to the contract area. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、ネットワークを通じてユーザにファイルを保存する領域を提供するアプリケーションサービスプロバイダ(ASP)に関し、特に業としてそのような領域を提供するASP(レンタルストレージサービスなど)に関する。   The present invention relates to an application service provider (ASP) that provides an area for storing a file to a user through a network, and particularly relates to an ASP (such as a rental storage service) that provides such an area as a business.

インターネットにおいてASPによって提供されるサービスの一つとして、レンタルストレージサービス、ホスティングサービス(いわゆるレンタルサーバ)などがある。これらのサービスにおいては、ユーザが該サービスを利用するに当たって、該サービスによってファイルを保存することのできるユーザ領域と、ユーザ領域に保存できるファイルの総容量である契約容量があらかじめ定められる。   As one of services provided by ASP on the Internet, there are a rental storage service, a hosting service (so-called rental server), and the like. In these services, when a user uses the service, a user area where files can be saved by the service and a contract capacity which is a total capacity of files which can be saved in the user area are determined in advance.

これに関連する技術として、次に述べるような特許文献がある。特許文献1には、デジタルコンテンツデータ保管に関して、保管サイズと保管時間に応じた従量制の課金を行うという技術が記載されている。特許文献2には、ネットワークを介するコンテンツの視聴に対して課金する方法の一例が記載されている。特許文献3には、ストレージ使用領域の大きさだけでなく、ストレージの総合的な使用状況により課金するという技術が記載されている。   As a technique related to this, there is a patent document as described below. Japanese Patent Application Laid-Open No. 2004-228561 describes a technique for charging a pay-as-you-go system according to storage size and storage time for digital content data storage. Patent Document 2 describes an example of a method for charging for viewing of content via a network. Japanese Patent Application Laid-Open No. 2004-228561 describes a technique of charging based not only on the size of the storage usage area but also on the overall usage status of the storage.

特許文献4には、ネットワークを介するコンテンツの視聴に対して、再生時間もしくは情報量に基づいて課金するという技術が記載されている。特許文献5には、ネットワーク上のストレージとローカルドライブとで、ローカルドライブに記憶された容量が所定の閾値を超えると該データをネットワークドライブに移動し、ローカルドライブの空きが大きくなればネットワークドライブからデータを移動するという技術が記載されている。   Patent Document 4 describes a technique of charging for content viewing via a network based on reproduction time or information amount. In Patent Document 5, when the capacity stored in the local drive exceeds a predetermined threshold between the network storage and the local drive, the data is transferred to the network drive. A technique for moving data is described.

特許文献6には、データの重要度に応じて、品質と料金の異なるデータ格納場所の中で保管場所を判別して、保管および課金するという技術が記載されている。特許文献7には、ストレージに格納されたデータに対するアクセス速度をもとに課金するという技術が記載されている。   Patent Document 6 describes a technique in which a storage location is determined from data storage locations of different quality and fee according to the importance of data, and storage and charging are performed. Patent Document 7 describes a technique of charging based on the access speed for data stored in a storage.

特開2001−306831号公報JP 2001-306831 A 特開2001−357222号公報JP 2001-357222 A 特開2002−236852号公報JP 2002-236852 A 特開2003−167585号公報JP 2003-167585 A 特開2004−110290号公報JP 2004-110290 A 特開2006−113674号公報JP 2006-113694 A 特開2006−113824号公報JP 2006-113824 A

このようなレンタルストレージサービスにおいては通常、契約容量を超えてファイルを保存することはできないか、契約容量を超えた分の容量などに応じて超過料金が課金される。この超過料金は、思わぬ高額なものとなることがある。   In such rental storage services, it is usually impossible to store files exceeding the contracted capacity, or an excess charge is charged according to the capacity exceeding the contracted capacity. This excess charge can be unexpectedly expensive.

特許文献1のサービスにおいては、ユーザが使用できる上限の容量を定義せず、使った分だけ課金する仕組みを有しているので、ユーザがデータを蓄積できなくなる状態に陥ることはない。しかしながら、保管サイズと保管時間に応じた従量制課金であるため、大量のデータを長期間保存することにより、その課金は思わぬ高額なものとなる可能性がある。特許文献6のサービスにおいても、ユーザが使用できる容量を定義していないので、特許文献1と同様の問題がある。   The service disclosed in Patent Document 1 does not define the upper limit capacity that can be used by the user, and has a mechanism for charging only the amount used, so that the user will not be able to accumulate data. However, since it is a pay-per-use charge according to the storage size and the storage time, the charge may be unexpectedly high by storing a large amount of data for a long period of time. The service of Patent Document 6 also has the same problem as Patent Document 1 because the capacity that can be used by the user is not defined.

また、特許文献1および6のサービスにおいては、ユーザが使用できる上限容量についての考慮が無いため、ASP側が用意した記憶装置内の全容量までデータを蓄積することができてしまい、この場合にはサービス自体の停止、もしくは他のユーザへの悪影響などの不具合を招くといった問題もある。ASP側としては、契約容量を超えるデータ蓄積をユーザに許可し、かつサービス停止に陥らないようにするためには、磁気ディスクなどの記憶装置に対する十分な設備投資が必要である。   In the services of Patent Documents 1 and 6, since there is no consideration about the upper limit capacity that can be used by the user, data can be accumulated up to the entire capacity in the storage device prepared by the ASP. There is also a problem that the service itself is stopped or a problem such as an adverse effect on other users is caused. On the ASP side, sufficient capital investment for a storage device such as a magnetic disk is required in order to allow the user to accumulate data exceeding the contracted capacity and not to stop the service.

ただし、このために用意する記憶装置は、長期間にわたってデータの消失や破損などの危険性が少なく、かつユーザから高速に読み書きが可能なものである必要がある。そのため、データ読み書きの速度の高速性と、記憶されるデータに対して手厚いデータ保護の施策を備えた高信頼性とを有する、高性能な記憶装置を使用する必要がある。しかしながら、高性能な記憶装置は言うまでもなく単位記憶容量当たりの単価が高いので、これによって大きな記憶容量を準備するコストは膨大なものとなる。   However, a storage device prepared for this purpose needs to have a low risk of data loss or damage over a long period of time and can be read and written at high speed by a user. Therefore, it is necessary to use a high-performance storage device having high speed of data reading / writing and high reliability provided with a measure for protecting data stored. However, since a high-performance storage device has a high unit price per unit storage capacity, the cost for preparing a large storage capacity is enormous.

ちなみに特許文献5のサービスは、ネットワーク上のストレージとローカルドライブとの間でデータを移動させるだけであり、上記の問題を解決する構成を備えていない。それら以外の、特許文献2〜4および7も、上記の問題を解決する構成を備えていない。   Incidentally, the service of Patent Document 5 merely moves data between a storage on a network and a local drive, and does not have a configuration for solving the above-described problem. Other than those, Patent Documents 2 to 4 and 7 do not have a configuration for solving the above-described problem.

本発明の目的は、ASPにおいて、ユーザに過大な課金を発生させずに一時的に契約容量を超過してデータを蓄積することができ、かつ設備投資のコストを抑制することのできるファイル保管装置、ファイル保管方法およびプログラムを提供することにある。   An object of the present invention is to provide a file storage device capable of temporarily exceeding the contract capacity and storing data and suppressing the cost of capital investment in an ASP without causing excessive charging to the user. Another object is to provide a file storage method and program.

上記目的を達成するため、本発明に係るファイル保管装置は、ファイルを保存および削除することのできるファイル保管装置であって、あらかじめ定められた契約容量の範囲で単数および複数のファイルを保存および削除することのできる契約領域が確保されている第1のデータ格納部と、第1のデータ格納部とは別に設けられた第2のデータ格納部と、契約領域にファイルを追加することが可能な容量である契約領域空容量を記憶している管理情報格納部と、契約領域空容量を超える容量のファイルが契約領域に追加されようとしている場合、第2のデータ格納部に追加記憶領域を作成する蓄積情報制御部とを有することを特徴とする。   In order to achieve the above object, a file storage apparatus according to the present invention is a file storage apparatus capable of storing and deleting files, and storing and deleting a single file and a plurality of files within a predetermined contracted capacity range. A first data storage unit in which a contract area that can be secured is secured, a second data storage unit provided separately from the first data storage unit, and a file can be added to the contract area When the management information storage unit that stores the contract area free capacity that is the capacity and a file with a capacity that exceeds the contract area free capacity is about to be added to the contract area, an additional storage area is created in the second data storage unit And an accumulated information control unit.

上記目的を達成するため、本発明に係るファイル保管方法は、第1のデータ格納部と第2のデータ格納部とを有するファイル保管装置にファイルを保管する方法であって、第1のデータ格納部にあらかじめ定められた契約容量の範囲で単数および複数のファイルを保存および削除することのできる契約領域を確保する契約領域確保工程と、契約領域にファイルを追加することが可能な容量である契約領域空容量を記憶する契約領域空容量記憶工程と、契約領域に追加されようとしているファイルの容量が契約領域空容量を超えるか否かを判断する第1のファイル容量判断工程と、第1のファイル容量判断工程でファイルの容量が契約領域空容量を超える場合、第2のデータ格納部に追加記憶領域を作成する追加記憶領域作成工程とを有することを特徴とする。   In order to achieve the above object, a file archiving method according to the present invention is a method for archiving a file in a file archiving apparatus having a first data storage unit and a second data storage unit. A contract area securing process that secures a contract area where one or more files can be saved and deleted within the contract capacity range predetermined in the department, and a contract that is a capacity that can add files to the contract area A contract area free capacity storing step for storing area free capacity, a first file capacity determining step for determining whether or not the capacity of a file to be added to the contract area exceeds the contract area free capacity, And an additional storage area creation step of creating an additional storage area in the second data storage unit when the file capacity exceeds the contract area empty capacity in the file capacity determination step. The features.

上記目的を達成するため、本発明に係るファイル保管プログラムは、第1のデータ格納部と第2のデータ格納部とを有するファイル保管装置を制御するコンピュータに、第1のデータ格納部にあらかじめ定められた契約容量の範囲で単数および複数のファイルを保存および削除することのできる契約領域を確保する契約領域確保処理と、契約領域にファイルを追加することが可能な容量である契約領域空容量を記憶する契約領域空容量記憶処理と、契約領域に追加されようとしているファイルの容量が契約領域空容量を超えるか否かを判断する第1のファイル容量判断処理と、第1のファイル容量判断処理でファイルの容量が契約領域空容量を超える場合、第2のデータ格納部に追加記憶領域を作成する追加記憶領域作成処理とを実行させることを特徴とする。   In order to achieve the above object, a file archiving program according to the present invention is pre-determined in a first data storage unit in a computer that controls a file archiving apparatus having a first data storage unit and a second data storage unit. Contract area reservation processing that secures a contract area that can store and delete single and multiple files within the specified contract capacity range, and the contract area empty capacity that can add files to the contract area Contract area free capacity storage process to be stored, first file capacity determination process to determine whether the capacity of a file to be added to the contract area exceeds the contract area free capacity, and first file capacity determination process If the file capacity exceeds the contract area free space, the second data storage unit executes additional storage area creation processing for creating an additional storage area And wherein the door.

本発明は、契約容量を超えそうになった場合に、第1のデータ格納部と異なる第2のデータ格納部に追加記憶領域を作成するように構成したので、第2のデータ格納部を第1のデータ格納部より単位記憶容量当たりの単価の低いものとすることができる。これによって、ASPにおいて、ユーザに過大な課金を発生させずに一時的に契約容量を超過してデータを蓄積することができ、かつ設備投資のコストを抑制することができるという、従来にない優れたファイル保管装置、ファイル保管方法およびプログラムを提供することができる。   Since the present invention is configured to create the additional storage area in the second data storage unit different from the first data storage unit when the contracted capacity is about to be exceeded, the second data storage unit is provided in the second data storage unit. The unit price per unit storage capacity can be lower than that of one data storage unit. As a result, it is possible for ASP to temporarily exceed the contract capacity without accumulating excessive charges to the user and accumulate data, and to reduce the cost of capital investment, which is unprecedented. File storage device, file storage method, and program can be provided.

[第1の実施の形態]
図1は、本発明の第1の実施の形態に係るファイル保管装置10の構成を示す機能ブロック図である。ファイル保管装置10は、ネットワーク20に接続され、ディスク装置などのデータ格納装置を備えたコンピュータ装置によって構成される。ファイル保管装置10は、蓄積情報制御部11、管理情報格納部12、制御プログラム格納部13、高性能データ格納部14、低性能データ格納部15の各機能ブロックで構成される。各々の詳細な構成は後述する。
[First Embodiment]
FIG. 1 is a functional block diagram showing a configuration of a file storage apparatus 10 according to the first embodiment of the present invention. The file storage device 10 is configured by a computer device that is connected to the network 20 and includes a data storage device such as a disk device. The file archiving apparatus 10 includes functional blocks of an accumulation information control unit 11, a management information storage unit 12, a control program storage unit 13, a high performance data storage unit 14, and a low performance data storage unit 15. Each detailed configuration will be described later.

蓄積情報制御部11は、以後に説明する本実施の形態に係る動作を実行するコンピュータの主要部であり、制御プログラム格納部13から読み出されるプログラムを実行する。管理情報格納部12は、蓄積情報制御部11の動作に必要となる、各ユーザおよび各ストレージ装置(高性能データ格納部14および低性能データ格納部15を総称していう)などについてのデータを保存する。   The accumulated information control unit 11 is a main part of a computer that executes an operation according to the present embodiment to be described later, and executes a program read from the control program storage unit 13. The management information storage unit 12 stores data about each user and each storage device (collectively referring to the high-performance data storage unit 14 and the low-performance data storage unit 15) necessary for the operation of the accumulated information control unit 11. To do.

高性能データ格納部14および低性能データ格納部15は、磁気ディスク装置、光ディスク装置などによって構成されるデータ記憶装置である。ここでいう「性能」とは、データ読み書きの高速性と、記憶されるデータに対する信頼性とを合わせた概念である。特に記憶されるデータに対する保護の手厚さを、ここでは重視する。もちろん単位記憶容量当たりの単価が高い記憶装置であればあるほど、高性能であると言える。   The high-performance data storage unit 14 and the low-performance data storage unit 15 are data storage devices configured by a magnetic disk device, an optical disk device, or the like. “Performance” as used herein is a concept that combines high-speed data reading and writing and reliability of stored data. In particular, emphasis is placed on the level of protection of stored data. Of course, the higher the unit price per unit storage capacity, the higher the performance.

高性能データ格納部14は、ファイバチャネルやSCSIなどのような高性能なインターフェイスによって接続される高価なディスク装置に、さらにRAID−1またはRAID−10などのような、容量効率が低いが障害時にも転送速度の低下がないデータ保護の施策を施している。一方、低性能データ格納部15は、ATAなどのような低性能なインターフェイスによって接続される安価なディスク装置に、RAID−5などのような、容量効率が高いが障害時には転送速度の低下があるデータ保護の施策を施すか、もしくはそのような施策を特に行わない。   The high-performance data storage unit 14 is connected to an expensive disk device connected by a high-performance interface such as Fiber Channel or SCSI, and further has a low capacity efficiency such as RAID-1 or RAID-10, but at the time of failure. The company has also implemented data protection measures that do not reduce the transfer speed. On the other hand, the low-performance data storage unit 15 has a high capacity efficiency, such as RAID-5, in an inexpensive disk device connected by a low-performance interface such as ATA, but there is a decrease in transfer speed in the event of a failure. Take data protection measures or do not take such measures.

一方、ネットワーク20には携帯電話、モバイル端末、デスクトップPC、大型コンピュータなどのようなクライアント装置21が接続され、それらの端末からネットワーク20を介して、ファイル保管装置10が提供するレンタルストレージサービスを利用することができる。   On the other hand, a client device 21 such as a mobile phone, a mobile terminal, a desktop PC, or a large computer is connected to the network 20, and a rental storage service provided by the file storage device 10 is used from these terminals via the network 20. can do.

図2は、図1に示したファイル保管装置10によって提供されるレンタルストレージサービス(以後、単にサービスという)をクライアント装置21から見たイメージを示す概念図である。ユーザがサービスを契約すると、契約領域22として、契約された記憶容量(以後契約容量という)分のストレージが割り当てられる。   FIG. 2 is a conceptual diagram showing an image of a rental storage service (hereinafter simply referred to as a service) provided by the file storage device 10 shown in FIG. When the user contracts for the service, storage for the contracted storage capacity (hereinafter referred to as contract capacity) is allocated as the contract area 22.

ユーザは、クライアント装置21からネットワーク20を介して契約領域22にアクセスすることができる。当然のことではあるが、同一サービスを利用する他のユーザの契約領域22には、原則としてアクセスできない(契約内容などによっては、制限付きでアクセスが許可される場合もある)。   The user can access the contract area 22 from the client device 21 via the network 20. As a matter of course, the contract area 22 of other users who use the same service cannot be accessed in principle (depending on the contents of the contract, access may be permitted with restrictions).

図3は、図1に示したファイル保管装置10において、追加記憶領域23が作成される動作を示す概念図である。高性能データ格納部14は、複数の高性能ディスク装置34によって構成される。低性能データ格納部15は、複数の低性能ディスク装置35によって構成される。ユーザがサービスを契約すると割り当てられる契約領域22は、高性能データ格納部14に含まれる。   FIG. 3 is a conceptual diagram showing an operation of creating the additional storage area 23 in the file storage device 10 shown in FIG. The high performance data storage unit 14 includes a plurality of high performance disk devices 34. The low performance data storage unit 15 includes a plurality of low performance disk devices 35. The high-performance data storage unit 14 includes a contract area 22 assigned when a user contracts for a service.

一方、一時的に契約容量を超過するデータが記憶される場合には、その契約容量を超過した容量分の追加記憶領域23が一時的に作成される。追加記憶領域23は、低性能データ格納部15から、不足している容量の分の領域を作成して追加で割り当てることによって実現される。   On the other hand, when data that temporarily exceeds the contracted capacity is stored, an additional storage area 23 corresponding to the capacity exceeding the contracted capacity is temporarily created. The additional storage area 23 is realized by creating an area for the insufficient capacity from the low-performance data storage unit 15 and additionally assigning it.

図4は、図1に示したファイル保管装置10で、契約容量を超過するデータが記憶された場合の動作を示す概念図である。図4(a)は、契約領域22に契約容量を超えない容量の第1のユーザデータ41が記憶されている状態である。この状態から、第2のユーザデータ42を契約領域22に追加して記憶させる。第1のユーザデータ41と第2のユーザデータ42の容量を合わせても、まだ契約容量を超えない。   FIG. 4 is a conceptual diagram showing an operation when data exceeding the contracted capacity is stored in the file storage device 10 shown in FIG. FIG. 4A shows a state in which the first user data 41 having a capacity not exceeding the contract capacity is stored in the contract area 22. From this state, the second user data 42 is added to the contract area 22 and stored. Even if the capacities of the first user data 41 and the second user data 42 are combined, the contract capacity is not yet exceeded.

この場合、図4(b)に示すように、第1のユーザデータ41と第2のユーザデータ42は契約領域22内で連続して格納される。この時点で、第1のユーザデータ41と第2のユーザデータ42との合計容量を契約容量から引いた分の、空き容量が残っている。   In this case, as shown in FIG. 4B, the first user data 41 and the second user data 42 are continuously stored in the contract area 22. At this time, there is a free capacity that is equivalent to the total capacity of the first user data 41 and the second user data 42 subtracted from the contract capacity.

ここで、この空き容量を上回る容量の第3のユーザデータ43を、さらに追加して記憶させる。そこで、図4(c)に示すように、不足する容量、つまり第3のユーザデータ43の容量から空き容量を引いた分に相当する容量の、追加記憶領域23が作成される。これによって、図4(d)に示すように、第1のユーザデータ41と第2のユーザデータ42に、さらに第3のユーザデータ43が連続して、契約領域22と追加記憶領域23とを合わせた領域に記憶される。以上のように、データ登録時には、必ず各データはストレージ内に連続して配置される。   Here, the third user data 43 having a capacity exceeding the free capacity is additionally stored. Therefore, as shown in FIG. 4C, an additional storage area 23 having a capacity corresponding to the capacity that is insufficient, that is, the capacity obtained by subtracting the free capacity from the capacity of the third user data 43 is created. As a result, as shown in FIG. 4D, the first user data 41 and the second user data 42 are further followed by the third user data 43 so that the contract area 22 and the additional storage area 23 are stored. It is stored in the combined area. As described above, at the time of data registration, each data is always arranged continuously in the storage.

図5は、図1に示したファイル保管装置10で、不要データの削除によって追加記憶領域23が開放される動作を示す概念図である。図5(a)は、図4(d)と同様に、第1〜第3のユーザデータ41〜43が、契約領域22と追加記憶領域23とを合わせた領域に連続して記憶されている状態を示す。ここで、第2のユーザデータ42を削除することを考える。第1のユーザデータ41と第3のユーザデータ43との合計容量は、契約容量を下回るので、追加記憶領域23を使用せずに契約領域22だけで格納することができる容量である。   FIG. 5 is a conceptual diagram showing an operation in which the additional storage area 23 is released by deleting unnecessary data in the file storage apparatus 10 shown in FIG. 5A, similarly to FIG. 4D, the first to third user data 41 to 43 are continuously stored in the area including the contract area 22 and the additional storage area 23. Indicates the state. Here, it is considered that the second user data 42 is deleted. Since the total capacity of the first user data 41 and the third user data 43 is less than the contract capacity, it is a capacity that can be stored only in the contract area 22 without using the additional storage area 23.

この場合、図5(b)に示すように、契約領域22内の、第2のユーザデータ42を削除することによって空いた領域に、第3のユーザデータ43が移動される。第3のユーザデータ43は、第1のユーザデータ41と連続する状態となる。このようにすれば、図5(c)に示すように、追加記憶領域23にデータが存在しない状態となるので、追加記憶領域23は低性能データ格納部15に返却され、図5(d)に示すように契約領域22だけを使用する状態となる。   In this case, as shown in FIG. 5B, the third user data 43 is moved to an area freed by deleting the second user data 42 in the contract area 22. The third user data 43 is in a state continuous with the first user data 41. By doing so, as shown in FIG. 5C, there is no data in the additional storage area 23, so the additional storage area 23 is returned to the low performance data storage unit 15, and FIG. As shown, only the contract area 22 is used.

ここで、第1のユーザデータ41と第3のユーザデータ43との合計容量が契約容量を上回る場合は、追加記憶領域23を返却することはできない。ただし、この場合も、第2のユーザデータ42が削除されれば、第3のユーザデータ43は移動されて、第1のユーザデータ41と連続する状態となる。追加記憶領域23をもともと使用していない場合も同様である。必ず各データはストレージ内に連続して配置されることが、本実施の形態では鉄則である。   Here, when the total capacity of the first user data 41 and the third user data 43 exceeds the contract capacity, the additional storage area 23 cannot be returned. However, in this case as well, if the second user data 42 is deleted, the third user data 43 is moved and is in a state continuous with the first user data 41. The same applies when the additional storage area 23 is not originally used. It is a rule in this embodiment that each data is always arranged continuously in the storage.

図6は、図1に示したファイル保管装置10で、データの更新の動作を示す概念図である。図6(a)は、契約領域22内に、第1〜第3のユーザデータ41〜43が連続して記憶されている状態を示す。ここで、第2のユーザデータ42を削除して、第4のユーザデータ44を記憶させることを考える。つまり、第2のユーザデータ42が、更新されて第4のユーザデータ44になる。この場合も、まず図6(b)に示すように第2のユーザデータ42を削除し、さらに図6(c)に示すように、それによって空いた領域に第3のユーザデータ43を移動して第1のユーザデータ41と連続する状態とする。その上で、図6(d)に示すように、第3のユーザデータ43と連続するように、第4のユーザデータ44が記憶される。   FIG. 6 is a conceptual diagram showing an operation of updating data in the file storage device 10 shown in FIG. FIG. 6A shows a state in which the first to third user data 41 to 43 are continuously stored in the contract area 22. Here, it is considered that the second user data 42 is deleted and the fourth user data 44 is stored. That is, the second user data 42 is updated to become fourth user data 44. Also in this case, first, the second user data 42 is deleted as shown in FIG. 6 (b), and the third user data 43 is moved to an vacant area as shown in FIG. 6 (c). The first user data 41 is in a continuous state. In addition, as shown in FIG. 6D, fourth user data 44 is stored so as to be continuous with the third user data 43.

この場合は、契約領域22内であっても、契約領域22と追加記憶領域23とを合わせた領域であっても、動作は同一である。記憶容量の変化によって必要が生じた場合に、図4および図5に示した追加記憶領域23の追加もしくは解放の動作を行うようにするとよい。   In this case, the operation is the same whether in the contract area 22 or in the area where the contract area 22 and the additional storage area 23 are combined. When a need arises due to a change in storage capacity, an operation for adding or releasing the additional storage area 23 shown in FIGS. 4 and 5 may be performed.

図7は、図1に示したファイル保管装置10におけるファイル管理情報101の構成を示す概念図である。契約領域22と追加記憶領域23とを合わせて、ユーザ領域100という。ユーザ領域100に対するファイル管理情報101は、管理情報格納部12に記憶される。   FIG. 7 is a conceptual diagram showing the configuration of the file management information 101 in the file storage apparatus 10 shown in FIG. The contract area 22 and the additional storage area 23 are collectively referred to as a user area 100. The file management information 101 for the user area 100 is stored in the management information storage unit 12.

いま、ユーザ領域100に、N個のユーザデータ41a〜…(ファイル(1)〜ファイル(N))が保存されているものとする。それらに対応するファイル管理情報101は、ユーザ領域100の存在するディスク装置の識別子を示すディスクID111、該ユーザがユーザ領域100に記憶させているファイル数Nを示す格納ファイル数112、および各ユーザデータ(ファイル(1)〜ファイル(N))ごとに与えられる識別子121、格納位置先頭アドレス122、データサイズ123からなる。   Now, it is assumed that N pieces of user data 41a to (file (1) to file (N)) are stored in the user area 100. The corresponding file management information 101 includes a disk ID 111 indicating the identifier of the disk device in which the user area 100 exists, a stored file number 112 indicating the number N of files stored in the user area 100 by the user, and each user data It consists of an identifier 121, a storage location start address 122, and a data size 123 given for each (file (1) to file (N)).

以後、ファイル管理情報101の中でn番目のユーザデータ41a〜…であるファイル(n)に対する識別子121、格納位置先頭アドレス122、およびデータサイズ123を各々、識別子(n)、格納位置先頭アドレス(n)、データサイズ(n)のように表す。(nおよびNは自然数であり、かつ1≦n≦N)   Thereafter, the identifier 121, the storage location start address 122, and the data size 123 for the file (n) that is the nth user data 41a to... In the file management information 101 are respectively represented by the identifier (n) and the storage location start address ( n) and data size (n). (N and N are natural numbers and 1 ≦ n ≦ N)

図8は、図1に示したファイル保管装置10の構成をさらに詳しく示す機能ブロック図である。蓄積情報制御部11は、ハードウェアとしてはCPU211、通信制御装置212、第1の一時蓄積メモリ213、第2の一時蓄積メモリ214、内部時計215、RAID制御装置216、および仮想記憶領域管理テーブル217で構成される。   FIG. 8 is a functional block diagram showing the configuration of the file storage apparatus 10 shown in FIG. 1 in more detail. The storage information control unit 11 includes, as hardware, a CPU 211, a communication control device 212, a first temporary storage memory 213, a second temporary storage memory 214, an internal clock 215, a RAID control device 216, and a virtual storage area management table 217. Consists of.

通信制御装置212は、CPU211で実行されるプログラムがネットワーク20にアクセスするためのインターフェイスである。RAID制御装置216は、CPU211で実行されるプログラムが高性能データ格納部14および低性能データ格納部15にアクセスするためのインターフェイスである。   The communication control device 212 is an interface for a program executed by the CPU 211 to access the network 20. The RAID control device 216 is an interface for a program executed by the CPU 211 to access the high performance data storage unit 14 and the low performance data storage unit 15.

第1の一時蓄積メモリ213は、CPU211と通信制御装置212との間で受け渡しされるデータを一時保存する一時蓄積メモリである。第2の一時蓄積メモリ214は、CPU211とRAID制御装置216との間で受け渡しされるデータを一時保存する一時蓄積メモリである。これらの一時蓄積メモリ213および214は、望ましくは大容量の廉価なDRAMによって実装される。   The first temporary storage memory 213 is a temporary storage memory that temporarily stores data transferred between the CPU 211 and the communication control device 212. The second temporary storage memory 214 is a temporary storage memory that temporarily stores data transferred between the CPU 211 and the RAID control device 216. These temporary storage memories 213 and 214 are preferably implemented by a large capacity inexpensive DRAM.

仮想記憶領域管理テーブル217は、RAID制御装置216によって作成される情報を記憶するものであり、高速なアクセスおよび比較的長期のデータ保管のために、望ましくは不揮発性メモリによって実装される。   The virtual storage area management table 217 stores information created by the RAID controller 216, and is preferably implemented by a non-volatile memory for high-speed access and relatively long-term data storage.

前述のように、高性能データ格納部14は、複数の高性能ディスク装置34によって構成される。低性能データ格納部15は、複数の低性能ディスク装置35によって構成される。契約領域22および追加記憶領域23はユーザから見れば連続領域に蓄積されているようになっているが、実際には契約領域22は高性能データ格納部14に、追加記憶領域23は低性能データ格納部15に格納される。   As described above, the high-performance data storage unit 14 includes a plurality of high-performance disk devices 34. The low performance data storage unit 15 includes a plurality of low performance disk devices 35. The contract area 22 and the additional storage area 23 are accumulated in a continuous area from the viewpoint of the user, but the contract area 22 is actually stored in the high-performance data storage unit 14 and the additional storage area 23 is stored in the low-performance data area. It is stored in the storage unit 15.

このため、仮想記憶領域管理テーブル217は、ユーザから見る契約領域22および追加記憶領域23と、それらが実際に格納される高性能データ格納部14および低性能データ格納部15の、各々の格納位置の対応を記憶する。   For this reason, the virtual storage area management table 217 stores the storage areas of the contract area 22 and the additional storage area 23 viewed from the user, and the high performance data storage section 14 and the low performance data storage section 15 where they are actually stored. Memorize the correspondence.

内部時計215は、詳しくは後述するが、ユーザが追加記憶領域23を使用した時間を測定するために使用される。   Although described in detail later, the internal clock 215 is used to measure the time that the user has used the additional storage area 23.

管理情報格納部12は、前述のファイル管理情報101、および各ユーザごとの課金情報300を、ディスクID111をキーとして対応させて記憶しているものであり、高速なアクセス、比較的長期のデータ保管、および将来の容量追加のために、望ましくは不揮発性メモリもしくは高性能のディスク装置103などによって実装される。   The management information storage unit 12 stores the file management information 101 and the billing information 300 for each user in association with the disk ID 111 as a key. High-speed access and relatively long-term data storage In order to add capacity in the future, it is preferably implemented by a non-volatile memory or a high-performance disk device 103.

制御プログラム格納部13は、CPU211において以後の説明で示される処理を実行するプログラム231を記憶しているものであり、高速なアクセス、比較的長期のデータ保管、および格納するプログラムの保守のために、望ましくは不揮発性メモリによって実装される。   The control program storage unit 13 stores a program 231 that executes processing shown in the following description in the CPU 211, for high-speed access, relatively long-term data storage, and maintenance of the stored program. Preferably implemented by non-volatile memory.

以上で示した構成のファイル保管装置10に対して、ネットワーク20から通信回線を通して、クライアント装置21からの要求が蓄積情報制御部11に届くと、通信制御装置212は該要求の内容を解析し、データを第1の一時蓄積メモリ213に記憶した後、CPU211に対して該要求の処理を要求する。   When the request from the client device 21 reaches the stored information control unit 11 through the communication line from the network 20 to the file storage device 10 having the configuration described above, the communication control device 212 analyzes the content of the request, After the data is stored in the first temporary storage memory 213, the CPU 211 is requested to process the request.

CPU211はこの要求に基づき、第1の一時蓄積メモリ213に記憶されたデータを順次読み込み、要求を解析し、必要なプログラム231を制御プログラム格納部13から読み込み、該要求に対応するユーザの情報を管理情報格納部12から読み出し、処理を行う。このとき必要に応じて、管理情報格納部12内のファイル管理情報101および課金情報300を変更する。そして該要求に対応して、CPU211はRAID制御装置216に対してストレージ装置への書き込み要求を行う。このときのデータの受け渡しに、第2の一時蓄積メモリ214が使用される。   Based on this request, the CPU 211 sequentially reads data stored in the first temporary storage memory 213, analyzes the request, reads the necessary program 231 from the control program storage unit 13, and obtains user information corresponding to the request. Read from the management information storage unit 12 and perform processing. At this time, the file management information 101 and the billing information 300 in the management information storage unit 12 are changed as necessary. In response to the request, the CPU 211 issues a write request to the storage apparatus to the RAID control apparatus 216. The second temporary storage memory 214 is used for data transfer at this time.

図9は、図8に示した課金情報300のデータ構成を示す概念図である。課金情報300は、各々のユーザを表す情報として、顧客ID301、顧客名称302、顧客住所303、契約容量304、拡張領域最大容量305、契約容量超過時猶予時間306、連絡先メールアドレス307、契約開始日付308などを含む。   FIG. 9 is a conceptual diagram showing a data structure of billing information 300 shown in FIG. The billing information 300 includes customer ID 301, customer name 302, customer address 303, contract capacity 304, extended area maximum capacity 305, contract capacity excess grace time 306, contact e-mail address 307, contract start as information representing each user. Date 308 and the like are included.

このうち契約容量304は、契約領域22の容量である。拡張領域最大容量305は、契約に基づいて許可される追加記憶領域23の最大容量である。この容量を超える追加記憶領域23を作成することはできない。契約容量超過時猶予時間306は、追加記憶領域23を使用することが許可される時間の最大値であり、契約条件に基づいてたとえば「1ヶ月に合計72時間以内」などのように設定される。これを超えて追加記憶領域23を使用したユーザには、たとえばペナルティとして、契約容量超過時猶予時間306を超えた期間に対応する額を課金する(以後、このような課金を拡張課金という)などの措置を取ることができる。   Of these, the contract capacity 304 is the capacity of the contract area 22. The expansion area maximum capacity 305 is the maximum capacity of the additional storage area 23 permitted based on the contract. The additional storage area 23 exceeding this capacity cannot be created. The contract capacity excess grace time 306 is the maximum value of the time allowed to use the additional storage area 23, and is set based on the contract conditions such as “within a total of 72 hours per month”, for example. . For users who use the additional storage area 23 beyond this, for example, as a penalty, an amount corresponding to a period exceeding the contract capacity excess grace time 306 is charged (hereinafter, such charging is referred to as extended charging), etc. Can take measures.

また、課金情報300は、各々のユーザの該サービスの使用状況を表す情報として、契約領域ディスクID309、契約領域空容量310、追加記憶領域ディスクID311、追加記憶領域空容量312、容量超過フラグ313、拡張課金フラグ314、累積超過時間315、超過発生日時316、更新日時317などを含む。   In addition, the billing information 300 includes, as information indicating the usage status of the service of each user, a contract area disk ID 309, a contract area free capacity 310, an additional storage area disk ID 311, an additional storage area free capacity 312, an over capacity flag 313, An extended charging flag 314, an accumulated excess time 315, an excess occurrence date and time 316, an update date and time 317, and the like are included.

契約領域ディスクID309は、契約に基づき割り当てられた契約領域22を表す識別子であり、ファイル管理情報101に含まれるディスクID111に対応する。契約領域空容量310は、契約領域ディスクID309で表される契約領域22の、契約容量304に対する空き容量である。追加記憶領域ディスクID311は、契約領域22に付加された追加記憶領域23を表す識別子である。追加記憶領域空容量312は、追加記憶領域ディスクID311で表される追加記憶領域23の、拡張領域最大容量305に対する空き容量である。   The contract area disk ID 309 is an identifier representing the contract area 22 assigned based on the contract, and corresponds to the disk ID 111 included in the file management information 101. The contract area free capacity 310 is a free capacity for the contract capacity 304 in the contract area 22 represented by the contract area disk ID 309. The additional storage area disk ID 311 is an identifier representing the additional storage area 23 added to the contract area 22. The additional storage area free space 312 is a free capacity with respect to the extended area maximum capacity 305 of the additional storage area 23 represented by the additional storage area disk ID 311.

容量超過フラグ313および拡張課金フラグ314はブーリアン変数である。容量超過フラグ313は、追加記憶領域23が割り当てられている状態だとYesとなり、そうでなければNoとなる。拡張課金フラグ314は、契約容量超過時猶予時間306を超えて追加記憶領域23を使用している、つまり拡張課金が必要な状態だとYesとなり、そうでなければNoとなる。累積超過時間315は、課金対象期間内に追加記憶領域23を使用した累積時間を表す。超過発生日時316は、最も新しく追加記憶領域23が割り当てられた日時を表す。更新日時317は、これらのデータが最も新しく更新された日時を表す。   The excess capacity flag 313 and the extended charging flag 314 are Boolean variables. The capacity excess flag 313 is Yes if the additional storage area 23 is allocated, and No otherwise. The extended charging flag 314 is Yes when the additional storage area 23 is used beyond the contract capacity excess grace time 306, that is, when extended charging is required, and No otherwise. The accumulated excess time 315 represents the accumulated time during which the additional storage area 23 is used within the accounting target period. The excess occurrence date and time 316 represents the date and time when the additional storage area 23 was allocated most recently. The update date and time 317 represents the date and time when these data were updated most recently.

このような課金情報300を持つことにより、契約領域22と追加記憶領域23とを合わせた占有容量がユーザごとに自明なものとなるので、容量超過状態に陥ったことや、その容量超過状態が解消されたことなどを容易に検出し、それに対応した動作を的確に行うことができる。   By having such billing information 300, the occupied capacity of the contract area 22 and the additional storage area 23 becomes obvious for each user. It is possible to easily detect that the problem has been resolved and to perform an operation corresponding to it.

図10は、図1および図8に示したファイル保管装置10で、ユーザがクライアント装置21を介してユーザ領域100にデータ登録を依頼した際に、プログラム231がファイル管理情報101に対して行う処理を表すフローチャートである。ここでは、ユーザ領域100にN件のファイル(1)〜ファイル(N)が格納されている状態から、新たにN+1件目のデータであるファイル(N+1)を追加するものである。   FIG. 10 shows the processing performed by the program 231 for the file management information 101 when the user requests data registration to the user area 100 via the client device 21 in the file storage device 10 shown in FIGS. It is a flowchart showing. Here, from the state where N files (1) to (N) are stored in the user area 100, a file (N + 1) which is N + 1th data is newly added.

実行開始されると、格納ファイル数112に登録されているファイル数NをN+1に更新し(ステップS401)、ファイル(N+1)の識別子(N+1)、格納位置先頭アドレス(N+1)、データサイズ(N+1)を各々ファイル管理情報101に追加する(ステップS402〜404)。その後で、ユーザ領域100にファイル(N+1)の実際のデータを蓄積して(ステップS405)、処理を終了する。   When the execution starts, the number N of files registered in the stored file number 112 is updated to N + 1 (step S401), the identifier (N + 1) of the file (N + 1), the storage location start address (N + 1), and the data size (N + 1) ) Is added to the file management information 101 (steps S402 to 404). Thereafter, the actual data of the file (N + 1) is accumulated in the user area 100 (step S405), and the process is terminated.

図11は、図1および図8に示したファイル保管装置10で、ユーザがクライアント装置21を介してユーザ領域100にデータ削除を依頼した際に、プログラム231がファイル管理情報101に対して行う処理を表すフローチャートである。ここでは、ユーザ領域100にN件のファイル(1)〜ファイル(N)が格納されている状態から、その中のM件目のデータであるファイル(M)を削除するものである。(Mは自然数であり、かつ1≦M≦N)   FIG. 11 shows processing performed by the program 231 for the file management information 101 when the user requests the user area 100 to delete data via the client device 21 in the file storage device 10 shown in FIGS. It is a flowchart showing. Here, from the state where N files (1) to (N) are stored in the user area 100, the file (M), which is the Mth data, is deleted. (M is a natural number and 1 ≦ M ≦ N)

実行開始されると、まずユーザ領域100においてファイル(M)の次のファイルであるファイル(M+1)を、削除されたファイル(M)のデータサイズの分だけ移動させる(ステップS451)。続いて識別子(M)を識別子(M+1)で上書きし(ステップS452)、格納位置先頭アドレス(M)をステップS451によって移動した後の値で上書きし(ステップS453)、データサイズ(M)をデータサイズ(M+1)で上書きする(ステップS454)。   When the execution is started, the file (M + 1) that is the next file (M) in the user area 100 is first moved by the data size of the deleted file (M) (step S451). Subsequently, the identifier (M) is overwritten with the identifier (M + 1) (step S452), the storage position head address (M) is overwritten with the value after being moved in step S451 (step S453), and the data size (M) is changed to data. Overwriting is performed with the size (M + 1) (step S454).

その後でMの値を1だけ増加し(ステップS455)、Mの値がNに到達したか否かを判断する(ステップS456)。到達していればステップS457以降に進み、到達していなければステップS451に戻る。ステップS451〜456の工程の繰り返しで、削除対象のファイル(M)は上書きされる。   Thereafter, the value of M is increased by 1 (step S455), and it is determined whether or not the value of M has reached N (step S456). If it has reached, the process proceeds to step S457 and thereafter, and if not, the process returns to step S451. By repeating the steps S451 to S456, the file (M) to be deleted is overwritten.

ステップS456でMの値がNに到達していれば、識別子(N)、格納位置先頭アドレス(N)、データサイズ(N)を各々削除し(ステップS457〜459)、格納ファイル数112の値NをN−1に更新し(ステップS460)、処理を終了する。   If the value of M has reached N in step S456, the identifier (N), storage location head address (N), and data size (N) are deleted (steps S457 to 459), and the value of the number of stored files 112 N is updated to N-1 (step S460), and the process ends.

なお、データを更新する場合は、図11に示した処理で更新前のデータを削除した後、図10に示した処理で更新後のデータを追加する。   In the case of updating data, after the data before update is deleted by the process shown in FIG. 11, the data after update is added by the process shown in FIG.

図12は、図10に示したデータ登録の処理の際に、プログラム231が課金情報300に対して行う処理を表すフローチャートである。まず新規に登録されるファイル(N+1)の容量であるデータサイズ(N+1)について確認した(ステップS501)後、課金情報300に記録されている容量超過フラグ313、契約領域空容量310および追加記憶領域空容量312を確認する(ステップS502)。なお、この段階ではデータサイズ(N+1)はまだファイル管理情報101に登録されていないが、ここでは便宜上ファイル(N+1)の容量をデータサイズ(N+1)という。   FIG. 12 is a flowchart showing processing performed by the program 231 for the billing information 300 during the data registration processing shown in FIG. First, after confirming the data size (N + 1) which is the capacity of the newly registered file (N + 1) (step S501), the capacity excess flag 313, the contract area free capacity 310 and the additional storage area recorded in the billing information 300 are checked. The free capacity 312 is confirmed (step S502). At this stage, the data size (N + 1) is not yet registered in the file management information 101, but here the capacity of the file (N + 1) is referred to as the data size (N + 1) for convenience.

そして、容量超過フラグ313がYesであるか否かを判断する(ステップS503)。容量超過フラグ313がYesであれば追加記憶領域23が現在割り当てられているので、後述のステップS531に進む。容量超過フラグ313がNoであれば追加記憶領域23が現在割り当てられていないので、ステップS504に進む。   Then, it is determined whether or not the capacity excess flag 313 is Yes (step S503). If the excess capacity flag 313 is Yes, the additional storage area 23 is currently allocated, and the process proceeds to step S531 described later. If the excess capacity flag 313 is No, the additional storage area 23 is not currently allocated, and the process proceeds to step S504.

追加記憶領域23が現在割り当てられていない状態であれば、ステップS501で確認したデータサイズ(N+1)が、契約領域空容量310より大きいか否かを判断する(ステップS504)。データサイズ(N+1)が契約領域空容量310より大きければ、新規に追加記憶領域23を割り当てる必要があるので、ステップS521に進む。データサイズ(N+1)が契約領域空容量310以内であれば、追加記憶領域23を割り当てる必要はないので、ステップS511に進む。   If the additional storage area 23 is not currently allocated, it is determined whether or not the data size (N + 1) confirmed in step S501 is larger than the contract area free capacity 310 (step S504). If the data size (N + 1) is larger than the contract area free space 310, it is necessary to newly allocate the additional storage area 23, so the process proceeds to step S521. If the data size (N + 1) is within the contract area free space 310, it is not necessary to allocate the additional storage area 23, so the process proceeds to step S511.

ステップS503〜504の判断でステップS511に進んだ場合は、追加記憶領域23が現在割り当てられていず、ファイル(N+1)を登録した後も追加記憶領域23を割り当てる必要はないということを意味する。この場合は、内部時計215から現在時刻を取得し(ステップS511)、契約領域空容量310の値を現在の値からデータサイズ(N+1)を減算した値に更新し(ステップS512)、更新日時317をステップS511で取得した時刻に更新する(ステップS513)。そしてステップS551に進み、図10で示したデータ登録処理を実行する。   If the process proceeds to step S511 as determined in steps S503 to S504, it means that the additional storage area 23 is not currently allocated and it is not necessary to allocate the additional storage area 23 after the file (N + 1) is registered. In this case, the current time is acquired from the internal clock 215 (step S511), the value of the contract area free space 310 is updated to a value obtained by subtracting the data size (N + 1) from the current value (step S512), and the update date and time 317. Is updated to the time acquired in step S511 (step S513). In step S551, the data registration process shown in FIG. 10 is executed.

ステップS503〜504の判断でステップS521に進んだ場合は、追加記憶領域23が現在割り当てられていないが、契約領域空容量310だけではファイル(N+1)を登録することができないということを意味する。この場合は、データサイズ(N+1)が、契約領域空容量310と追加記憶領域空容量312とを合わせた値より大きいか否かを判断する(ステップS521)。   If the process proceeds to step S521 based on the determination in steps S503 to S504, it means that the additional storage area 23 is not currently allocated, but the file (N + 1) cannot be registered with the contract area free space 310 alone. In this case, it is determined whether or not the data size (N + 1) is larger than the sum of the contract area free capacity 310 and the additional storage area free capacity 312 (step S521).

ステップS521で、データサイズ(N+1)が、契約領域空容量310と追加記憶領域空容量312とを合わせた値より大きければ、追加記憶領域23を割り当てたとしてもファイル(N+1)を登録するために十分な空き容量が得られずにオーバーフロー状態になることを意味するので、ステップS541のエラー処理に進む。そうでなければ、ステップS522に進む。   If the data size (N + 1) is larger than the sum of the contract area free space 310 and the additional storage area free space 312 in step S521, the file (N + 1) is registered even if the additional storage area 23 is allocated. Since this means that sufficient free capacity cannot be obtained and an overflow state occurs, the process proceeds to error processing in step S541. Otherwise, the process proceeds to step S522.

ステップS522に進んだ場合は、ファイル(N+1)を登録するために追加記憶領域23を新規に割り当てることになる。まず内部時計215から現在時刻を取得し(ステップS522)、容量超過フラグ313の値をYesに変更し(ステップS523)、超過発生日時316をステップS522で取得した時刻に更新し(ステップS524)、契約領域空容量310の値を0に更新する(ステップS525)。   When the process proceeds to step S522, the additional storage area 23 is newly allocated to register the file (N + 1). First, the current time is acquired from the internal clock 215 (step S522), the value of the capacity excess flag 313 is changed to Yes (step S523), and the excess occurrence date and time 316 is updated to the time acquired in step S522 (step S524). The value of the contract area free space 310 is updated to 0 (step S525).

そして低性能データ格納部15から追加記憶領域23を取得し(ステップS526)、取得された追加記憶領域23の追加記憶領域ディスクID311を登録し(ステップS527)、ファイル(N+1)を登録した場合の追加記憶領域23の空き容量を計算して追加記憶領域空容量312に登録し(ステップS528)、更新日時317をステップS522で取得した時刻に更新する(ステップS529)。そしてステップS551に進み、図10で示したデータ登録処理を実行する。   Then, the additional storage area 23 is acquired from the low performance data storage unit 15 (step S526), the additional storage area disk ID 311 of the acquired additional storage area 23 is registered (step S527), and the file (N + 1) is registered. The free capacity of the additional storage area 23 is calculated and registered in the additional storage area free capacity 312 (step S528), and the update date and time 317 is updated to the time acquired in step S522 (step S529). In step S551, the data registration process shown in FIG. 10 is executed.

ステップS503の判断でステップS531に進んだ場合は、追加記憶領域23が既に割り当てられていることを意味する。契約領域空容量310は0である。この場合は、データサイズ(N+1)が追加記憶領域空容量312より大きいか否かを判断する(ステップS531)。データサイズ(N+1)が追加記憶領域空容量312より大きければ、ファイル(N+1)を登録するために十分な空き容量が得られずにオーバーフロー状態になることを意味するので、ステップS541のエラー処理に進む。そうでなければ、ステップS532に進む。   If the process proceeds to step S531 in the determination of step S503, it means that the additional storage area 23 has already been allocated. The contract area free space 310 is zero. In this case, it is determined whether or not the data size (N + 1) is larger than the additional storage area free space 312 (step S531). If the data size (N + 1) is larger than the additional storage area free space 312, it means that sufficient free space for registering the file (N + 1) is not obtained and an overflow state occurs. move on. Otherwise, the process proceeds to step S532.

ステップS532に進んだ場合は、まず内部時計215から現在時刻を取得し(ステップS532)、累積超過時間315の値を「ステップS532で取得した時刻から超過発生日時316を引いた時間」に更新する(ステップS533)。そしてファイル(N+1)を登録した場合の追加記憶領域23の空き容量を計算して追加記憶領域空容量312を更新(ステップS534)、更新日時317をステップS532で取得した時刻に更新する(ステップS535)。そしてステップS551に進み、図10で示したデータ登録処理を実行する。   When the process proceeds to step S532, first the current time is acquired from the internal clock 215 (step S532), and the value of the accumulated excess time 315 is updated to “the time obtained by subtracting the excess occurrence date and time 316 from the time acquired in step S532”. (Step S533). Then, the free capacity of the additional storage area 23 when the file (N + 1) is registered is calculated to update the additional storage area free capacity 312 (step S534), and the update date and time 317 is updated to the time acquired in step S532 (step S535). ). In step S551, the data registration process shown in FIG. 10 is executed.

ステップS521もしくは531の判断でステップS541に進んだ場合は、オーバーフロー状態が生じてファイル(N+1)を登録することはできないので、データ登録の依頼元であるクライアント装置21にエラーメッセージを返して(ステップS541)、処理を終了する。   If the process proceeds to step S541 as determined in step S521 or 531, an overflow condition has occurred and the file (N + 1) cannot be registered, so an error message is returned to the client device 21 that is the data registration request source (step S541), the process ends.

ステップS551に進んだ場合は、ファイル(N+1)の登録が可能であるということを意味するので、図10で示したデータ登録処理を実行してファイル(N+1)を登録し(ステップS551)、処理を終了する。   If the process proceeds to step S551, it means that the file (N + 1) can be registered. Therefore, the data registration process shown in FIG. 10 is executed to register the file (N + 1) (step S551). Exit.

図13は、図11に示したデータ削除の処理の際に、プログラム231が課金情報300に対して行う処理を表すフローチャートである。まず削除されるファイル(M)の容量であるデータサイズ(M)について確認した(ステップS601)後、課金情報300に記録されている容量超過フラグ313、契約領域空容量310、追加記憶領域空容量312、拡張領域最大容量305を確認する(ステップS602)。その後で、図11で示したデータ削除処理を実行してファイル(M)を削除する(ステップS603)。   FIG. 13 is a flowchart showing processing performed by the program 231 for the billing information 300 during the data deletion processing shown in FIG. First, after confirming the data size (M) that is the capacity of the file (M) to be deleted (step S601), the excess capacity flag 313, the contract area free capacity 310, the additional storage area free capacity recorded in the billing information 300 are checked. 312 and the extended area maximum capacity 305 are confirmed (step S602). Thereafter, the data deletion process shown in FIG. 11 is executed to delete the file (M) (step S603).

そして、容量超過フラグ313がYesであるか否かを判断する(ステップS604)。容量超過フラグ313がYesであれば追加記憶領域23が現在割り当てられているので、後述のステップS605に進む。容量超過フラグ313がNoであれば追加記憶領域23が現在割り当てられていないので、ステップS611に進む。   Then, it is determined whether or not the capacity excess flag 313 is Yes (step S604). If the excess capacity flag 313 is Yes, the additional storage area 23 is currently allocated, and the process proceeds to step S605 described later. If the excess capacity flag 313 is No, the additional storage area 23 is not currently allocated, and the process advances to step S611.

追加記憶領域23が現在割り当てられている状態であれば、ステップS601で確認したデータサイズ(M)と、ステップS602で確認した追加記憶領域空容量312とを合わせた容量が、拡張領域最大容量305より大きいか否かを判断する(ステップS605)。データサイズ(M)と追加記憶領域空容量312とを合わせた容量が拡張領域最大容量305より大きければ、追加記憶領域23を使用する必要が無くなったことになるので、ステップS621に進む。合わせた容量が拡張領域最大容量305以内であれば、追加記憶領域23を引き続き使用するので、ステップS631に進む。   If the additional storage area 23 is currently allocated, the combined capacity of the data size (M) confirmed in step S601 and the additional storage area free capacity 312 confirmed in step S602 is the expansion area maximum capacity 305. It is determined whether it is larger (step S605). If the combined capacity of the data size (M) and the additional storage area free capacity 312 is larger than the expansion area maximum capacity 305, it is not necessary to use the additional storage area 23, and the process proceeds to step S621. If the combined capacity is within the expansion area maximum capacity 305, the additional storage area 23 is continuously used, and the process proceeds to step S631.

ステップS604の判断でステップS611に進んだ場合は、追加記憶領域23が現在割り当てられていないということを意味する。この状態からファイル(M)を削除した場合は、契約領域空容量310はそこからデータサイズ(M)だけ大きくなるので、追加記憶領域23を割り当てる必要は当然ない。この場合は、内部時計215から現在時刻を取得し(ステップS611)、契約領域空容量310の値を現在の値からデータサイズ(M)を加算した値に更新し(ステップS612)、更新日時317をステップS611で取得した時刻に更新し(ステップS613)、処理を終了する。   If the process proceeds to step S611 in the determination of step S604, it means that the additional storage area 23 is not currently allocated. When the file (M) is deleted from this state, the contract area free space 310 is increased by the data size (M) from there, so there is no need to allocate the additional storage area 23. In this case, the current time is acquired from the internal clock 215 (step S611), the value of the contract area free space 310 is updated to a value obtained by adding the data size (M) from the current value (step S612), and the update date and time 317. Is updated to the time acquired in step S611 (step S613), and the process ends.

ステップS604〜605の判断でステップS621に進んだ場合は、追加記憶領域23が割り当てられていたが、ファイル(M)を削除したことにより追加記憶領域23を使用する必要が無くなったということを意味する。この場合は、まず内部時計215から現在時刻を取得し(ステップS621)、容量超過フラグ313の値をNoに変更し(ステップS622)、超過発生日時316を消去し(ステップS623)、契約領域空容量310の値を「データサイズ(M)と追加記憶領域空容量312とを合わせた容量から拡張領域最大容量305を引いた値」に更新する(ステップS624)。   If the process proceeds to step S621 as a result of the determination in steps S604 to 605, it means that the additional storage area 23 has been allocated but it is no longer necessary to use the additional storage area 23 by deleting the file (M). To do. In this case, the current time is first acquired from the internal clock 215 (step S621), the value of the capacity excess flag 313 is changed to No (step S622), the excess occurrence date and time 316 is deleted (step S623), and the contract area is empty. The value of the capacity 310 is updated to “a value obtained by subtracting the expansion area maximum capacity 305 from the total capacity of the data size (M) and the additional storage area free capacity 312” (step S624).

そして累積超過時間315の値を「ステップS621で取得した時刻から超過発生日時316を引いた時間」に更新し(ステップS625)、追加記憶領域ディスクID311を消去し(ステップS626)、追加記憶領域空容量312を消去し(ステップS627)、更新日時317をステップS621で取得した時刻に更新し(ステップS628)、追加記憶領域23を低性能データ格納部15に返却して(ステップS629)、処理を終了する。   Then, the value of the cumulative excess time 315 is updated to “time obtained by subtracting the excess occurrence date and time 316 from the time acquired in step S621” (step S625), the additional storage area disk ID 311 is deleted (step S626), and the additional storage area is empty. The capacity 312 is deleted (step S627), the update date and time 317 is updated to the time acquired in step S621 (step S628), the additional storage area 23 is returned to the low performance data storage unit 15 (step S629), and the process is performed. finish.

ステップS604〜605の判断でステップS631に進んだ場合は、追加記憶領域23が現在割り当てられており、ファイル(M)を削除した後も追加記憶領域23を使用し続ける必要があるということを意味する。この場合は、まず内部時計215から現在時刻を取得し(ステップS631)、累積超過時間315の値を「ステップS631で取得した時刻から超過発生日時316を引いた時間」に更新する(ステップS632)。続いて追加記憶領域空容量312を、現在の値からデータサイズ(M)を引いた値に更新し(ステップS633)、更新日時317をステップS631で取得した時刻に更新して(ステップS634)、処理を終了する。   If the process proceeds to step S631 as determined in steps S604 to 605, it means that the additional storage area 23 is currently allocated and it is necessary to continue using the additional storage area 23 after the file (M) is deleted. To do. In this case, first, the current time is acquired from the internal clock 215 (step S631), and the value of the accumulated excess time 315 is updated to “the time obtained by subtracting the excess occurrence date and time 316 from the time acquired in step S631” (step S632). . Subsequently, the additional storage area free space 312 is updated to a value obtained by subtracting the data size (M) from the current value (step S633), and the update date and time 317 is updated to the time acquired in step S631 (step S634). The process ends.

図14〜15は、図10〜11に示したデータ更新の処理の際に、プログラム231が課金情報300に対して行う処理を表すフローチャートである。まず削除されるファイル(M)の容量であるデータサイズ(M)、および追加されるファイル(N)の容量であるデータサイズ(N)について確認した(ステップS701)後、容量超過フラグ313、契約領域空容量310、追加記憶領域空容量312、拡張領域最大容量305を確認する(ステップS702)。その後で、図11で示したデータ削除処理を実行してファイル(M)を削除する(ステップS703)。   14 to 15 are flowcharts showing processing performed by the program 231 on the billing information 300 during the data update processing shown in FIGS. First, after confirming the data size (M) which is the capacity of the file (M) to be deleted and the data size (N) which is the capacity of the file (N) to be added (step S701), the capacity excess flag 313, the contract The area free capacity 310, the additional storage area free capacity 312 and the extended area maximum capacity 305 are confirmed (step S702). Thereafter, the data deletion process shown in FIG. 11 is executed to delete the file (M) (step S703).

そして、容量超過フラグ313がYesであるか否かを判断する(ステップS704)。容量超過フラグ313がYesであれば追加記憶領域23が現在割り当てられているので、後述のステップS705に進む。容量超過フラグ313がNoであれば追加記憶領域23が現在割り当てられていないので、ステップS706に進む。   Then, it is determined whether or not the capacity excess flag 313 is Yes (step S704). If the excess capacity flag 313 is Yes, the additional storage area 23 is currently allocated, and the process proceeds to step S705 described later. If the excess capacity flag 313 is No, the additional storage area 23 is not currently allocated, and the process proceeds to step S706.

ステップS704の判断でステップS705に進んだ場合は、追加記憶領域23が現在割り当てられている状態であることを意味する。この場合、ステップS701で確認した各データサイズから、(データサイズ(M)−データサイズ(N))+追加記憶領域空容量312、つまりファイル(M)をファイル(N)に置換することによって減少するデータの容量と追加記憶領域空容量312とを合わせた容量が、拡張領域最大容量305より大きいか否かを判断する(ステップS705)。   If the process proceeds to step S705 as determined in step S704, it means that the additional storage area 23 is currently allocated. In this case, (data size (M) −data size (N)) + additional storage area free space 312, that is, the file (M) is replaced with the file (N) from each data size confirmed in step S 701. It is determined whether the total capacity of the data to be added and the additional storage area free capacity 312 is larger than the expansion area maximum capacity 305 (step S705).

減少するデータの容量と追加記憶領域空容量312とを合わせた容量が、拡張領域最大容量305より大きければ、追加記憶領域23を使用する必要が無くなったことになるので、ステップS721に進む。合わせた容量が拡張領域最大容量305以内であれば、追加記憶領域23を引き続き使用するので、ステップS711に進む。   If the total capacity of the decreasing data capacity and the additional storage area free capacity 312 is larger than the expansion area maximum capacity 305, it is no longer necessary to use the additional storage area 23, and the process proceeds to step S721. If the combined capacity is within the expansion area maximum capacity 305, the additional storage area 23 is continuously used, and the process proceeds to step S711.

ステップS704の判断でステップS706に進んだ場合は、追加記憶領域23が現在割り当てられていない状態であることを意味する。この場合、ステップS701で確認した各データサイズからデータサイズ(N)−データサイズ(M)、つまりファイル(M)をファイル(N)に置換することによって増加するデータの容量が、契約領域空容量310より大きいか否かを判断する(ステップS706)。   If the process proceeds to step S706 in the determination in step S704, it means that the additional storage area 23 is not currently allocated. In this case, the data size (N) −data size (M) from each data size confirmed in step S701, that is, the capacity of the data that is increased by replacing the file (M) with the file (N) is the contract area free capacity. It is determined whether it is larger than 310 (step S706).

増加するデータの容量が契約領域空容量310より大きければ、新規に追加記憶領域23を割り当てる必要があるので、ステップS741に進む。増加するデータの容量が契約領域空容量310以内であれば、追加記憶領域23を割り当てる必要はないので、ステップS731に進む。   If the increasing data capacity is larger than the contract area free capacity 310, it is necessary to newly allocate the additional storage area 23, so the process proceeds to step S741. If the capacity of the data to be increased is within the contract area free capacity 310, it is not necessary to allocate the additional storage area 23, so the process proceeds to step S731.

なお、ファイル(M)をファイル(N)に置換することによって、該置換を実行した後のデータの総容量が契約領域22と追加記憶領域23を合わせたユーザ領域100の総容量を上回る場合には、オーバーフロー状態が生じるので、該置換処理を打ち切ってクライアント装置21にエラーメッセージを返す(図12のステップS521、531、541と同様)。図14においては、図面の錯綜を回避するため、この処理の記載を省略している。   When the file (M) is replaced with the file (N), the total data capacity after the replacement exceeds the total capacity of the user area 100 including the contract area 22 and the additional storage area 23. Since an overflow condition occurs, the replacement process is terminated and an error message is returned to the client device 21 (similar to steps S521, 531 and 541 in FIG. 12). In FIG. 14, the description of this processing is omitted in order to avoid complication of the drawing.

ステップS704〜705の判断でステップS711に進んだ場合は、追加記憶領域23が現在割り当てられており、ファイル(M)をファイル(N)に置換した後も追加記憶領域23を使用し続ける必要があるということを意味する。   When the process proceeds to step S711 as determined in steps S704 to 705, the additional storage area 23 is currently allocated, and it is necessary to continue using the additional storage area 23 after replacing the file (M) with the file (N). It means that there is.

この場合は、まず内部時計215から現在時刻を取得し(ステップS711)、累積超過時間315の値を「ステップS711で取得した時刻から超過発生日時316を引いた時間」に更新する(ステップS712)。続いて追加記憶領域空容量312を、現在の値からデータサイズ(M)を引いてデータサイズ(N)を足した値に更新し(ステップS713)、更新日時317をステップS711で取得した時刻に更新して(ステップS714)、ステップS751に進む。   In this case, first, the current time is acquired from the internal clock 215 (step S711), and the value of the accumulated excess time 315 is updated to “the time obtained by subtracting the excess occurrence date and time 316 from the time acquired in step S711” (step S712). . Subsequently, the additional storage area free space 312 is updated to a value obtained by subtracting the data size (M) from the current value and adding the data size (N) (step S713), and the update date and time 317 is obtained at the time acquired in step S711. Update (step S714) and proceed to step S751.

ステップS704〜705の判断でステップS721に進んだ場合は、追加記憶領域23が割り当てられていたが、ファイル(M)をファイル(N)に置換したことにより追加記憶領域23を使用する必要が無くなったということを意味する。   When the process proceeds to step S721 based on the determination in steps S704 to 705, the additional storage area 23 has been allocated, but it is not necessary to use the additional storage area 23 by replacing the file (M) with the file (N). Means that

この場合は、まず内部時計215から現在時刻を取得し(ステップS721)、容量超過フラグ313の値をNoに変更し(ステップS722)、超過発生日時316を消去し(ステップS723)、契約領域空容量310の値を「ファイル(M)をファイル(N)に置換することによって減少するデータの容量と追加記憶領域空容量312とを合わせた容量から拡張領域最大容量305を引いた値」に更新する(ステップS724)。   In this case, the current time is first obtained from the internal clock 215 (step S721), the value of the capacity excess flag 313 is changed to No (step S722), the excess occurrence date and time 316 is deleted (step S723), and the contract area is empty. The value of the capacity 310 is updated to “a value obtained by subtracting the expansion area maximum capacity 305 from the total capacity of the data capacity reduced by replacing the file (M) with the file (N) and the additional storage area free capacity 312”. (Step S724).

そして累積超過時間315の値を「ステップS721で取得した時刻から超過発生日時316を引いた時間」に更新し(ステップS725)、追加記憶領域ディスクID311を消去し(ステップS726)、追加記憶領域空容量312を消去し(ステップS727)、更新日時317をステップS621で取得した時刻に更新し(ステップS728)、追加記憶領域23を低性能データ格納部15に返却して(ステップS729)、ステップS751に進む。   Then, the value of the cumulative excess time 315 is updated to “time obtained by subtracting the excess occurrence date and time 316 from the time acquired in step S721” (step S725), the additional storage area disk ID 311 is deleted (step S726), and the additional storage area is empty. The capacity 312 is deleted (step S727), the update date and time 317 is updated to the time acquired in step S621 (step S728), the additional storage area 23 is returned to the low performance data storage unit 15 (step S729), and step S751. Proceed to

ステップS704および706の判断でステップS731に進んだ場合は、追加記憶領域23が現在割り当てられていず、ファイル(M)をファイル(N)に置換した後も追加記憶領域23を割り当てる必要はないということを意味する。この場合は、内部時計215から現在時刻を取得し(ステップS731)、契約領域空容量310の値を現在の値からデータサイズ(M)を加算してデータサイズ(N)を減算した値に更新し(ステップS732)、更新日時317をステップS731で取得した時刻に更新して(ステップS733)、ステップS751に進む。   If the process proceeds to step S731 based on the determination in steps S704 and 706, the additional storage area 23 is not currently allocated, and it is not necessary to allocate the additional storage area 23 even after the file (M) is replaced with the file (N). Means that. In this case, the current time is acquired from the internal clock 215 (step S731), and the value of the contract area free space 310 is updated to a value obtained by adding the data size (M) to the current value and subtracting the data size (N). (Step S732), the update date and time 317 is updated to the time acquired in Step S731 (Step S733), and the process proceeds to Step S751.

ステップS704および706の判断でステップS741に進んだ場合は、追加記憶領域23が現在割り当てられていないが、契約領域空容量310だけではファイル(M)をファイル(N)に置換することができないので追加記憶領域23を新規に割り当てる必要があるということを意味する。この場合は、まず内部時計215から現在時刻を取得し(ステップS741)、容量超過フラグ313の値をYesに変更し(ステップS742)、超過発生日時316をステップS741で取得した時刻に更新し(ステップS743)、契約領域空容量310の値を0に更新する(ステップS744)。   If the determination in steps S704 and 706 has proceeded to step S741, the additional storage area 23 is not currently allocated, but the file (M) cannot be replaced with the file (N) only with the contract area free space 310. This means that the additional storage area 23 needs to be newly allocated. In this case, the current time is first acquired from the internal clock 215 (step S741), the value of the capacity excess flag 313 is changed to Yes (step S742), and the excess occurrence date and time 316 is updated to the time acquired in step S741 ( In step S743), the value of the contract area free space 310 is updated to 0 (step S744).

そして低性能データ格納部15から追加記憶領域23を取得し(ステップS745)、取得された追加記憶領域23の追加記憶領域ディスクID311を登録し(ステップS746)、ファイル(M)をファイル(N)に置換した場合の追加記憶領域23の空き容量を計算して追加記憶領域空容量312に登録し(ステップS747)、更新日時317をステップS741で取得した時刻に更新し(ステップS748)、ステップS751に進む。   Then, the additional storage area 23 is acquired from the low performance data storage unit 15 (step S745), the additional storage area disk ID 311 of the acquired additional storage area 23 is registered (step S746), and the file (M) is changed to the file (N). Is calculated and registered in the additional storage area free space 312 (step S747), the update date and time 317 is updated to the time acquired in step S741 (step S748), and step S751. Proceed to

ステップS751に進んだ場合は、図10で示したデータ登録処理を実行してファイル(N)を登録し、処理を終了する。なお、ファイルの削除、登録、置換の際に行われる具体的な処理は、必ずしも図10〜15で示した例には限定されない。たとえば契約領域22および追加記憶領域23に記憶されている容量が契約容量304を超えるか否かの判断などで、図10〜15で示した例以外の方法で、実質的に同一の判断を行うこともできる。   If the process proceeds to step S751, the data registration process shown in FIG. 10 is executed to register the file (N), and the process ends. Note that the specific processing performed when deleting, registering, and replacing a file is not necessarily limited to the examples shown in FIGS. For example, substantially the same determination is made by a method other than the example shown in FIGS. 10 to 15 by determining whether the capacity stored in the contract area 22 and the additional storage area 23 exceeds the contract capacity 304 or the like. You can also.

図16は、図1および図8に示したファイル保管装置10で、ファイルの削除もしくは登録を行う際に、プログラム231がクライアント装置21に表示するユーザインターフェイス画面の例を示す概念図である。図16(a)はファイル削除指示画面800である。ユーザはユーザID801と削除対象ファイル名802とを入力し、削除ボタン803を押すことによって、ユーザ領域100から削除する対象となるファイルを選択することができる。なお、ユーザ領域100に現在登録されているファイル名の一覧を表示して、そこから削除対象ファイル名802を選択するようにしてもよい。取消ボタン804を押せば、処理を中断することができる。   FIG. 16 is a conceptual diagram showing an example of a user interface screen displayed on the client device 21 by the program 231 when the file storage device 10 shown in FIGS. 1 and 8 deletes or registers a file. FIG. 16A shows a file deletion instruction screen 800. The user can select a file to be deleted from the user area 100 by inputting a user ID 801 and a deletion target file name 802 and pressing a delete button 803. Note that a list of file names currently registered in the user area 100 may be displayed, and a deletion target file name 802 may be selected therefrom. If a cancel button 804 is pressed, the process can be interrupted.

図16(b)はファイル削除確認画面810である。ファイル削除指示画面800で削除ボタン803を押すとファイル削除確認画面810に進み、ユーザID801および削除対象ファイル名802で入力した内容がメッセージ811で表示される。ここで削除実行ボタン812を押せば、ユーザID801で指定されたユーザの、削除対象ファイル名802で指定されたファイルに対して、図11および図13で示したファイル削除の処理が実行される。取消ボタン813を押せば、処理を中断することができる。   FIG. 16B shows a file deletion confirmation screen 810. When the delete button 803 is pressed on the file deletion instruction screen 800, the process proceeds to the file deletion confirmation screen 810, and the contents input by the user ID 801 and the deletion target file name 802 are displayed as a message 811. If the delete execution button 812 is pressed here, the file deletion processing shown in FIGS. 11 and 13 is executed for the file specified by the deletion target file name 802 of the user specified by the user ID 801. If a cancel button 813 is pressed, the process can be interrupted.

図16(c)はファイル登録指示画面820である。ユーザはユーザID821、登録元ファイル名822、登録先ファイル名823、およびコメント824を入力し、登録ボタン825を押すことによって、ユーザ領域100に登録する対象となるファイルを選択することができる。なお、ユーザ領域100にローカルディスク上のファイル名の一覧を表示して、そこから登録元ファイル名822を選択するようにしてもよい。取消ボタン826を押せば、処理を中断することができる。   FIG. 16C shows a file registration instruction screen 820. The user can select a file to be registered in the user area 100 by inputting a user ID 821, a registration source file name 822, a registration destination file name 823, and a comment 824 and pressing a registration button 825. A list of file names on the local disk may be displayed in the user area 100, and the registration source file name 822 may be selected therefrom. If a cancel button 826 is pressed, the process can be interrupted.

図16(d)はファイル登録確認画面830である。ファイル登録指示画面820で登録ボタン825を押すとファイル登録確認画面830に進み、ユーザID821、登録元ファイル名822、登録先ファイル名823、およびコメント824で入力した内容がメッセージ831で表示される。ここで登録実行ボタン832を押せば、ユーザID801で指定されたユーザの、登録元ファイル名822および登録先ファイル名823で指定されたファイルに対して、図10および図12で示したファイル登録の処理が実行される。取消ボタン833を押せば、処理を中断することができる。   FIG. 16D shows a file registration confirmation screen 830. When the registration button 825 is pressed on the file registration instruction screen 820, the screen proceeds to the file registration confirmation screen 830, and the contents entered in the user ID 821, registration source file name 822, registration destination file name 823, and comment 824 are displayed in a message 831. If the registration execution button 832 is pressed here, the file registration shown in FIGS. 10 and 12 is performed for the file specified by the registration source file name 822 and the registration destination file name 823 of the user specified by the user ID 801. Processing is executed. If the cancel button 833 is pressed, the processing can be interrupted.

図14〜15で示したファイル置換の入力画面および確認画面についてはここでは図示しないが、図16(a)〜(d)に示した例に準ずる形で、削除されるファイル名と登録されるファイル名とを選択するようにユーザインターフェイス画面を構成すればよい。   The file replacement input screen and the confirmation screen shown in FIGS. 14 to 15 are not shown here, but are registered with the file name to be deleted in a manner similar to the example shown in FIGS. 16 (a) to 16 (d). The user interface screen may be configured to select the file name.

もちろん以上で入力される内容は一例に過ぎない。たとえばパスワードなども同時に入力するようにして、それによってユーザ認証を行うようにしてもよい。その場合は管理情報格納部12に、該パスワードを保存するようにするとよい。また、コメント824として入力された、保存される各ファイルについての説明文などの内容を、課金情報300内部に保存するようにしてもよい。   Of course, the content entered above is only an example. For example, a password may be input at the same time, thereby performing user authentication. In that case, the password may be stored in the management information storage unit 12. In addition, the contents such as the description of each file to be stored, which is input as the comment 824, may be stored in the billing information 300.

図17は、図1および図8に示したファイル保管装置10で、課金情報300に登録された内容を編集する際に、プログラム231がクライアント装置21に表示するユーザインターフェイス画面の例を示す概念図である。図17(a)は課金情報設定/更新画面900である。ユーザはユーザID901と、契約容量902、拡張容量903、メールアドレス904、コメント905などの情報を入力する。これ以外の課金情報300に登録された情報を表示して編集可能なようにすることもできる。   FIG. 17 is a conceptual diagram showing an example of a user interface screen displayed on the client device 21 by the program 231 when the file storage device 10 shown in FIGS. 1 and 8 edits the contents registered in the billing information 300. It is. FIG. 17A shows a billing information setting / update screen 900. The user inputs information such as a user ID 901, contract capacity 902, expansion capacity 903, e-mail address 904, and comment 905. Other information registered in the billing information 300 can be displayed and edited.

登録ボタン906を押せば、入力された内容で新規ユーザアカウントが作成される。更新ボタン907を押せば、既存のユーザID901に対応するユーザの登録内容が更新される。取消ボタン908を押せば、処理を中断することができる。   If a registration button 906 is pressed, a new user account is created with the input contents. If an update button 907 is pressed, the registered contents of the user corresponding to the existing user ID 901 are updated. If a cancel button 908 is pressed, the processing can be interrupted.

図17(b)はファイル課金情報設定/更新確認画面910である。課金情報設定/更新画面900で登録ボタン906または更新ボタン907を押すとファイル課金情報設定/更新確認画面910に進み、ユーザID901と、契約容量902、拡張容量903、メールアドレス904、およびコメント905で入力した内容がメッセージ911で表示される。ここで設定/更新実行ボタン912を押せば、課金情報300に対して、課金情報設定/更新画面900で入力された内容が反映される。取消ボタン913を押せば、処理を中断することができる。   FIG. 17B shows a file billing information setting / update confirmation screen 910. When the registration button 906 or the update button 907 is pressed on the billing information setting / update screen 900, the processing proceeds to the file billing information setting / update confirmation screen 910, where the user ID 901, contract capacity 902, expansion capacity 903, e-mail address 904, and comment 905 are used. The entered content is displayed as a message 911. If the setting / update execution button 912 is pressed here, the contents input on the charging information setting / updating screen 900 are reflected on the charging information 300. If a cancel button 913 is pressed, the processing can be interrupted.

ここで入力された情報は、課金情報300に反映される。より具体的には、ユーザID901は顧客ID301に、契約容量902は契約容量304に、拡張容量903は拡張領域最大容量305に、メールアドレス904は連絡先メールアドレス307に、各々対応する。課金情報300に含まれる、それら以外の情報を課金情報設定/更新画面900で入力および編集可能なようにしてもよい。   The information input here is reflected in the billing information 300. More specifically, the user ID 901 corresponds to the customer ID 301, the contract capacity 902 corresponds to the contract capacity 304, the expansion capacity 903 corresponds to the expansion area maximum capacity 305, and the mail address 904 corresponds to the contact mail address 307. Other information included in the billing information 300 may be input and edited on the billing information setting / update screen 900.

以上で説明したように、本実施の形態によって、明示的に契約の変更をすることなく、通常のファイル蓄積もしくは更新の操作をするだけで、一時的に契約容量を超過してデータを蓄積することができるストレージサービスを提供することができる。その際、契約容量超過時猶予時間306を設定しておけば、ユーザはこの猶予時間内であれば無償で追加記憶領域23を利用することができ、この時間を超えた場合は累積超過時間315に基づいて該ユーザに拡張課金を課すようにすることができる。ユーザは、短時間であれば契約容量の超過について特に意識する必要はなく、もちろん過大な課金が発生することも抑制される。   As explained above, according to the present embodiment, data is temporarily stored exceeding the contract capacity by simply performing a normal file storage or update operation without explicitly changing the contract. Storage services that can be provided can be provided. At this time, if a grace time 306 when the contract capacity is exceeded is set, the user can use the additional storage area 23 free of charge within this grace time, and if this time is exceeded, the cumulative excess time 315 Based on the above, it is possible to charge an extended charge to the user. The user does not need to be particularly aware of exceeding the contract capacity for a short period of time, and of course, excessive charging is suppressed.

契約容量超過時猶予時間306にまつわる処理は、たとえば図12のステップS533、図13のステップS632などのように累積超過時間315が更新される時に、契約容量超過時猶予時間306と累積超過時間315とを比較し、累積超過時間315が契約容量超過時猶予時間306を超過した場合に拡張課金フラグ314をYesとするようにするとよい。月次などの課金請求処理の時に、拡張課金フラグ314でYesであれば該ユーザに対して拡張課金を行い、該課金請求処理が終了したら拡張課金フラグ314をリセットする。   For example, when the accumulated excess time 315 is updated as shown in step S533 of FIG. 12, step S632 of FIG. And when the accumulated excess time 315 exceeds the contract capacity excess grace time 306, the extended charging flag 314 may be set to Yes. If the extended billing flag 314 is Yes at the time of billing billing such as monthly, the user is billed for extension billing. When the billing billing processing is completed, the extended billing flag 314 is reset.

また、追加記憶領域23は、短時間だけ利用されるものであり、長期にわたる信頼性を確保する必要がない。加えて、契約領域22と比べて使用される頻度が低いものである。従って、追加記憶領域23は低性能データ格納部15によって提供されるものとすることができる。そのため、サービス提供者が高価な高性能ディスク装置34を用意する数を減らし、より少ない設備投資でストレージサービスを提供することができる。   Further, the additional storage area 23 is used only for a short time, and it is not necessary to ensure long-term reliability. In addition, it is used less frequently than the contract area 22. Therefore, the additional storage area 23 can be provided by the low performance data storage unit 15. Therefore, the number of expensive high performance disk devices 34 prepared by the service provider can be reduced, and the storage service can be provided with less equipment investment.

さらに、ユーザがデータを蓄積できるユーザ領域100の容量が、契約領域22と追加記憶領域23を合計した容量を上回ることもないので、ディスク装置の全容量までデータを蓄積される危険性が少ない。このことも、設備投資の抑制につながる。   Furthermore, since the capacity of the user area 100 in which the user can store data does not exceed the total capacity of the contract area 22 and the additional storage area 23, there is little risk of data being stored up to the entire capacity of the disk device. This also leads to a reduction in capital investment.

課金情報300に含まれる各種条件、たとえば契約容量304、拡張領域最大容量305、契約容量超過時猶予時間306などはユーザごとに個別に設定されるので、ユーザごとの契約条件(課金に関する取り決め)を柔軟に設定することが可能となる。たとえば契約容量超過時猶予時間306を超えて追加記憶領域23を利用すること(拡張課金の発生)が頻繁に起こるユーザに対しては、契約容量304を拡張するなどのように契約条件を見直すことができる。   Various conditions included in the billing information 300, such as contract capacity 304, extended area maximum capacity 305, contract capacity excess grace time 306, etc. are individually set for each user, so the contract conditions (billing arrangement) for each user are set. It becomes possible to set flexibly. For example, for users who frequently use the additional storage area 23 beyond the contract capacity excess grace time 306 (occurrence of extended billing), review the contract conditions such as expanding the contract capacity 304. Can do.

さらに、たとえば契約容量超過時猶予時間306から累積超過時間315を減算した時間が所定の閾値(数時間程度)を下回った場合に、連絡先メールアドレス307に登録されたアドレスに「あと数時間で拡張課金が発生します」などのような警告を電子メールによって送信するようにすることもできる。警告を送信する手段は、電子メールの他には、音声電話への発呼やショートメッセージの送信などを利用することもできる。   Further, for example, when the time obtained by subtracting the accumulated excess time 315 from the contract capacity excess grace time 306 falls below a predetermined threshold (about several hours), the address registered in the contact e-mail address 307 is changed to “within several hours. A warning such as “Extended billing will occur” may be sent by e-mail. As a means for transmitting a warning, in addition to an electronic mail, a call to a voice telephone or a short message can be used.

[第2の実施の形態]
図18は、本発明の第2の実施の形態に係るファイル保管装置1000の構成を示す機能ブロック図である。ファイル保管装置1000は、本発明の第1の実施の形態に係るファイル保管装置10と同一の構成要素を持つ。相違点は、蓄積情報制御部11と制御プログラム格納部13とが1台のコンピュータである制御装置1010で構成され、管理情報格納部12、高性能データ格納部14、および低性能データ格納部15が各々別々のストレージデバイスで構成されるという点にある。
[Second Embodiment]
FIG. 18 is a functional block diagram showing the configuration of the file storage apparatus 1000 according to the second embodiment of the present invention. The file storage device 1000 has the same components as the file storage device 10 according to the first embodiment of the present invention. The difference is that the storage information control unit 11 and the control program storage unit 13 are configured by a control device 1010 which is a single computer, and the management information storage unit 12, the high performance data storage unit 14, and the low performance data storage unit 15 are included. Are configured with separate storage devices.

つまり、ファイル保管装置1000は、本発明の第1の実施の形態に係るファイル保管装置10と比べて、装置の物理的な区分が異なるだけであり、構成および動作は全く同一である。従って、動作についての説明を省略する。   That is, the file storage device 1000 is different from the file storage device 10 according to the first embodiment of the present invention only in the physical division of the device, and the configuration and operation are completely the same. Therefore, description of the operation is omitted.

[第3の実施の形態]
本発明の第3の実施の形態は、装置の構成および機能は、第1および第2の実施の形態として説明したものと同一である。相違点は、図16で示したユーザインターフェイス画面では1つずつのファイルを削除もしくは登録するようになっているが、本実施の形態では複数の対象ファイルを一度に指定して、それらの各々に対して削除もしくは登録の処理を行うことができる点である。
[Third Embodiment]
In the third embodiment of the present invention, the configuration and function of the apparatus are the same as those described as the first and second embodiments. The difference is that the user interface screen shown in FIG. 16 deletes or registers one file at a time. In this embodiment, a plurality of target files are designated at a time, and each of them is designated. In contrast, deletion or registration processing can be performed.

図19は、本発明の第3の実施の形態に係るファイル保管装置でファイルの削除もしくは登録を行う際に、プログラム231がクライアント装置21に表示するユーザインターフェイス画面の例を示す概念図である。入力画面では削除もしくは登録する対象のファイルを複数入力できるようになっており、確認画面では複数入力されたファイル名がすべて表示されるようになっている以外、各構成要素の名称および機能は図16に示したものと同一であるので、同一の要素には同一の参照番号を付し、説明を省略する。   FIG. 19 is a conceptual diagram showing an example of a user interface screen displayed on the client device 21 by the program 231 when deleting or registering a file in the file storage device according to the third embodiment of the present invention. The input screen allows you to enter multiple files to be deleted or registered, and the confirmation screen displays all the file names that have been entered multiple times. Since it is the same as that shown in FIG. 16, the same reference numerals are given to the same elements, and description thereof is omitted.

複数のファイルが削除もしくは登録する対象として指定された場合も、対象であるファイルの各々に対して、図10〜13で示したファイル削除もしくはファイル登録の処理を行うようにするだけであり、特に新しい動作が付加されることはない。   Even when a plurality of files are designated as targets to be deleted or registered, the file deletion or file registration process shown in FIGS. 10 to 13 is only performed for each target file. No new action is added.

さらに、たとえば米国マイクロソフト・コーポレーションのWindows(登録商標)のエクスプローラなどのようなツリービュー形式のインターフェイスを適用するなどして、より直感的にファイルの削除もしくは登録の動作を行えるようにしてもよい。この場合もユーザインターフェイスが変わるだけであり、ファイル保管装置が行うファイル削除およびファイル登録の動作は同一である。   Furthermore, the file deletion or registration operation may be performed more intuitively by applying a tree view type interface such as Windows (registered trademark) Explorer of Microsoft Corporation. In this case as well, only the user interface changes, and the file deletion and file registration operations performed by the file storage device are the same.

以上で説明した実施の形態が適用されるサービスは、いわゆるレンタルストレージサービスに限定されない。たとえばウェブサーバや電子メールサーバなどを提供するホスティングサービスにおいても、それらのサーバを運用するに当たって、契約領域22に記憶されているデータの容量が増加する場合がある。その場合、契約容量を超過するデータを記憶できるようにしないと、該サーバにおいてサービスが停止する恐れがある。そのような場合に、追加記憶領域23を割り当てて、サービスの停止を回避することができる。   The service to which the embodiment described above is applied is not limited to a so-called rental storage service. For example, even in a hosting service that provides a web server, an e-mail server, etc., the capacity of data stored in the contract area 22 may increase when these servers are operated. In that case, if the data exceeding the contracted capacity is not stored, there is a possibility that the service is stopped in the server. In such a case, the additional storage area 23 can be allocated to avoid service stoppage.

これまで本発明について図面に示した特定の実施の形態をもって説明してきたが、本発明は図面に示した実施の形態に限定されるものではなく、本発明の効果を奏する限り、これまで知られたいかなる構成であっても採用することができることは言うまでもないことである。   Although the present invention has been described with the specific embodiments shown in the drawings, the present invention is not limited to the embodiments shown in the drawings, and is known so far as long as the effects of the present invention are achieved. It goes without saying that any configuration can be adopted.

ネットワークを通じてユーザにファイルを保存する領域を提供するASPにおいて利用可能である。   It can be used in an ASP that provides an area for storing a file to a user through a network.

本発明の第1の実施の形態に係るファイル保管装置の構成を示す機能ブロック図である。It is a functional block diagram which shows the structure of the file storage apparatus which concerns on the 1st Embodiment of this invention. 図1に示したファイル保管装置によって提供されるレンタルストレージサービスをクライアント装置から見たイメージを示す概念図である。It is a conceptual diagram which shows the image which looked at the rental storage service provided by the file storage apparatus shown in FIG. 1 from the client apparatus. 図1に示したファイル保管装置における、追加記憶領域が作成される動作を示す概念図である。It is a conceptual diagram which shows the operation | movement in which the additional storage area is produced in the file storage apparatus shown in FIG. 図1に示したファイル保管装置で、契約容量を超過するデータが記憶された場合の動作を示す概念図である。It is a conceptual diagram which shows operation | movement when the data which exceed contract capacity are memorize | stored in the file storage apparatus shown in FIG. 図1に示したファイル保管装置で、不要データの削除によって追加記憶領域が開放される動作を示す概念図である。It is a conceptual diagram which shows the operation | movement by which the additional storage area is open | released by deletion of unnecessary data in the file storage apparatus shown in FIG. 図1に示したファイル保管装置で、データの更新の動作を示す概念図である。It is a conceptual diagram which shows the operation | movement of a data update with the file storage apparatus shown in FIG. 図1に示したファイル保管装置におけるファイル管理情報の構成を示す概念図である。It is a conceptual diagram which shows the structure of the file management information in the file storage apparatus shown in FIG. 図1に示したファイル保管装置の構成をさらに詳しく示す機能ブロック図である。It is a functional block diagram which shows the structure of the file storage apparatus shown in FIG. 1 in more detail. 図8に示した課金情報のデータ構成を示す概念図である。It is a conceptual diagram which shows the data structure of the accounting information shown in FIG. 図1および図8に示したファイル保管装置で、ユーザがクライアント装置を介してユーザ領域にデータ登録を依頼した際に、プログラムがファイル管理情報に対して行う処理を表すフローチャートである。FIG. 9 is a flowchart illustrating processing performed by a program for file management information when a user requests data registration in a user area via a client device in the file storage device illustrated in FIGS. 1 and 8. 図1および図8に示したファイル保管装置で、ユーザがクライアント装置を介してユーザ領域にデータ削除を依頼した際に、プログラムがファイル管理情報に対して行う処理を表すフローチャートである。9 is a flowchart showing processing performed by a program for file management information when a user requests data deletion to a user area via a client device in the file storage device shown in FIGS. 1 and 8. 図10に示したデータ登録の処理の際に、プログラムが課金情報に対して行う処理を表すフローチャートである。It is a flowchart showing the process which a program performs with respect to charging information in the process of data registration shown in FIG. 図11に示したデータ削除の処理の際に、プログラムが課金情報に対して行う処理を表すフローチャートである。It is a flowchart showing the process which a program performs with respect to charging information in the process of data deletion shown in FIG. 図10〜11に示したデータ更新の処理の際に、プログラムが課金情報に対して行う処理を表すフローチャートである。It is a flowchart showing the process which a program performs with respect to charging information in the process of the data update shown to FIGS. 図14の続きである。It is a continuation of FIG. 図1および図8に示したファイル保管装置で、ファイルの削除もしくは登録を行う際に、プログラムがクライアント装置に表示するユーザインターフェイス画面の例を示す概念図である。FIG. 9 is a conceptual diagram illustrating an example of a user interface screen that a program displays on a client device when a file is deleted or registered in the file storage device illustrated in FIGS. 1 and 8. 図1および図8に示したファイル保管装置で、課金情報に登録された内容を編集する際に、プログラムがクライアント装置に表示するユーザインターフェイス画面の例を示す概念図である。FIG. 9 is a conceptual diagram illustrating an example of a user interface screen that a program displays on a client device when editing contents registered in billing information in the file storage device illustrated in FIGS. 1 and 8. 本発明の第2の実施の形態に係るファイル保管装置の構成を示す機能ブロック図である。It is a functional block diagram which shows the structure of the file storage apparatus which concerns on the 2nd Embodiment of this invention. 本発明の第3の実施の形態に係るファイル保管装置でファイルの削除もしくは登録を行う際に、プログラムがクライアント装置に表示するユーザインターフェイス画面の例を示す概念図である。It is a conceptual diagram which shows the example of the user interface screen which a program displays on a client apparatus, when deleting or registering a file with the file storage apparatus which concerns on the 3rd Embodiment of this invention.

符号の説明Explanation of symbols

10 ファイル保管装置
11 蓄積情報制御部
12 管理情報格納部
13 制御プログラム格納部
14 高性能データ格納部
15 低性能データ格納部
20 ネットワーク
21 クライアント装置
22 契約領域
23 追加記憶領域
34 高性能ディスク装置
35 低性能ディスク装置
41 第1のユーザデータ
42 第2のユーザデータ
43 第3のユーザデータ
44 第4のユーザデータ
100 ユーザ領域
101 ファイル管理情報
111 ディスクID
112 格納ファイル数
121 識別子
122 格納位置先頭アドレス
123 データサイズ
211 CPU
212 通信制御装置
213 第1の一時蓄積メモリ
214 第2の一時蓄積メモリ
215 内部時計
216 RAID制御装置
217 仮想記憶領域管理テーブル
300 課金情報
DESCRIPTION OF SYMBOLS 10 File storage apparatus 11 Accumulated information control part 12 Management information storage part 13 Control program storage part 14 High performance data storage part 15 Low performance data storage part 20 Network 21 Client apparatus 22 Contract area 23 Additional storage area 34 High performance disk apparatus 35 Low Performance disk device 41 First user data 42 Second user data 43 Third user data 44 Fourth user data 100 User area 101 File management information 111 Disk ID
112 Number of stored files 121 Identifier 122 Storage location start address 123 Data size 211 CPU
212 Communication Control Device 213 First Temporary Storage Memory 214 Second Temporary Storage Memory 215 Internal Clock 216 RAID Control Device 217 Virtual Storage Area Management Table 300 Billing Information

Claims (16)

ファイルを保存および削除することのできるファイル保管装置であって、
あらかじめ定められた契約容量の範囲で単数もしくは複数のファイルを保存および削除することのできる契約領域が確保されている第1のデータ格納部と、
前記第1のデータ格納部とは別に設けられた第2のデータ格納部と、
前記契約容量を記憶している管理情報格納部と、
前記契約領域にファイルが追加されると前記契約領域に記憶される単数もしくは複数のファイルの総容量が前記契約容量を超える場合、前記第2のデータ格納部に追加記憶領域を作成する蓄積情報制御部と
を有することを特徴とするファイル保管装置。
A file storage device capable of saving and deleting files,
A first data storage unit in which a contract area in which one or a plurality of files can be saved and deleted within a predetermined contract capacity range is secured;
A second data storage unit provided separately from the first data storage unit;
A management information storage unit storing the contract capacity;
Accumulation information control for creating an additional storage area in the second data storage unit when the total capacity of one or more files stored in the contract area exceeds the contract capacity when a file is added to the contract area And a file storage device.
前記蓄積情報制御部が、前記契約領域および前記追加記憶領域に保存されている単数もしくは複数のファイルのうちのいずれかが削除され、残る前記ファイルの総容量が前記契約容量を下回る場合、前記追加記憶領域を開放することを特徴とする、請求項1に記載のファイル保管装置。   When the accumulated information control unit deletes one or more files stored in the contract area and the additional storage area, and the total capacity of the remaining files is less than the contract capacity, the addition The file storage device according to claim 1, wherein the storage area is released. 前記蓄積情報制御部が、前記第2のデータ格納部に前記追加記憶領域が存在している時間を算出し、該時間を累積超過時間として前記管理情報格納部に記憶することを特徴とする、請求項2に記載のファイル保管装置。   The accumulated information control unit calculates a time during which the additional storage area exists in the second data storage unit, and stores the time in the management information storage unit as a cumulative excess time, The file storage device according to claim 2. 前記管理情報格納部が、前記累積超過時間の上限値である容量超過時猶予時間を記憶していることを特徴とする、請求項3に記載のファイル保管装置。   The file storage device according to claim 3, wherein the management information storage unit stores a capacity excess grace time that is an upper limit value of the accumulated excess time. 前記蓄積情報制御部が、前記容量超過時猶予時間から前記累積超過時間を減算した時間があらかじめ定められた閾値を下回ると警告を発することを特徴とする、請求項4に記載のファイル保管装置。   5. The file storage device according to claim 4, wherein the storage information control unit issues a warning when a time obtained by subtracting the accumulated excess time from the capacity excess time delay falls below a predetermined threshold. 前記管理情報格納部が、前記追加記憶領域の最大容量である拡張領域最大容量を記憶していることを特徴とする、請求項2に記載のファイル保管装置。   The file storage device according to claim 2, wherein the management information storage unit stores an extended area maximum capacity that is a maximum capacity of the additional storage area. 前記蓄積情報制御部が、前記契約領域にファイルが追加されると前記契約領域および前記追加記憶領域に記憶される単数もしくは複数のファイルの総容量が前記契約容量と前記拡張領域最大容量との合計を超える場合、前記ファイルの追加に係る処理を中断することを特徴とする、請求項6に記載のファイル保管装置。   When the storage information control unit adds a file to the contract area, the total capacity of one or more files stored in the contract area and the additional storage area is the sum of the contract capacity and the maximum capacity of the extension area. The file storage device according to claim 6, wherein the process for adding the file is interrupted when the file is exceeded. 第1のデータ格納部と第2のデータ格納部とを有するファイル保管装置にファイルを保管する方法であって、
前記第1のデータ格納部にあらかじめ定められた契約容量の範囲で単数もしくは複数のファイルを保存および削除することのできる契約領域を確保する契約領域確保工程と、
前記契約領域の最大容量である契約容量を記憶する契約容量記憶工程と、
前記契約領域にファイルが追加されると前記契約領域に記憶される単数もしくは複数のファイルの総容量が前記契約容量を超えるか否かを判断する第1のファイル容量判断工程と、
前記第1のファイル容量判断工程で前記総容量が前記契約容量を超える場合、前記第2のデータ格納部に追加記憶領域を作成する追加記憶領域作成工程と
を有することを特徴とするファイル保管方法。
A method of storing a file in a file storage device having a first data storage unit and a second data storage unit,
A contract area securing step for securing a contract area in which one or a plurality of files can be saved and deleted within a predetermined contract capacity range in the first data storage unit;
A contract capacity storing step of storing a contract capacity that is the maximum capacity of the contract area;
A first file capacity determination step of determining whether or not the total capacity of one or more files stored in the contract area exceeds the contract capacity when a file is added to the contract area;
A file storage method comprising: an additional storage area creation step of creating an additional storage area in the second data storage unit when the total capacity exceeds the contracted capacity in the first file capacity determination step; .
前記契約領域および前記追加記憶領域に保存されている単数もしくは複数のファイルのうちのいずれかが削除された場合に、残る前記ファイルの総容量が前記契約容量を下回るか否かを判断する第2のファイル容量判断工程と、
前記第2のファイル容量判断工程で前記総容量が前記契約容量を下回る場合、前記追加記憶領域を開放する追加記憶領域開放工程を有することを特徴とする、請求項8に記載のファイル保管方法。
Determining whether or not the total capacity of the remaining files is less than the contracted capacity when one or more files stored in the contracted area and the additional storage area are deleted; File capacity judgment process,
9. The file storage method according to claim 8, further comprising an additional storage area releasing step of releasing the additional storage area when the total capacity is less than the contracted capacity in the second file capacity determination step.
前記第2のデータ格納部に前記追加記憶領域が存在している時間を算出し、該時間を累積超過時間として前記管理情報格納部に記憶する累積超過時間算出工程を有することを特徴とする、請求項9に記載のファイル保管方法。   Calculating a time during which the additional storage area exists in the second data storage unit, and storing the time as a cumulative excess time in the management information storage unit; The file storage method according to claim 9. 前記契約領域確保工程が、前記累積超過時間の上限値である容量超過時猶予時間を記憶する容量超過時猶予時間記憶工程を含むことを特徴とする、請求項10に記載のファイル保管方法。   11. The file archiving method according to claim 10, wherein the contract area securing step includes a capacity excess time delay storage step of storing a capacity excess time delay which is an upper limit value of the cumulative excess time. 前記累積超過時間算出工程が、前記容量超過時猶予時間から前記累積超過時間を減算した時間があらかじめ定められた閾値を下回ると警告を発する警告工程を含むことを特徴とする、請求項11に記載のファイル保管方法。   12. The cumulative excess time calculating step includes a warning step of issuing a warning when a time obtained by subtracting the cumulative excess time from the capacity excess grace time falls below a predetermined threshold. File storage method. 前記契約領域確保工程が、前記追加記憶領域の最大容量である拡張領域最大容量を記憶する拡張領域最大容量記憶工程を含むことを特徴とする、請求項9に記載のファイル保管方法。   The file storage method according to claim 9, wherein the contract area securing step includes an extended area maximum capacity storing step of storing an extended area maximum capacity that is a maximum capacity of the additional storage area. 前記契約領域にファイルが追加されると前記契約領域および前記追加記憶領域に記憶される単数もしくは複数のファイルの総容量が前記契約容量と前記拡張領域最大容量との合計を超えるか否かを判断する第3のファイル容量判断工程と、
前記第3のファイル容量判断工程で前記総容量が前記契約容量と前記拡張領域最大容量との合計を上回る場合、前記ファイルの追加に係る処理を中断するエラー処理工程とを有することを特徴とする、請求項13に記載のファイル保管方法。
When a file is added to the contract area, it is determined whether the total capacity of the file or files stored in the contract area and the additional storage area exceeds the sum of the contract capacity and the maximum capacity of the extension area A third file capacity determination step,
An error processing step of interrupting the processing related to the addition of the file when the total capacity exceeds the total of the contracted capacity and the expansion area maximum capacity in the third file capacity determination step. The file storage method according to claim 13.
第1のデータ格納部と第2のデータ格納部とを有するファイル保管装置を制御するコンピュータに、
前記第1のデータ格納部にあらかじめ定められた契約容量の範囲で単数もしくは複数のファイルを保存および削除することのできる契約領域を確保する契約領域確保処理と、
前記契約領域の最大容量である契約容量を記憶する契約容量記憶処理と、
前記契約領域にファイルが追加されると前記契約領域に記憶される単数もしくは複数のファイルの総容量が前記契約容量を超えるか否かを判断する第1のファイル容量判断処理と、
前記第1のファイル容量判断工程で前記総容量が前記契約容量を超える場合、前記第2のデータ格納部に追加記憶領域を作成する追加記憶領域作成処理と
を実行させることを特徴とするファイル保管プログラム。
A computer for controlling a file storage device having a first data storage unit and a second data storage unit;
A contract area securing process for securing a contract area capable of storing and deleting one or more files within a predetermined contract capacity range in the first data storage unit;
A contract capacity storage process for storing a contract capacity that is the maximum capacity of the contract area;
A first file capacity determination process for determining whether a total capacity of one or more files stored in the contract area exceeds the contract capacity when a file is added to the contract area;
File storage, wherein when the total capacity exceeds the contracted capacity in the first file capacity determination step, the second data storage unit executes an additional storage area creation process for creating an additional storage area program.
前記契約領域および前記追加記憶領域に保存されている単数もしくは複数のファイルのうちのいずれかが削除された場合に、残る前記ファイルの総容量が前記契約容量を下回るか否かを判断する第2のファイル容量判断処理と、
前記第2のファイル容量判断工程で前記総容量が前記契約容量を下回る場合、前記追加記憶領域を開放する追加記憶領域開放処理を実行させることを特徴とする、請求項15に記載のファイル保管プログラム。
Determining whether or not the total capacity of the remaining files is less than the contracted capacity when one or more files stored in the contracted area and the additional storage area are deleted; File capacity determination process,
16. The file storage program according to claim 15, wherein when the total capacity is less than the contracted capacity in the second file capacity determination step, an additional storage area release process for releasing the additional storage area is executed. .
JP2008027013A 2008-02-06 2008-02-06 File keeping device, file keeping method and program Pending JP2009187324A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008027013A JP2009187324A (en) 2008-02-06 2008-02-06 File keeping device, file keeping method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008027013A JP2009187324A (en) 2008-02-06 2008-02-06 File keeping device, file keeping method and program

Publications (1)

Publication Number Publication Date
JP2009187324A true JP2009187324A (en) 2009-08-20

Family

ID=41070491

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008027013A Pending JP2009187324A (en) 2008-02-06 2008-02-06 File keeping device, file keeping method and program

Country Status (1)

Country Link
JP (1) JP2009187324A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014059688A (en) * 2012-09-18 2014-04-03 Ricoh Co Ltd Information processor, information processing system, and program

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002207629A (en) * 2001-01-12 2002-07-26 Hitachi Ltd Storage service providing method and storage system
JP2002329014A (en) * 2001-05-02 2002-11-15 Fuji Photo Film Co Ltd Storage site, free-charge storage site and image storage system and its method
JP2004171224A (en) * 2002-11-19 2004-06-17 Nec Corp Contract storage proxy serving system and method
WO2005017736A1 (en) * 2003-08-19 2005-02-24 Fujitsu Limited System and program for detecting bottle neck in disc array device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002207629A (en) * 2001-01-12 2002-07-26 Hitachi Ltd Storage service providing method and storage system
JP2002329014A (en) * 2001-05-02 2002-11-15 Fuji Photo Film Co Ltd Storage site, free-charge storage site and image storage system and its method
JP2004171224A (en) * 2002-11-19 2004-06-17 Nec Corp Contract storage proxy serving system and method
WO2005017736A1 (en) * 2003-08-19 2005-02-24 Fujitsu Limited System and program for detecting bottle neck in disc array device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014059688A (en) * 2012-09-18 2014-04-03 Ricoh Co Ltd Information processor, information processing system, and program

Similar Documents

Publication Publication Date Title
US9477411B2 (en) Apparatus, method and program product for determining the data recall order
JP4885575B2 (en) Storage area allocation optimization method and management computer for realizing the method
CN100550168C (en) Signal conditioning package, information processing method
JP5081498B2 (en) Computer system and control method thereof
JP2008146574A (en) Storage controller and storage control method
TW201437806A (en) System, method, and computer program product for increasing spare space in memory to extend a lifetime of the memory
WO2011048640A1 (en) Information system adapted to calculate its required data storage capacity
US9286000B2 (en) Saving log data using a disk system as primary cache and a tape library as secondary cache
US10528256B2 (en) Processing a space release command to free release space in a consistency group
JP4755487B2 (en) DATA READING SYSTEM, DATA READING DEVICE, AND DATA READING METHOD
JP5250955B2 (en) Data processing system backup control apparatus and system
JP2009230239A (en) Data migration method for tape device and tape management system
JP2009187324A (en) File keeping device, file keeping method and program
JP6229733B2 (en) Information processing apparatus, method, program, and recording medium
CN118020055A (en) Attaching data to a tape cartridge during a recall operation
JP6281333B2 (en) Storage system
JP4778538B2 (en) Storage data management system and storage data management program
JP6107341B2 (en) Data management program, data management device, and data management method
JP6805501B2 (en) Storage device
JP3559016B2 (en) Disk array system, takeover method of logical unit in disk array system, and cooperative controller
CN111858144A (en) Method, apparatus and computer program product for storage management
JPWO2016001959A1 (en) Storage system
WO2016047096A1 (en) Application server, cloud device, storage medium access monitoring method, and computer-readable storage medium having computer program stored thereon
JP2019053466A (en) Management device, information processing system, and storage area management problem
JP5312251B2 (en) File migration apparatus, method and system

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110908

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20111004

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20120410