JP2017054489A - Storage system, archive processing method, storage communication device, and computer program - Google Patents

Storage system, archive processing method, storage communication device, and computer program Download PDF

Info

Publication number
JP2017054489A
JP2017054489A JP2016141118A JP2016141118A JP2017054489A JP 2017054489 A JP2017054489 A JP 2017054489A JP 2016141118 A JP2016141118 A JP 2016141118A JP 2016141118 A JP2016141118 A JP 2016141118A JP 2017054489 A JP2017054489 A JP 2017054489A
Authority
JP
Japan
Prior art keywords
file
stored
storage
storage device
backup
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
JP2016141118A
Other languages
Japanese (ja)
Inventor
英起 多田
Hideki Tada
英起 多田
祥平 糸山
Shohei ITOYAMA
祥平 糸山
光宏 新田
Mitsuhiro NITTA
光宏 新田
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.)
AP COMMUNICATIONS CO Ltd
Original Assignee
AP COMMUNICATIONS CO Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by AP COMMUNICATIONS CO Ltd filed Critical AP COMMUNICATIONS CO Ltd
Priority to JP2016141118A priority Critical patent/JP2017054489A/en
Publication of JP2017054489A publication Critical patent/JP2017054489A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Retry When Errors Occur (AREA)

Abstract

PROBLEM TO BE SOLVED: To make an archive process of replacing a file with a dummy file uninfluenced by communication traffic.SOLUTION: A storage system 1 copies a file stored in a primary storage 11 in a primary storage server 10 and places a copy in a secondary storage 21 in a secondary storage server 20, and keeps a backup state in which a backup file of the file in the primary storage 11 is stored in the secondary storage 21. By performing an archive process of replacing the file stored in the primary storage 11 with a dummy file in the backup state, communication between the primary storage server 10 and the secondary storage server 20 is made unnecessary during the archive process.SELECTED DRAWING: Figure 1

Description

本発明は、ネットワークで接続した複数のストレージを用いてアーカイブ又はバックアップといったファイルに関する各種処理を行うものであり、特に、ストレージ間における通信状況に左右されることなく、各種処理をタイムリーに行えるようにしたストレージシステム、アーカイブ処理方法、ストレージ通信装置、及びコンピュータプログラムに関する。   The present invention performs various processes related to files such as archiving or backup using a plurality of storages connected via a network. In particular, various processes can be performed in a timely manner regardless of the communication status between the storages. The present invention relates to a storage system, an archive processing method, a storage communication device, and a computer program.

従来、ユーザ端末で作成される各種ファイルを、ネットワーク上に設けられたストレージシステムで記憶(保管)するようにしたシステムが存在し、昨今ではクラウドシステムの発展により、各種ファイルをクラウドシステムで記憶するサービスの利用が広がっている。また、ストレージシステムにおいては、ファイルの安全を確保するため、複数のストレージ(記憶デバイス)を設け、ファイルを別のストレージへ定期的にバックアップすること等が行われている。なお、ストレージシステムの例としては、複数のストレージを階層的に設けたHSM(Hierarchical Storage Management)が一般的に知られている。   Conventionally, there are systems in which various files created on user terminals are stored (stored) in a storage system provided on the network. Recently, with the development of cloud systems, various files are stored in the cloud system. The use of services is spreading. In a storage system, in order to ensure the safety of a file, a plurality of storages (storage devices) are provided, and files are regularly backed up to another storage. As an example of a storage system, HSM (Hierarchical Storage Management) in which a plurality of storages are provided in a hierarchy is generally known.

ネットワーク上に複数のストレージを備えたストレージシステムでは、ユーザからアクセスを受ける側のストレージ(プライマリストレージと称す)には高速の読み書きが可能なものを用いる一方、ファイルのバックアップを行う側のストレージ(セカンダリストレージと称す)には、プライマリストレージに比べて記憶容量が大きいが読み書きが低速であるものを用いることが多い。このような特性のプライマリストレージ及びセカンダリストレージを備えるストレージシステムでは、プライマリストレージの使用効率を高めるために、プライマリストレージで一定期間記憶されたファイル、使用頻度の少ないファイル等を、セカンダリストレージへコピーすると共に、プライマリストレージに存在する元のファイルをダミーファイル(スタブファイルと称されることもある)に置換する処理が、従来から行われている。   In a storage system having a plurality of storages on a network, a storage that can be read and written at high speed is used as a storage that is accessed by a user (referred to as a primary storage), while a storage that performs file backup (secondary storage) In many cases, a storage device having a storage capacity larger than that of the primary storage but having a low reading / writing speed is used. In a storage system having primary storage and secondary storage with such characteristics, in order to increase the usage efficiency of the primary storage, files stored in the primary storage for a certain period of time, infrequently used files, etc. are copied to the secondary storage. Conventionally, a process of replacing an original file existing in the primary storage with a dummy file (sometimes referred to as a stub file) has been performed.

ダミーファイルは、ユーザからは元のファイルがプライマリストレージに記憶されているかのように見えるようになっているが、元のファイル(実ファイルと称す)の実体はプライマリストレージに存在せず、セカンダリストレージに記憶させることで、プライマリストレージの空き容量を確保できるようにしている。このようにプライマリストレージに記憶されている実ファイルをセカンダリストレージへコピーすると共に、実ファイルをダミーファイルに置換する処理は通常、アーカイブ(又はアーカイブ処理)と称される。複数のストレージを具備したシステムで、ダミーファイル(スタブファイル)を用いる例は、下記の特許文献1〜3に記載されている。   The dummy file appears to the user as if the original file was stored in the primary storage, but the original file (referred to as a real file) does not exist in the primary storage, and the secondary storage By making it memorize, it is possible to secure the free space of the primary storage. The process of copying an actual file stored in the primary storage to the secondary storage and replacing the actual file with a dummy file is generally referred to as archiving (or archiving process). Examples of using a dummy file (stub file) in a system having a plurality of storages are described in Patent Documents 1 to 3 below.

特開2009−289252号公報JP 2009-289252 A 特表2005−538469号公報JP 2005-538469 A 特開平10−340232号公報Japanese Patent Laid-Open No. 10-340232

複数のストレージを備えたストレージシステムでは、各ストレージはネットワークで接続されている。また、ネットワークは混雑すると、両者間の通信速度が低下し、ファイルの送受が妨げられる状況が生じる。このようなネットワークの混雑が生じているときに、ストレージシステムのアーカイブ処理を実行する時期が重なると、プライマリストレージの実ファイルをセカンダリストレージへコピーするのが困難となり、アーカイブ処理をスムーズに行えないという問題が生じる。このようなネットワークの混雑による影響は、アーカイブ処理だけでなく、バックアップ処理においても同様に生じる。   In a storage system having a plurality of storages, each storage is connected via a network. Also, when the network is congested, the communication speed between the two decreases, and a situation occurs in which file transmission / reception is hindered. When such network congestion occurs, if the storage system archive processing times overlap, it will be difficult to copy the actual files on the primary storage to the secondary storage, and the archive processing will not be performed smoothly. Problems arise. The influence of such network congestion occurs not only in the archive process but also in the backup process.

また、複数のストレージを備えたストレージシステムでは、ファイル管理状況のタイミング、システムの不具合発生等により、プライマリストレージ側で更新されたファイル(実ファイル)の中身が、セカンダリストレージでバックアップしているファイルに反映されず、両者のファイルの中身が相違する状況が生じることもある。このような状況でアーカイブ処理を行うと、プライマリストレージ側で記憶していた最新の状態へ実ファイルを戻すことが困難になることも想定される。   In addition, in a storage system with multiple storages, the contents of files updated on the primary storage side (actual files) are changed to files backed up on the secondary storage due to the timing of file management, system failures, etc. In some cases, the contents of both files are not reflected. If archive processing is performed in such a situation, it may be difficult to return the actual file to the latest state stored on the primary storage side.

さらに、複数のストレージの中には故障が発生するものがあり、例えば、プライマリストレージに故障が発生すると、プライマリストレージに記憶していたダミーファイルを読み出せないという事態が生じ、そうなると、セカンダリストレージに記憶されている実ファイルの読み出しも困難になる。   Furthermore, some of the storages may fail.For example, when a failure occurs in the primary storage, a situation occurs in which a dummy file stored in the primary storage cannot be read. It becomes difficult to read the stored real file.

本発明は、斯かる事情に鑑みてなされたものであり、ネットワークの混雑度等の影響に関係なく、アーカイブ又はバックアップに関する処理をタイムリーに行えるようにしたストレージシステム、アーカイブ処理方法、ストレージ通信装置、及びコンピュータプログラムを提供することを目的とする。   The present invention has been made in view of such circumstances, and a storage system, an archive processing method, and a storage communication apparatus that can perform processing relating to archive or backup in a timely manner regardless of the influence of network congestion or the like And a computer program.

また、本発明は、プライマリストレージ側のファイルと、セカンダリストレージ側のバックアップファイルの中身を確認してからファイルに関する処理を行うことで、バックアップ処理等によりファイルの中身が相違するような不具合が生じないようにしたストレージシステム、アーカイブ処理方法、ストレージ通信装置、及びコンピュータプログラムを提供することを目的とする。   In addition, the present invention performs processing related to the file after confirming the contents of the file on the primary storage side and the backup file on the secondary storage side. It is an object of the present invention to provide a storage system, an archive processing method, a storage communication device, and a computer program.

さらに、本発明は、ダミーファイルもセカンダリストレージ側へバックアップすることにより、プライマリストレージ側が故障しても、ダミーファイルを確保できるようにしたストレージシステム、アーカイブ処理方法、ストレージ通信装置、及びコンピュータプログラムを提供することを目的とする。   Furthermore, the present invention provides a storage system, an archive processing method, a storage communication device, and a computer program that can secure a dummy file even if the primary storage side fails by backing up the dummy file to the secondary storage side. The purpose is to do.

上記課題を解決するために本発明に係るストレージシステムは、第1記憶デバイスを有する第1通信装置と、前記第1記憶デバイスに比べて記憶容量が大きい第2記憶デバイスを有すると共に前記第1通信装置と通信可能である第2通信装置とを備え、前記第1記憶デバイスに記憶されたファイルのアーカイブ処理をアーカイブ条件に基づき行うストレージシステムにおいて、前記第1記憶デバイスに実ファイルが記憶されて、且つ前記実ファイルのバックアップファイルが前記第2記憶デバイスに記憶された状態で、アーカイブ条件を充足するか否かを検知する手段と、アーカイブ条件の充足を検知した場合、前記第1記憶デバイスに記憶された実ファイルを、前記実ファイルに比べてデータ量が小さく且つ前記実ファイルとして提示されると共に前記バックアップファイルの読み出しに参照される参照情報を含む仮ファイルへ置換する処理を行う手段とを備えることを特徴とする。   In order to solve the above problems, a storage system according to the present invention includes a first communication device having a first storage device, a second storage device having a larger storage capacity than the first storage device, and the first communication. A storage system comprising a second communication device capable of communicating with the device, and performing archiving processing of a file stored in the first storage device based on an archive condition, wherein the actual file is stored in the first storage device, In the state where the backup file of the actual file is stored in the second storage device, the means for detecting whether or not the archive condition is satisfied, and when the satisfaction of the archive condition is detected, stored in the first storage device The actual file is displayed as the actual file with a smaller data amount than the actual file. It characterized in that it comprises a means for performing a process of replacing the temporary file containing the reference information referred to read the backup file with.

本発明に係るストレージシステムは、アーカイブ条件の充足を検知した場合、前記第1記憶デバイスに記憶された実ファイルを、前記第2記憶デバイスに記憶された前記バックアップファイルと比較して両者の中身の同異を判断する手段を備え、前記実ファイル及び前記バックアップファイルの中身が異なると判断した場合、前記実ファイルを前記仮ファイルへ置換する処理を行わないようにしてあることを特徴とする。   The storage system according to the present invention compares the actual file stored in the first storage device with the backup file stored in the second storage device when the satisfaction of the archiving condition is detected. Means for determining the difference is provided, and when the contents of the actual file and the backup file are determined to be different, the process of replacing the actual file with the temporary file is not performed.

また、本発明に係るストレージシステムは、前記第1記憶デバイスが、第1フォルダ及び第2フォルダを含み、前記第1フォルダに記憶された前記実ファイルを前記仮ファイルへ置換する処理を前記第1フォルダで行うようにしてあり、前記第1フォルダで置換された前記仮ファイルを、第2フォルダへコピーする手段を備えることを特徴とする。   Further, in the storage system according to the present invention, the first storage device includes a first folder and a second folder, and the first file processing includes replacing the actual file stored in the first folder with the temporary file. A temporary folder is provided, and the temporary file replaced with the first folder is provided with means for copying to the second folder.

さらに、本発明に係るストレージシステムは、前記第1記憶デバイスに記憶されたファイルを前記第2記憶デバイスへバックアップするバックアップ条件を充足するか否かを検知する手段と、前記バックアップ条件の充足を検知した場合、前記第2フォルダにコピーされた仮ファイルを、前記コピーされた仮ファイルのバックアップファイルとして前記第2記憶デバイスで記憶されるように、前記第2通信装置へアップロードする手段と、前記コピーされた仮ファイルをアップロードした場合、前記コピーされた仮ファイルを前記第2フォルダから削除する手段とを備えることを特徴とする。   Furthermore, the storage system according to the present invention detects whether or not a backup condition for backing up a file stored in the first storage device to the second storage device is satisfied, and detects whether the backup condition is satisfied The temporary file copied to the second folder is uploaded to the second communication device so as to be stored in the second storage device as a backup file of the copied temporary file; A means for deleting the copied temporary file from the second folder when the copied temporary file is uploaded.

さらにまた、本発明に係るストレージシステムは、前記バックアップ条件の充足を検知した場合、前記第2フォルダにコピーされた仮ファイルのバックアップファイルが前記第2記憶デバイスに記憶してあるか否かを検知する手段を備え、前記コピーされた仮ファイルのバックアップファイルが前記第2記憶デバイスに記憶してあることを検知した場合、前記コピーされた仮ファイルを前記第2通信装置へアップロードしないようにしてあることを特徴とする。   Furthermore, the storage system according to the present invention detects whether or not the backup file of the temporary file copied to the second folder is stored in the second storage device when the satisfaction of the backup condition is detected. Means for uploading the copied temporary file to the second communication device when it is detected that a backup file of the copied temporary file is stored in the second storage device. It is characterized by that.

また、本発明に係るストレージシステムは、前記第1記憶デバイスは、第1フォルダ及び第2フォルダを含み、前記第1記憶デバイスの第1フォルダに前記実ファイルが記憶された場合、前記実ファイルを、第2フォルダへコピーする手段と、前記第1記憶デバイスに記憶されたファイルを前記第2記憶デバイスへバックアップするバックアップ条件を充足するか否かを検知する手段と、前記バックアップ条件の充足を検知した場合、前記第2フォルダへコピーされた実ファイルを、前記コピーされた実ファイルのバックアップファイルとして前記第2記憶デバイスで記憶されるように、前記第2通信装置へアップロードする手段とを備えることを特徴とする。   In the storage system according to the present invention, the first storage device includes a first folder and a second folder, and when the actual file is stored in the first folder of the first storage device, the actual file is stored. Means for copying to the second folder, means for detecting whether or not a backup condition for backing up the file stored in the first storage device to the second storage device is satisfied, and detection of satisfaction of the backup condition And a means for uploading the actual file copied to the second folder to the second communication device so as to be stored in the second storage device as a backup file of the copied actual file. It is characterized by.

さらに、本発明に係るストレージシステムは、前記バックアップ条件の充足を検知した場合、前記第2フォルダにコピーされた実ファイルのバックアップファイルが前記第2記憶デバイスに記憶してあるか否かを検知する手段を備え、前記コピーされた実ファイルのバックアップファイルが前記第2記憶デバイスに記憶してあることを検知した場合、前記コピーされた実ファイルを前記第2通信装置へアップロードしないようにしてあることを特徴とする。   Furthermore, the storage system according to the present invention detects whether the backup file of the actual file copied to the second folder is stored in the second storage device when the satisfaction of the backup condition is detected. Means for not copying the copied actual file to the second communication device when it is detected that a backup file of the copied actual file is stored in the second storage device. It is characterized by.

本発明に係るアーカイブ処理方法は、第1記憶デバイスを有する第1通信装置と、前記第1記憶デバイスに比べて記憶容量が大きい第2記憶デバイスを有すると共に前記第1通信装置と通信可能である第2通信装置とを備えるストレージシステムが、前記第1記憶デバイスに記憶されたファイルのアーカイブ処理をアーカイブ条件に基づき行うアーカイブ処理方法において、前記第1記憶デバイスに実ファイルが記憶されて、且つ前記実ファイルのバックアップファイルが前記第2記憶デバイスに記憶された状態で、アーカイブ条件を充足するか否かを検知するステップと、アーカイブ条件の充足を検知した場合、前記第1記憶デバイスに記憶された実ファイルを、前記実ファイルに比べてデータ量が小さく且つ前記実ファイルとして提示されると共に前記バックアップファイルの読み出しに参照される参照情報を含む仮ファイルへ置換する処理を行うステップとを備えることを特徴とする。   The archive processing method according to the present invention includes a first communication device having a first storage device, a second storage device having a larger storage capacity than the first storage device, and is capable of communicating with the first communication device. In an archive processing method in which a storage system including a second communication device performs archive processing of a file stored in the first storage device based on an archive condition, an actual file is stored in the first storage device, and In the state where the backup file of the actual file is stored in the second storage device, the step of detecting whether or not the archive condition is satisfied, and when the satisfaction of the archive condition is detected, the step is stored in the first storage device. The actual file is presented as the actual file with a smaller amount of data than the actual file. Characterized in that it comprises a step of performing a process of replacing the temporary file containing the reference information referred to reading Rutotomoni the backup file.

本発明に係るストレージ通信装置は、記憶デバイスを有する外部の通信装置と通信可能であり、外部の通信装置が有する記憶デバイスに比べて記憶容量が小さいストレージデバイスを備え、前記ストレージデバイスに記憶されたファイルのアーカイブ処理をアーカイブ条件に基づき行うストレージ通信装置において、前記ストレージデバイスに実ファイルが記憶されて、且つ前記実ファイルのバックアップファイルが外部の通信装置が有する記憶デバイスに記憶された状態で、アーカイブ条件を充足するか否かを検知する手段と、アーカイブ条件の充足を検知した場合、前記ストレージデバイスに記憶された実ファイルを、前記実ファイルに比べてデータ量が小さく且つ前記実ファイルとして提示されると共に前記バックアップファイルの読み出しに参照される参照情報を含む仮ファイルへ置換する処理を行う手段とを備えることを特徴とする。   The storage communication device according to the present invention is capable of communicating with an external communication device having a storage device, and includes a storage device having a smaller storage capacity than the storage device of the external communication device, and is stored in the storage device In a storage communication device that performs file archiving processing based on archive conditions, an archive is stored in a state where a real file is stored in the storage device and a backup file of the real file is stored in a storage device of an external communication device Means for detecting whether or not the condition is satisfied, and when the satisfaction of the archiving condition is detected, the actual file stored in the storage device is presented as the actual file with a smaller data amount than the actual file. Read the backup file Characterized in that it comprises a means for performing a process of replacing the temporary file containing the reference information referred to out.

本発明に係るストレージ通信装置は、アーカイブ条件の充足を検知した場合、前記ストレージデバイスに記憶された実ファイルを、外部の通信装置が有する記憶デバイスに記憶された前記バックアップファイルと比較して両者の中身の同異を判断する手段を備え、前記実ファイル及び前記バックアップファイルの中身が異なると判断した場合、前記実ファイルを前記仮ファイルへ置換する処理を行わないようにしてあることを特徴とする。   When the storage communication device according to the present invention detects that the archive condition is satisfied, the storage communication device compares the actual file stored in the storage device with the backup file stored in the storage device of the external communication device. A means for determining the difference between the contents is provided, and when the contents of the actual file and the backup file are determined to be different, the process of replacing the actual file with the temporary file is not performed. .

本発明に係るストレージ通信装置は、前記ストレージデバイスは、第1フォルダ及び第2フォルダを含み、前記第1フォルダに記憶された前記実ファイルを前記仮ファイルへ置換する処理を前記第1フォルダで行うようにしてあり、前記第1フォルダで置換された前記仮ファイルを、第2フォルダへコピーする手段を備えることを特徴とする。   In the storage communication device according to the present invention, the storage device includes a first folder and a second folder, and the first folder performs a process of replacing the actual file stored in the first folder with the temporary file. The temporary file replaced with the first folder is provided with means for copying to the second folder.

本発明に係るストレージ通信装置は、前記ストレージデバイスに記憶されたファイルを外部の通信装置が有する記憶デバイスへバックアップするバックアップ条件を充足するか否かを検知する手段と、前記バックアップ条件の充足を検知した場合、前記第2フォルダにコピーされた仮ファイルを、前記コピーされた仮ファイルのバックアップファイルとして外部の通信装置が有する記憶デバイスで記憶されるように、外部の通信装置へアップロードする手段と、前記コピーされた仮ファイルをアップロードした場合、前記コピーされた仮ファイルを前記第2フォルダから削除する手段とを備えることを特徴とする。   The storage communication device according to the present invention detects whether a backup condition for backing up a file stored in the storage device to a storage device of an external communication device is satisfied, and detects whether the backup condition is satisfied If so, means for uploading the temporary file copied to the second folder to an external communication device so as to be stored in a storage device of the external communication device as a backup file of the copied temporary file; And a means for deleting the copied temporary file from the second folder when the copied temporary file is uploaded.

本発明に係るストレージ通信装置は、前記ストレージデバイスは、第1フォルダ及び第2フォルダを含み、前記ストレージデバイスの第1フォルダに前記実ファイルが記憶された場合、前記実ファイルを、第2フォルダへコピーする手段と、前記ストレージデバイスに記憶されたファイルを外部の通信装置が有する記憶デバイスへバックアップするバックアップ条件を充足するか否かを検知する手段と、前記バックアップ条件の充足を検知した場合、前記第2フォルダへコピーされた実ファイルを、前記コピーされた実ファイルのバックアップファイルとして外部の通信装置が有する記憶デバイスで記憶されるように、外部の通信装置へアップロードする手段とを備えることを特徴とする。   In the storage communication device according to the present invention, the storage device includes a first folder and a second folder. When the actual file is stored in the first folder of the storage device, the actual file is transferred to the second folder. A means for copying, a means for detecting whether or not a backup condition for backing up a file stored in the storage device to a storage device of an external communication device is satisfied, and when the satisfaction of the backup condition is detected, Means for uploading an actual file copied to the second folder to an external communication device so as to be stored in a storage device of the external communication device as a backup file of the copied actual file. And

本発明に係るアーカイブ処理方法は、記憶デバイスを有する外部の通信装置と通信可能であり、外部の通信装置が有する記憶デバイスに比べて記憶容量が小さいストレージデバイスを備えるストレージ通信装置が、前記ストレージデバイスに記憶されたファイルのアーカイブ処理をアーカイブ条件に基づき行うアーカイブ処理方法において、前記ストレージ通信装置は、前記ストレージデバイスに実ファイルが記憶されて、且つ前記実ファイルのバックアップファイルが外部の通信装置が有する記憶デバイスに記憶された状態で、アーカイブ条件を充足するか否かを検知するステップと、アーカイブ条件の充足を検知した場合、前記ストレージデバイスに記憶された実ファイルを、前記実ファイルに比べてデータ量が小さく且つ前記実ファイルとして提示されると共に前記バックアップファイルの読み出しに参照される参照情報を含む仮ファイルへ置換する処理を行うステップとを備えることを特徴とする。   The archive processing method according to the present invention is capable of communicating with an external communication device having a storage device, and the storage communication device including a storage device having a smaller storage capacity than the storage device of the external communication device includes the storage device. In the archive processing method for archiving a file stored in the storage device based on an archive condition, the storage communication device stores an actual file in the storage device, and an external communication device has a backup file of the actual file The step of detecting whether or not the archive condition is satisfied in the state stored in the storage device, and when the satisfaction of the archive condition is detected, the actual file stored in the storage device is compared with the actual file. The amount is small and the actual file Together are presented, characterized in that it comprises a step of performing a process of replacing the temporary file containing the reference information referred to read the backup file as.

本発明に係るコンピュータプログラムは、記憶デバイスを有する外部の通信装置と通信可能であり、外部の通信装置が有する記憶デバイスに比べて記憶容量が小さいストレージデバイスを備えるコンピュータに、前記ストレージデバイスに記憶されたファイルのアーカイブ処理をアーカイブ条件に基づき行わせるためのコンピュータプログラムにおいて、前記コンピュータに、前記ストレージデバイスに実ファイルが記憶されて、且つ前記実ファイルのバックアップファイルが外部の通信装置が有する記憶デバイスに記憶された状態で、アーカイブ条件を充足するか否かを検知するステップと、アーカイブ条件の充足を検知した場合、前記ストレージデバイスに記憶された実ファイルを、前記実ファイルに比べてデータ量が小さく且つ前記実ファイルとして提示されると共に前記バックアップファイルの読み出しに参照される参照情報を含む仮ファイルへ置換する処理を行うステップと
を実行させることを特徴とする。
The computer program according to the present invention is stored in the storage device in a computer having a storage device that can communicate with an external communication device having a storage device and has a smaller storage capacity than the storage device of the external communication device. In a computer program for causing a file to be archived based on archiving conditions, an actual file is stored in the computer and the backup file of the actual file is stored in an external communication device. In the stored state, the step of detecting whether or not the archive condition is satisfied, and when the satisfaction of the archive condition is detected, the actual file stored in the storage device is smaller in data amount than the actual file. And the fruit Characterized in that and a step of performing a process of replacing the temporary file containing the reference information referred to read the backup file while being presented as a file.

本発明にあっては、バックアップ処理により得られたバックアップ状況をアーカイブ処理で利用するようにして、実ファイルが第2通信装置の第2記憶デバイスにバックアップされている状態で、実ファイルを仮ファイル(ダミーファイル又はスタブファイルに相当)に置換する処理を行うことにより、第1通信装置と第2通信装置との間でファイルのやり取りを不要にし、さらに、実ファイルを仮ファイルに置換する処理は第1通信装置内で完結するため、ネットワークの混雑度等の影響に関係なく、アーカイブ処理を完了できるようになる。   In the present invention, the actual state of the actual file is backed up to the second storage device of the second communication device so that the backup status obtained by the backup process is used in the archive process. By performing the replacement process (corresponding to a dummy file or a stub file), there is no need to exchange files between the first communication apparatus and the second communication apparatus, and the replacement process of the actual file with the temporary file is Since the process is completed within the first communication device, the archive process can be completed regardless of the influence of the congestion level of the network.

なお、本発明におけるアーカイブ処理には、プライマリストレージ(第1記憶デバイス)に記憶されている実ファイルをセカンダリストレージ(第2記憶デバイス)へコピー(又は移動)するという一般的なアーカイブ処理の意味合いに加えて、実ファイルをダミーファイルへ置換する処理もアーカイブ処理の意味に含めるものとする。そのため、アーカイブ処理に関する「アーカイブ条件」という文言には、実ファイルをダミーファイルへ置換する処理を行う条件の意味も含まれるものとする。なお、アーカイブ条件の中身としては、第1記憶デバイスに実ファイルが記憶されてから一定期間が経過したとき、最後に実ファイルへアクセスされてから一定期間が経過したとき、現在の時刻がアーカイブ期間に入ったとき等が想定できると共に、第1記憶デバイスの使用量が一定以上(又は空き容量が一定以下)になったこともアーカイブ条件にすることが可能である。   The archiving process according to the present invention has a general archiving process meaning that an actual file stored in the primary storage (first storage device) is copied (or moved) to the secondary storage (second storage device). In addition, the process of replacing a real file with a dummy file is included in the meaning of the archive process. For this reason, the term “archive condition” relating to the archive process includes the meaning of the condition for performing the process of replacing the actual file with the dummy file. The contents of the archiving conditions are as follows: when a certain period has elapsed since the actual file was stored in the first storage device, when a certain period has elapsed since the last access to the actual file, the current time is the archiving period In addition, it is possible to assume that the usage amount of the first storage device is equal to or greater than a certain value (or the free space is equal to or less than a certain value).

本発明にあっては、アーカイブ条件を充足すると判断した場合、第1記憶デバイスの実ファイルと、第2記憶デバイスのバックアップファイルの中身を比較し、中身が異なれば、実ファイルを仮ファイルへ置換するアーカイブ処理を行わないので、アーカイブ処理により、第1記憶デバイスに記憶されている直近の実ファイルの中身が、異なる内容のバックアップファイルに変わってしまうことを防止できるようになる。   In the present invention, when it is determined that the archiving conditions are satisfied, the contents of the first storage device and the backup file of the second storage device are compared, and if the contents are different, the actual file is replaced with a temporary file. Since the archiving process is not performed, it is possible to prevent the contents of the latest real file stored in the first storage device from being changed to a backup file having a different content by the archiving process.

本発明にあっては、第1記憶デバイスに設けられる第1フォルダ及び第2フォルダの両方に実ファイルから置換された仮ファイルが記憶されるようにするので、たとえ、第1フォルダの仮ファイルがユーザ操作等によって消去されたとしても、第2フォルダにバックアップされている仮ファイルを用いれば、元の状態に戻して実ファイルを読み出せる状況に復帰することが可能となり、システムの堅牢性を高められるようになる。   In the present invention, since the temporary file replaced from the actual file is stored in both the first folder and the second folder provided in the first storage device, even if the temporary file in the first folder is stored. Even if it is deleted by a user operation, etc., if a temporary file backed up in the second folder is used, it is possible to return to the original state and return to the state where the actual file can be read, thereby improving the robustness of the system. Be able to.

本発明にあっては、第1記憶デバイスの第2フォルダに記憶されていた仮ファイルも、バックアップ条件が充足されると、第2通信装置の第2記憶デバイスへバックアップするので、第2記憶デバイスで仮ファイルを確保できる状況を作りだし、第2記憶デバイスへバックアップされた第2フォルダの仮ファイルは、バックアップに伴い削除されるので、第1記憶デバイスの記憶容量を有効に活用できるようになり、仮ファイルが第2フォルダに残ることで第1記憶デバイスの記憶容量が圧迫される状況を回避できるようになる。   In the present invention, the temporary file stored in the second folder of the first storage device is also backed up to the second storage device of the second communication device when the backup condition is satisfied. The temporary file in the second folder backed up to the second storage device is deleted along with the backup, so that the storage capacity of the first storage device can be used effectively. Since the temporary file remains in the second folder, a situation in which the storage capacity of the first storage device is compressed can be avoided.

本発明にあっては、実ファイルのバックアップファイルが既に第2記憶デバイスに記憶されていれば、バックアップ条件を充足しても、バックアップ処理を行わないので、第1通信装置と第2通信装置との間で無用な通信処理を行わずに済み、ネットワークの混雑による影響が各種処理に生じないようにできる。   In the present invention, if the backup file of the actual file is already stored in the second storage device, the backup process is not performed even if the backup condition is satisfied. Therefore, the first communication device and the second communication device Thus, unnecessary communication processing is not required between them, and the influence of network congestion can be prevented from occurring in various processing.

本発明にあっては、第1記憶デバイスに設けられる第1フォルダ及び第2フォルダの両方に実ファイルが記憶される状態を一旦確保してから、第2フォルダ側の実ファイルを第2通信装置へアップロードするので、バックアップ条件に合わせてアップロード処理を行えるようになる。すなわち、第2通信装置へアップロードされるのは第2フォルダに記憶されている実ファイルなので、第1フォルダに記憶されている実ファイルは、バックアップ対象から外れ、自由に内容の更新等を行えるようになり、ユーザ側の実ファイルの処理に第1フォルダの実ファイルで対応でき、ユーザの使い勝手を維持できる。   In the present invention, once the state in which the actual file is stored in both the first folder and the second folder provided in the first storage device is secured, the actual file on the second folder side is transferred to the second communication device. Uploading to, upload processing can be performed according to the backup conditions. That is, since the actual file stored in the second folder is uploaded to the second communication device, the actual file stored in the first folder is excluded from the backup target and can be freely updated. Thus, the processing of the actual file on the user side can be handled by the actual file in the first folder, and user convenience can be maintained.

なお、第1フォルダの実ファイルの中身が更新されれば、繰り返し同様の処理を行うことで、更新された実ファイルを第2フォルダにコピーし、この第2フォルダの実ファイルを用いてバックアップ処理(アップロード処理)を行えるようになる。この処理により、例えば、特定のファイルが第1フォルダに書き込まれ、その特定のファイルが第2記憶デバイスへバックアップされる前に更新されたとしても、更新前の特定のファイルと、更新後の特定のファイルの両方をバックアップできるようになり、その結果、同一ファイルの更新による更新世代ごとのバックアップファイルの作成を保証できるようになる。また、アップロード処理を行うことで、第1記憶デバイスに実ファイルが記憶されると共に、第2記憶デバイスに実ファイルのバックアップファイルが記憶される状況を作り出すことができ、この状況でアーカイブ条件が充足されれば、アーカイブ処理を行える環境もスムーズに確保できるようになり、このように、バックアップ処理とアーカイブ処理のタイミングを分離することで、アーカイブ条件の成立を待たずにバックアップ処理を実行できるようになり、処理対象となるファイルの安全性を確保できるようになる。   If the contents of the actual file in the first folder are updated, the same process is repeatedly performed to copy the updated actual file to the second folder, and backup processing is performed using the actual file in the second folder. (Upload process) can be performed. With this process, for example, even if a specific file is written to the first folder and the specific file is updated before being backed up to the second storage device, the specific file before the update and the specific after the update As a result, it is possible to guarantee the creation of a backup file for each update generation by updating the same file. In addition, by performing the upload process, it is possible to create a situation in which the actual file is stored in the first storage device and the backup file of the actual file is stored in the second storage device. In this situation, the archive condition is satisfied. If this is done, the environment where archive processing can be performed can be ensured smoothly. Thus, by separating the timing of backup processing and archive processing, backup processing can be executed without waiting for the establishment of archive conditions. Thus, the safety of the file to be processed can be secured.

本発明にあっては、バックアップ処理により、第1記憶デバイスに実ファイルが記憶されると共に、第2記憶デバイスに実ファイルのバックアップファイルが記憶される状態で、実ファイルを仮ファイルに置換する処理を行うので、第1通信装置及び第2通信装置の間で通信を行うことなく、アーカイブ処理を完了でき、アーカイブ処理にネットワークの混雑度の影響が出ることを防いで、タイムリーにアーカイブ処理を実行できる。   In the present invention, a process for replacing a real file with a temporary file while a real file is stored in the first storage device and a backup file of the real file is stored in the second storage device by the backup process. Therefore, the archive process can be completed without performing communication between the first communication apparatus and the second communication apparatus, and the archive process can be performed in a timely manner by preventing the influence of the network congestion on the archive process. Can be executed.

また、本発明にあっては、アーカイブ条件を充足すると判断した場合でも、第1記憶デバイスの実ファイルと、第2記憶デバイスのバックアップファイルとの間で、中身が異なれば、実ファイルを仮ファイルへ置換する処理を行わないので、アーカイブ処理により、記憶デバイスに記憶されている直近の実ファイルの中身が、異なる中身のバックアップファイルに置き換えられることを防止でき、実ファイルの安全を確保できる。   In the present invention, even if it is determined that the archiving condition is satisfied, if the contents differ between the actual file on the first storage device and the backup file on the second storage device, the actual file is converted to a temporary file. Therefore, the archive process can prevent the contents of the most recent actual file stored in the storage device from being replaced with a backup file having a different contents, thereby ensuring the safety of the actual file.

本発明にあっては、第1記憶デバイスに設けた第1フォルダ及び第2フォルダの両方に実ファイルから置換された仮ファイルが記憶させるので、第1フォルダの仮ファイルがユーザ操作等により削除されたとしても、第2フォルダにバックアップされている仮ファイルで、元の状態に戻すことができ、システムの堅牢性を高められる。   In the present invention, since the temporary file replaced from the actual file is stored in both the first folder and the second folder provided in the first storage device, the temporary file in the first folder is deleted by a user operation or the like. Even so, the temporary file backed up in the second folder can be restored to the original state, and the robustness of the system can be improved.

また、本発明にあっては、第1記憶デバイスの第2フォルダに記憶されていた仮ファイルもバックアップ条件が充足されると、第2記憶デバイスへバックアップするので、第2記憶デバイスにて仮ファイルを確保でき、また、第2記憶デバイスへバックアップされた第2フォルダの仮ファイルは、バックアップに伴い削除するので、第1記憶デバイスの記憶容量を有効に活用できる。   In the present invention, the temporary file stored in the second folder of the first storage device is also backed up to the second storage device when the backup condition is satisfied, so the temporary file is stored in the second storage device. Since the temporary file in the second folder backed up to the second storage device is deleted along with the backup, the storage capacity of the first storage device can be used effectively.

本発明にあっては、実ファイルのバックアップファイルが既に第2記憶デバイスに記憶されていれば、バックアップ条件を充足しても、バックアップ処理を行わないので、第1通信装置及び第2通信装置の間で無駄な通信が行われるのを防止できる。   In the present invention, if the backup file of the actual file is already stored in the second storage device, the backup process is not performed even if the backup condition is satisfied, so the first communication device and the second communication device It is possible to prevent wasteful communication between them.

また、本発明にあっては、第1記憶デバイスに設けられた第1フォルダ及び第2フォルダの両方に実ファイルが記憶される状態を一旦確保してから、第2フォルダ側の実ファイルを第2通信装置へアップロードするので、バックアップ条件に合わせてアップロード処理を行うことができ、また、第1フォルダ側の実ファイルはアップロードと関係しないようにして、実ファイルの安全性を確保した上で実ファイルについて通常の使い勝手も維持できる。   In the present invention, the state where the actual file is stored in both the first folder and the second folder provided in the first storage device is once secured, and then the actual file on the second folder side is stored in the first folder. 2 Upload to the communication device, so upload processing can be performed according to the backup conditions, and the actual file on the first folder side is not related to the upload, ensuring the safety of the actual file. The normal usability of the file can be maintained.

本発明の第1実施形態に係るストレージシステムの全体的な構成を示す概略図である。1 is a schematic diagram showing an overall configuration of a storage system according to a first embodiment of the present invention. (a)〜(c)は、ストレージシステムにおける「ファイル操作確認処理」の各状況を示す概略図である。(A)-(c) is the schematic which shows each condition of the "file operation confirmation process" in a storage system. (a)〜(d)は、ストレージシステムにおける「バックアップ処理」の各状況を示す概略図である。(A)-(d) is the schematic which shows each condition of the "backup process" in a storage system. (a)〜(c)は、ストレージシステムにおける「アーカイブ処理」の各状況を示す概略図である。(A)-(c) is the schematic which shows each condition of the "archive processing" in a storage system. (a)〜(d)は、ストレージシステムにおける「ファイル読み出し処理」の各状況を示す概略図である。(A)-(d) is the schematic which shows each condition of the "file read-out process" in a storage system. プライマリストレージサーバの主要な内部構成を示すブロック図である。It is a block diagram which shows the main internal structures of a primary storage server. エージェントによる各機能を示す機能ブロック図である。It is a functional block diagram which shows each function by an agent. セカンダリストレージサーバの主要な内部構成を示すブロック図である。It is a block diagram which shows the main internal structures of a secondary storage server. 管理サーバの主要な内部構成を示すブロック図である。It is a block diagram which shows the main internal structures of a management server. ユーザ端末の主要な内部構成を示すブロック図である。It is a block diagram which shows the main internal structures of a user terminal. (a)〜(c)は「ファイル操作確認処理」で行う追加、更新(変更)、削除に関する処理手順を示す第1〜3フローチャートである。(A)-(c) is a 1st-3rd flowchart which shows the process sequence regarding addition, update (change), and deletion performed by "file operation confirmation process". 「バックアップ処理」に関する処理手順を示す第4フローチャートである。It is a 4th flowchart which shows the process sequence regarding "backup process". 「アーカイブ処理」に関する処理手順を示す第5フローチャートである。It is a 5th flowchart which shows the process sequence regarding "archive processing." 「ファイル読み出し処理」に関する処理手順を示す第6フローチャートである。It is a 6th flowchart which shows the process sequence regarding "file read-out process". 本発明の第2実施形態に係るストレージシステムの全体的な構成を示す概略図である。It is the schematic which shows the whole structure of the storage system which concerns on 2nd Embodiment of this invention. 第2実施形態に係るプライマリストレージサーバの主要な内部構成を示すブロック図である。It is a block diagram which shows the main internal structures of the primary storage server which concerns on 2nd Embodiment. 第2実施形態の変形例に係るストレージシステムの全体的な構成を示す概略図である。It is the schematic which shows the whole structure of the storage system which concerns on the modification of 2nd Embodiment. 本発明の第3実施形態に係るストレージシステムの全体的な構成を示す概略図である。It is the schematic which shows the whole structure of the storage system which concerns on 3rd Embodiment of this invention. 第3実施形態に係る通信端末装置の主要な内部構成を示すブロック図である。It is a block diagram which shows the main internal structures of the communication terminal device which concerns on 3rd Embodiment. 本発明の第4実施形態に係るストレージシステムの全体的な構成を示す概略図である。It is the schematic which shows the whole structure of the storage system which concerns on 4th Embodiment of this invention. 第4実施形態に係る通信端末装置の主要な内部構成を示すブロック図である。It is a block diagram which shows the main internal structures of the communication terminal device which concerns on 4th Embodiment.

図1は、本発明の第1実施形態に係るストレージシステム1の全体的な概要を示したものである。第1実施形態のストレージシステム1は、プライマリストレージサーバ10(第1通信装置又はストレージ通信装置に相当)、セカンダリストレージサーバ20、及び管理サーバ30により構成される。プライマリストレージサーバ10はプライマリストレージ11(第1記憶デバイスに相当)を備え、セカンダリストレージサーバ20はセカンダリストレージ21(第2記憶デバイスに相当)を備える。   FIG. 1 shows an overall outline of a storage system 1 according to the first embodiment of the present invention. The storage system 1 according to the first embodiment includes a primary storage server 10 (corresponding to a first communication device or a storage communication device), a secondary storage server 20, and a management server 30. The primary storage server 10 includes a primary storage 11 (corresponding to a first storage device), and the secondary storage server 20 includes a secondary storage 21 (corresponding to a second storage device).

本実施形態のストレージシステム1は、プライマリストレージ11に記憶されるファイルを、セカンダリストレージ21へバックアップする処理を行い、このバックアップが行われた状態で、プライマリストレージ11に記憶されるファイルをダミーファイル(仮ファイルに該当)に置換するというアーカイブ処理等を行うことが特徴になっている。管理サーバ30は、バックアップ又はアーカイブ等に関する処理に伴う情報を管理データベースDB1に保管しており、所定の状態にファイルを戻すこと等に用いる情報を管理データベースDB1から読み出してプライマリストレージサーバ10へ提供する処理等を行う。   The storage system 1 of the present embodiment performs a process of backing up a file stored in the primary storage 11 to the secondary storage 21, and in the state where this backup is performed, the file stored in the primary storage 11 is a dummy file ( It is characterized by performing an archiving process such as replacing with a temporary file). The management server 30 stores information associated with processing related to backup or archiving in the management database DB1, and reads information used for returning the file to a predetermined state from the management database DB1 and provides it to the primary storage server 10. Perform processing.

ダミーファイルとは、スタブファイルとも称されるファイルであり、元のファイルの代役を果たすように、外部のクライアント端末に対して元のファイルとして提示されるようになっており、自身がダミーファイルであることを識別できる情報、及び管理サーバ30から情報を取得しなくても、元のファイルのバックアップファイルをセカンダリストレージ21から取得(ダウンロード)するときに参照される参照情報を含んでいる。勿論、ダミーファイルのデータ量は、元のファイルに比べて小さくなっている。なお、ダミーファイル以外のファイルについては、本発明において実ファイルに該当するものとしており、このような実ファイルの例としては、各種アプリケーションソフトにより生成される文書データファイル、表計算データファイル、画像データファイル等があり、特に詳細な写真等の画像データファイルはデータ量が一般的に大きいので、アーカイブ処理によって、データ量の小さいダミーファイルに置換する意義は大きい。   A dummy file is also called a stub file. It is presented as an original file to an external client terminal so that it can serve as a substitute for the original file. It includes information that can be identified, and reference information that is referred to when acquiring (downloading) a backup file of the original file from the secondary storage 21 without acquiring information from the management server 30. Of course, the data amount of the dummy file is smaller than that of the original file. Files other than dummy files correspond to actual files in the present invention. Examples of such actual files include document data files, spreadsheet data files, and image data generated by various application software. There are files and the like, and particularly image data files such as detailed photographs have a large amount of data. Therefore, it is significant to replace them with dummy files having a small amount of data by archiving.

ストレージシステム1はネットワーク上に構築されるシステムであり、クラウドサービスとして各種ファイルの保管、管理等を行うサービスをユーザに提供する。ストレージシステム1のハード的な構成としては図1に示すように、プライマリストレージサーバ10を、ネットワークを通じてセカンダリストレージサーバ20及び管理サーバ30と接続することで、プライマリストレージサーバ10とセカンダリストレージサーバ20との間で通信可能にすると共に、プライマリストレージサーバ10と管理サーバ30との間でも通信可能にしている。管理サーバ30は、管理サーバの管理者(システム管理者等)が利用する管理用端末45と接続されており、この管理用端末45を通じて、システム管理者等は、管理サーバ30の管理データベースDB1の中身、処理状況等を確認できるようにしている。なお、この管理用端末45は、ストレージシステム1を構成する要素には基本的に含まれないものとする。   The storage system 1 is a system constructed on a network, and provides a user with a service for storing and managing various files as a cloud service. As shown in FIG. 1, as a hardware configuration of the storage system 1, the primary storage server 10 and the secondary storage server 20 are connected by connecting the primary storage server 10 to the secondary storage server 20 and the management server 30 through a network. Communication between the primary storage server 10 and the management server 30 is also possible. The management server 30 is connected to a management terminal 45 that is used by a management server administrator (system administrator or the like). Through this management terminal 45, the system administrator or the like can access the management database DB 1 of the management server 30. The contents and processing status can be checked. The management terminal 45 is basically not included in the elements constituting the storage system 1.

ストレージシステム1は、プライマリストレージサーバ10を通じてユーザが用いるユーザ端末40(クライアント端末)とやり取りを行っており、ストレージシステム1によるクラウドサービスを利用するユーザは、ユーザ端末40を通じて、ファイルの保管・読み出し等をプライマリストレージサーバ10に行う。ユーザ端末40とプライマリストレージサーバ10はネットワークで繋がれることにより通信可能となっている。   The storage system 1 communicates with a user terminal 40 (client terminal) used by the user through the primary storage server 10, and a user who uses the cloud service provided by the storage system 1 stores, reads, etc. files through the user terminal 40. To the primary storage server 10. The user terminal 40 and the primary storage server 10 can communicate with each other by being connected via a network.

ユーザは、ストレージシステム1によるクラウドサービスを利用するにあたり、事前にユーザ登録等を行うようになっており、それによりストレージシステム1は、ユーザ識別用の識別情報をユーザ(ユーザ端末40)ごとに保持し、ユーザ(ユーザ端末40)ごとの処理を識別可能になっている。なお、第1実施形態において、ユーザ端末40は、ストレージシステム1によるクラウドサービスの利用側の機器に該当するので、第1実施形態に係るストレージシステム1を構成する要素に含まれない。また、図1では図示の簡易化のため、一台のユーザ端末40のみを示すに留まるが、ストレージシステム1によるクラウドサービスは勿論、複数のユーザ端末にサービスを提供可能となっており、識別情報に基づきユーザ(ユーザ端末)を識別して、本発明に係る処理(アーカイブ処理方法に係る処理)を各ユーザに対して行うものとする。   The user performs user registration and the like in advance when using the cloud service by the storage system 1, whereby the storage system 1 holds identification information for user identification for each user (user terminal 40). In addition, the process for each user (user terminal 40) can be identified. In the first embodiment, the user terminal 40 corresponds to a device on the cloud service usage side of the storage system 1 and is not included in the elements constituting the storage system 1 according to the first embodiment. Further, in FIG. 1, for simplification of illustration, only one user terminal 40 is shown, but it is possible to provide services to a plurality of user terminals as well as a cloud service by the storage system 1. The user (user terminal) is identified based on the above, and the processing according to the present invention (processing according to the archive processing method) is performed for each user.

ストレージシステム1において、プライマリストレージサーバ10はプライマリストレージ11に、高速でファイルの読み書きが可能な記憶デバイス(HDD:ハードディスクドライブ、SSD:ソリッドステートドライブ)を用いており、それにより、ユーザ端末40に対するファイルの送受及びファイル保管状況の提示等を迅速に行えるようにしている。一方、セカンダリストレージサーバ20は、セカンダリストレージ21に、プライマリストレージ11に比べて読み書き速度は遅いが記憶容量が大きい記憶媒体を用いた記憶デバイスを用いている。ストレージシステム1では、セカンダリストレージ21に上記のような特性の記憶デバイスを用いることで、大量のファイルを容易に保管できるようにしている。   In the storage system 1, the primary storage server 10 uses a storage device (HDD: hard disk drive, SSD: solid state drive) capable of reading and writing files at high speed for the primary storage 11, and thereby the file for the user terminal 40. Can be sent and received and file storage status can be presented quickly. On the other hand, the secondary storage server 20 uses, as the secondary storage 21, a storage device using a storage medium that has a slower read / write speed but a larger storage capacity than the primary storage 11. In the storage system 1, a large number of files can be easily stored by using a storage device having the above characteristics for the secondary storage 21.

本発明に係るストレージシステム1は複数種類の処理を行うが、これらの処理の中で「ファイル操作確認処理」、「バックアップ処理」、「アーカイブ処理」、及び「ファイル読み出し処理」の計4種類の処理が本発明において主要なものになっている。「ファイル操作確認処理」とは例えば、ユーザ端末40からプライマリストレージサーバ10へ送られたファイル(実ファイル)をプライマリストレージ11に追加して記憶する処理、一旦記憶したファイル(実ファイル)の中身の更新(変更)、削除等に対応した処理等を意味する。また、「バックアップ処理」とは例えば、プライマリストレージ11に記憶した実ファイルをセカンダリストレージ21にアップロードしてコピーし、実ファイルのバックアップファイルとして記憶する処理等を意味する。   The storage system 1 according to the present invention performs a plurality of types of processing. Among these types of processing, there are a total of four types of “file operation confirmation processing”, “backup processing”, “archive processing”, and “file read processing”. Processing is a major aspect of the present invention. The “file operation confirmation process” is, for example, a process of adding a file (actual file) sent from the user terminal 40 to the primary storage server 10 to the primary storage 11 and storing it, and a content of the file (actual file) once stored This means processing corresponding to update (change), deletion, and the like. The “backup process” means, for example, a process of uploading and copying an actual file stored in the primary storage 11 to the secondary storage 21 and storing it as a backup file of the actual file.

「アーカイブ処理」とは例えば、プライマリストレージ11に記憶された実ファイルをダミーファイルに置換してプライマリストレージ11の空き容量を確保するという処理等を意味する。さらに、「ファイル読み出し処理」とは、ダミーファイルに対するユーザ端末40からの読み出し指示に伴って、そのダミーファイルに応じた実ファイルのバックアップファイルをセカンダリストレージ21からプライマリストレージ11へダウンロードし、そのダウンロードしたバックアップファイルを実ファイルとして読み出し指示元のユーザ端末40へ提供するものである。   “Archive process” means, for example, a process of replacing a real file stored in the primary storage 11 with a dummy file to secure a free capacity in the primary storage 11. Further, the “file read processing” downloads a backup file of a real file corresponding to the dummy file from the secondary storage 21 to the primary storage 11 in accordance with a read instruction from the user terminal 40 for the dummy file, and downloads the file. The backup file is provided as a real file to the user terminal 40 that has issued the read instruction.

図2(a)〜(c)は、上述した主要な4種類の処理の中の「ファイル操作確認処理」の概要を処理状況ごとに図示したものである。なお、プライマリストレージ11には、バックアップ・アーカイブフォルダ11a(以下、B・Aフォルダ11aと称す)、及び作業フォルダ11bという記憶領域が設けられている。B・Aフォルダ11aは基本的に、バックアップ処理及びアーカイブ処理の対象となる各種ファイルを記憶するためのフォルダであり(第1フォルダに応じた第1記憶領域に該当)、一方、作業フォルダ11bは基本的に、実際に各種処理を行うワークエリア的に使用されるフォルダであり(第2フォルダに応じた第2記憶領域に該当)、バッファ的な意味合いも有する。   FIGS. 2A to 2C show an outline of the “file operation confirmation process” in the four main types of processes described above for each process status. The primary storage 11 is provided with storage areas such as a backup / archive folder 11a (hereinafter referred to as a B / A folder 11a) and a work folder 11b. The B / A folder 11a is basically a folder for storing various files to be backed up and archived (corresponding to the first storage area corresponding to the first folder), while the working folder 11b is Basically, it is a folder used as a work area that actually performs various processes (corresponding to the second storage area corresponding to the second folder), and also has a buffer meaning.

まず、図2(a)に示すように、クラウドサービスを利用するユーザ端末40からプライマリストレージサーバ10へ送信されてきた実ファイルd1は、プライマリストレージ11のB・Aフォルダ11aに追加されて記憶される。B・Aフォルダ11aにファイルが追加されると、プライマリストレージサーバ10は、そのファイルを作業フォルダ11bにコピーし、それにより、図2(b)に示すように、コピーされた実ファイルd1′が作業フォルダ11bに記憶された状態になる。なお、このコピーされた実ファイルd1′のファイル名は、コピー元のB・Aフォルダ11aに記憶されている実ファイルd1のファイル名に付加情報(例えば、コピー日時)を追加した名称を付与する処理が、プライマリストレージサーバ10により行われる。   First, as shown in FIG. 2A, the actual file d1 transmitted from the user terminal 40 using the cloud service to the primary storage server 10 is added to the B / A folder 11a of the primary storage 11 and stored. The When a file is added to the B / A folder 11a, the primary storage server 10 copies the file to the work folder 11b, whereby the copied real file d1 'is copied as shown in FIG. The state is stored in the work folder 11b. The file name of the copied actual file d1 ′ is given a name obtained by adding additional information (for example, copy date and time) to the file name of the actual file d1 stored in the copy source B / A folder 11a. Processing is performed by the primary storage server 10.

そして、図2(c)に示すように、プライマリストレージサーバ10は、作業フォルダ11bに実ファイルd1′をコピーしたことを表すファイル情報f1(コピーしたファイルのファイル名、作業フォルダ11bにコピーされた日時等を示す情報)を作成し、作業フォルダ11bに記憶する。このファイル情報f1を参照することにより、実ファイルd1、d1′のコピー状況等を把握することが可能になる。なお、このファイル情報f1の具体的なファイル形式は、データベースの構築に一般的に用いられるSQL(Structured Query Language)ファイルと称されるものであり、図2(c)で作成されるファイル情報f1は、更新用SQLファイルとして作成される。   Then, as shown in FIG. 2C, the primary storage server 10 has file information f1 indicating that the actual file d1 ′ has been copied to the work folder 11b (the file name of the copied file, copied to the work folder 11b). Information indicating date and time) is created and stored in the work folder 11b. By referring to the file information f1, it is possible to grasp the copy status of the actual files d1 and d1 ′. The specific file format of the file information f1 is called an SQL (Structured Query Language) file generally used for database construction, and the file information f1 created in FIG. Is created as an update SQL file.

上述した図2(a)〜(c)の処理は、既にプライマリストレージ11のB・Aフォルダ11aに記憶されている実ファイルd1の中身が、ユーザ端末40の処理により更新(変更)された場合も同様に行われる。すなわち、プライマリストレージ11のB・Aフォルダ11aの実ファイルd1が更新されると、その更新された実ファイルd1が作業フォルダ11bにコピーされると共に、作業フォルダ11bに記憶されていたファイル情報f1に、更新前の実ファイルd1の削除に関する情報、及び更新によりコピーされた実ファイルd1′に関する情報(更新されてコピーされたファイルのファイル名、更新された日時、作業フォルダ11bにコピーされた日時等を示す情報)も追加される。このようなファイル更新に関する処理は、B・Aフォルダ11aに記憶される実ファイルが更新されるごとに行われ、それに伴い、作業フォルダ11bには、更新ごとにコピーされた実ファイルd1′が蓄積されていき、蓄積された実ファイルd1′を用いることで、所望の更新時期の中身に実ファイルd1を戻すことも可能になる。それにより、例えば、特定のファイルがプライマリストレージ11(B・Aフォルダ11a)に書き込まれ、その特定のファイルがセカンダリストレージ21へバックアップされる前に更新されたとしても、更新前の特定のファイルと、更新後の特定のファイルの両方をバックアップできるようになり、その結果、同一ファイルの更新による更新世代ごとのバックアップファイルの作成を保証している。   2A to 2C described above is the case where the contents of the actual file d1 already stored in the B / A folder 11a of the primary storage 11 are updated (changed) by the process of the user terminal 40. Is done in the same way. That is, when the actual file d1 in the B / A folder 11a of the primary storage 11 is updated, the updated actual file d1 is copied to the work folder 11b and the file information f1 stored in the work folder 11b is added. Information regarding deletion of the actual file d1 before update, and information regarding the actual file d1 'copied by the update (file name of the updated and copied file, date and time of update, date and time of copying to the working folder 11b, etc. Is also added). Such file update processing is performed every time the actual file stored in the B / A folder 11a is updated, and accordingly, the actual file d1 'copied for each update is accumulated in the working folder 11b. Then, by using the stored actual file d1 ′, it is possible to return the actual file d1 to the contents of the desired update time. Thereby, for example, even if a specific file is written in the primary storage 11 (B / A folder 11a) and the specific file is updated before being backed up to the secondary storage 21, Both of the specific files after the update can be backed up, and as a result, the creation of a backup file for each update generation by updating the same file is guaranteed.

また、プライマリストレージ11のB・Aフォルダ11aに記憶されている実ファイルd1の削除指示がユーザ端末40から出されて、その削除指示をプライマリストレージサーバ10が受け取った場合、プライマリストレージサーバ10は、B・Aフォルダ11aに記憶されている実ファイルd1の削除処理を行うと共に、作業フォルダ11bに記憶されているファイル情報f1に「実ファイルd1の削除を行った旨、削除した実ファイルd1のファイル名、及び削除日時の削除情報」を追加する処理を行う。なお、この削除処理の際、作業フォルダ11bにコピーされた実ファイルd1′が記憶されていた場合、作業フォルダ11bの実ファイルd1′の削除までは行わない。このように削除した実ファイルd1のコピーの実ファイルd1′については作業フォルダ11bに残しておくことで、削除した実ファイルd1のバックアップを、作業フォルダ11bの実ファイルd1′で行うことが可能となり、その結果、実ファイルd1の削除前の状態に戻すことができる。   In addition, when an instruction to delete the actual file d1 stored in the B / A folder 11a of the primary storage 11 is issued from the user terminal 40 and the deletion instruction is received by the primary storage server 10, the primary storage server 10 The actual file d1 stored in the B / A folder 11a is deleted, and the file information f1 stored in the work folder 11b indicates that “the actual file d1 has been deleted. The process of adding “name and deletion information of deletion date” is performed. When the actual file d1 ′ copied in the work folder 11b is stored in the deletion process, the deletion of the actual file d1 ′ in the work folder 11b is not performed. By leaving the actual file d1 ′ of the copy of the actual file d1 thus deleted in the working folder 11b, it becomes possible to back up the deleted actual file d1 with the actual file d1 ′ of the working folder 11b. As a result, it is possible to return to the state before deletion of the actual file d1.

次に、上述した4種類の処理の中の「バックアップ処理」について説明すると、プライマリストレージサーバ10は、現在の状況がバックアップ条件を充足するか否かを検知しており、バックアップ条件の充足を検知した場合、作業フォルダ11bにファイル情報f1が記憶されているか否かの検出を行う。上述した図2(c)の状態を引き継いで、バックアップ処理を行うときは、作業フォルダ11bに更新用SQLファイルとして機能するファイル情報f1が記憶されていることになるので、プライマリストレージサーバ10は、バックアップ処理を開始することの通知を管理サーバ30へ送り、管理サーバ30から、通知に対する応答を受信すると、プライマリストレージサーバ10はバックアップ処理を始める。但し、管理サーバ30が何らかの理由により動作不能の状態のときは、管理データベースDB1の更新処理が行えないので、プライマリストレージサーバ10はバックアップを行わない。   Next, the “backup process” in the above-described four types of processes will be described. The primary storage server 10 detects whether or not the current situation satisfies the backup condition, and detects whether the backup condition is satisfied. In this case, it is detected whether or not the file information f1 is stored in the work folder 11b. When performing the backup process by taking over the state of FIG. 2C described above, the file information f1 functioning as the update SQL file is stored in the work folder 11b. When the notification of starting the backup process is sent to the management server 30 and a response to the notification is received from the management server 30, the primary storage server 10 starts the backup process. However, when the management server 30 is in an inoperable state for some reason, the update processing of the management database DB1 cannot be performed, so the primary storage server 10 does not perform backup.

なお、この際、プライマリストレージサーバ10は、作業フォルダ11bに記憶されているファイル情報f1を更新用SQLファイルからバックアップ用SQLファイルとして機能するようにリネームする処理を行う。このリネーム処理は、新たなファイル操作(図2(a)〜(c)等に示したファイルの追加、更新、削除に応じたファイル操作)が発生した場合に、更新用SQLファイルとして機能するファイル情報を新たに生成できるようにするためであり、このように新たな更新用SQLファイルとして機能するファイル情報を生成した場合、作業フォルダ11bには、バックアップ用SQLファイルとして機能するファイル情報と、更新用SQLファイルとして機能するファイル情報の計二つのファイル情報が記憶される状態になる。   At this time, the primary storage server 10 performs a process of renaming the file information f1 stored in the work folder 11b so as to function as a backup SQL file from the update SQL file. This renaming process is a file that functions as an update SQL file when a new file operation (file operation according to addition, update, or deletion of a file shown in FIGS. 2A to 2C) occurs. In order to newly generate information, when file information that functions as a new update SQL file is generated in this manner, the work folder 11b includes file information that functions as a backup SQL file and an update. A total of two pieces of file information, that is, file information that functions as a general SQL file, are stored.

作業フォルダ11bに存在する更新用SQLファイル又はバックアップ用SQLファイルとして機能する情報ファイルf1の記憶状況としては、「(一)更新用SQLファイル記憶なし、バックアップ用SQLファイル記憶なし」、「(二)更新用SQLファイル記憶あり、バックアップ用SQLファイル記憶なし」、「(三)更新用SQLファイル記憶なし、バックアップ用SQLファイル記憶あり」、及び「(四)更新用SQLファイル記憶あり、バックアップ用SQLファイル記憶あり」の計4通りの場合が想定される。   As the storage status of the update SQL file or the information file f1 functioning as the backup SQL file existing in the work folder 11b, “(1) No update SQL file storage, no backup SQL file storage”, “(2) "Update SQL file storage, no backup SQL file storage", "(3) Update SQL file storage, backup SQL file storage", and "(4) Update SQL file storage, backup SQL file" There are four possible cases of “with memory”.

上記(一)の場合はバックアップ処理が完了し、且つファイル操作(ファイルの追加、更新、削除)が生じていない状態であり、上記(二)の場合はバックアップ処理が完了し、且つファイル操作(ファイルの追加、更新、削除)があった状態であり、上記(三)の場合はバックアップ処理が完了しておらず、且つファイル操作(ファイルの追加、更新、削除)が生じていない状態であり、上記(四)の場合はバックアップ処理が完了しておらず、且つファイル操作(ファイルの追加、更新、削除)があった状態である。   In case (1) above, the backup process has been completed and no file operation (addition, update, deletion) has occurred, and in case (2), the backup process has been completed and the file operation ( (Addition, update, deletion of file) has occurred, and in the case of (3) above, the backup process has not been completed and no file operation (addition, update, deletion of file) has occurred. In the case of (4) above, the backup process has not been completed and a file operation (addition, update, deletion) has been performed.

図3(a)〜(d)は、「バックアップ処理」の概要の処理状況を図示したものであり、図3(a)に示すように、プライマリストレージサーバ10は、作業フォルダ11bに記憶されているファイル情報f1に基づきDB更新情報f2を作成する。このDB更新情報f2は、バックアップ処理の対象となる実ファイルd1′のファイル名、バックアップ対象となる実ファイルd1′のコピー日時等を示す情報、バックアップファイルとして記憶される際のファイル名等を含んだものになっており、データベース更新用SQLファイルとして機能する。なお、DB更新情報f2の作成に伴い、作業フォルダ11bに記憶されていたファイル情報f1は削除される。   FIGS. 3A to 3D illustrate an overview of the “backup process”. As shown in FIG. 3A, the primary storage server 10 is stored in the work folder 11b. DB update information f2 is created based on the existing file information f1. The DB update information f2 includes the file name of the actual file d1 ′ to be backed up, information indicating the copy date and time of the actual file d1 ′ to be backed up, the file name when stored as a backup file, and the like. It functions as a database update SQL file. Note that the file information f1 stored in the work folder 11b is deleted with the creation of the DB update information f2.

次に、プライマリストレージサーバ10は、バックアップ対象の実ファイルd1′と中身が同じものが、既にセカンダリストレージ21に記憶されているか否かを検知し、記憶されていないことを検知した場合、作業フォルダ11bに記憶されていた実ファイルd1′をセカンダリストレージサーバ20へアップロードして、セカンダリストレージ21に、アップロードした実ファイルd1″を実ファイルd1のバックアップファイルとして記憶させる(図3(b)参照)。なお、バックアップ対象の実ファイルd1′と中身が同じものが、既にセカンダリストレージ21に記憶されていることを検知した場合、プライマリストレージサーバ10は、実ファイルd1′のバックアップ(アップロード)を行わない。   Next, the primary storage server 10 detects whether or not the same content as the actual file d1 'to be backed up is already stored in the secondary storage 21, and if it is not stored, the primary storage server 10 The actual file d1 ′ stored in 11b is uploaded to the secondary storage server 20, and the uploaded actual file d1 ″ is stored in the secondary storage 21 as a backup file of the actual file d1 (see FIG. 3B). If it is detected that the same content as the actual file d1 ′ to be backed up is already stored in the secondary storage 21, the primary storage server 10 does not back up (upload) the actual file d1 ′.

それから、図3(c)に示すように、プライマリストレージサーバ10は、作業フォルダ11bに記憶していたDB更新情報f2を管理サーバ30へ送信し、管理サーバ30はDB更新情報f2を受信すると、管理データベースDB1に、受信したDB更新情報f2を記憶して、管理データベースDB1の中身を更新する。そして、プライマリストレージサーバ10は作業フォルダ11bに記憶されていた実ファイルd1′及びDB更新情報f2を削除する。このような処理を経て、図3(d)に示すように、プライマリストレージ11のB・Aフォルダ11aには実ファイルd1が記憶され、セカンダリストレージ21には、その実ファイルd1のバックアップファイルの実ファイルd1″が記憶される状態が得られる。なお、上記は基本的に単数のファイルのバックアップ処理について説明したが、複数のファイルのバックアップ処理については、「一:バックアップ用SQLファイルから、1つのファイル情報を抽出」、「二:対象ファイルをセカンダリストレージサーバ20へアップロードしてバックアップ」、「三:DB更新用SQLファイルに対象のファイル情報を追加」、「四:バックアップ用SQLファイルから対象のファイル情報を削除」という一〜四の処理を、バックアップ用SQLファイルに新たなファイル情報がなくなるまで繰り返すことになる。   Then, as shown in FIG. 3C, the primary storage server 10 transmits the DB update information f2 stored in the work folder 11b to the management server 30, and when the management server 30 receives the DB update information f2, The received DB update information f2 is stored in the management database DB1, and the contents of the management database DB1 are updated. Then, the primary storage server 10 deletes the actual file d1 ′ and the DB update information f2 stored in the work folder 11b. Through such processing, as shown in FIG. 3D, the actual file d1 is stored in the B / A folder 11a of the primary storage 11, and the actual file of the backup file of the actual file d1 is stored in the secondary storage 21. d1 ″ is stored. In the above description, the backup processing of a single file has basically been described. However, regarding backup processing of a plurality of files, “1: From a backup SQL file to one file. "Extract information", "2: Upload the target file to the secondary storage server 20 for backup", "3: Add the target file information to the DB update SQL file", "4: Target file from the backup SQL file 1 to 4 processes called “delete information” for backup New file information to QL file so that is repeated until no.

図4(a)〜(c)は、上述した4種類の処理の中の「アーカイブ処理」の概要の処理状況を図示したものであり、この「アーカイブ処理」は、上述した「バックアップ処理」により図3(d)に示すバックアップ完了状態になったことを前提に開始される。   FIGS. 4A to 4C illustrate the processing status of the outline of the “archive processing” among the four types of processing described above. This “archive processing” is performed by the above-described “backup processing”. The process is started on the assumption that the backup completion state shown in FIG.

プライマリストレージサーバ10は、現在の状況がアーカイブ条件を充足するか否かを検知しており、アーカイブ条件の充足検知に伴いアーカイブ開始通知を管理サーバ30へ送信する(図4(a)参照)。アーカイブ開始通知の送信に応じて、プライマリストレージサーバ10は、管理サーバ30から送られてきたアーカイブファイル情報f3を受信すると、作業フォルダ11bに記憶する処理を行う。アーカイブファイル情報f3は、アーカイブ処理対象の実ファイルd1について、管理データベースDB1から抽出された情報になっており、図3(c)の段階で、管理サーバ30へ送られるDB更新情報f2の中身に応じた内容を含んでいる。   The primary storage server 10 detects whether or not the current situation satisfies the archive condition, and transmits an archive start notification to the management server 30 when the satisfaction of the archive condition is detected (see FIG. 4A). When the primary storage server 10 receives the archive file information f3 sent from the management server 30 in response to the transmission of the archive start notification, the primary storage server 10 performs a process of storing it in the work folder 11b. The archive file information f3 is information extracted from the management database DB1 for the actual file d1 to be archived, and is contained in the DB update information f2 sent to the management server 30 in the stage of FIG. It contains the contents according to.

次に、図4(b)に示すように、プライマリストレージサーバ10は、作業フォルダ11bから、アーカイブファイル情報f3を読み出して、そのアーカイブファイル情報f3に含まれる情報に基づいて、ダミーファイルd11を生成(作成)し、そのダミーファイルd11で実ファイルを置換するという内容のアーカイブ処理を行う。この処理で生成されるダミーファイルd11は、ダミーファイル読み出し処理においてセカンダリストレージ21からバックアップファイル(実ファイルd1″)の読み出しに参照される参照情報を含んでいる。なお、アーカイブファイル情報f3に複数の処理対象のファイルが指定されていると、「一:アーカイブファイル情報f3から1つの処理対象のファイルの情報を取り出す」、「二:取り出したファイルの情報に基づきダミーファイル生成」、「三:生成したダミーファイルで、処理対象のファイルを置換して更新」という一〜三の処理を、アーカイブファイル情報f3で指定される処理対象のファイルの情報がなくなるまで繰り返すことになる。   Next, as shown in FIG. 4B, the primary storage server 10 reads the archive file information f3 from the work folder 11b, and generates a dummy file d11 based on the information included in the archive file information f3. (Create) and archive processing is executed to replace the actual file with the dummy file d11. The dummy file d11 generated by this process includes reference information that is referred to when the backup file (actual file d1 ″) is read from the secondary storage 21 in the dummy file read process. The archive file information f3 includes a plurality of pieces of reference information. When a file to be processed is specified, “1: Extract information of one file to be processed from archive file information f3”, “2: Generate dummy file based on extracted file information”, “3: Generate The first to third processes of “replace and update the processing target file with the dummy file” are repeated until there is no information on the processing target file specified by the archive file information f3.

図4(c)は、このような「アーカイブ処理」の後の処理を示し、上述した図2(a)、(b)に示す「ファイル操作確認処理」に基づき行われる内容になっている。すなわち、B・Aフォルダ11aで実ファイルd1がダミーファイルd11に置換されることで、ダミーファイルd11が新たに生じたことになり、プライマリストレージサーバ10は、ダミーファイルd11を作業フォルダ11bにコピーして、作業フォルダ11bにもコピーされたダミーファイルd11′を記憶する。なお、コピーされたダミーファイルd11′は、コピー元のB・Aフォルダ11aに記憶されているダミーファイルd11のファイル名に付加情報(例えば、コピー日時)を追加したファイル名になっている。   FIG. 4C shows a process after such an “archive process”, which is performed based on the “file operation confirmation process” shown in FIGS. 2A and 2B described above. That is, the dummy file d11 is newly generated by replacing the actual file d1 with the dummy file d11 in the B / A folder 11a, and the primary storage server 10 copies the dummy file d11 to the working folder 11b. Thus, the copied dummy file d11 ′ is also stored in the working folder 11b. The copied dummy file d11 ′ has a file name obtained by adding additional information (for example, copy date and time) to the file name of the dummy file d11 stored in the copy source B / A folder 11a.

さらに、プライマリストレージサーバ10は、図3(b)(c)に示した場合と同様に、作業フォルダ11bに記憶されているアーカイブファイル情報f3に基づき、アーカイブ情報更新用SQLファイルに相当するDB更新情報f22を作成し、その作成したDB更新情報f22を管理サーバ30へ送信し、管理サーバ30はDB更新情報f22を受信すると、管理データベースDB1に、受信したDB更新情報f22を記憶して、管理データベースDB1の中身を更新する。それから、管理サーバ30からの応答を待って、プライマリストレージサーバ10は、作業フォルダ11bのアーカイブファイル情報f3及びDB更新情報f22を削除することになる。   Further, as in the case shown in FIGS. 3B and 3C, the primary storage server 10 updates the DB corresponding to the archive information update SQL file based on the archive file information f3 stored in the work folder 11b. The information f22 is created, and the created DB update information f22 is transmitted to the management server 30. Upon receiving the DB update information f22, the management server 30 stores the received DB update information f22 in the management database DB1 and manages it. Update the contents of the database DB1. Then, after waiting for a response from the management server 30, the primary storage server 10 deletes the archive file information f3 and the DB update information f22 in the work folder 11b.

なお、作業フォルダ11bにコピーされたダミーファイルd11′は、図3(a)(b)に示した「バックアップ処理」により、バックアップ条件が充足された場合に、セカンダリストレージサーバ20へアップロードされ、ダミーファイルd11のバックアップファイルとしてセカンダリストレージ21に記憶されることになる。   The dummy file d11 ′ copied to the work folder 11b is uploaded to the secondary storage server 20 when the backup conditions are satisfied by the “backup process” shown in FIGS. This is stored in the secondary storage 21 as a backup file of the file d11.

図5(a)〜(d)は、上述した4種類の処理の中の「ファイル読み出し処理」の概要の処理状況を図示したものであり、図5(a)は、上述した「アーカイブ処理」等が行われてB・Aフォルダ11aにダミーファイルd11が記憶され、セカンダリストレージ21にはバックアップされたダミーファイルd11″が記憶された状態を前提にしており、この状態でユーザ端末40からは実ファイルとして見えるダミーファイルd11に対するファイル読み出し指示を、プライマリストレージサーバ10が受け取った状況を示す。   FIGS. 5A to 5D illustrate the processing status of the outline of the “file reading process” among the four types of processes described above. FIG. 5A illustrates the “archive process” described above. And the dummy file d11 is stored in the B / A folder 11a and the backed-up dummy file d11 ″ is stored in the secondary storage 21. A situation in which the primary storage server 10 has received a file read instruction for the dummy file d11 that appears as a file is shown.

プライマリストレージサーバ10は、読み取り指示を受け取ると、B・Aフォルダ11aに記憶されるダミーファイルd11が含む参照情報より、ダミーファイルd11に応じた実ファイルd1″(バックアップファイル)を特定し、その特定した実ファイルd1″のダウロード要求をセカンダリストレージサーバ20に送ることで、実ファイルd1″をセカンダリストレージサーバ20からプライマリストレージサーバ10へダウンロードする。この実ファイルd1″のダウンロードにより、プライマリストレージサーバ10は、B・Aフォルダ11aに記憶していたダミーファイルd11を、元の実ファイルd1へと置換して更新し、B・Aフォルダ11aに記憶する(図5(b)参照)。なお、置換更新された実ファイルd1は、読み取り指示を出したユーザ端末40へプライマリストレージサーバ10から送られることになる。   Upon receiving the read instruction, the primary storage server 10 specifies the actual file d1 ″ (backup file) corresponding to the dummy file d11 from the reference information included in the dummy file d11 stored in the B / A folder 11a, and specifies the specified file. The actual file d1 ″ is sent to the secondary storage server 20 by sending a download request for the actual file d1 ″ to the primary storage server 10. The primary storage server 10 downloads the actual file d1 ″. The dummy file d11 stored in the B / A folder 11a is replaced with the original real file d1, updated, and stored in the B / A folder 11a (see FIG. 5B). The replacement-updated real file d1 is sent from the primary storage server 10 to the user terminal 40 that issued the read instruction.

また、このダミーファイルd11から置換した実ファイルd1をB・Aフォルダ11aに記憶することで、B・Aフォルダ11aには実ファイルd1が新たに追加されたことになるので、図2(a)(b)に示す場合と同様に、プライマリストレージサーバ10は、B・Aフォルダ11aの実ファイルd1を、作業フォルダ11bにコピーし、コピーした実ファイルd1′を作業フォルダ11bに記憶する(図5(c)参照)。なお、この際、ファイル情報f1の最終アクセス日時を更新し、この実ファイルd1がすぐに再アーカイブされないようにしてもよい。また、実ファイルd1のファイルリード時にファイル情報f1に、実ファイルd1の最終アクセス日時の更新を行う情報を追加してもよい(次回のバックアップ時に管理サーバ30の管理データベースDB1が更新されることになる)。   Further, by storing the actual file d1 replaced from the dummy file d11 in the B / A folder 11a, the actual file d1 is newly added to the B / A folder 11a. Similarly to the case shown in FIG. 5B, the primary storage server 10 copies the actual file d1 of the B / A folder 11a to the working folder 11b, and stores the copied actual file d1 ′ in the working folder 11b (FIG. 5). (See (c)). At this time, the last access date and time of the file information f1 may be updated so that the actual file d1 is not immediately re-archived. In addition, information for updating the last access date and time of the real file d1 may be added to the file information f1 when the real file d1 is read (the management database DB1 of the management server 30 is updated at the next backup time). Become).

そして、プライマリストレージサーバ10がバックアップ条件の充足を検知すると、バックアップ処理を行うことになるが、図5(c)に示す状況では、既にセカンダリストレージ21には、同じ中身の実ファイルd1″が記憶されている状態であることから、このような状態をプライマリストレージサーバ10が検知することで、作業フォルダ11bに記憶している実ファイルd1′を、セカンダリストレージ21へアップロードせずに削除し、無用なアップロードを行わないようにしている。作業フォルダ11bに記憶された実ファイルd1′の削除により、プライマリストレージ11のB・Aフォルダ11aには実ファイルd1が記憶され、セカンダリストレージ21の記憶媒体にはバックアップファイルとしての実ファイルd1″及びダミーファイルd11″が記憶されている状態が得られる(図5(d)参照)。以下、上記のような各処理を行うストレージシステム1を構成するプライマリストレージサーバ10等について詳説していく。   When the primary storage server 10 detects that the backup condition is satisfied, backup processing is performed. In the situation shown in FIG. 5C, the real file d1 ″ having the same contents is already stored in the secondary storage 21. Therefore, when the primary storage server 10 detects such a state, the real file d1 ′ stored in the working folder 11b is deleted without being uploaded to the secondary storage 21, and is unnecessary. By deleting the actual file d1 ′ stored in the work folder 11b, the actual file d1 is stored in the B / A folder 11a of the primary storage 11 and stored in the storage medium of the secondary storage 21. Is the actual file d1 ″ as a backup file and A state in which the dummy file d11 "is stored is obtained (see FIG. 5 (d)). Hereinafter, continue to detail the primary storage server 10 or the like constituting the storage system 1 to perform the processes described above.

図6は、プライマリストレージサーバ10(第1通信装置又はストレージ通信装置に相当)の主要な内部構成を示している。本実施形態のプライマリストレージサーバ10にはサーバコンピュータを適用しており、全体的な制御及び各種処理を行うMPU10aに、各種デバイス等を内部接続線10hで接続したものになっており、各種デバイス等には、通信モジュール10b、RAM10c、ROM10d、入力インタフェース10e、出力インタフェース10f、記憶部10g、及びプライマリストレージ11等がある。   FIG. 6 shows a main internal configuration of the primary storage server 10 (corresponding to the first communication device or the storage communication device). A server computer is applied to the primary storage server 10 of the present embodiment, and various devices and the like are connected to the MPU 10a that performs overall control and various processes by an internal connection line 10h. Includes a communication module 10b, a RAM 10c, a ROM 10d, an input interface 10e, an output interface 10f, a storage unit 10g, a primary storage 11, and the like.

通信モジュール10bは、ネットワークとの接続モジュールに相当する通信デバイスであり、所要の通信規格に応じたものである(例えばLANモジュール)。通信モジュール10bは、所要の通信機器(図示は省略。例えばルータ等が該当)を介してネットワークと接続されており、セカンダリストレージサーバ20及び管理サーバ30との通信を可能にすると共に、ユーザ端末40との通信も可能にしている。   The communication module 10b is a communication device corresponding to a connection module with a network, and conforms to a required communication standard (for example, a LAN module). The communication module 10b is connected to a network via a required communication device (not shown, for example, a router or the like), enables communication with the secondary storage server 20 and the management server 30, and the user terminal 40. Communication with is also possible.

RAM10cは、MPU10aの処理に伴う内容、ファイル等を一時的に記憶するものであり、ROM10dは、MPU10aの基本的な処理内容を規定したプログラム等を記憶するものである。入力インタフェース10eは、システム管理者等からの操作指示等を受け付けるキーボード10i、マウス等が接続されるものであり、プライマリストレージサーバ10のシステム管理者等から受け付けた操作指示等をMPU10aへ伝える。出力インタフェース10fは、ディスプレイ10j(表示出力装置)が接続されるものであり、MPU10aの処理に伴う内容をディスプレイ10jへ出力し、システム管理者等が現在の処理内容等を確認できるようにしている。   The RAM 10c temporarily stores contents, files, and the like accompanying the processing of the MPU 10a, and the ROM 10d stores programs and the like that define the basic processing contents of the MPU 10a. The input interface 10e is connected to a keyboard 10i, a mouse, and the like for receiving an operation instruction from a system administrator or the like, and transmits the operation instruction received from the system administrator or the like of the primary storage server 10 to the MPU 10a. The output interface 10f is connected to a display 10j (display output device), and outputs contents associated with the processing of the MPU 10a to the display 10j so that a system administrator or the like can check the current processing contents. .

記憶部10gは、プログラム等を記憶するものであり、具体的には、サーバプログラムP1、及び処理プログラムP2等を記憶している。サーバプログラムP1は、サーバコンピュータ用のオペレーティングシステムに応じた各種処理を規定したものであり、この規定内容に基づいた処理をMPU10aが行うことで、プライマリストレージサーバ10はサーバコンピュータとしての機能を果たす。また、処理プログラムP2は、本発明に係る各種処理の制御をMPU10aが行うことを規定したコンピュータプログラムであり、上述した図2〜5に示す各処理において、プライマリストレージサーバ10が行う制御処理内容がプログラミングされたものになっている。本実施形態では、処理プログラムP2のプログラム内容により、MPU10aが様々な処理をエージェント15として行うようになる。   The storage unit 10g stores programs and the like, and specifically stores a server program P1, a processing program P2, and the like. The server program P1 defines various processes according to the operating system for the server computer, and the primary storage server 10 functions as a server computer when the MPU 10a performs processes based on the defined contents. The processing program P2 is a computer program that defines that the MPU 10a performs control of various processes according to the present invention, and the control processing content performed by the primary storage server 10 in each of the processes shown in FIGS. It is programmed. In the present embodiment, the MPU 10a performs various processes as the agent 15 depending on the program contents of the processing program P2.

図7は、処理プログラムP2の規定内容により、MPU10aがエージェント15として行う各機能をブロック的に表した機能ブロック図であり、MPU10aは、図7に示す(1)〜(13)の各内容を行う手段として機能する。エージェント15の機能としては、「(1)ファイルバックアップ管理機能」、「(2)ファイルアーカイブ管理機能」、「(3)ファイルリストア機能」、「(4)ファイルアンアーカイブ管理機能」、「(5)ファイルリード検出機能」、「(6)ファイル追加・更新・削除検出機能」、「(7)ファイルアップロード機能」、「(8)時間管理機能」、「(9)ストレージ使用率監視機能」、「(10)データベース更新機能」、「(11)管理サーバ通信機能」、「(12)ダミーファイル生成機能」、及び「(13)ファイルダウンロード機能」等があり、これらの各機能に応じた処理を、MPU10aはエージェント15として行うことにより、図2〜5等の「ファイル操作確認処理」〜「ファイル読み出し処理」でプライマリストレージサーバ10が行うと説明した各種処理を実質的に担うことになる。   FIG. 7 is a functional block diagram showing in block form each function performed by the MPU 10a as the agent 15 according to the specified contents of the processing program P2. The MPU 10a displays the contents (1) to (13) shown in FIG. Acts as a means to do. The functions of the agent 15 include “(1) file backup management function”, “(2) file archive management function”, “(3) file restore function”, “(4) file unarchive management function”, “(5 ) File read detection function ”,“ (6) File addition / update / deletion detection function ”,“ (7) File upload function ”,“ (8) Time management function ”,“ (9) Storage usage rate monitoring function ”, There are “(10) database update function”, “(11) management server communication function”, “(12) dummy file generation function”, “(13) file download function”, etc., and processing according to these functions The MPU 10a performs the primary operation in the “file operation confirmation process” to the “file read process” in FIGS. Various processes described as being performed by the storage server 10 are substantially performed.

「(1)ファイルバックアップ管理機能」とは、図3(a)等に示す「バックアップ処理」に関する機能であり、バックアップ条件の充足を検知したときに、プライマリストレージ11(作業フォルダ11b)に新たなファイルが追加又は更新されたファイルが追加されていれば、それらのファイルをセカンダリストレージ21へアップロードしてバックアップする処理に応じた機能である。また、バックアップ履歴およびバックアップしたファイルのファイル情報を、管理サーバ30へ送信する機能処理も「(1)ファイルバックアップ管理機能」は含む。   “(1) File backup management function” is a function related to “backup processing” shown in FIG. 3A and the like, and when a satisfaction of backup conditions is detected, a new one is added to the primary storage 11 (work folder 11b). This is a function corresponding to a process of uploading and backing up the files to the secondary storage 21 if files that have been added or updated are added. Further, “(1) File backup management function” also includes a function process for transmitting backup history and file information of a backed up file to the management server 30.

「(2)ファイルアーカイブ管理機能」とは、図4(a)等に示す「アーカイブ処理」に関する機能であり、アーカイブ条件の充足を検知すると、管理サーバ30からアーカイブファイル情報f3により指示された実ファイルをダミーファイルに置換する。また、アーカイブ履歴およびアーカイブ処理を行ったダミーファイルのファイル情報等を管理サーバ30へ送信する機能処理も「(2)ファイルアーカイブ管理機能」は含む。   The “(2) file archive management function” is a function related to “archive processing” shown in FIG. 4A and the like. When the satisfaction of the archive condition is detected, the actual operation instructed by the archive file information f3 from the management server 30 is performed. Replace the file with a dummy file. Further, “(2) File archive management function” also includes a function process for transmitting the archive history and file information of the dummy file subjected to the archive process to the management server 30.

「(3)ファイルリストア機能」とは、一旦、ダミーファイルで追加又は更新を行い、その後、指定に応じて実ファイルに更新することなどを行う。このような指定を管理サーバ30で行うことにより、管理サーバ30の指示に基づき、プライマリストレージ11を特定の日付の状態に再構築すること、プライマリストレージ11の特定のフォルダまたはファイルを指定した日時の状態に戻すことが、処理時間を短縮して可能となる。なお、リストア履歴を管理サーバ30へ送る機能処理も「(3)ファイルリストア機能」は含んでいる。   The “(3) file restore function” temporarily adds or updates a dummy file and then updates it to a real file according to designation. By performing such designation in the management server 30, based on the instruction of the management server 30, the primary storage 11 is reconstructed to a specific date state, and the date and time when a specific folder or file in the primary storage 11 is designated. Returning to the state is possible by shortening the processing time. The function processing for sending the restore history to the management server 30 also includes “(3) file restore function”.

「(4)ファイルアンアーカイブ管理機能」とは、管理サーバ30によって指示されたダミーファイルを実ファイルに戻すために、ダミーファイルを実ファイルへ更新(置換)する処理に応じた機能である。「(5)ファイルリード検出機能」とは、ユーザ端末40からのファイルの読み出し指示を検出し、読み出し対象が実ファイルであれば、プライマリストレージ11に記憶されている実ファイルを読み出し、ユーザ端末40へ送る処理を行い、読み出し対象がダミーファイルであれば、「(13)ファイルダウンロード機能」を用いて、図5(a)〜(d)の「ファイル読み出し処理」で示したように、セカンダリストレージ21にバックアップファイルとして記憶されている実ファイルをプライマリストレージ11にダウンロードし、ダミーファイルを、ダウンロードした実ファイルに置換してから、その置換した実ファイルをユーザ端末40へ送る処理を行う。   “(4) File unarchive management function” is a function corresponding to a process of updating (replacement) a dummy file to a real file in order to return the dummy file instructed by the management server 30 to the real file. The “(5) file read detection function” detects a file read instruction from the user terminal 40, and if the read target is a real file, reads the real file stored in the primary storage 11, and the user terminal 40 If the read target is a dummy file, using the “(13) file download function”, as shown in the “file read process” in FIGS. 5A to 5D, the secondary storage The actual file stored as the backup file in 21 is downloaded to the primary storage 11, the dummy file is replaced with the downloaded actual file, and then the replaced actual file is sent to the user terminal 40.

「(6)ファイル追加・更新・削除検出機能」とは、プライマリストレージ11におけるファイルのアクセスを監視して、「ファイル操作確認処理」に応じたファイルの追加・更新・削除というイベントを検出し、ファイルバックアップのためのファイル情報を生成する機能である。   “(6) File addition / update / deletion detection function” monitors file access in the primary storage 11 and detects an event of file addition / update / deletion according to “file operation confirmation processing”. This function generates file information for file backup.

「(7)ファイルアップロード機能」とは、プライマリストレージ11の作業フォルダ11bに記憶されているファイルを、セカンダリストレージ21にアップロードしてバックアップを行う機能である。「(8)時間管理機能」とは、管理サーバ30にて、予め設定されているバックアップ条件に係るバックアップ期間、及びアーカイブ条件に係るアーカイブ期間等の通知を検知し、この種の通知を検知すると、「(1)ファイルバックアップ管理機能」、及び「(2)ファイルアーカイブ管理機能」を作動させる処理を行う。   The “(7) file upload function” is a function for uploading a file stored in the work folder 11 b of the primary storage 11 to the secondary storage 21 for backup. “(8) Time management function” means that the management server 30 detects a notification of a backup period related to a preset backup condition and an archive period related to an archive condition, and detects this type of notification. , “(1) File backup management function” and “(2) File archive management function” are performed.

「(9)ストレージ使用率監視機能」とは、プライマリストレージ11の使用率(又は空き容量)を監視し、予め設定された使用率を超過したこと(又は予め設定された空き容量を下回ったこと)を検知すると、「(2)ファイルアーカイブ管理機能」を作動させる機能である。「(10)データベース更新機能」とは、各処理の履歴やファイル管理情報を、管理サーバ30の管理データベースDB1に登録するために、これらの履歴及び情報(各種SQLファイル)を生成して管理サーバ30へ送る機能である。   “(9) Storage usage rate monitoring function” means that the usage rate (or free capacity) of the primary storage 11 is monitored, and the preset usage rate has been exceeded (or has fallen below the preset free capacity). ) Is a function that activates “(2) File archive management function”. “(10) Database update function” means that the history and file management information of each process is registered in the management database DB1 of the management server 30 by generating such history and information (various SQL files). It is a function to send to 30.

「(11)管理サーバ通信機能」とは、上述した各機能による処理を経て、管理サーバ30との通信を行う機能であり、この機能を用いて、バックアップ処理、アーカイブ処理についての通知をプライマリサーバ10から管理サーバ30へ送信し、また、管理サーバ30から送られてくる応答を受信する。   The “(11) management server communication function” is a function for performing communication with the management server 30 through the processing of each function described above, and using this function, notification of backup processing and archive processing is sent to the primary server. 10 to the management server 30 and receives a response sent from the management server 30.

「(12)ダミーファイル生成機能」とは、アーカイブ条件の充足を検知したときに、実ファイルを置換するためのダミーファイルをアーカイブファイル情報f3より生成する機能である。生成されるダミーファイルには、上述したように参照情報が含まれており、この参照情報は、元になる実ファイルのファイル名を含むファイル名情報、及びバックアップファイルの読み出しに必要な情報等を有する。本実施形態のセカンダリストレージ21には、ファイルに相当するオブジェクトが直接書き込まれる仕組みのオブジェクトストレージ(一般にAmazonS3互換ストレージと称される)が用いられること、又はNAS(Network Attached Storage)にも対応したストレージが用いられることもあるため、ダミーファイルは参照情報に、オブジェクトとしてユニークなID(オブジェクトID。オブジェクト識別情報に該当)を含ませている。   The “(12) dummy file generation function” is a function for generating a dummy file for replacing an actual file from the archive file information f3 when the satisfaction of the archive condition is detected. As described above, the generated dummy file includes reference information. This reference information includes file name information including the file name of the original actual file, information necessary for reading the backup file, and the like. Have. The secondary storage 21 of the present embodiment uses an object storage (generally referred to as Amazon S3-compatible storage) in which an object corresponding to a file is directly written, or a storage that also supports NAS (Network Attached Storage) In some cases, the dummy file includes a unique ID (object ID, corresponding to object identification information) as an object in the reference information.

このオブジェクトIDは、ハッシュ関数で生成される任意長のデータから128ビットのハッシュ値に基づいており、ハッシュ値を再計算して比較して、比較対象のファイルの値が異なれば、両者は相違することを検知できる。オブジェクトIDの仕様としては、file_クライアントID(3桁の10進数)_ファイル名のMD5_更新日時(yyyyMMddHHmmssSSS:年月日時分秒ミリ秒)_ファイルサイズ(19桁の10進数)_中身のMD5_連番(6桁の10進数)が考えられ、一例としては「file_001_c4ca4238a0b923820dcc509a6f75849b_20150101123045777_0000000000000000001_c81e728d9d4c2f636f067f89cc14862c_000001」という内容が挙げられる。このようなオブジェクトIDの中身は、プライマリストレージ11の作業フォルダ11bに、実ファイル又はダミーファイルがコピーされると、そのコピーされたファイルのファイル名として使用される。   This object ID is based on a 128-bit hash value from arbitrary length data generated by the hash function. If the hash value is recalculated and compared, and the compared files have different values, they are different. Can be detected. Object ID specification is file_client ID (3-digit decimal number) _file name MD5_update date / time (yyyyMMddHHmmssSSS: year / month / day / hour / minute / second / millisecond) _file size (19-digit decimal number) _content MD5_sequential number (6-digit decimal number) is conceivable. As an example, there is a content “file_001_c4ca4238a0b923820dcc509a6f75849b_20150101123045777_0000000000000000001_c81e728d9d4c2f636f067f89cc14862c_000001”. The contents of such an object ID are used as the file name of the copied file when an actual file or a dummy file is copied to the work folder 11b of the primary storage 11.

また、セカンダリストレージ21としてNASが用いられる場合、S3互換ストレージのときと異なり、データは、一般的なファイルシステムに基づいてディレクトリにファイルとして記憶される。セカンダリストレージ21にNASが用いられる場合、ダミーファイルの格納ディレクトリとして、格納ディレクトの下層に、アップロード時等の処理に応じた日時を示すディレクトが、年、月、日、時、分の順で、それぞれ設けられると共に、これらの中で一番下となるディレクトの下層に、オブジェクトIDをファイル名としたバックアップファイルが記録される。一例として、2015年8月27日の12時00分にアップロードされた場合のダミーファイルの格納ディレクトリは、「¥¥格納ディレクトリ名¥2015¥08¥27¥12¥00」と表すことができ、このようなダミーファイルの格納ディレクトリとファイル名は、オブジェクトIDより特定可能になっている。   Further, when NAS is used as the secondary storage 21, data is stored as a file in a directory based on a general file system, unlike the case of S3 compatible storage. When NAS is used for the secondary storage 21, as a dummy file storage directory, a directory indicating the date and time according to the processing at the time of upload or the like is arranged in the order of year, month, day, hour, and minute below the storage directory. A backup file having an object ID as a file name is recorded in the lower layer of the directory which is the lowest directory among them. As an example, the storage directory of the dummy file in the case of uploading at 12:00 on August 27, 2015 can be expressed as “¥¥ storage directory name ¥ 2015 ¥ 08 ¥ 27 ¥ 12 ¥ 00”, Such a dummy file storage directory and file name can be specified by the object ID.

そして、「(13)ファイルダウンロード機能」とは、プライマリストレージ11に記憶されるダミーファイルをセカンダリストレージ21でバックファイルとして記憶されている実ファイルで置換するために、セカンダリストレージ21からプライマリストレージ11へ実ファイル(バックアップファイル)をダウンロードする機能である。   The “(13) file download function” means that the dummy file stored in the primary storage 11 is replaced with a real file stored as a back file in the secondary storage 21 to transfer from the secondary storage 21 to the primary storage 11. This function downloads actual files (backup files).

処理プログラムP2は、上述した(1)〜(13)の各機能を連携させる処理内容も規定しており、この連携処理の規定内容により、MPU10aは、上述した図2〜5の「ファイル操作確認処理」〜「ファイル読み出し処理」等を含む各種機能をエージェントとして行えるようになる。   The processing program P2 also defines the processing contents for linking the functions (1) to (13) described above, and the MPU 10a performs the “file operation confirmation” shown in FIGS. Various functions including “processing” to “file reading processing” can be performed as an agent.

例えば、図2(a)等に示す「ファイル操作確認処理」に関し,エージェント15は、「(6)ファイル追加・更新・削除検出機能」により、プライマリストレージ11のB・Aフォルダ11aにおけるファイル操作(追加・変更・削除)を検出し、ファイル操作を検出したときファイル処理を実行する。この際、エージェント15は、ファイル操作の履歴を残すために、更新用SQLファイルに操作情報を追加して更新し、更新用SQLファイルが保存されていなければ、新たに生成することになる。   For example, regarding the “file operation confirmation process” shown in FIG. 2A and the like, the agent 15 uses the “(6) file addition / update / deletion detection function” to perform the file operation ( Add / Change / Delete) is detected, and file processing is executed when a file operation is detected. At this time, the agent 15 adds and updates the operation information to the update SQL file in order to leave the file operation history. If the update SQL file is not stored, the agent 15 newly generates it.

ファイルの追加に対して、エージェント15は、プライマリストレージ11のB・Aフォルダ11aに追加されたファイルを、作業ディレクトリ11bにコピーする。このように作業ディレクトリ11bにコピーするのは、ファイルがバックアップ(アップロード)される前にファイルの更新・消去が行われた場合でも、更新・消去前のファイルにバックアップできるようにするためである。なお、ファイルの追加を行うと、エージェント15は、更新用SQLファイルに、追加されたファイルの情報を追加することになる。   In response to the addition of the file, the agent 15 copies the file added to the B / A folder 11a of the primary storage 11 to the working directory 11b. The reason for copying to the working directory 11b is to enable backup to the file before update / erase even if the file is updated / erased before the file is backed up (uploaded). When the file is added, the agent 15 adds the information of the added file to the update SQL file.

また、ファイルの変更(更新)に対しても、エージェント15は、プライマリストレージ11のB・Aフォルダ11aで変更されたファイルを、作業ディレクトリ11bにコピーする。そして、エージェント15は、更新用SQLファイルに、変更前のファイルに関するファイル情報についての変更情報を付加すると共に、変更されたファイルのファイル情報を追加する。さらに、ファイルの削除について、エージェント15は、更新用SQLファイルに、削除したファイルに関するファイル情報についての削除情報を付加する。   Further, the agent 15 also copies the file changed in the B / A folder 11a of the primary storage 11 to the work directory 11b even when the file is changed (updated). Then, the agent 15 adds change information about the file information related to the file before the change to the update SQL file and adds the file information of the changed file. Further, regarding the deletion of the file, the agent 15 adds deletion information about the file information regarding the deleted file to the update SQL file.

図3(a)等の「バックアップ処理」に関し,エージェント15は、「(1)ファイルバックアップ管理機能」により、バックアップ条件充足を検知するに伴い、プライマリストレージ11の作業フォルダ11bに記憶されたファイルを、バックアップのためにセカンダリストレージサーバ20へアップロードする。この処理は、ファイルの保全性を高める目的のためであり、プライマリストレージ11の作業フォルダ11bに記憶されるファイルは、エージェント15の機能により、セカンダリストレージ21へ自動的にバックアップされる。このバックアップの際、作業ディレクトリ11bにコピーされたファイルのファイル名(セカンダリストレージ21に記憶する際のファイル名)を含む更新用SQLファイルの上記内容(ファイル名等)を基に、エージェント15は、バックアップ対象のファイルを特定し、バックアップ処理を実行することになる。   With regard to the “backup processing” in FIG. 3A and the like, the agent 15 uses the “(1) file backup management function” to detect the files stored in the work folder 11b of the primary storage 11 as the backup condition is satisfied. Upload to the secondary storage server 20 for backup. This process is for the purpose of improving the integrity of the file, and the file stored in the work folder 11 b of the primary storage 11 is automatically backed up to the secondary storage 21 by the function of the agent 15. At the time of this backup, based on the above contents (file name, etc.) of the update SQL file including the file name of the file copied to the working directory 11b (file name when stored in the secondary storage 21), the agent 15 The file to be backed up is specified and the backup process is executed.

バックアップ処理の開始にあたり、管理サーバ30で設定されたバックアップ期間(バックアップ条件に係る期間)において、作業フォルダ11aに更新用SQLファイル又はバックアップ用SQLファイルが記憶されている状態であれば、エージェント15は、管理サーバ30にバックアップ処理を開始することを通知して応答を待ち、管理サーバ30からの応答を受け取ると、バックアップ処理を開始する。実際にバックアップ処理を行うにあたり、エージェント15はバックアップ用SQLファイルより、1ファイルずつファイル情報を読み出し、その読み出した内容に基づき、以下のような処理を実行していく。   If the update SQL file or the backup SQL file is stored in the work folder 11a in the backup period (period related to the backup condition) set by the management server 30 at the start of the backup process, the agent 15 The management server 30 is notified that the backup process is to be started, waits for a response, and when a response from the management server 30 is received, the backup process is started. When actually performing the backup process, the agent 15 reads file information from the backup SQL file one file at a time, and executes the following process based on the read contents.

まず、プライマリストレージ11の作業ディレクトリ11bに記憶されているファイルを読み取り、セカンダリストレージサーバ20へアップロードするという、セカンダリストレージ21へアップロードしたファイルを書き込むための処理をエージェント15は実行する。この処理により、バックアップが成功した場合、エージェント15は、バックアップしたファイルのファイル情報にバックアップ完了情報およびバックアップ先のファイル情報を付加し、データベース更新用SQLファイルに追加し、バックアップ用SQLファイルからバックアップが成功したファイルのファイル情報を削除する。   First, the agent 15 executes a process for writing the uploaded file to the secondary storage 21 such as reading a file stored in the working directory 11 b of the primary storage 11 and uploading the file to the secondary storage server 20. If the backup is successful by this processing, the agent 15 adds the backup completion information and the backup destination file information to the file information of the backed up file, adds them to the database update SQL file, and the backup is performed from the backup SQL file. Delete the file information of a successful file.

一方、作業ディレクトリ11bのファイルが読み取れない、又はセカンダリストレージ21の記憶媒体へ書き込みができない等の理由によりバックアップに失敗した場合、エージェント15は、バックアップ用SQLファイルのバックアップ対象のファイルのファイル情報を保持したまま、次のファイルのファイル情報を読み出す。なお、削除ファイル情報を扱う場合、エージェント15は、ファイル情報をデータベース更新用SQLファイルに追加し、バックアップ用SQLファイルからファイル情報を削除することを行う。   On the other hand, when the backup fails due to the reason that the file in the working directory 11b cannot be read or cannot be written to the storage medium of the secondary storage 21, the agent 15 holds the file information of the backup target file of the backup SQL file. Read the file information of the next file. When handling the deleted file information, the agent 15 adds the file information to the database update SQL file and deletes the file information from the backup SQL file.

バックアップ用SQLファイルに含まれる全てのファイル情報の処理が完了すると、エージェント15は、管理サーバ30にデータベース更新用SQLファイルを送る。これにより、管理サーバ30は管理データベースDB1の更新を行う。また、バックアップ処理の完了に伴い、エージェント15は、バックアップ完了通知を管理サーバ30へ送り、管理サーバ30からの結果応答を受け取る。そして、全てのファイルのバックアップに成功した場合では、エージェント15はデータベース更新用SQLファイル、バックアップ用SQLファイル、及び作業ディレクトリ11bにコピーされたファイルの削除を実行する。また、全てのファイルをバックアップできなかった場合、エージェント15は、データベース更新用SQLファイルを削除すると共に、作業ディレクトリ11bにコピーされたファイルの中でバックアップに成功したファイルを削除する。   When processing of all the file information included in the backup SQL file is completed, the agent 15 sends the database update SQL file to the management server 30. Thereby, the management server 30 updates the management database DB1. As the backup process is completed, the agent 15 sends a backup completion notification to the management server 30 and receives a result response from the management server 30. If all files have been successfully backed up, the agent 15 deletes the database update SQL file, the backup SQL file, and the file copied to the working directory 11b. If all the files cannot be backed up, the agent 15 deletes the database update SQL file and deletes the file successfully backed up from the files copied to the working directory 11b.

図4(a)等の「アーカイブ処理」に関し、エージェント15は、管理サーバ30から通知されるアーカイブ期間の検知、又はプライマリストレージ11の使用率が予め指定されている閾値を超えたことの検知に伴い、管理サーバ30にアーカイブ処理の開始を通知し、管理サーバ30からの応答(ファイル情報)を受け取ると、アーカイブ処理を開始する。なお、上記のプライマリストレージ11の使用率が予め指定されている閾値を超えることも、アーカイブ条件の充足に該当する。また、エージェント15が管理サーバ30へ通知する内容には、アーカイブ処理の対象にするファイルのファイル情報を問い合わせることも含んでおり、管理サーバ30からの応答には、管理データベースDB1から読み出されたアーカイブ処理対象のファイルのファイル情報が含まれている。   4A, the agent 15 detects the archive period notified from the management server 30, or detects that the usage rate of the primary storage 11 exceeds a predetermined threshold. Accordingly, the management server 30 is notified of the start of the archiving process, and when a response (file information) is received from the management server 30, the archiving process is started. Note that the usage rate of the primary storage 11 exceeding the threshold value specified in advance also satisfies the archive condition. The contents notified by the agent 15 to the management server 30 include inquiring about file information of a file to be archived, and the response from the management server 30 is read from the management database DB1. Contains file information of the archive target file.

エージェント15は、アーカイブ処理を行うにあたり、管理サーバ30からのファイル情報に基づきアーカイブ処理対象のファイルの種類を検知(確認)しており、アーカイブ処理対象がダミーファイルであることを検知した場合、ダミーファイルはアーカイブ処理の対象にならないので、アーカイブ処理を実行せず、一方、アーカイブ処理対象が実ファイルであることを検知した場合、その実ファイルがアクセス可能であれば、その実ファイルのアーカイブ処理を実行する。また、エージェント15は、管理サーバ30からの応答で、ファイル比較が指定されていれば、プライマリストレージ11に記憶されているアーカイブ対象のファイル(実ファイル)と、セカンダリストレージ21に記憶されているバックアップファイル(実ファイルのバックアップファイル)とを比較して、両者の中身の同異を判断し、ファイルが一致しないと判断した場合は、一致しないファイルのアーカイブ処理は実行せず、ファイルが一致したと判断したファイルについてのみアーカイブ処理を行うことになる。   When performing the archive process, the agent 15 detects (confirms) the type of the file to be archived based on the file information from the management server 30. If the agent 15 detects that the archive process target is a dummy file, Since the file is not subject to archiving, archiving is not performed. On the other hand, if it is detected that the archiving target is a real file, the actual file is archived if the real file is accessible. . If the file comparison is specified in the response from the management server 30, the agent 15 stores the archive target file (actual file) stored in the primary storage 11 and the backup stored in the secondary storage 21. Compare the file (the actual file backup file), determine the difference between the contents, and if the files do not match, do not perform archiving of the mismatched files, Only the determined file is archived.

また、エージェント15は、アーカイブ情報を管理サーバ30の管理データベースDB1に登録してアーカイブ処理の履歴を残すため、アーカイブ情報更新用SQLファイルが作業フォルダ11aに存在していない状態であれば、アーカイブ情報更新用SQLファイルを生成する。エージェント15は、実ファイルのファイル情報にアーカイブ処理が行われたことを示す情報を、アーカイブ情報更新用SQLファイルに追記する。   Further, since the agent 15 registers the archive information in the management database DB1 of the management server 30 and leaves an archive processing history, if the archive information update SQL file does not exist in the work folder 11a, the archive information is stored. An update SQL file is generated. The agent 15 adds information indicating that the archive processing has been performed on the file information of the actual file to the archive information update SQL file.

さらに、上述した「(12)ダミーファイル生成機能」として、エージェント15は、ファイル情報に基づきダミーファイルを生成し、生成したダミーファイルで実ファイルを更新(置換)するというアーカイブ処理を行う。生成されたダミーファイルは実ファイルと同様にバックアップ処理の対象になり、「(6)ファイル追加・更新・削除検出機能」により検出が行われ、エージェント15は、ダミーファイルについて作業フォルダ11bへのコピー及びバックアップ処理を行う。   Further, as the “(12) dummy file generation function” described above, the agent 15 performs an archive process of generating a dummy file based on the file information and updating (replaces) the actual file with the generated dummy file. The generated dummy file is subject to backup processing in the same manner as the actual file, and is detected by “(6) File addition / update / deletion detection function”, and the agent 15 copies the dummy file to the work folder 11b. And backup processing.

管理サーバ30から通知された全てのファイルについてアーカイブ処理が完了すると、管理サーバ30の管理データベースDB1に含まれるアーカイブ履歴に関する情報及びファイル管理に関する情報の更新を行うために、エージェント15は、アーカイブ情報更新用SQLファイルを管理サーバ30へ送信する。その後、エージェント15は、管理サーバ30にアーカイブ処理終了を通知して管理サーバ30からの応答を待つことになり。管理サーバ30からの応答を受け取ると、アーカイブ情報更新用SQLファイルを作業フォルダ11aから削除する。   When the archiving process is completed for all files notified from the management server 30, the agent 15 updates the archive information and updates the information related to the archive history and the information related to file management included in the management database DB1 of the management server 30. The SQL file for use is transmitted to the management server 30. Thereafter, the agent 15 notifies the management server 30 of the end of the archive process and waits for a response from the management server 30. When the response from the management server 30 is received, the archive information update SQL file is deleted from the work folder 11a.

図5(a)等の「ファイル読み出し処理」に関し、エージェント15は、ユーザ端末40からのファイル読み出し指示を受け取ると、読み出し指示による読み出し対象が、プライマリストレージ11上の実ファイル又はダミーファイルのいずれであるかを検知し、検知結果に基づき、それぞれに応じた処理を実行する。すなわち、読み出し対象が実ファイルであれば、エージェント15は、プライマリストレージ11に記憶されている実ファイルを読み出して、ユーザ端末40へ送ることになり、読み出し対象がダミーファイルであれば、上述したように、セカンダリストレージ21から、読み出し対象のバックアップファイルをプライマリストレージ11へダウンロードして、ダミーファイルをダウンロードしたバックアップファイル(実ファイル)に更新(置換)し、その更新した実ファイルをユーザ端末40へ送ることになる。なお、プライマリストレージ11で更新された実ファイルは、次回のアーカイブ条件を充足する際に、再度、アーカイブ処理の対象となる。   When the agent 15 receives a file read instruction from the user terminal 40 regarding the “file read process” in FIG. 5A and the like, the read target by the read instruction is either an actual file or a dummy file on the primary storage 11. It detects whether it exists, and executes processing corresponding to each based on the detection result. That is, if the read target is a real file, the agent 15 reads the real file stored in the primary storage 11 and sends it to the user terminal 40. If the read target is a dummy file, the agent 15 reads the real file. Then, the backup file to be read is downloaded from the secondary storage 21 to the primary storage 11, the dummy file is updated (replaced) with the downloaded backup file (actual file), and the updated actual file is sent to the user terminal 40. It will be. Note that the actual file updated in the primary storage 11 becomes the target of the archive process again when the next archive condition is satisfied.

なお、これら「ファイル操作確認処理」、「バックアップ処理」、「アーカイブ処理」、及び「ファイル読み出し処理」の他に、本実施形態のエージェント15は「リストア処理」及び「アンアーカイブ処理」といった処理を行うと共に、ユーザ端末40(クライアント)の操作ログを定期的に管理サーバ30へアップロードするという「ログ情報生成処理」等も行う。   In addition to these “file operation confirmation process”, “backup process”, “archive process”, and “file read process”, the agent 15 of this embodiment performs processes such as “restore process” and “unarchive process”. At the same time, a “log information generation process” for periodically uploading an operation log of the user terminal 40 (client) to the management server 30 is also performed.

「リストア処理」とは、上述した「(3)ファイルリストア管理機能」に応じた処理になっており、プライマリストレージ11の障害時の復旧作業、又は誤って消去/上書きされたファイルの復旧処理のために行われ、全ての又は特定のファイル、又はフォルダを、特定の日付の状態に戻される。管理サーバ30よりプライマリストレージサーバ10(エージェント15)に対しリストア指示が送られて、このリストア指示に対してエージェント15が応答することにより、リストア処理が開始される。   “Restore processing” is processing according to the above-mentioned “(3) File restore management function”. Recovery processing in the event of a failure of the primary storage 11 or recovery processing of a file that has been erased / overwritten by mistake. This is done to return all or specific files or folders to a specific date state. A restore instruction is sent from the management server 30 to the primary storage server 10 (agent 15), and when the agent 15 responds to the restore instruction, the restore process is started.

まず、エージェント15は、リストア対象のファイル情報の取得要求を管理サーバ30へ送る。管理サーバ30は、対象ファイルのファイル情報を管理データベースDB1から取得し、プライマリストレージサーバ10(エージェント15)へ送る。エージェント15は、ファイルアクセス可能な状態へ最短時間で移行するため、リストア対象のファイル情報を取得すると、プライマリストレージ11に記憶される対象ファイルを一旦、ダミーファイルとして追加し、更新する処理を行う。この際、リストア履歴を残すため、エージェント15は、プライマリストレージ11の作業フォルダ11bに、リストア履歴用SQLファイルを生成し、このリストア履歴用SQLファイルにリストア履歴を書き込む処理を行う。   First, the agent 15 sends an acquisition request for file information to be restored to the management server 30. The management server 30 acquires the file information of the target file from the management database DB1, and sends it to the primary storage server 10 (agent 15). In order to make a transition to a file accessible state in the shortest time, the agent 15 acquires the file information to be restored and temporarily adds and updates the target file stored in the primary storage 11 as a dummy file. At this time, in order to leave the restore history, the agent 15 generates a restore history SQL file in the work folder 11b of the primary storage 11, and performs a process of writing the restore history in the restore history SQL file.

リストア対象が実ファイルの場合、エージェント15は、管理サーバ30から取得したファイル情報に基づきダミーファイルを生成する。また、対象ファイルが存在していなければ、エージェント15はダミーファイルを追加する処理を行い、一方、対象ファイルが存在していれば、その対象ファイルをダミーファイルで更新する。また、エージェント15は、実ファイルをセカンダリストレージ21からプライマリストレージサーバ10へダウンロードするためのダウンロード用リストファイルに対象ファイル情報を追加する処理も行う。   When the restoration target is a real file, the agent 15 generates a dummy file based on the file information acquired from the management server 30. If the target file does not exist, the agent 15 performs a process of adding a dummy file. If the target file exists, the agent 15 updates the target file with the dummy file. The agent 15 also performs processing for adding the target file information to the download list file for downloading the actual file from the secondary storage 21 to the primary storage server 10.

リストア対象がダミーファイルの場合、エージェント15は、セカンダリストレージ21から対象のダミーファイルをダウンロードする。対象ファイルが存在していない場合、エージェント15は、ダウンロードしたファイルを追加する。対象ファイルが存在している場合には、ダウンロードしたファイルで更新する。管理サーバ30から通知された全てのファイルについて、ダミーファイルに更新する処理(リストア処理)が完了すると、管理サーバ30の管理データベースDB1に含まれるリストア履歴に関するファイル情報の更新を行うために、エージェント15はリストア履歴用SQLファイルを管理サーバ30に送信する。   When the restore target is a dummy file, the agent 15 downloads the target dummy file from the secondary storage 21. If the target file does not exist, the agent 15 adds the downloaded file. If the target file exists, update it with the downloaded file. When the process of updating all files notified from the management server 30 to the dummy file (restoration process) is completed, the agent 15 updates the file information related to the restore history included in the management database DB1 of the management server 30. Transmits the restore history SQL file to the management server 30.

そして、エージェント15は、管理サーバ30にアーカイブ処理終了の通知を送って、管理サーバ30からの応答を待つ状態となり、管理サーバ30からの応答を受信すると、プライマリストレージ11の作業フォルダ11bに記憶されたリストア履歴用SQLファイルを削除する。リストア処理によるダミーファイルを実ファイルに戻すには、ダウンロード用リストファイルに基づき、エージェント15は、セカンダリストレージ21からプライマリストレージサーバ10へ実ファイルをダウンロードし、ダウンロードした実ファイルでダミーファイルを置換して更新する。   Then, the agent 15 sends a notification of the end of the archive processing to the management server 30 and waits for a response from the management server 30. When the agent 15 receives the response from the management server 30, it is stored in the work folder 11b of the primary storage 11. The restore history SQL file is deleted. In order to return the dummy file obtained by the restoration process to the actual file, the agent 15 downloads the actual file from the secondary storage 21 to the primary storage server 10 based on the download list file, and replaces the dummy file with the downloaded actual file. Update.

また、「アンアーカイブ処理」とは、「(4)ファイルアンアーカイブ管理機能」に応じた処理になっており、アーカイブ条件が再指定されることにより、アーカイブ条件を満たさなくなったプライマリストレージ11に記憶されているダミーファイルを実ファイルに戻す(置換する)処理である。この「アンアーカイブ処理」は、管理サーバ30からプライマリストレージサーバ10(エージェント15)へ、アンアーカイブ指示が送られ、このアンアーカイブ指示をエージェント15が受け取ることにより、開始される。   The “unarchive processing” is processing according to “(4) File unarchive management function”, and is stored in the primary storage 11 that does not satisfy the archive conditions when the archive conditions are redesignated. This is processing to return (replace) a dummy file that has been changed to a real file. This “unarchive processing” is started when an unarchive instruction is sent from the management server 30 to the primary storage server 10 (agent 15), and the agent 15 receives this unarchive instruction.

まず、エージェント15は管理サーバ30にアンアーカイブ処理を実施するファイルのファイル情報の問い合わせを送る。管理サーバ30は、指定された条件を基にアンアーカイブ処理を行うファイルを特定し、ファイル管理データベースより対象ファイルのファイル情報を読み出し、エージェントに通知する。それから、エージェント15は、管理サーバ30から送られたファイル情報を基に、処理対象となるファイルについてアンアーカイブ処理を実行することになるが、この際、処理対象となるファイルの種類を検知し、検知の結果、処理対象が実ファイルであればアンアーカイブ処理を行わず、処理対象がダミーファイルであればアンアーカイブ処理を行うことになる。処理対象がダミーファイルであり且つアクセス可能であれば、エージェント15は、実ファイルをセカンダリストレージ21からダウンロードするためのダウンロード用リストファイルにファイル情報を追加する。   First, the agent 15 sends an inquiry about the file information of the file to be unarchived to the management server 30. The management server 30 identifies the file to be unarchived based on the specified condition, reads the file information of the target file from the file management database, and notifies the agent. Then, the agent 15 executes the unarchive process for the file to be processed based on the file information sent from the management server 30. At this time, the type of the file to be processed is detected, As a result of the detection, if the processing target is a real file, the unarchive processing is not performed, and if the processing target is a dummy file, the unarchive processing is performed. If the processing target is a dummy file and is accessible, the agent 15 adds file information to the download list file for downloading the actual file from the secondary storage 21.

そして、エージェント15は、管理サーバ30にアンアーカイブ処理終了の通知を送り、管理サーバ30からの応答を待つ。管理サーバ30からの応答を受け取ると、エージェント15は、ダウンロード用リストファイルを基に、実ファイル(実ファイルのバックアップファイル)をセカンダリストレージ21からダウンロードし、そのダウンロードした実ファイルでダミーファイルを置換して更新し、アンアーカイブ処理を完了する。次に、ストレージシステム1におけるセカンダリストレージサーバ20について説明する。   Then, the agent 15 sends a notification of the end of unarchive processing to the management server 30 and waits for a response from the management server 30. Upon receiving the response from the management server 30, the agent 15 downloads the actual file (actual file backup file) from the secondary storage 21 based on the download list file, and replaces the dummy file with the downloaded actual file. Update to complete the unarchive process. Next, the secondary storage server 20 in the storage system 1 will be described.

図8は、ストレージシステム1を構成するセカンダリストレージサーバ20(第2通信装置に相当)の主要な内部構成を示している。本実施形態のセカンダリストレージサーバ20にも、プライマリストレージサーバ10と同様、サーバコンピュータを適用しており、全体的な制御及び各種処理を行うMPU20aに、各種デバイス等を内部接続線20hで接続したものになっており、各種デバイス等には、通信モジュール20b、RAM20c、ROM20d、入力インタフェース20e、出力インタフェース20f、記憶部20g、及びセカンダリストレージ21等がある。   FIG. 8 shows a main internal configuration of the secondary storage server 20 (corresponding to the second communication device) constituting the storage system 1. Similarly to the primary storage server 10, a server computer is applied to the secondary storage server 20 of the present embodiment, and various devices and the like are connected to the MPU 20 a that performs overall control and various processing by an internal connection line 20 h. The various devices include a communication module 20b, a RAM 20c, a ROM 20d, an input interface 20e, an output interface 20f, a storage unit 20g, and a secondary storage 21.

通信モジュール20b〜出力インタフェース20fについては、図6に示すプライマリストレージサーバ10の通信モジュール10b〜出力インタフェース10fと同等なものであるので、説明は省略する(入力インタフェース20eに接続されるキーボード20i及び出力インタフェース20fに接続されるディスプレイ20iも、プライマリストレージサーバ10のものと同様)。   Since the communication module 20b to the output interface 20f are equivalent to the communication module 10b to the output interface 10f of the primary storage server 10 shown in FIG. 6, the description is omitted (the keyboard 20i connected to the input interface 20e and the output). The display 20i connected to the interface 20f is the same as that of the primary storage server 10).

また、セカンダリストレージサーバ20の記憶部20gは、サーバプログラムP5、及びストレージプログラムP6等を記憶している。サーバプログラムP5は、サーバコンピュータ用のオペレーティングシステムに応じた各種処理を規定したものであり、図6に示すプライマリストレージサーバ10のサーバプログラムP1と基本的に同等な処理を規定し、この規定内容に基づいた処理をMPU20aが行うことで、セカンダリストレージサーバ20はサーバコンピュータとしての機能を果たす。   The storage unit 20g of the secondary storage server 20 stores a server program P5, a storage program P6, and the like. The server program P5 defines various processes according to the operating system for the server computer. The server program P5 defines processes basically equivalent to the server program P1 of the primary storage server 10 shown in FIG. When the MPU 20a performs the processing based on the secondary storage server 20, the secondary storage server 20 functions as a server computer.

ストレージプログラムP6は、上述したプライマリストレージサーバ10のMPU10aがエージェント15として行う各種処理に対応して、セカンダリストレージサーバ20のMPU20aが行う処理内容を規定したものである。具体的な処理内容としては、プライマリストレージサーバ10側からファイル有無確認(又は比較確認)の通知を、セカンダリストレージサーバ20が受け取ると、その通知に含まれるファイルを特定する情報(または通知に比較対象のファイルを含ませてもよい)に基づき、その特定されるファイルに応じたバックアップファイルがセカンダリストレージ21に記憶されているか否かの検知をMPU20aが行うことを、ストレージプログラムP6は規定する。この際、MPU20aは、通知により特定されるファイルと、セカンダリストレージ21に記憶されるバックアップファイルとを比較して両者の中身の同異を判断しており、その判断結果により、確認対象のバックアップファイルあり、又はバックアップファイルなしの結果(検知結果通知)をプライマリストレージサーバ10へ送る制御を行っており、このようなMPU20aの制御処理もストレージプログラムP6は規定している。   The storage program P6 defines the processing contents performed by the MPU 20a of the secondary storage server 20 in response to the various processes performed as the agent 15 by the MPU 10a of the primary storage server 10 described above. As specific processing contents, when the secondary storage server 20 receives a file existence confirmation (or comparison confirmation) notification from the primary storage server 10 side, information specifying a file included in the notification (or a comparison target in the notification) The storage program P6 defines that the MPU 20a detects whether or not a backup file corresponding to the specified file is stored in the secondary storage 21. At this time, the MPU 20a compares the file specified by the notification with the backup file stored in the secondary storage 21 to determine whether the contents are the same. Control is performed to send the result (detection result notification) with or without a backup file to the primary storage server 10, and the storage program P6 also defines such control processing of the MPU 20a.

また、ストレージプログラムP6は、プライマリストレージサーバ10からアップロードされてきたファイル(実ファイル又はダミーファイル)をセカンダリストレージサーバ20が受け取ると、その受け取ったファイルを、そのファイルのバックアップファイルとしてセカンダリストレージ21に記憶する制御処理を、MPU20aが行うことも規定している。さらに、ストレージプログラムP6は、プライマリストレージサーバ10から特定のファイルの読み出し指示をセカンダリストレージサーバ20が受け取ると、その読み出し指示の対象となる特定のファイルのバックアップファイルをセカンダリストレージ21から読み出して、プライマリストレージサーバ10へ送信(ダウンロード)する制御処理をMPU20aが行うことも、ストレージプログラムP6は規定している。   Further, when the secondary storage server 20 receives a file (real file or dummy file) uploaded from the primary storage server 10, the storage program P6 stores the received file in the secondary storage 21 as a backup file of the file. It is also stipulated that the MPU 20a performs the control process to be performed. Furthermore, when the secondary storage server 20 receives a read instruction for a specific file from the primary storage server 10, the storage program P 6 reads a backup file of the specific file that is the target of the read instruction from the secondary storage 21, and The storage program P6 also prescribes that the MPU 20a performs control processing to be transmitted (downloaded) to the server 10.

セカンダリストレージサーバ20が具備するセカンダリストレージ21(第2記憶デバイスに相当)は、上述したように、オブジェクトストレージと称されるAmazonS3互換ストレージであり、プライマリストレージサーバ10のプライマリストレージ11(第1記憶デバイスに相当)に比べて、記憶容量が大きいハードディスクシステムを具備したストレージになっている(ただし、プライマリストレージ11に比べて、セカンダリストレージ21はファイル(データ)の読み書き速度は遅い)。なお、セカンダリストレージ21は、NASであってもよく、この場合は、サーバプログラムP5に含まれるファイルシステム機能により、ファイル(データ)の読み書きが行われる。   As described above, the secondary storage 21 (corresponding to the second storage device) included in the secondary storage server 20 is an Amazon S3-compatible storage called object storage, and the primary storage 11 (first storage device) of the primary storage server 10. The secondary storage 21 is slower in reading / writing the file (data) than the primary storage 11). Note that the secondary storage 21 may be a NAS. In this case, the file (data) is read and written by the file system function included in the server program P5.

図9は、ストレージシステム1を構成する管理サーバ30の主要な内部構成を示している。本実施形態の管理サーバ30にも、プライマリストレージサーバ10と同様、サーバコンピュータを適用しており、全体的な制御及び各種処理を行うMPU30aに、各種デバイス等を内部接続線30hで接続したものになっており、各種デバイス等には、通信モジュール30b、RAM30c、ROM30d、入力インタフェース30e、出力インタフェース30f、及び記憶部30g等がある。   FIG. 9 shows a main internal configuration of the management server 30 constituting the storage system 1. Similarly to the primary storage server 10, a server computer is applied to the management server 30 of the present embodiment, and various devices and the like are connected to the MPU 30a that performs overall control and various processing by an internal connection line 30h. The various devices include a communication module 30b, a RAM 30c, a ROM 30d, an input interface 30e, an output interface 30f, and a storage unit 30g.

通信モジュール30b〜出力インタフェース30fについては、上述したセカンダリストレージサーバ20と同様に、図6に示すプライマリストレージサーバ10の通信モジュール10b〜出力インタフェース10fと同等なものであるので説明は省略する(入力インタフェース30eに接続されるキーボード30i及び出力インタフェース30fに接続されるディスプレイ30iも、プライマリストレージサーバ10のものと同様)。   The communication module 30b to the output interface 30f are the same as the communication module 10b to the output interface 10f of the primary storage server 10 shown in FIG. The keyboard 30i connected to 30e and the display 30i connected to the output interface 30f are the same as those of the primary storage server 10).

また、管理サーバ30の記憶部30gは、HDD等により構成されており、サーバプログラムP10、管理プログラムP11等のプログラムを記憶すると共に、バックアップ処理に関するバックアップ期間J1及びアーカイブ処理に関するアーカイブ期間J2を記憶しており、更にストレージシステム1におけるファイル処理に関する各種情報を蓄積する管理データベースDB1も記憶している。サーバプログラムP10は、サーバコンピュータ用のオペレーティングシステムに応じた各種処理を規定したものであり、図6に示すプライマリストレージサーバ10のサーバプログラムP1と基本的に同等な処理を規定し、この規定内容に基づいた処理をMPU30aが行うことで、管理サーバ30はサーバコンピュータとしての機能を果たす。   The storage unit 30g of the management server 30 is configured by an HDD or the like, and stores programs such as the server program P10 and the management program P11, and also stores a backup period J1 related to backup processing and an archive period J2 related to archive processing. In addition, a management database DB1 for accumulating various information related to file processing in the storage system 1 is also stored. The server program P10 defines various processes according to the operating system for the server computer. The server program P10 defines processes basically equivalent to the server program P1 of the primary storage server 10 shown in FIG. When the MPU 30a performs the processing based on the management server 30, the management server 30 functions as a server computer.

管理プログラムP11は、バックアップ期間J1に含まれるバックアップ期間に関する処理、アーカイブ期間J2に含まれるアーカイブ期間に関する処理、プライマリサーバストレージ10からの各種通知等に対する応答処理、管理データベースDB1に対する各種情報(各種SQLファイルの情報等)の書き込み/読み出し処理等について、MPU30aが行う制御処理の内容を規定したものである。   The management program P11 performs processing related to the backup period included in the backup period J1, processing related to the archive period included in the archive period J2, response processing to various notifications from the primary server storage 10, various information (various SQL files) The contents of control processing performed by the MPU 30a are defined for the writing / reading processing of the information etc.).

バックアップ期間J1は、バックアップ条件としてバックアップ処理を行う期間が指定されたものであり、一般にユーザの使用機会が少なくする傾向のある夜間の時間帯(例えば、午前1時〜午前5時の時間帯)がバックアップ期間J1として、システム管理者により設定される。なお、具体的なバックアップ期間J1の設定の仕方としては、バックアップ開始時刻及びバックアップ終了時刻を指定する他に、バックアップ開始時刻とバックアップ時間(例えば,4時間)を指定する仕方が考えられる。また、バックアップ期間J1は、毎日同じ時間帯を設定する以外に、曜日等の単位で、それぞれ異なる時間帯を設定することも可能であり、システム管理者の操作により、バックアップ期間J1の中身が適宜設定可能になっている。   The backup period J1 is a period in which backup processing is specified as a backup condition, and is generally a night time period (for example, a time period from 1 am to 5 am) in which the user's usage opportunities tend to decrease. Is set by the system administrator as the backup period J1. As a specific method of setting the backup period J1, in addition to specifying the backup start time and the backup end time, a method of specifying the backup start time and the backup time (for example, 4 hours) can be considered. In addition to setting the same time zone every day, the backup period J1 can also be set to different time zones in units such as days of the week. The contents of the backup period J1 are appropriately set by the operation of the system administrator. It can be set.

アーカイブ期間J2は、アーカイブ条件に含まれるものであり、アーカイブ処理を行う期間(アーカイブ期間)を含み、アーカイブ期間J2の設定の仕方は、上述したバックアップ期間と同様であり、また、設定されるアーカイブ期間J2を、毎日同じ時間帯に設定すること、曜日単位で相違させること等もバックアップ期間J1の場合と同様である。また、アーカイブ期間J2には、アーカイブ処理を行う際に、ファイルの比較処理を行うか否かの設定も含まれ、これらの設定内容は、システム管理者により適宜、設定可能になっている。   The archiving period J2 is included in the archiving conditions, includes a period for performing archiving processing (archive period), and the setting method of the archiving period J2 is the same as the above-described backup period, and the archive to be set Setting the period J2 to the same time zone every day, making it different for each day of the week, and the like are the same as in the backup period J1. In addition, the archive period J2 includes setting whether or not to perform a file comparison process when performing the archive process, and these setting contents can be appropriately set by the system administrator.

「バックアップ処理」について管理プログラムP11が規定する具体的な処理内容としては、MPU30aが具備するクロック機能を利用して、現在の時刻がバックアップ期間J1に入ったか否かをMPU30aが検知する処理を規定しており、現在の時刻がバックアップ期間J2に入ったことを検知すると、アーカイブ期間に入ったことの通知をプライマリストレージサーバ10へMPU30aが送る処理を行うことも管理プログラムP11は規定する。また、プライマリストレージサーバ10から送られてきたバックアップ処理の開始の通知を管理サーバ30が受け取ると、その開始に対する応答をプライマリストレージサーバ10へ送信する処理をMPU30aが行うことも、管理プログラムP11は規定する。さらに管理プログラムP11は、プライマリストレージサーバ10から送られてきたDB更新情報f2(データベース更新用SQLファイル)を受け取ると,管理データベースDB1に格納する処理をMPU30aが行うことを規定する。   As specific processing contents defined by the management program P11 for “backup processing”, the MPU 30a detects whether the current time has entered the backup period J1 using the clock function of the MPU 30a. The management program P11 also stipulates that when the current time has entered the backup period J2, the MPU 30a performs processing to send a notification that the archive period has been entered to the primary storage server 10. The management program P11 also defines that when the management server 30 receives the notification of the start of the backup process sent from the primary storage server 10, the MPU 30a performs a process of transmitting a response to the start to the primary storage server 10. To do. Further, when receiving the DB update information f2 (database update SQL file) sent from the primary storage server 10, the management program P11 specifies that the MPU 30a performs the process of storing in the management database DB1.

「アーカイブ処理」について管理プログラムP11が規定する具体的な処理内容としては、MPU30aが具備するクロック機能を利用して、現在の時刻がアーカイブ期間J2に入ったか否かをMPU30aが検知する処理を規定しており、現在の時刻がアーカイブ期間J2に入ったことを検知すると、アーカイブ期間に入ったことの通知をプライマリストレージサーバ10へMPU30aが送る処理を行うことも管理プログラムP11は規定する。また、プライマリストレージサーバ10から送られてきたアーカイブ処理の対象となるファイルの問い合わせを管理サーバ30が受け取ると、処理対象にするファイルを特定し、特定したファイルのファイル情報を管理データベースDB1から読み出し、アーカイブファイル情報f3としてプライマリストレージサーバ10へ送る処理をMPU30aが行うことを、管理プログラムP11は規定する。なお、アーカイブ期間J2に比較処理を行う旨が設定されていると、アーカイブファイル情報f3にも比較処理を行う指示を含ませることもMPU30aは行う。   As specific processing contents defined by the management program P11 for the “archive processing”, the MPU 30a detects whether the current time has entered the archive period J2 using the clock function of the MPU 30a. The management program P11 also stipulates that the MPU 30a performs a process of sending a notification that the archive period has been entered to the primary storage server 10 when it is detected that the current time has entered the archive period J2. When the management server 30 receives an inquiry about a file to be archived sent from the primary storage server 10, the file to be processed is identified, and the file information of the identified file is read from the management database DB1, The management program P11 defines that the MPU 30a performs processing to send to the primary storage server 10 as the archive file information f3. If it is set that the comparison process is performed in the archive period J2, the MPU 30a also includes an instruction to perform the comparison process in the archive file information f3.

さらに、管理プログラムP11は、「アーカイブ処理」の完了に伴いプライマリストレージサーバ10から送られてきたDB更新情報f2(データベース更新用SQLファイル)及びアーカイブ処理終了の通知を受け取ると,DB更新情報f2については管理データベースDB1に格納する処理を行い、アーカイブ終了処理の通知については、その通知に対する応答をプライマリストレージサーバ10へ送る制御をMPU30aが行うことを規定する。   Further, when the management program P11 receives the DB update information f2 (database update SQL file) and the notification of the end of the archive process sent from the primary storage server 10 upon completion of the “archive processing”, the management program P11 Performs processing to be stored in the management database DB1, and specifies that the MPU 30a performs control to send a response to the notification to the primary storage server 10 for the notification of the archive end processing.

図10は、クライアント端末であるユーザ端末40の主要構成を示したブロック図である。ユーザ端末40としては、プライマリストレージサーバ10と通信できる通信機能、及びファイルを扱う処理等が可能な通信端末装置を適用でき、具体的には、通信機能を具備したパーソナルコンピュータ、タブレット、スマートフォン等をユーザ端末40として利用できる。図10は、ユーザ端末40としてパーソナルコンピュータを用いた場合の主要構成を示しているが、ユーザ端末40としてタブレット、スマートフォン等を用いた場合でも基本的な構成は図10と同等になる。   FIG. 10 is a block diagram showing the main configuration of the user terminal 40 which is a client terminal. As the user terminal 40, a communication terminal device capable of communicating with the primary storage server 10 and a file handling process can be applied. Specifically, a personal computer, a tablet, a smartphone or the like having a communication function can be used. It can be used as the user terminal 40. FIG. 10 shows a main configuration when a personal computer is used as the user terminal 40, but the basic configuration is the same as that of FIG. 10 even when a tablet, a smartphone, or the like is used as the user terminal 40.

ユーザ端末40は、全体的な制御及び各種処理を行うCPU40aに、各種デバイス等を内部接続線40hで接続したものになっており、各種デバイス等には、通信モジュール40b、RAM40c、ROM40d、入力インタフェース40e、出力インタフェース40f、及び記憶部40g等がある。   The user terminal 40 is configured by connecting various devices and the like to the CPU 40a that performs overall control and various processes through an internal connection line 40h. The various devices and the like include a communication module 40b, a RAM 40c, a ROM 40d, and an input interface. 40e, an output interface 40f, and a storage unit 40g.

通信モジュール40bは、ネットワークとの接続モジュールに相当する通信デバイスであり、所要の通信規格に応じたものであり(例えばLANモジュール)、所要の通信機器(図示は省略。例えばルータ等が該当)を介してネットワークと接続することで、プライマリストレージサーバ10との通信を可能にしている。   The communication module 40b is a communication device corresponding to a connection module with a network, and conforms to a required communication standard (for example, a LAN module), and a required communication device (not shown; for example, a router or the like). By connecting to the network via the network, communication with the primary storage server 10 is enabled.

RAM40cは、CPU40aの処理に伴う内容、ファイル等を一時的に記憶するものであり、ROM40dは、MPU40aの基本的な処理内容を規定したプログラム等を記憶するものである。入力インタフェース40eは、ユーザからの操作指示等を受け付けるキーボード40i、マウス等が接続されるものであり、ユーザから受け付けた操作指示等をCPU40aへ伝える。出力インタフェース40fは、ディスプレイ40jが接続されるものであり、CPU40aの処理に伴う内容をディスプレイ40jへ出力し、ユーザが
操作内容及びユーザ端末40の処理内容等を視覚的に確認できるようにしている。
The RAM 40c temporarily stores contents, files, and the like accompanying the processing of the CPU 40a, and the ROM 40d stores programs and the like that define the basic processing contents of the MPU 40a. The input interface 40e is connected to a keyboard 40i that accepts an operation instruction from the user, a mouse, and the like, and transmits the operation instruction received from the user to the CPU 40a. The output interface 40f is connected to the display 40j, and outputs the contents accompanying the processing of the CPU 40a to the display 40j so that the user can visually confirm the operation contents, the processing contents of the user terminal 40, and the like. .

記憶部10gは、HDD(Hard Disc Drive)又はSSD(Solid State Drive)等により構成される記憶デバイスであり、基本プログラムP20、アプリケーションプログラムP21等を記憶する。基本プログラムP20は、ユーザ端末40をコンピュータとして機能させるためにCPU40aが行う基本的な処理を規定したものであり、この基本プログラムP20には、ファイル管理(ファイルのコピー、移動、変更等)を行うための機能、ウェブサイト等を閲覧するためのブラウザ機能等を含んでいるものとする。この基本プログラムP20に含まれるファイル管理機能に基づき、ユーザは所定のファイルについて、ユーザ端末40からプライマリストレージサーバ10へファイル操作指示(ファイルを追加する指示、コピーする指示等)又はファイルの読み出し指示等を送ることができるようになっている。なお、アプリケーションプログラムP21は、ワードプロセッサ、表計算、図形描写等のユーザが個々に行う作業に対応したソフトウエアであり、このようなアプリケーションプログラムP21等により生成されたファイルを含む各種ファイルが本発明の処理対象になる。   The storage unit 10g is a storage device configured by an HDD (Hard Disc Drive), an SSD (Solid State Drive), or the like, and stores a basic program P20, an application program P21, and the like. The basic program P20 defines basic processing performed by the CPU 40a to cause the user terminal 40 to function as a computer. The basic program P20 performs file management (file copy, movement, change, etc.). Functions, browser functions for browsing websites, and the like. Based on the file management function included in the basic program P20, the user instructs the primary storage server 10 from the user terminal 40 to operate the file (instruction to add a file, instruct to copy, etc.) or to read out a file for a predetermined file. Can be sent. Note that the application program P21 is software corresponding to work individually performed by a user such as a word processor, spreadsheet, figure drawing, and the like, and various files including files generated by such an application program P21 or the like are included in the present invention. It becomes a processing target.

なお、図1に示す管理用端末45も基本的に、上述したユーザ端末40と同等なものであり、ネットワークを通じて管理サーバ30と通信可能になっていると共に、管理用プリケーションプログラムP31がインストールされることで、遠隔的に管理サーバ30に関する各種設定、及び管理データベースDB1に対する各種操作・確認等をシステム管理者が行えるようにしている。   The management terminal 45 shown in FIG. 1 is basically the same as the user terminal 40 described above, and can communicate with the management server 30 through the network, and the management application program P31 is installed. Thus, the system administrator can remotely perform various settings related to the management server 30 and various operations / confirmations for the management database DB1.

図11(a)〜(c)は、上述した構成のストレージシステム1について、主にプライマリストレージサーバ10(エージェント15として機能するMPU10a)が「ファイル操作確認処理」で行う処理手順の内容(アーカイブ処理方法の内容)を説明した第1〜第3フローチャートである。   11A to 11C show the contents of the processing procedure (archive processing) performed mainly by the primary storage server 10 (MPU 10a functioning as the agent 15) in the “file operation confirmation processing” for the storage system 1 configured as described above. It is the 1st-3rd flowchart explaining the content of the method.

図11(a)の第1フローチャートは、「ファイル操作確認処理」におけるファイル追加に関するプライマリストレージサーバ10(エージェント15と同じ意味合い。以下、同様)の処理手順を示し、まず、プライマリストレージサーバ10は、ユーザ端末40から送られてくるプライマリストレージ11への追加対象となるファイルを受け取ったか否かを検知する(S1)。ファイルを受け取っていない場合(S1:NO)、ユーザ端末40からファイルが送られるのを待つ状態となり、ファイルを受け取った場合(S1:YES)、プライマリストレージサーバ10は、図2(a)(b)に示すように、受け取ったファイル(実ファイルd1)をプライマリストレージ11のB・Aフォルダ11aに記憶して追加する処理を行う(S2)。   The first flowchart of FIG. 11A shows the processing procedure of the primary storage server 10 (same meaning as the agent 15; the same applies hereinafter) regarding the file addition in the “file operation confirmation processing”. First, the primary storage server 10 It is detected whether or not a file to be added to the primary storage 11 sent from the user terminal 40 has been received (S1). If no file has been received (S1: NO), the process waits for a file to be sent from the user terminal 40. If a file has been received (S1: YES), the primary storage server 10 can receive the files shown in FIGS. ), The received file (actual file d1) is stored in the B / A folder 11a of the primary storage 11 and added (S2).

それから、プライマリストレージサーバ10は、図2(b)に示すように、B・Aフォルダ11aに追加したファイル(実ファイルd1)を作業フォルダ11bにコピーして記憶する処理を行う(S3)。そして、プライマリストレージサーバ10は、図2(c)に示すように、コピーしたファイル(実ファイルd1′)についてのファイル追加操作に関する情報を含むファイル情報f1(更新用SQLファイル)を作業フォルダ11aに作成し(S4)、一旦、「ファイル追加」に関する処理を終了する。なお、プライマリストレージサーバ10は、この後もユーザ端末40からファイルが送られてくるごとに、図11(a)の第1フローチャートに示す処理内容を行う。また、第1フローチャートのS3、S4の処理は、ダミーファイルについても同様に行われ、ダミーファイルがB・Aフォルダ11aに追加されると、そのダミーファイルについてS3、S4の処理が行われる。   Then, as shown in FIG. 2B, the primary storage server 10 performs a process of copying and storing the file (actual file d1) added to the B / A folder 11a in the work folder 11b (S3). Then, as shown in FIG. 2C, the primary storage server 10 stores file information f1 (update SQL file) including information related to the file addition operation for the copied file (actual file d1 ′) in the work folder 11a. Create (S4), and once complete the processing related to “add file”. The primary storage server 10 performs the processing contents shown in the first flowchart of FIG. 11A every time a file is sent from the user terminal 40 thereafter. Further, the processes of S3 and S4 in the first flowchart are similarly performed for the dummy file. When the dummy file is added to the B / A folder 11a, the processes of S3 and S4 are performed for the dummy file.

図11(b)の第2フローチャートは、「ファイル操作確認処理」におけるファイル更新(変更)に関するプライマリストレージサーバ10の処理手順を示し、まず、プライマリストレージサーバ10は、ユーザ端末40から送られてくる更新ファイル(プライマリストレージサーバ10に既に記憶済みのファイルを更新するためのファイル)を受け取ったか否かを検知する(S5)。更新ファイルを受け取っていない場合(S5:NO)、ユーザ端末40から更新ファイルが送られるのを待つ状態となり、更新ファイルを受け取った場合(S5:YES)、プライマリストレージサーバ10は、受け取った更新ファイルをプライマリストレージ11のB・Aフォルダ11aに記憶して追加する処理を行う(S6)。   The second flowchart of FIG. 11B shows a processing procedure of the primary storage server 10 regarding file update (change) in the “file operation confirmation process”. First, the primary storage server 10 is sent from the user terminal 40. It is detected whether an update file (file for updating a file already stored in the primary storage server 10) has been received (S5). When the update file has not been received (S5: NO), it waits for the update file to be sent from the user terminal 40. When the update file is received (S5: YES), the primary storage server 10 receives the update file. Is added to the B / A folder 11a of the primary storage 11 (S6).

それから、プライマリストレージサーバ10は、B・Aフォルダ11aに追加した更新ファイルを作業フォルダ11bにコピーして記憶する処理を行う(S7)。そして、プライマリストレージサーバ10は、コピーした更新ファイルについてのファイル更新操作に関する情報(更新情報)を、作業フォルダ11aに記憶されているファイル情報(更新用SQLファイル)を追加し(S8)、一旦、「ファイル更新」に関する処理を終了する。なお、プライマリストレージサーバ10は、この後もユーザ端末40から更新ファイルが送られてくるごとに、図11(b)の第2フローチャートに示す処理内容を行う。   Then, the primary storage server 10 performs a process of copying and storing the update file added to the B / A folder 11a in the work folder 11b (S7). The primary storage server 10 adds information (update information) related to the file update operation for the copied update file to the file information (update SQL file) stored in the work folder 11a (S8), The process related to “file update” is terminated. The primary storage server 10 performs the processing shown in the second flowchart of FIG. 11B every time an update file is sent from the user terminal 40 thereafter.

図11(c)の第3フローチャートは、「ファイル操作確認処理」におけるファイル削除に関するプライマリストレージサーバ10の処理手順を示し、まず、プライマリストレージサーバ10は、ユーザ端末40から送られてくるプライマリストレージサーバ10に既に記憶されているファイルの削除指示を受け取ったか否かを検知する(S9)。削除指示を受け取っていない場合(S9:NO)、ユーザ端末40からの削除指示を待つ状態となり、削除指示を受け取った場合(S9:YES)、プライマリストレージサーバ10は、削除指示の対象となるファイルをプライマリストレージ11のB・Aフォルダ11aから削除する処理を行う(S10)。なお、このとき作業フォルダ11bに、削除指示に応じたファイルが記憶されていても、この作業フォルダ11bのファイルについては、プライマリストレージサーバ10は削除を行わない。   The third flowchart of FIG. 11C shows a processing procedure of the primary storage server 10 regarding file deletion in the “file operation confirmation process”. First, the primary storage server 10 sends the primary storage server sent from the user terminal 40. It is detected whether or not an instruction to delete a file already stored in 10 has been received (S9). When the deletion instruction has not been received (S9: NO), a deletion instruction from the user terminal 40 is awaited. When the deletion instruction is received (S9: YES), the primary storage server 10 determines the file to be deleted. Is deleted from the B / A folder 11a of the primary storage 11 (S10). At this time, even if a file corresponding to the deletion instruction is stored in the work folder 11b, the primary storage server 10 does not delete the file in the work folder 11b.

それから、プライマリストレージサーバ10は、削除したファイルについてのファイルに関する情報(削除情報)を、作業フォルダ11aに記憶されているファイル情報(更新用SQLファイル)を追加し(S11)、一旦、「ファイル削除」に関する処理を終了する。なお、プライマリストレージサーバ10は、この後もユーザ端末40から削除指示を受け取るごとに、図11(b)の第2フローチャートに示す処理内容を行う。   Then, the primary storage server 10 adds the file information (update SQL file) stored in the work folder 11a to the file information (deletion information) about the deleted file (S11). The process related to “is finished. The primary storage server 10 performs the processing contents shown in the second flowchart of FIG. 11B every time a deletion instruction is received from the user terminal 40 thereafter.

図12の第4フローチャートは、「バックアップ処理」におけるプライマリストレージサーバ10が行う処理手順の内容(アーカイブ処理方法におけるバックアップ処理の内容)を説明したものである。この第4フローチャートは、図2(c)に示すように、作業フォルダ11aにファイル情報f1が記憶されている状態で処理が開始される場合を示したものになっている。まず、プライマリストレージサーバ10は、現在の状態がバックアップ条件を充足したか否かを検知する(S12)。本実施形態におけるバックアップ条件の充足は、二通りの場合があり、一つ目は管理サーバ30から現在の時刻がバックアップ期間に入ったことの通知を受け取ったことを検知する場合であり、二つ目は、プライマリストレージ11の使用率が予め設定された閾値を超えたことを検知した場合である。   The fourth flowchart in FIG. 12 explains the contents of the processing procedure performed by the primary storage server 10 in “backup processing” (the contents of backup processing in the archive processing method). As shown in FIG. 2C, the fourth flowchart shows a case where the process is started in a state where the file information f1 is stored in the work folder 11a. First, the primary storage server 10 detects whether or not the current state satisfies the backup condition (S12). Satisfaction of the backup condition in the present embodiment is two cases, and the first is a case where it is detected that the management server 30 has received a notification that the current time has entered the backup period. The first case is when it is detected that the usage rate of the primary storage 11 exceeds a preset threshold value.

バックアップ条件の充足を検知しない場合(S12:NO)、バックアップ条件が充足されるようになるのを待つ状態となり、バックアップ条件の充足を検知した場合(S12:YES)、プライマリストレージサーバ10はバックアップ処理の開始通知を管理サーバ30へ送信する(S13)。   When the satisfaction of the backup condition is not detected (S12: NO), it waits until the backup condition is satisfied, and when the satisfaction of the backup condition is detected (S12: YES), the primary storage server 10 performs the backup process. Is sent to the management server 30 (S13).

それから、プライマリストレージサーバ10は、管理サーバ30からの応答を受け取ったか否かを検知し(S14)、応答を受け取っていなければ(S14:NO)、応答を待つ状態となり、応答を受け取ると(S14:YES)、図3(a)に示すように、作業フォルダ11aのファイル情報f1に基づきDB更新情報f2を作成する(S15)。そして、プライマリストレージサーバ10は、バックアップ対象の実ファイルのバックアップファイルがセカンダリストレージ21に記憶されているか否かを、セカンダリストレージサーバ20へ問い合わせることで検知する(S16)。バックアップ対象の実ファイルのバックアップファイルが記憶されていない通知を受け取ることで、実ファイルのバックアップファイルが記憶されていないことを検知した場合(S16:NO)、プライマリストレージサーバ10は、図3(b)に示すように、作業フォルダ11bに記憶されている実ファイルd1′をセカンダリストレージサーバ20へアップロードする(S17)。このアップロードによって、セカンダリストレージ21にはバックアップファイル(実ファイルd1″)が記憶されることになる。   Then, the primary storage server 10 detects whether or not a response from the management server 30 has been received (S14). If no response has been received (S14: NO), the primary storage server 10 waits for a response and receives a response (S14). : YES), as shown in FIG. 3A, DB update information f2 is created based on the file information f1 of the work folder 11a (S15). Then, the primary storage server 10 detects whether or not the backup file of the real file to be backed up is stored in the secondary storage 21 by inquiring to the secondary storage server 20 (S16). When it is detected that the backup file of the real file is not stored by receiving the notification that the backup file of the real file to be backed up is not stored (S16: NO), the primary storage server 10 determines that the backup file of FIG. ), The actual file d1 ′ stored in the work folder 11b is uploaded to the secondary storage server 20 (S17). As a result of the upload, the backup file (actual file d1 ″) is stored in the secondary storage 21.

そしてプライマリストレージサーバ10は、DB更新情報f2を管理サーバ30へ送る(S18)。なお、管理サーバ30は、プライマリストレージサーバ10からのDB更新情報f2を受け取ると、そのDB更新情報f2で管理データベースDB1の中身を更新する。このDB更新情報f2の送信(S18)の後、プライマリストレージサーバ10は作業フォルダ11bのDB更新情報f2を削除し(S19)、作業フォルダ11bの実ファイルd1′も削除し(S20)、図3(d)に示すように、プライマリストレージ11に実ファイルd1が記憶されると共に、セカンダリストレージ21にバックアップファイル(実ファイルd1″)が記憶される状態を作り出している。また、実ファイルd1″のバックアップファイルが既にセカンダリストレージ21に記憶されていた場合(S16:YES)、プライマリストレージサーバ10は、作業フォルダ11bにコピーされた実ファイルd1′をセカンダリストレージサーバ20へアップロードすることを行わず、上記のS19、S20の処理を行う。なお、バックアップ処理の対象となるファイルが複数ある場合、第4フローチャートの処理を複数回、プライマリストレージサーバ10は繰り返すことになるが、複数のファイルを繰り返しアップロードする処理にしてもよい。   Then, the primary storage server 10 sends the DB update information f2 to the management server 30 (S18). When the management server 30 receives the DB update information f2 from the primary storage server 10, the management server 30 updates the contents of the management database DB1 with the DB update information f2. After the transmission of the DB update information f2 (S18), the primary storage server 10 deletes the DB update information f2 of the work folder 11b (S19), and also deletes the actual file d1 ′ of the work folder 11b (S20), FIG. As shown in (d), a state is created in which the actual file d1 is stored in the primary storage 11 and the backup file (actual file d1 ″) is stored in the secondary storage 21. When the backup file has already been stored in the secondary storage 21 (S16: YES), the primary storage server 10 does not upload the actual file d1 'copied to the working folder 11b to the secondary storage server 20, and Steps S19 and S20 are performed. If there are a plurality of files to be subjected to the backup process, the primary storage server 10 repeats the process of the fourth flowchart a plurality of times. However, the process may be a process of repeatedly uploading a plurality of files.

また、バックアップ処理を行っている最中に、現在の時刻がバックアップ期間を外れた旨の通知が管理サーバ30から送られてくると、プライマリストレージサーバ10は、途中状態のバックアップ処理については最後まで完了するが、その時点でバックアップ対象として残っているファイルについてはバックアップ処理を行わずに中断し、管理サーバ30が管理データベースDB1の更新処理を行えるようにするための処理等を行ってバックアップ処理を終了する。なお、バックアップ対象として残ったファイルは、次回のバックアップ条件が充足された時にバックアップ処理が行われることになる。   In addition, when a notification that the current time is out of the backup period is sent from the management server 30 while the backup process is being performed, the primary storage server 10 completes the intermediate backup process until the end. The file remaining as the backup target at that time is interrupted without performing the backup process, and the backup process is performed by performing a process for enabling the management server 30 to update the management database DB1. finish. Note that files remaining as backup targets are subjected to backup processing when the next backup condition is satisfied.

上記の説明はバックアップ対象のファイルを実ファイルの場合で説明したが、プライマリストレージ11の作業フォルダ11bに記憶されたダミーファイルも、第4フローチャートで説明した実ファイルの場合と同様の手順でバックアップ処理が行われることになり、この場合は、上記の第4フローチャートの処理手順に関する説明において、実ファイルの箇所をダミーファイルに置き換えた説明になるものとする。   In the above description, the file to be backed up is described as a real file, but the dummy file stored in the work folder 11b of the primary storage 11 is also backed up in the same procedure as the case of the real file described in the fourth flowchart. In this case, in the description of the processing procedure of the above-described fourth flowchart, the actual file location is replaced with a dummy file.

図13の第5フローチャートは、「アーカイブ処理」におけるプライマリストレージサーバ10が行う処理手順の内容(アーカイブ処理方法の内容)を説明したものである。この第5フローチャートは、図3(d)に示す状態で処理が開始される場合を示すと共に、アーカイブ処理対象のファイルの中身の比較を行うようになっている場合の処理を示すものになっている。   The fifth flowchart in FIG. 13 describes the contents of the processing procedure (the contents of the archive processing method) performed by the primary storage server 10 in the “archive processing”. The fifth flowchart shows the case where the process is started in the state shown in FIG. 3D and the process when the contents of the files to be archived are compared. Yes.

まず、プライマリストレージサーバ10は、現在の状態がアーカイブ条件を充足したか否かを検知する(S21)。なお、本実施形態におけるアーカイブ条件の充足は、上述したバックアップ条件の充足のときの場合と同様、二通りがあり、一つ目は管理サーバ30から現在の時刻がアーカイブ期間に入ったことの通知を受け取ったことを検知する場合であり、二つ目は、プライマリストレージ11の使用率が予め設定された閾値を超えたことを検知した場合である。   First, the primary storage server 10 detects whether or not the current state satisfies the archive condition (S21). In addition, the satisfaction of the archive condition in this embodiment is the same as in the case of the satisfaction of the backup condition described above, and the first is notification from the management server 30 that the current time has entered the archive period. The second is a case where it is detected that the usage rate of the primary storage 11 exceeds a preset threshold value.

アーカイブ条件の充足を検知しない場合(S21:NO)、アーカイブ条件が充足されるようになるのを待つ状態となり、アーカイブ条件の充足を検知した場合(S21:YES)、プライマリストレージサーバ10はアーカイブ処理の開始通知(アーカイブ処理対象のファイル情報を要求する旨を含む通知)を管理サーバ30へ送信する(S22)。また、管理サーバ30は、プライマリストレージサーバ10からのアーカイブ処理の開始通知を受け取ると、アーカイブ処理対象となるファイルの情報を管理データベースDB1から読み出してアーカイブファイル情報としてプライマリストレージサーバ10へ送ることになる。   If the satisfaction of the archive condition is not detected (S21: NO), the state waits until the archive condition is satisfied. If the satisfaction of the archive condition is detected (S21: YES), the primary storage server 10 performs the archive process. Is sent to the management server 30 (notification including requesting file information to be archived) (S22). In addition, when the management server 30 receives the archive processing start notification from the primary storage server 10, the management server 30 reads information on the file to be archived from the management database DB 1 and sends it to the primary storage server 10 as archive file information. .

なお、本実施形態においてアーカイブ処理の対象となるファイルは、プライマリストレージ11に記憶されてから一定期間を経過したもの又は記憶された状態から更新されて一定期間が経過したものにしており、上記の一定期間は例えば、3日又は一週間等のシステムの仕様等に応じて管理サーバ30でシステム管理者により予め設定される。また、プライマリストレージの使用率が閾値を超えた場合では、プライマリストレージ11に記憶されているファイルの中で、古いファイルの順にアーカイブ処理の対象にする。   In the present embodiment, the file to be archived is a file that has been stored for a period of time after being stored in the primary storage 11 or a file that has been updated from the stored state and has passed a fixed period of time. The predetermined period is set in advance by the system administrator in the management server 30 in accordance with the system specifications such as three days or one week. Further, when the usage rate of the primary storage exceeds the threshold value, the files are stored in the primary storage 11 in the order of the oldest file among the files stored in the primary storage 11.

プライマリストレージサーバ10は、管理サーバ30からのアーカイブファイル情報を受け取ったか否かを検知し(S23)、アーカイブファイル情報を受け取っていなければ(S23:NO)、送られてくるのを待つ状態となり、アーカイブファイル情報を受け取ると(S23:YES)、図4(a)に示すように、受け取ったアーカイブファイル情報を作業フォルダ11bに記憶する(S24)。それから、プライマリストレージサーバ10は、B・Aフォルダ11aに記憶されているアーカイブ処理対象となる実ファイルd1と、セカンダリストレージ21に記憶されているバックアップファイル(実ファイルd1″)と中身が同一であるか否かをセカンダリストレージサーバ20に問い合わせることで比較判断する(S25)。   The primary storage server 10 detects whether or not archive file information has been received from the management server 30 (S23). If the archive file information has not been received (S23: NO), the primary storage server 10 waits for the transmission. When the archive file information is received (S23: YES), the received archive file information is stored in the work folder 11b as shown in FIG. 4A (S24). The primary storage server 10 then has the same contents as the actual file d1 to be archived stored in the B / A folder 11a and the backup file (actual file d1 ″) stored in the secondary storage 21. It is compared and determined by making an inquiry to the secondary storage server 20 (S25).

セカンダリストレージサーバ20からの返信により、中身が同一であることを判断した場合(S25:YES)、図4(b)に示すように、プライマリストレージサーバ10は、作業フォルダ11bに記憶するアーカイブファイル情報f3に含まれる情報に基づき、ダミーファイルd11を作成し、そのダミーファイルd11で実ファイルd1を置き換えて更新する(S26)。そして、プライマリストレージサーバ10は、図4(c)に示すように、アーカイブファイル情報f3に基づきDB更新情報f22(アーカイブ情報更新用SQLファイル)を作成し、管理サーバ30へ送る(S27)。なお、管理サーバ30は、プライマリストレージサーバ10からのDB更新情報f22を受け取ると、そのDB更新情報f22で管理データベースDB1の中身を更新する。それから、プライマリストレージサーバ10は作業フォルダ11bのアーカイブファイル情報f3及びDB更新情報f22を削除する(S28)。   When it is determined from the reply from the secondary storage server 20 that the contents are the same (S25: YES), as shown in FIG. 4B, the primary storage server 10 stores the archive file information stored in the work folder 11b. Based on the information included in f3, a dummy file d11 is created, and the dummy file d11 is updated by replacing the actual file d1 (S26). Then, as shown in FIG. 4C, the primary storage server 10 creates DB update information f22 (archive information update SQL file) based on the archive file information f3, and sends it to the management server 30 (S27). When the management server 30 receives the DB update information f22 from the primary storage server 10, the management server 30 updates the contents of the management database DB1 with the DB update information f22. Then, the primary storage server 10 deletes the archive file information f3 and the DB update information f22 in the working folder 11b (S28).

また、S25の段階で、B・Aフォルダ11aに記憶されている実ファイルd1と、セカンダリストレージ21に記憶されているバックアップファイル(実ファイルd1″)と中身が異なると判断した場合(S25:NO)、プライマリストレージサーバ10は、ダミーファイルの作成を行うことなく、その実ファイルd1に対する処理を終了する。なお、プライマリストレージサーバ10は、アーカイブ期間内であれば、定期的に(例えば、1分間隔)、管理サーバ30へアーカイブ処理の対象となるファイルを問い合わせて、処理対象となるファイルがあれば、第5フローチャートの処理をプライマリストレージサーバ10は繰り返すことになる。また、上記の説明ではアーカイブ処理の対象を実ファイルで説明したが、一度アーカイブ処理が行われてから、読み出し処理によりプライマリストレージ11にダウンロードされたファイルについても、再度、アーカイブ処理を行っても良い(但し、ダウンロード後の一定期間を経過するまでの期間は、アーカイブ条件を充足しないことになるので、この期間はアーカイブ処理対象外になる)。なお、ダミーファイルはアーカイブ処理の対象外である。   If it is determined in step S25 that the actual file d1 stored in the B / A folder 11a is different from the backup file (actual file d1 ″) stored in the secondary storage 21 (S25: NO) The primary storage server 10 ends the processing for the actual file d1 without creating a dummy file, and the primary storage server 10 periodically (for example, every 1 minute) within the archive period ) The management server 30 is inquired about a file to be archived, and if there is a file to be processed, the primary storage server 10 repeats the process of the fifth flowchart. I explained the target of the real file, but once archived The archive process may be performed again on the file downloaded to the primary storage 11 by the read process after the process is performed (however, the archive condition is satisfied for a period until a certain period after the download has elapsed). (This period is not subject to archive processing.) Note that dummy files are not subject to archive processing.

図14の第6フローチャートは、「ファイル読み出し処理」におけるプライマリストレージサーバ10が行う処理手順の内容(アーカイブ処理方法の内容)を説明したものである。この第6フローチャートは、図5(a)に示す状態で、実ファイルd1としてユーザ端末40で提示されるダミーファイルd11の読み出し指示を、ユーザ端末40がプライマリストレージサーバ10へ送る場合の処理に対応したものとする。   The sixth flowchart in FIG. 14 describes the contents of the processing procedure (the contents of the archive processing method) performed by the primary storage server 10 in the “file reading process”. This sixth flowchart corresponds to the processing when the user terminal 40 sends an instruction to read the dummy file d11 presented at the user terminal 40 as the actual file d1 to the primary storage server 10 in the state shown in FIG. Shall be.

まず、プライマリストレージサーバ10は、ユーザ端末40から送られてくるファイル(ダミーファイルd11)の読み出し指示を受け取ったか否かを検知する(S30)。読み出し指示を受け取っていない場合(S30:NO)、ユーザ端末40からの読み出し指示を待つ状態となり、読み出し指示を受け取った場合(S30:YES)、プライマリストレージサーバ10は、読み出し指示の対象となるダミーファイルd11が含む情報に基づき、実ファイルのバックアップファイル(実ファイルd1″)のダウンロード要求をセカンダリストレージサーバ20へ送信する(S31)。   First, the primary storage server 10 detects whether or not a read instruction for a file (dummy file d11) sent from the user terminal 40 has been received (S30). When a read instruction has not been received (S30: NO), a read instruction from the user terminal 40 is waited. When a read instruction has been received (S30: YES), the primary storage server 10 is a dummy subject to the read instruction. Based on the information included in the file d11, a download request for the actual file backup file (actual file d1 ″) is transmitted to the secondary storage server 20 (S31).

次に、プライマリストレージサーバ10は、セカンダリストレージサーバ20からバックアップファイル(実ファイルd1″)がダウンロードされてくるか否かを判断し(S32)、ダウンロードされていなければ(S32:NO)、ダウンロードを待つ状態となり、ダウンロードされると(S32:YES)、ダミーファイルd11を、そのダウンロードされたバックアップファイル(実ファイルd1″)に実ファイルd1として置換更新し(S33)、その更新した実ファイルd1をユーザ端末40へ送る(S34)。このような処理により、ユーザ端末40からは、実ファイルとして提示されたダミーファイルの読み出し指示を出しても、プライマリストレージサーバ10からは実ファイルが送られてくるので、ユーザはダミーファイルを意識することなく、各種ファイル操作を行える。   Next, the primary storage server 10 determines whether or not a backup file (actual file d1 ″) is downloaded from the secondary storage server 20 (S32). If not downloaded (S32: NO), the download is performed. When waiting and downloading (S32: YES), the dummy file d11 is replaced with the downloaded backup file (actual file d1 ″) as the actual file d1 (S33), and the updated actual file d1 is updated. The data is sent to the user terminal 40 (S34). With this process, even if the user terminal 40 issues an instruction to read a dummy file presented as a real file, the real file is sent from the primary storage server 10, so the user is aware of the dummy file. Various file operations can be performed without any problem.

このように本実施形態のストレージシステム1では、バックアップ状態でアーカイブ処理を行うので、プライマリストレージサーバ10とセカンダリストレージサーバ20との間の通信状況に左右されることなく、スムーズにアーカイブ処理を完了できる。またアーカイブ処理のために生成するダミーファイルもセカンダリストレージ21へバックアップするので、何らかの原因によりプライマリストレージ11からダミーファイルが消滅した場合でも、バックアップされたダミーファイルd11″により元の状態へ戻すことができ、堅牢なシステムを確保できる。   As described above, the storage system 1 according to the present embodiment performs the archiving process in the backup state, so that the archiving process can be completed smoothly without being influenced by the communication status between the primary storage server 10 and the secondary storage server 20. . Further, since the dummy file generated for the archiving process is also backed up to the secondary storage 21, even if the dummy file disappears from the primary storage 11 for some reason, it can be restored to the original state by the backed up dummy file d11 ″. Can ensure a robust system.

なお、第1実施形態のストレージシステム1は、上述した説明内容に限定されるものではなく、種々の変形例が想定できる。例えば、セカンダリストレージサーバ20に用いられるセカンダリストレージ21としては、HDDによる記憶デバイスの他に、他の種類の記憶媒体(例えば、磁気記憶テープ又は光学記憶ディスク等)を用いた記憶デバイスを用いることが可能である。   Note that the storage system 1 of the first embodiment is not limited to the above description, and various modifications can be assumed. For example, as the secondary storage 21 used in the secondary storage server 20, a storage device using another type of storage medium (for example, a magnetic storage tape or an optical storage disk) is used in addition to the storage device using the HDD. Is possible.

また、アーカイブ処理の対象にするファイルとしては、プライマリストレージ11に記憶されているファイルについて読み出しが行われたことに対する時間の経過情報を管理することで、最後にユーザ端末40から読み出し(アクセス)されて一定時間を経過したファイルをアーカイブ処理対象にするようにしてもよい。このようにすることで、ユーザ端末40からアクセス頻度の高いファイルをダミーファイルに置換することを回避して、実ファイルとしてプライマリストレージ11に残して、ユーザ端末40からの高頻度のアクセスに対応しやすくなる。   Further, the file to be archived is finally read (accessed) from the user terminal 40 by managing time-lapse information regarding the reading of the file stored in the primary storage 11. Alternatively, a file that has passed a certain time may be set as an archive processing target. By doing so, it is possible to avoid replacing a frequently accessed file with a dummy file from the user terminal 40 and leave it as a real file in the primary storage 11 to support frequent access from the user terminal 40. It becomes easy.

さらに、バックアップ条件に関し,上記の説明では、管理サーバ30が現在の時刻がバックアップ期間に入ったかを検知し、検知したことはバックアップ期間に入ったことをプライマリストレージサーバ10へ通知するようにしていたが、バックアップ条件(設定されたバックアップ期間)を事前に管理サーバ30がプライマリストレージサーバ10へ送って、プライマリストレージサーバ10で保存しておき、プライマリストレージサーバ10(MPU10a)が、バックアップ期間に現在の時刻が入ったかをバックアップ条件として判断することも可能である。   Further, regarding the backup condition, in the above description, the management server 30 detects whether the current time has entered the backup period, and the detected result notifies the primary storage server 10 that the backup period has been entered. However, the management server 30 sends the backup conditions (the set backup period) to the primary storage server 10 in advance and stores them in the primary storage server 10, and the primary storage server 10 (MPU 10a) It is also possible to determine whether the time has entered as a backup condition.

このことはアーカイブ条件についても同様であり、プライマリストレージサーバ10がアーカイブ期間を予め保存しておき、現在の時刻がアーカイブ期間に入ったかを判断するようにしてもよい。プライマリストレージ11に記憶されているファイルと、セカンダリストレージ21に記憶されているファイルを比較して中身の同異を検知する場合、セカンダリストレージ21に記憶されているファイルをプライマリストレージサーバ10にダウンロードして、プライマリストレージサーバ10(MPU10a)が両ファイルの中身の同異を比較することも可能である。   The same applies to the archive condition, and the primary storage server 10 may store the archive period in advance and determine whether the current time has entered the archive period. When the file stored in the primary storage 11 and the file stored in the secondary storage 21 are compared to detect the content difference, the file stored in the secondary storage 21 is downloaded to the primary storage server 10. The primary storage server 10 (MPU 10a) can also compare the contents of both files.

図15は、本発明の第2実施形態に係るストレージシステム50の全体的な概要を示したものである。第2実施形態のストレージシステム50は、第1実施形態のストレージシステム1におけるプライマリストレージサーバ10と管理サーバ30を、一つのプライマリストレージサーバ60として結合集約した構成になっており、プライマリストレージサーバ60に、第1実施形態の管理サーバ30の役割を持たせることで、第1実施形態に比べてシステム構成を簡易化すると共に(管理サーバを省略できる)、第1実施形態で行っていたプライマリストレージサーバ10と管理サーバ30との間の通信を、プライマリストレージサーバ60内の処理で済ませられるようにしたことが特徴になっている。なお、図15に示す第2実施形態のストレージシステム50におけるセカンダリストレージサーバ20、ユーザ端末40及び管理用端末45は基本的に第1実施形態のものと同等である(セカンダリストレージサーバ20のセカンダリストレージ21は、プライマリストレージサーバ60が有するプライマリストレージ61に比べて、記憶容量が大きくなっているのも第1実施形態と同様)。   FIG. 15 shows an overall outline of the storage system 50 according to the second embodiment of the present invention. The storage system 50 according to the second embodiment has a configuration in which the primary storage server 10 and the management server 30 in the storage system 1 according to the first embodiment are combined and aggregated as one primary storage server 60. By providing the role of the management server 30 of the first embodiment, the system configuration is simplified compared to the first embodiment (the management server can be omitted), and the primary storage server used in the first embodiment 10 and the management server 30 are characterized in that the processing in the primary storage server 60 can be completed. Note that the secondary storage server 20, user terminal 40, and management terminal 45 in the storage system 50 of the second embodiment shown in FIG. 15 are basically the same as those of the first embodiment (the secondary storage of the secondary storage server 20). 21 is similar to the first embodiment in that the storage capacity is larger than the primary storage 61 of the primary storage server 60).

図15は、第2実施形態のプライマリストレージサーバ60(第1通信装置又はストレージ通信装置に相当)の主要な内部構成を示し、基本的には図6に示すものと同等になっており、全体的な制御及び各種処理を行うMPU60aに、内部接続線60hで、通信モジュール60b、RAM60c、ROM60d、入力インタフェース60e、出力インタフェース60f、記憶部60g、及びプライマリストレージ61等を接続したものになっているが、記憶部60gに記憶する内容が第1実施形態と異なっている。   FIG. 15 shows a main internal configuration of the primary storage server 60 (corresponding to the first communication device or the storage communication device) of the second embodiment, which is basically the same as that shown in FIG. A communication module 60b, RAM 60c, ROM 60d, input interface 60e, output interface 60f, storage unit 60g, primary storage 61, and the like are connected to an MPU 60a that performs general control and various processes by an internal connection line 60h. However, the content stored in the storage unit 60g is different from the first embodiment.

記憶部60gには、図6で示す記憶部10gで記憶していたサーバプログラムP1及び処理プログラムP2に加えて、図9で示す管理サーバ30の記憶部30gで記憶していた管理プログラムP11、バックアップ期間J1、アーカイブ期間J2、及び管理データベースDB1を記憶するものになっている。このように管理サーバ30gで記憶していた管理プログラムP11により、第2実施形態のMPU60aは、エージェント65として機能することに加えて、第1実施形態の管理サーバ30が行っていた制御処理も行うようになっている。そのため、第1実施形態で行っていたプライマリストレージサーバ10と管理サーバ30との間の通信処理は、処理プログラムP2と管理プログラムP11との間でのプライマリストレージサーバ60内のやり取りに収まり、第2実施形態は第1実施形態に比べて全体的に処理をスピーディーに行えるようになる。   In addition to the server program P1 and processing program P2 stored in the storage unit 10g shown in FIG. 6, the storage unit 60g includes a management program P11 stored in the storage unit 30g of the management server 30 shown in FIG. The period J1, the archive period J2, and the management database DB1 are stored. As described above, the management program P11 stored in the management server 30g causes the MPU 60a of the second embodiment to function as the agent 65, and also performs control processing performed by the management server 30 of the first embodiment. It is like that. Therefore, the communication process between the primary storage server 10 and the management server 30 performed in the first embodiment is limited to the exchange in the primary storage server 60 between the processing program P2 and the management program P11. Compared to the first embodiment, the embodiment can perform the processing speedily as a whole.

具体的に図12の第4フローチャートにおけるS12のバックアップ条件の充足は、記憶部60gに記憶されるバックアップ期間J1により、現在の時刻がバックアップ期間J1に入ることでバックアップ条件を満たすようになったかを、MPU60aが検知することになる。また、S13のバックアップ処理の開始通知及びS14、15の応答は、MPU60a自身内で完結することになる。さらに、S18のDB更新情報f2を管理サーバ30へ送ることは、プライマリストレージ61の作業フォルダ61bに記憶されるDB更新情報f2を、内部接続線60hを通じて、記憶部60gに記憶される管理データベースDB1へ送って、管理データベースDB1の中身を更新することで行う。   Specifically, the satisfaction of the backup condition of S12 in the fourth flowchart of FIG. 12 indicates whether the backup condition satisfies the backup condition by entering the backup period J1 by the backup period J1 stored in the storage unit 60g. , MPU 60a will detect. In addition, the backup processing start notification in S13 and the responses in S14 and S15 are completed within the MPU 60a itself. Furthermore, sending the DB update information f2 in S18 to the management server 30 means that the DB update information f2 stored in the work folder 61b of the primary storage 61 is sent to the management database DB1 stored in the storage unit 60g through the internal connection line 60h. And update the contents of the management database DB1.

また、図13の第5フローチャートにおけるS21のアーカイブ条件の充足についても、記憶部60gに記憶されるアーカイブ期間J2により、現在の時刻がアーカイブ期間J2に入ることでアーカイブ条件を満たすようになったかを、MPU60aが検知することになる。また、S22のアーカイブ処理の開始通知及びS23のアーカイブファイル情報の受信も、MPU60a自身内で完結することになる。さらに、S27のDB更新情報f22を管理サーバ30へ送ることは、上述したように、プライマリストレージ61の作業フォルダ61bに記憶されるDB更新情報f22を、内部接続線60hを通じて、記憶部60gに記憶される管理データベースDB1へ送って、管理データベースDB1の中身を更新することで行えるようになる。   Further, regarding the satisfaction of the archive condition of S21 in the fifth flowchart of FIG. 13, whether or not the archive condition is satisfied by the current time entering the archive period J2 by the archive period J2 stored in the storage unit 60g. , MPU 60a will detect. Further, the start notification of the archive processing in S22 and the reception of the archive file information in S23 are also completed within the MPU 60a itself. Further, sending the DB update information f22 in S27 to the management server 30 stores the DB update information f22 stored in the work folder 61b of the primary storage 61 in the storage unit 60g through the internal connection line 60h as described above. Sent to the management database DB1, and the contents of the management database DB1 can be updated.

以上のように第2実施形態に係るストレージシステム50は、プライマリストレージサーバ及び管理サーバを一体化することにより、更に通信環境に左右されない堅牢なシステム形態を実現している。なお、第2実施形態に係るストレージシステム50は他の点については第1実施形態と同様である。また、第2実施形態においても様々な変形例が想定でき、例えば、管理データベースDB1は記憶部60gに記憶させるのではなく、プライマリストレージ61に記憶させるようにしてもよい。また、プライマリストレージ61に管理データベースDB1を記憶した場合は、管理データベースDB1自体をセカンダリストレージサーバ20のセカンダリストレージ21にバックアップとしてコピーしておけば、プライマリストレージ61が故障しても、セカンダリストレージ21にバックアップしておいた管理データベースDB1により元の状態へ復帰できる。   As described above, the storage system 50 according to the second embodiment realizes a robust system configuration that does not depend on the communication environment by integrating the primary storage server and the management server. The storage system 50 according to the second embodiment is the same as the first embodiment in other respects. Also, various modifications can be assumed in the second embodiment. For example, the management database DB1 may be stored in the primary storage 61 instead of being stored in the storage unit 60g. When the management database DB1 is stored in the primary storage 61, if the management database DB1 itself is copied as a backup to the secondary storage 21 of the secondary storage server 20, even if the primary storage 61 fails, The management database DB1 that has been backed up can restore the original state.

図17は第2実施形態の変形例の一つのストレージシステム50′を示している。この変形例のストレージシステム50′では、プライマリストレージ60′がプライマリストレージ61′に管理データベースDB1を持たず、セカンダリストレージサーバ20′のセカンダリストレージ21′に管理データベースDB1を記憶させたことが特徴になっている。そのため、この変形例では、管理データベースDB1の中身を更新するとき、又は管理データベースDB1からファイル情報等の読み出しを行うとき等に、プライマリストレージサーバ60′とセカンダリストレージサーバ20′との間で通信を行うことになるが、この変形例においても、第1実施形態に比べて管理サーバを用いていないという点で、システム構成の簡易化を図っている。なお、第2実施形態では、ユーザ端末40と管理端末45を一体化することも可能である。   FIG. 17 shows one storage system 50 ′ according to a modification of the second embodiment. The storage system 50 ′ of this modification is characterized in that the primary storage 60 ′ does not have the management database DB1 in the primary storage 61 ′, but stores the management database DB1 in the secondary storage 21 ′ of the secondary storage server 20 ′. ing. Therefore, in this modified example, communication between the primary storage server 60 ′ and the secondary storage server 20 ′ is performed when the contents of the management database DB1 are updated, or when file information or the like is read from the management database DB1. As will be described, this modification also simplifies the system configuration in that the management server is not used as compared to the first embodiment. In the second embodiment, the user terminal 40 and the management terminal 45 can be integrated.

図18は、本発明の第3実施形態に係るストレージシステム70の全体的な概要を示したものである。第3実施形態のストレージシステム70は、第1実施形態のストレージシステム1におけるプライマリストレージサーバ10とユーザ端末40を結合集約して、通信端末装置80としたことが特徴になっている。この通信端末装置80は、ユーザ(クライアント)が用いる通信機能を有する端末(コンピュータ、タブレット、スマートフォン等)が該当し、第3実施形態ではユーザが用いるクライアント端末である通信端末装置80もストレージシステム70を構成する要素になっている。なお、第3実施形態におけるセカンダリストレージサーバ20、管理サーバ30、及び管理用端末45は、第1実施形態と同等である。   FIG. 18 shows an overall outline of a storage system 70 according to the third embodiment of the present invention. The storage system 70 of the third embodiment is characterized in that the primary storage server 10 and the user terminal 40 in the storage system 1 of the first embodiment are combined and aggregated to form a communication terminal device 80. The communication terminal device 80 corresponds to a terminal (computer, tablet, smartphone, etc.) having a communication function used by the user (client). In the third embodiment, the communication terminal device 80 which is a client terminal used by the user is also the storage system 70. It is an element that composes. Note that the secondary storage server 20, the management server 30, and the management terminal 45 in the third embodiment are the same as those in the first embodiment.

図19は、第3実施形態の通信端末装置80(第1通信装置又はストレージ通信装置に相当)として、一般的なパーソナルコンピュータを用いた場合の主要な内部構成を示し、基本的には図10に示すユーザ端末40の構成と同等になっている。すなわち、通信端末装置80は、全体的な制御及び各種処理を行うCPU80aに、通信モジュール80b、RAM80c、ROM80d、入力インタフェース80e、出力インタフェース80f、及び記憶部80g等の各種デバイス等を内部接続線80hで接続しており、各種デバイス80b〜80g等も基本的に図10のユーザ端末40と同等なものになっている。   FIG. 19 shows a main internal configuration when a general personal computer is used as the communication terminal device 80 (corresponding to the first communication device or the storage communication device) of the third embodiment. Basically, FIG. The configuration of the user terminal 40 shown in FIG. That is, the communication terminal device 80 connects various devices such as the communication module 80b, the RAM 80c, the ROM 80d, the input interface 80e, the output interface 80f, and the storage unit 80g to the CPU 80a that performs overall control and various processes. The various devices 80b to 80g are basically equivalent to the user terminal 40 of FIG.

なお、通信モジュール80bは、所要の通信機器(図示は省略。例えばルータ等が該当)を介してネットワークと接続することで、セカンダリストレージサーバ20及び管理サーバ30とそれぞれ通信可能になっている。また、入力インタフェース80eは、ユーザからの操作指示等を受け付けるキーボード80i、マウス等が接続されており、ユーザから受け付けた操作指示等をCPU80aへ伝える。出力インタフェース80fは、ディスプレイ80jを接続し、CPU80aの処理に伴う内容をディスプレイ80jへ出力し、操作内容及び処理内容等をユーザが視覚的に確認できるようにしている。   Note that the communication module 80b can communicate with the secondary storage server 20 and the management server 30 by connecting to a network via a required communication device (not shown, for example, a router or the like). The input interface 80e is connected to a keyboard 80i for receiving operation instructions from the user, a mouse, and the like, and transmits the operation instructions received from the user to the CPU 80a. The output interface 80f is connected to the display 80j, outputs the contents accompanying the processing of the CPU 80a to the display 80j, and allows the user to visually confirm the operation contents and the processing contents.

記憶部80gは、HDD(Hard Disc Drive)又はSSD(Solid State Drive)等により構成される記憶デバイスであり、第3実施形態ではプライマリストレージとして機能し、B・Aフォルダ81a及び作業フォルダ81bを設けたものになっている。また、記憶部80gは、図10に示すユーザ端末40の記憶部10gで記憶されていた基本プログラムP20及びアプリケーションプログラムP21に加えて、端末用処理プログラムP22を記憶している。この端末用処理プログラムP22は、第1実施形態のプライマリストレージサーバ10の記憶部10gに記憶されていたサーバ用の処理プログラムP2を、一般的なコンピュータ用に改変したものであり、基本的な規定内容は第1実施形態の処理プログラムP2と同等であり、CPU80aは、この端末用処理プログラムP22が規定する内容に基づき、第1実施形態と同様にエージェント85として機能する。   The storage unit 80g is a storage device configured by an HDD (Hard Disc Drive), an SSD (Solid State Drive), or the like. In the third embodiment, the storage unit 80g functions as a primary storage and includes a B / A folder 81a and a work folder 81b. It has become a thing. The storage unit 80g stores a terminal processing program P22 in addition to the basic program P20 and the application program P21 stored in the storage unit 10g of the user terminal 40 illustrated in FIG. This terminal processing program P22 is obtained by modifying the server processing program P2 stored in the storage unit 10g of the primary storage server 10 of the first embodiment for a general computer. The content is the same as the processing program P2 of the first embodiment, and the CPU 80a functions as the agent 85 as in the first embodiment, based on the content defined by the terminal processing program P22.

エージェント85として機能するCPU80aが行う処理は、第1実施形態の図7に示す(1)〜(13)の各機能と同等であるが、第1実施形態ではユーザ端末40から受けていた指示を、エージェント85は直接的に、入力インタフェース80eを介して受け取るようになると共に、ユーザからのファイル読み出し指示に関し、第1実施形態では読み出し対象のファイルをプライマリストレージサーバ10からユーザ端末40へ送っていたが、第3実施形態では、読み出し対象のファイルを記憶部80gから単に読み出す処理に留まるなど、細部においてエージェント85として機能するCPU80aの処理が、第1実施形態におけるMPU10aの場合と異なっている。   The processing performed by the CPU 80a functioning as the agent 85 is equivalent to the functions (1) to (13) shown in FIG. 7 of the first embodiment, but the instruction received from the user terminal 40 in the first embodiment. The agent 85 directly receives the file via the input interface 80e, and in the first embodiment, the file to be read is sent from the primary storage server 10 to the user terminal 40 regarding the file read instruction from the user. However, in the third embodiment, the processing of the CPU 80a that functions as the agent 85 in details is different from the case of the MPU 10a in the first embodiment, such as simply reading the file to be read from the storage unit 80g.

具体的に第3実施形態の処理が、第1実施形態と異なる点としては、図11(a)の第1フローチャートにおけるS1の段階で、ユーザ端末40から送られてくるプライマリストレージ11への追加対象となるファイルを受け取ったか否かを検知することに関し、第3実施形態では、記憶部80gのB・Aフォルダ81aにファイルが新たに追加されたかをエージェント85が検知することになり、検知した場合はS3以降の処理を行うことになる。同様に図11(b)の第2フローチャートにおけるS5の段階で、ユーザ端末40から送られてくる更新ファイル(プライマリストレージサーバ10に既に記憶済みのファイルを更新するためのファイル)を受け取ったか否かの検知に関し、第3実施形態では記憶部80gのB・Aフォルダ81aに記憶されているファイルの更新処理が行われたか否かを、エージェント85が検知することになり、更新処理を検知した場合はS7以降の処理を行うことになる。   Specifically, the process of the third embodiment is different from the first embodiment in that it is added to the primary storage 11 sent from the user terminal 40 at the stage S1 in the first flowchart of FIG. Regarding the detection of whether or not a target file has been received, in the third embodiment, the agent 85 detects whether a file has been newly added to the B / A folder 81a of the storage unit 80g. In this case, the processing after S3 is performed. Similarly, whether or not an update file (a file for updating a file already stored in the primary storage server 10) sent from the user terminal 40 has been received in step S5 in the second flowchart of FIG. 11B. In the third embodiment, in the third embodiment, the agent 85 detects whether or not the update process of the file stored in the B / A folder 81a of the storage unit 80g has been performed, and the update process is detected. Will perform the processing after S7.

また、図11(c)の第3フローチャートにおけるS9の段階で、ユーザ端末40から送られてくるプライマリストレージサーバ10に既に記憶されているファイルの削除指示を受け取ったか否かを検知することに関し、第3実施形態では、入力インタフェース80eを介して、B・Aフォルダ81aに記憶されているファイルの削除指示を受け取ったかを、エージェント85は検知することになる。   In addition, regarding the detection of whether or not a file deletion instruction already stored in the primary storage server 10 sent from the user terminal 40 has been received in step S9 in the third flowchart of FIG. In the third embodiment, the agent 85 detects whether an instruction to delete a file stored in the B / A folder 81a is received via the input interface 80e.

同様に、図14の第6フローチャートにおけるS30の段階で、ユーザ端末40から送られてくるファイル(ダミーファイル)の読み出し指示を受け取ったか否かを検知することに関しても、第3実施形態では、入力インタフェース80eを介して、B・Aフォルダ81aに記憶されているファイル(ダミーファイル)の読み出し指示を受け取ったかを、エージェント85は検知することになる。また、図14の第6フローチャートにおけるS34の段階で、ダミーファイルから置換した実ファイルをユーザ端末40へ送ることに関し、第3実施形態では、ダミーファイルから置換したファイルを、出力インタフェース80fを介してディスプレイ80jへ出力する処理をエージェント85(CPU80a)が行うことになる。   Similarly, in the third embodiment, in the third embodiment, it is detected whether or not a read instruction of a file (dummy file) sent from the user terminal 40 is received in the step S30 in the sixth flowchart of FIG. The agent 85 detects whether an instruction to read a file (dummy file) stored in the B / A folder 81a is received via the interface 80e. Further, regarding sending the actual file replaced from the dummy file to the user terminal 40 in the step S34 in the sixth flowchart of FIG. 14, in the third embodiment, the file replaced from the dummy file is sent via the output interface 80f. The agent 85 (CPU 80a) performs processing to output to the display 80j.

このように第3実施形態では、第1実施形態におけるプライマリストレージサーバ10及びユーザ端末40を、クライアント端末である通信端末装置80として一つにまとめたので、サーバ(プライマリストレージサーバ)を用いないクライアント端末レベルの簡易な構成で、通信端末装置80を含むストレージシステム70を構築できるメリットがあり、また、第1実施形態で行っていたユーザ端末40とプライマリストレージサーバ10との間で通信を介したやり取りも不要となり、ユーザに近いレベルでファイルに関する各種処理を行える。   As described above, in the third embodiment, since the primary storage server 10 and the user terminal 40 in the first embodiment are combined into one as the communication terminal device 80 that is a client terminal, a client that does not use a server (primary storage server). There is a merit that a storage system 70 including the communication terminal device 80 can be constructed with a simple configuration at the terminal level, and communication is performed between the user terminal 40 and the primary storage server 10 performed in the first embodiment. There is no need for exchange, and various file processing can be performed at a level close to the user.

図20は、本発明の第4実施形態に係るストレージシステム90の全体的な概要を示したものである。第4実施形態のストレージシステム90は、図15に示す第2実施形態のストレージシステム50におけるプライマリストレージサーバ60と、図18に示す第3実施形態のストレージシステム70における通信端末装置80を組み合わせたような形態の通信端末装置100を用いており、第2実施形態と同様に管理サーバを省略した構成になっている。なお、第4実施形態におけるセカンダリストレージサーバ20、及び管理用端末45は、第1実施形態と同等である。   FIG. 20 shows an overall outline of a storage system 90 according to the fourth embodiment of the present invention. The storage system 90 of the fourth embodiment is a combination of the primary storage server 60 in the storage system 50 of the second embodiment shown in FIG. 15 and the communication terminal device 80 in the storage system 70 of the third embodiment shown in FIG. The communication terminal device 100 is used, and the management server is omitted as in the second embodiment. Note that the secondary storage server 20 and the management terminal 45 in the fourth embodiment are the same as in the first embodiment.

図21は、第4実施形態の通信端末装置100(第1通信装置又はストレージ通信装置に相当)として、一般的なパーソナルコンピュータを用いた場合の主要な内部構成を示している。第4実施形態の通信端末装置100は、基本的には図19に示す第3実施形態の通信端末装置80と同等であり、全体的な制御及び各種処理を行うCPU10aに、通信モジュール100b、RAM100c、ROM100d、入力インタフェース100e、出力インタフェース100f、及び記憶部100g等の各種デバイス等を内部接続線100hで接続しており、CPU100aがエージェント105として機能するのも第3実施形態の場合と同様である。   FIG. 21 shows a main internal configuration when a general personal computer is used as the communication terminal device 100 (corresponding to the first communication device or the storage communication device) of the fourth embodiment. The communication terminal device 100 of the fourth embodiment is basically the same as the communication terminal device 80 of the third embodiment shown in FIG. 19, and includes a communication module 100b, a RAM 100c, and a CPU 10a that performs overall control and various processes. Various devices such as the ROM 100d, the input interface 100e, the output interface 100f, and the storage unit 100g are connected by the internal connection line 100h, and the CPU 100a functions as the agent 105 as in the case of the third embodiment. .

記憶部100gは、第3実施形態と同様に、B・Aフォルダ101a及び作業フォルダ101bを設けると共に、プログラムP20、アプリケーションプログラムP21、及び端末用処理プログラムP22を記憶している。さらに、第4実施形態の記憶部100gは端末用管理プログラムP23、バックアップ期間J1、及びアーカイブ期間J2を記憶すると共に、管理データベースDB1も記憶している。   Similarly to the third embodiment, the storage unit 100g includes a B / A folder 101a and a work folder 101b, and stores a program P20, an application program P21, and a terminal processing program P22. Furthermore, the storage unit 100g of the fourth embodiment stores a terminal management program P23, a backup period J1, and an archive period J2, and also stores a management database DB1.

記憶部100gに記憶される端末用管理プログラムP23は、第1実施形態の図9に示す管理サーバ30の記憶部30gに記憶されるサーバ用の管理プログラムP11を、一般的なコンピュータ用に改変したものであり、この端末用管理プログラムP23により、第1実施形態で管理サーバ30が行っていた処理をCPU100aが行うようになるが、第4実施形態では管理サーバ30は単体で存在しないことから、CPU100aは第2実施形態で説明した図16のMPU60aが行う処理と同様の処理を行うことになる。整理すると、第4実施形態のCPU100aは、第2実施形態のMPU60が行う処理及び第3実施形態のCPU80aが行う処理の両方を行うものになっている。   The terminal management program P23 stored in the storage unit 100g is modified from the server management program P11 stored in the storage unit 30g of the management server 30 shown in FIG. 9 of the first embodiment for a general computer. However, this terminal management program P23 causes the CPU 100a to perform the processing performed by the management server 30 in the first embodiment, but the management server 30 does not exist alone in the fourth embodiment. The CPU 100a performs processing similar to the processing performed by the MPU 60a of FIG. 16 described in the second embodiment. In summary, the CPU 100a according to the fourth embodiment performs both the processing performed by the MPU 60 according to the second embodiment and the processing performed by the CPU 80a according to the third embodiment.

そのため、第4実施形態のストレージシステム90は、第2実施形態のストレージシステム50の効果、及び第3実施形態のストレージシステム70の効果の両方を奏することができる点にメリットがある。なお、第4実施形態のストレージシステム90は、第1実施形態及び第2実施形態で説明した各変形例の適用が可能であり、例えば、セカンダリストレージサーバ20のセカンダリストレージ21に、記憶部100gに記憶する管理データベースDB1のコピーを記憶させることも可能であり、更には、図17に示した場合と同様に、記憶部100gに管理データベースDB1を記憶させるのではなく、セカンダリストレージサーバ20のセカンダリストレージ21に記憶させる構成にすることも可能である。また、管理用端末45を、通信端末装置100に組み合わせるようにして、通信端末装置100で、管理者用の操作を行うことも可能である。   Therefore, the storage system 90 of the fourth embodiment has an advantage in that both the effects of the storage system 50 of the second embodiment and the effects of the storage system 70 of the third embodiment can be achieved. The storage system 90 according to the fourth embodiment can be applied to the modifications described in the first embodiment and the second embodiment. For example, the storage system 90 is included in the secondary storage 21 of the secondary storage server 20 and the storage unit 100g. It is also possible to store a copy of the management database DB1 to be stored. Further, as in the case shown in FIG. 17, instead of storing the management database DB1 in the storage unit 100g, the secondary storage of the secondary storage server 20 It is also possible to adopt a configuration in which the information is stored in 21. Further, the management terminal 45 can be combined with the communication terminal device 100 so that an operation for an administrator can be performed on the communication terminal device 100.

本発明は、通信で接続されたストレージ間でアーカイブ処理及を行うにあたり、各ストレージに同じファイルが記憶されているバックアップ状態で、アーカイブ処理を行うので、ファイルの安全性を確保した上で、通信のトラフィックの影響に左右されることなく、安定したアーカイブ処理を行えることに対して好適に利用可能である。   In the present invention, when performing archiving between storages connected by communication, the archiving is performed in a backup state in which the same file is stored in each storage. Therefore, the present invention can be suitably used for performing stable archiving without being influenced by the influence of traffic.

1、50、50′、70、90 ストレージシステム
10、60 プライマリストレージサーバ(第1通信装置又はストレージ通信装置)
11 プライマリストレージ(第1記憶デバイス)
11a B・Aフォルダ(第1フォルダ)
11b 作業フォルダ(第2フォルダ)
15 エージェント
20 セカンダリストレージサーバ(第2通信装置)
21 セカンダリストレージ(第2記憶デバイス)
30 管理サーバ
40 ユーザ端末
45 管理用端末
80、100 通信端末装置(第1通信装置又はストレージ通信装置)
80g、100g 記憶部(第1記憶デバイス)
DB1 管理データベース
J1 バックアップ期間
J2 アーカイブ期間
P1 サーバプログラム
P2 処理プログラム
P6 ストレージプログラム
P11 管理プログラム
P20 基本プログラム
P21 アプリケーションプログラム
P22 端末用処理プログラム
P23 端末用管理プログラム
1, 50, 50 ', 70, 90 Storage system 10, 60 Primary storage server (first communication device or storage communication device)
11 Primary storage (first storage device)
11a B / A folder (first folder)
11b Working folder (second folder)
15 Agent 20 Secondary storage server (second communication device)
21 Secondary storage (second storage device)
30 management server 40 user terminal 45 management terminal 80, 100 communication terminal device (first communication device or storage communication device)
80g, 100g storage unit (first storage device)
DB1 management database J1 backup period J2 archive period P1 server program P2 processing program P6 storage program P11 management program P20 basic program P21 application program P22 terminal processing program P23 terminal management program

Claims (15)

第1記憶デバイスを有する第1通信装置と、前記第1記憶デバイスに比べて記憶容量が大きい第2記憶デバイスを有すると共に前記第1通信装置と通信可能である第2通信装置とを備え、前記第1記憶デバイスに記憶されたファイルのアーカイブ処理をアーカイブ条件に基づき行うストレージシステムにおいて、
前記第1記憶デバイスに実ファイルが記憶されて、且つ前記実ファイルのバックアップファイルが前記第2記憶デバイスに記憶された状態で、アーカイブ条件を充足するか否かを検知する手段と、
アーカイブ条件の充足を検知した場合、前記第1記憶デバイスに記憶された実ファイルを、前記実ファイルに比べてデータ量が小さく且つ前記実ファイルとして提示されると共に前記バックアップファイルの読み出しに参照される参照情報を含む仮ファイルへ置換する処理を行う手段と
を備えることを特徴とするストレージシステム。
A first communication device having a first storage device; and a second communication device having a second storage device having a larger storage capacity than the first storage device and capable of communicating with the first communication device, In a storage system that performs archiving of files stored in a first storage device based on archiving conditions,
Means for detecting whether or not an archive condition is satisfied in a state where a real file is stored in the first storage device and a backup file of the real file is stored in the second storage device;
When the satisfaction of the archiving condition is detected, the actual file stored in the first storage device has a data amount smaller than that of the actual file and is presented as the actual file and is referred to when reading the backup file. A storage system comprising: means for performing a replacement process with a temporary file including reference information.
アーカイブ条件の充足を検知した場合、前記第1記憶デバイスに記憶された実ファイルを、前記第2記憶デバイスに記憶された前記バックアップファイルと比較して両者の中身の同異を判断する手段を備え、
前記実ファイル及び前記バックアップファイルの中身が異なると判断した場合、前記実ファイルを前記仮ファイルへ置換する処理を行わないようにしてある請求項1に記載のストレージシステム。
A means for comparing the actual file stored in the first storage device with the backup file stored in the second storage device to determine whether the contents are the same when an archiving condition is satisfied ,
The storage system according to claim 1, wherein when it is determined that the contents of the real file and the backup file are different, the process of replacing the real file with the temporary file is not performed.
前記第1記憶デバイスは、第1フォルダ及び第2フォルダを含み、
前記第1フォルダに記憶された前記実ファイルを前記仮ファイルへ置換する処理を前記第1フォルダで行うようにしてあり、
前記第1フォルダで置換された前記仮ファイルを、第2フォルダへコピーする手段を備える請求項1又は請求項2に記載のストレージシステム。
The first storage device includes a first folder and a second folder;
A process of replacing the actual file stored in the first folder with the temporary file is performed in the first folder;
The storage system according to claim 1 or 2, further comprising means for copying the temporary file replaced with the first folder to a second folder.
前記第1記憶デバイスに記憶されたファイルを前記第2記憶デバイスへバックアップするバックアップ条件を充足するか否かを検知する手段と、
前記バックアップ条件の充足を検知した場合、前記第2フォルダにコピーされた仮ファイルを、前記コピーされた仮ファイルのバックアップファイルとして前記第2記憶デバイスで記憶されるように、前記第2通信装置へアップロードする手段と、
前記コピーされた仮ファイルをアップロードした場合、前記コピーされた仮ファイルを前記第2フォルダから削除する手段と
を備える請求項3に記載のストレージシステム。
Means for detecting whether or not a backup condition for backing up a file stored in the first storage device to the second storage device is satisfied;
When the satisfaction of the backup condition is detected, the temporary file copied to the second folder is stored in the second storage device as a backup file of the copied temporary file to the second communication device. Means to upload,
The storage system according to claim 3, further comprising: a unit that deletes the copied temporary file from the second folder when the copied temporary file is uploaded.
前記バックアップ条件の充足を検知した場合、前記第2フォルダにコピーされた仮ファイルのバックアップファイルが前記第2記憶デバイスに記憶してあるか否かを検知する手段を備え、
前記コピーされた仮ファイルのバックアップファイルが前記第2記憶デバイスに記憶してあることを検知した場合、前記コピーされた仮ファイルを前記第2通信装置へアップロードしないようにしてある請求項4に記載のストレージシステム。
A means for detecting whether a backup file of the temporary file copied to the second folder is stored in the second storage device when the satisfaction of the backup condition is detected;
5. The apparatus according to claim 4, wherein when it is detected that a backup file of the copied temporary file is stored in the second storage device, the copied temporary file is not uploaded to the second communication device. Storage system.
前記第1記憶デバイスは、第1フォルダ及び第2フォルダを含み、
前記第1記憶デバイスの第1フォルダに前記実ファイルが記憶された場合、前記実ファイルを、第2フォルダへコピーする手段と、
前記第1記憶デバイスに記憶されたファイルを前記第2記憶デバイスへバックアップするバックアップ条件を充足するか否かを検知する手段と、
前記バックアップ条件の充足を検知した場合、前記第2フォルダへコピーされた実ファイルを、前記コピーされた実ファイルのバックアップファイルとして前記第2記憶デバイスで記憶されるように、前記第2通信装置へアップロードする手段と
を備える請求項2乃至請求項5のいずれか1項に記載のストレージシステム。
The first storage device includes a first folder and a second folder;
Means for copying the real file to the second folder when the real file is stored in the first folder of the first storage device;
Means for detecting whether or not a backup condition for backing up a file stored in the first storage device to the second storage device is satisfied;
When the satisfaction of the backup condition is detected, the real file copied to the second folder is stored in the second storage device so as to be stored in the second storage device as a backup file of the copied real file. The storage system according to any one of claims 2 to 5, further comprising an uploading unit.
前記バックアップ条件の充足を検知した場合、前記第2フォルダにコピーされた実ファイルのバックアップファイルが前記第2記憶デバイスに記憶してあるか否かを検知する手段を備え、
前記コピーされた実ファイルのバックアップファイルが前記第2記憶デバイスに記憶してあることを検知した場合、前記コピーされた実ファイルを前記第2通信装置へアップロードしないようにしてある請求項6に記載のストレージシステム。
A unit for detecting whether a backup file of an actual file copied to the second folder is stored in the second storage device when the satisfaction of the backup condition is detected;
7. The apparatus according to claim 6, wherein when it is detected that a backup file of the copied actual file is stored in the second storage device, the copied actual file is not uploaded to the second communication device. Storage system.
第1記憶デバイスを有する第1通信装置と、前記第1記憶デバイスに比べて記憶容量が大きい第2記憶デバイスを有すると共に前記第1通信装置と通信可能である第2通信装置とを備えるストレージシステムが、前記第1記憶デバイスに記憶されたファイルのアーカイブ処理をアーカイブ条件に基づき行うアーカイブ処理方法において、
前記第1記憶デバイスに実ファイルが記憶されて、且つ前記実ファイルのバックアップファイルが前記第2記憶デバイスに記憶された状態で、アーカイブ条件を充足するか否かを検知するステップと、
アーカイブ条件の充足を検知した場合、前記第1記憶デバイスに記憶された実ファイルを、前記実ファイルに比べてデータ量が小さく且つ前記実ファイルとして提示されると共に前記バックアップファイルの読み出しに参照される参照情報を含む仮ファイルへ置換する処理を行うステップと
を備えることを特徴とするアーカイブ処理方法。
A storage system comprising: a first communication device having a first storage device; and a second communication device having a second storage device having a larger storage capacity than the first storage device and capable of communicating with the first communication device In the archiving method for archiving files stored in the first storage device based on archiving conditions,
Detecting whether or not an archive condition is satisfied in a state where a real file is stored in the first storage device and a backup file of the real file is stored in the second storage device;
When the satisfaction of the archiving condition is detected, the actual file stored in the first storage device has a data amount smaller than that of the actual file and is presented as the actual file and is referred to when reading the backup file. And a step of performing a process of replacing the temporary file including the reference information.
記憶デバイスを有する外部の通信装置と通信可能であり、外部の通信装置が有する記憶デバイスに比べて記憶容量が小さいストレージデバイスを備え、前記ストレージデバイスに記憶されたファイルのアーカイブ処理をアーカイブ条件に基づき行うストレージ通信装置において、
前記ストレージデバイスに実ファイルが記憶されて、且つ前記実ファイルのバックアップファイルが外部の通信装置が有する記憶デバイスに記憶された状態で、アーカイブ条件を充足するか否かを検知する手段と、
アーカイブ条件の充足を検知した場合、前記ストレージデバイスに記憶された実ファイルを、前記実ファイルに比べてデータ量が小さく且つ前記実ファイルとして提示されると共に前記バックアップファイルの読み出しに参照される参照情報を含む仮ファイルへ置換する処理を行う手段と
を備えることを特徴とするストレージ通信装置。
A storage device capable of communicating with an external communication device having a storage device and having a smaller storage capacity than the storage device of the external communication device, and archiving a file stored in the storage device based on an archive condition In the storage communication device to perform
Means for detecting whether or not an archive condition is satisfied in a state where a real file is stored in the storage device and a backup file of the real file is stored in a storage device included in an external communication device;
When the satisfaction of archiving conditions is detected, the actual file stored in the storage device has a data amount smaller than that of the actual file and is presented as the actual file and is also referred to for reading the backup file A storage communication device comprising: means for performing a process of replacing with a temporary file including.
アーカイブ条件の充足を検知した場合、前記ストレージデバイスに記憶された実ファイルを、外部の通信装置が有する記憶デバイスに記憶された前記バックアップファイルと比較して両者の中身の同異を判断する手段を備え、
前記実ファイル及び前記バックアップファイルの中身が異なると判断した場合、前記実ファイルを前記仮ファイルへ置換する処理を行わないようにしてある請求項9に記載のストレージ通信装置。
Means for comparing the actual file stored in the storage device with the backup file stored in the storage device of an external communication device to determine whether the contents of the two are the same when an archiving condition is satisfied Prepared,
The storage communication device according to claim 9, wherein when it is determined that the contents of the real file and the backup file are different, the process of replacing the real file with the temporary file is not performed.
前記ストレージデバイスは、第1フォルダ及び第2フォルダを含み、
前記第1フォルダに記憶された前記実ファイルを前記仮ファイルへ置換する処理を前記第1フォルダで行うようにしてあり、
前記第1フォルダで置換された前記仮ファイルを、第2フォルダへコピーする手段を備える請求項9又は請求項10に記載のストレージ通信装置。
The storage device includes a first folder and a second folder,
A process of replacing the actual file stored in the first folder with the temporary file is performed in the first folder;
The storage communication device according to claim 9 or 10, further comprising means for copying the temporary file replaced with the first folder to a second folder.
前記ストレージデバイスに記憶されたファイルを外部の通信装置が有する記憶デバイスへバックアップするバックアップ条件を充足するか否かを検知する手段と、
前記バックアップ条件の充足を検知した場合、前記第2フォルダにコピーされた仮ファイルを、前記コピーされた仮ファイルのバックアップファイルとして外部の通信装置が有する記憶デバイスで記憶されるように、外部の通信装置へアップロードする手段と、
前記コピーされた仮ファイルをアップロードした場合、前記コピーされた仮ファイルを前記第2フォルダから削除する手段と
を備える請求項11に記載のストレージ通信装置。
Means for detecting whether or not a backup condition for backing up a file stored in the storage device to a storage device included in an external communication device is satisfied;
When the satisfaction of the backup condition is detected, external communication is performed so that the temporary file copied to the second folder is stored in a storage device of an external communication device as a backup file of the copied temporary file. Means for uploading to the device;
The storage communication device according to claim 11, further comprising: a unit that deletes the copied temporary file from the second folder when the copied temporary file is uploaded.
前記ストレージデバイスは、第1フォルダ及び第2フォルダを含み、
前記ストレージデバイスの第1フォルダに前記実ファイルが記憶された場合、前記実ファイルを、第2フォルダへコピーする手段と、
前記ストレージデバイスに記憶されたファイルを外部の通信装置が有する記憶デバイスへバックアップするバックアップ条件を充足するか否かを検知する手段と、
前記バックアップ条件の充足を検知した場合、前記第2フォルダへコピーされた実ファイルを、前記コピーされた実ファイルのバックアップファイルとして外部の通信装置が有する記憶デバイスで記憶されるように、外部の通信装置へアップロードする手段と
を備える請求項9乃至請求項12のいずれか1項に記載のストレージ通信装置。
The storage device includes a first folder and a second folder,
Means for copying the real file to the second folder when the real file is stored in the first folder of the storage device;
Means for detecting whether or not a backup condition for backing up a file stored in the storage device to a storage device included in an external communication device is satisfied;
When the satisfaction of the backup condition is detected, external communication is performed so that the actual file copied to the second folder is stored in a storage device of an external communication device as a backup file of the copied actual file. The storage communication device according to any one of claims 9 to 12, comprising means for uploading to the device.
記憶デバイスを有する外部の通信装置と通信可能であり、外部の通信装置が有する記憶デバイスに比べて記憶容量が小さいストレージデバイスを備えるストレージ通信装置が、前記ストレージデバイスに記憶されたファイルのアーカイブ処理をアーカイブ条件に基づき行うアーカイブ処理方法において、
前記ストレージ通信装置は、
前記ストレージデバイスに実ファイルが記憶されて、且つ前記実ファイルのバックアップファイルが外部の通信装置が有する記憶デバイスに記憶された状態で、アーカイブ条件を充足するか否かを検知するステップと、
アーカイブ条件の充足を検知した場合、前記ストレージデバイスに記憶された実ファイルを、前記実ファイルに比べてデータ量が小さく且つ前記実ファイルとして提示されると共に前記バックアップファイルの読み出しに参照される参照情報を含む仮ファイルへ置換する処理を行うステップと
を備えることを特徴とするアーカイブ処理方法。
A storage communication apparatus comprising a storage device capable of communicating with an external communication apparatus having a storage device and having a smaller storage capacity than the storage device of the external communication apparatus performs archiving processing of files stored in the storage device. In the archive processing method based on the archive conditions,
The storage communication device
Detecting whether or not an archive condition is satisfied in a state where a real file is stored in the storage device and a backup file of the real file is stored in a storage device included in an external communication device;
When the satisfaction of archiving conditions is detected, the actual file stored in the storage device has a data amount smaller than that of the actual file and is presented as the actual file and is also referred to for reading the backup file An archiving method comprising: a step of performing a process of replacing with a temporary file including.
記憶デバイスを有する外部の通信装置と通信可能であり、外部の通信装置が有する記憶デバイスに比べて記憶容量が小さいストレージデバイスを備えるコンピュータに、前記ストレージデバイスに記憶されたファイルのアーカイブ処理をアーカイブ条件に基づき行わせるためのコンピュータプログラムにおいて、
前記コンピュータに、
前記ストレージデバイスに実ファイルが記憶されて、且つ前記実ファイルのバックアップファイルが外部の通信装置が有する記憶デバイスに記憶された状態で、アーカイブ条件を充足するか否かを検知するステップと、
アーカイブ条件の充足を検知した場合、前記ストレージデバイスに記憶された実ファイルを、前記実ファイルに比べてデータ量が小さく且つ前記実ファイルとして提示されると共に前記バックアップファイルの読み出しに参照される参照情報を含む仮ファイルへ置換する処理を行うステップと
を実行させることを特徴とするコンピュータプログラム。
An archiving condition for archiving a file stored in the storage device in a computer having a storage device capable of communicating with an external communication device having a storage device and having a storage capacity smaller than that of the storage device included in the external communication device In the computer program for making it performed based on
In the computer,
Detecting whether or not an archive condition is satisfied in a state where a real file is stored in the storage device and a backup file of the real file is stored in a storage device included in an external communication device;
When the satisfaction of archiving conditions is detected, the actual file stored in the storage device has a data amount smaller than that of the actual file and is presented as the actual file and is also referred to for reading the backup file And a step of performing a process of replacing with a temporary file including a computer program.
JP2016141118A 2016-07-19 2016-07-19 Storage system, archive processing method, storage communication device, and computer program Pending JP2017054489A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016141118A JP2017054489A (en) 2016-07-19 2016-07-19 Storage system, archive processing method, storage communication device, and computer program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016141118A JP2017054489A (en) 2016-07-19 2016-07-19 Storage system, archive processing method, storage communication device, and computer program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2016530263A Division JP5976264B1 (en) 2015-09-11 2015-09-11 Storage system, archive processing method, storage communication device, and computer program

Publications (1)

Publication Number Publication Date
JP2017054489A true JP2017054489A (en) 2017-03-16

Family

ID=58320840

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016141118A Pending JP2017054489A (en) 2016-07-19 2016-07-19 Storage system, archive processing method, storage communication device, and computer program

Country Status (1)

Country Link
JP (1) JP2017054489A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6304850B1 (en) * 2017-11-02 2018-04-04 フリーダム合同会社 Data management system, program, and computer-readable storage medium
JP2019095984A (en) * 2017-11-21 2019-06-20 株式会社キーエンス Image processing system
CN110457237A (en) * 2018-05-08 2019-11-15 阿自倍尔株式会社 Information accumulation device, information accumulating system and information accumulate method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6304850B1 (en) * 2017-11-02 2018-04-04 フリーダム合同会社 Data management system, program, and computer-readable storage medium
JP2019095984A (en) * 2017-11-21 2019-06-20 株式会社キーエンス Image processing system
CN110457237A (en) * 2018-05-08 2019-11-15 阿自倍尔株式会社 Information accumulation device, information accumulating system and information accumulate method

Similar Documents

Publication Publication Date Title
EP3685268B1 (en) File system point-in-time restore using recycle bin and version history
JP5608811B2 (en) Information processing system management method and data management computer system
US8209498B2 (en) Method and system for transferring duplicate files in hierarchical storage management system
JP5514903B2 (en) File level hierarchical storage management system, method, and apparatus
US8738874B2 (en) Storage controller and storage control method for snapshot acquisition and remote copying of a snapshot
US8260747B2 (en) System, method, and computer program product for allowing access to backup data
KR101966339B1 (en) File management system and file management method
US8538924B2 (en) Computer system and data access control method for recalling the stubbed file on snapshot
EP2535815B1 (en) Consistent backup of a distributed database system
US20190361850A1 (en) Information processing system and information processing apparatus
JP5449524B2 (en) Computer, processing method thereof and computer system
US20150193315A1 (en) Method and device for managing multiple snapshots of data strorage device
US20140081919A1 (en) Distributed backup system for determining access destination based on multiple performance indexes
US9015526B2 (en) Restoring method and computer system
JP2017054489A (en) Storage system, archive processing method, storage communication device, and computer program
US11630737B2 (en) Virtual replication of unstructured data
JP6551126B2 (en) Archiving system, archiving apparatus and computer program for archiving
JP5976264B1 (en) Storage system, archive processing method, storage communication device, and computer program
US20180349227A1 (en) Techniques for performing incremental data backups
US10719556B2 (en) Information processing apparatus and computer-readable storage medium storing information processing program
JP5433069B1 (en) Backup device, backup program and backup system
JP5498547B2 (en) Backup mediation apparatus, backup mediation method, and backup mediation program
JP6510445B2 (en) INFORMATION PROCESSING SYSTEM, INFORMATION PROCESSING DEVICE, AND INFORMATION PROCESSING METHOD
JP6059682B2 (en) Data migration method, data migration system, migration source server, migration destination server, and data migration program
TWM576293U (en) Data modification platform