JP6013957B2 - File management method and file management system - Google Patents
File management method and file management system Download PDFInfo
- Publication number
- JP6013957B2 JP6013957B2 JP2013062976A JP2013062976A JP6013957B2 JP 6013957 B2 JP6013957 B2 JP 6013957B2 JP 2013062976 A JP2013062976 A JP 2013062976A JP 2013062976 A JP2013062976 A JP 2013062976A JP 6013957 B2 JP6013957 B2 JP 6013957B2
- Authority
- JP
- Japan
- Prior art keywords
- file
- folder
- stored
- archive
- file management
- 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.)
- Active
Links
Images
Description
本発明は、ファイル(データファイル)のバックアップ保存を行うファイル管理システムに関するものである。 The present invention relates to a file management system that performs backup storage of files (data files).
従来、ファイルのバックアップ方式として、前回の完全バックアップ(フルバックアップ)以降に変更された各ファイルをバックアップする差分バックアップ方式や、バックアップ処理を行う毎に前回のバックアップ処理時から変更されたファイルをバックアップする増分バックアップ方式などが知られている。 Conventionally, as a file backup method, a differential backup method that backs up each file that has been changed since the last full backup (full backup), or a file that has changed since the last backup process each time backup processing is performed Incremental backup methods are known.
例えば、特許文献1には、ユーザ端末によるファイル操作がファイルの作成または更新である場合に、作成または更新の対象ファイルを実体ファイルとするリンクを作成して記憶し、このリンクに基づくファイルを更新ファイルとしてバックアップ装置に記憶させる差分バックアップ方式のファイル管理システムが開示されている。
For example, in
しかしながら、従来のファイル管理システムでは、ユーザ端末のファイルシステムの1フォルダ内に大量のファイルが保存されている場合に、そのままのファイル構成ではファイルサーバにアップロードできなかったり、アップロードできても当該フォルダを表示・閲覧するのに時間が掛かったりする場合がある。 However, in the conventional file management system, when a large number of files are stored in one folder of the file system of the user terminal, the file configuration cannot be uploaded to the file server as it is, or the folder cannot be uploaded even if it can be uploaded. It may take time to display and browse.
本発明は、上記の問題点に鑑みてなされたものであり、その目的は、ファイルのバックアップ保存を行うファイル管理システムであって、ファイル閲覧時にユーザが閲覧対象のファイルを容易かつ迅速に見つけることのできるファイル管理システムを提供することにある。 The present invention has been made in view of the above problems, and an object of the present invention is a file management system that performs backup storage of files, and allows a user to easily and quickly find a file to be browsed when browsing a file. It is to provide a file management system that can be used.
本発明の一態様にかかるファイル管理システムは、端末装置と、上記端末装置に保存されたファイルをバックアップ保存するサーバ装置とを備えたファイル管理システムであって、上記端末装置に設けられたバックアップ元フォルダに保存されたファイルを、上記バックアップ元フォルダに対応付けて上記サーバ装置に設けられたバックアップ先フォルダ内の第1フォルダにバックアップ保存させるファイル管理部を備え、上記第1フォルダは、当該第1フォルダ内に保存可能なファイル数の上限値が予め設定されており、上記ファイル管理部は、上記バックアップ元フォルダにファイルが保存された場合、上記第1フォルダに保存されているファイル数が上記上限値未満であるときには、バックアップ元フォルダに保存された上記ファイルを上記第1フォルダにバックアップ保存し、上記第1フォルダに保存されているファイル数が上記上限値に達しているときには、既に上記第1フォルダに保存されているファイルのうち、所定の優先順位に基づいて選択されるファイルを上記バックアップ先フォルダ内に設けられるアーカイブ用フォルダに移動させ、バックアップ元フォルダに保存された上記ファイルを上記第1フォルダに保存させることを特徴としている。 A file management system according to an aspect of the present invention is a file management system including a terminal device and a server device that backs up and saves a file stored in the terminal device, and the backup source provided in the terminal device A file management unit that stores a file stored in the folder in a first folder in a backup destination folder provided in the server device in association with the backup source folder, and the first folder includes the first folder An upper limit value of the number of files that can be stored in the folder is set in advance, and when the file management unit stores a file in the backup source folder, the number of files stored in the first folder is the upper limit. If it is less than the value, the above file saved in the backup source folder When backup is saved in the first folder and the number of files saved in the first folder has reached the upper limit, among the files already saved in the first folder, based on a predetermined priority order. The selected file is moved to an archive folder provided in the backup destination folder, and the file saved in the backup source folder is saved in the first folder.
上記の構成によれば、サーバ装置のアップロード先フォルダに設けられる第1フォルダに保存されるファイル数を予め設定された上限値以下に制限するとともに、端末装置のバックアップ元フォルダにファイルが保存された場合に当該ファイルを上記第1フォルダに優先的に保存させることができる。これにより、バックアップされたファイルの閲覧時にユーザが所望するファイルを容易かつ迅速に見つけることができる。 According to the above configuration, the number of files stored in the first folder provided in the upload destination folder of the server device is limited to a preset upper limit value or less, and the files are stored in the backup source folder of the terminal device. In this case, the file can be preferentially saved in the first folder. As a result, a file desired by the user can be easily and quickly found when browsing the backed up file.
本発明の一実施形態について説明する。 An embodiment of the present invention will be described.
(1−1.ファイル管理システム1の構成)
図1は、本実施形態にかかるファイル管理システム1の概略構成を示す説明図である。
(1-1. Configuration of File Management System 1)
FIG. 1 is an explanatory diagram showing a schematic configuration of a
図1に示すように、ファイル管理システム1は、端末装置100とファイル管理サーバ300とを備えており、これら各装置がネットワーク200を介して通信可能に接続されている。なお、図1の例では、端末装置100およびファイル管理サーバ300を各1台のみ描いているが、ネットワーク200に接続される端末装置100およびファイル管理サーバ300の数はこれに限るものではなく、それぞれ複数台であってもよい。
As shown in FIG. 1, the
ネットワーク200は、端末装置100とファイル管理サーバ300とを通信可能に接続可能な構成であればよく、例えば、インターネット、エキストラネット、LAN、ISDN、VAN、CATV通信網、仮想専用網(virtual private network)、電話回線網、移動体通信網、衛星通信網等が利用可能である。また、通信ネットワークを構成する伝送媒体についても特に限定されず、例えば、IEEE1394、USB、電力線搬送、ケーブルTV回線、電話線、ADSL回線等の有線でも、IrDAやリモコンのような赤外線、Bluetooth(登録商標)、802.11無線、HDR、携帯電話網、衛星回線、地上波デジタル網等の無線でも利用可能である。
The
端末装置100は、ユーザの指示に応じて各種情報処理行うコンピュータ装置である。また、端末装置100は、ネットワーク200を介してファイル管理サーバ300にアクセスし、ファイル管理サーバ300への各種処理要求やファイルのアップロードなどを行う。端末装置100は、例えば、汎用のパーソナルコンピュータであってもよく、スマートフォン、タブレット端末、携帯電話機などのモバイル端末であってもよい。
The
端末装置100は、図1に示したように、表示部101、操作入力部102、アプリ(アプリケーション)記憶部103、端末制御部104、ファイル記憶部105、ファイル情報記憶部106、および通信部107を備えている。また、端末制御部104は、UI(ユーザインターフェース)制御部111、アプリ(アプリケーション)処理部112、記憶管理部113、アップロード管理部114、および通信制御部115を備えている。
As illustrated in FIG. 1, the
表示部101は、UI制御部111の指示に応じて各種情報を表示する。表示部101としては、例えば、液晶ディスプレイ、プラズマディスプレイ、有機EL(electroluminescence)ディスプレイなどを用いることができる。
The
操作入力部102は、端末装置100のユーザが各種指示入力を行うための操作デバイスである。操作入力部102としては、例えば、キーボードやマウスなどの従来から公知の操作デバイスを用いることができる。なお、表示部101の機能と操作入力部102の機能とを兼ね備えたタッチパネルを用いてもよい。
The
アプリ記憶部103は、アプリ処理部112によって実行される各種アプリケーションプログラムを記憶する。上記アプリケーションプログラムの種類は特に限定されるものではなく、例えば、ワープロソフト、表計算ソフト、描画ソフト、画像編集ソフト、各種ゲームソフトなどを用いることができる。
The
ファイル記憶部105は、端末装置100で作成あるいは編集された各種ファイル(データファイル)を記憶する。ファイル記憶部105としては、例えば、HDD(Hard Disc Drive)やSSD(Solid State Drive)などを用いることができる。
The
ファイル情報記憶部106は、ファイル管理サーバ300へのファイルのアップロード(バックアップ)に関する設定情報等の各種情報(後述するファイル管理サーバ設定テーブル、上限値設定テーブル、設定管理テーブル、アップロードファイル管理テーブルなど)を記憶する。
The file
通信部107は、ネットワーク200を介して通信可能に接続された他の装置(ファイル管理サーバ300等)との通信を行う。
The
UI制御部111は、表示部101の動作を制御して各種情報や各種入力画面等を表示させる。また、UI制御部111は、操作入力部102を介してユーザから入力される操作入力を受け付ける。
The
アプリ処理部112は、ユーザの指示に応じたアプリケーションプログラムをアプリ記憶部103から読み出して実行する。また、アプリ処理部112は、アプリケーションプログラムによって作成されたファイルをファイル記憶部105に記憶させる処理や、ファイル記憶部105に記憶されているファイルを読み出して編集する処理などを行う。
The
記憶管理部113は、ファイル記憶部105に対するアクセスを監視し、ファイルの追加、削除、更新等が行われた場合にその内容をアップロード管理部114に通知する。ファイル記憶部105に対するアクセスの監視方法としては、例えば、(i)Windows(登録商標)、Linux(登録商標)などのOS(Operating System)で用意されているファイル監視用のAPI(アプリケーションプログラムインターフェース)を使用してファイルに更新があった場合に通知を受け取る方法、あるいは、(ii)定期的に監視先フォルダ内の全ファイルの更新日時等をチェックし、前回チェック時からの差分がないかを確認する方法などを用いることができる。なお、本実施形態では、前者のOS標準のAPIを使用してローカルファイル(ファイル記憶部105に記憶されているファイル)の更新情報を監視するものとする。
The
アップロード管理部114は、(i)ファイル記憶部105(ローカルファイルストレージ)に記憶されているファイルのファイル管理サーバ300へのアップロード、(ii)ファイル管理サーバ300内のファイルの削除、移動、更新、(iii)ファイル管理サーバ300のフォルダ内のファイル情報の取得などの処理を管理する。例えば、アップロード管理部114は、アップロード先フォルダ内に保存されているファイル情報とファイル情報記憶部106に記憶している情報とに基づいて、ファイルをアップロード先フォルダのルートフォルダ(第1フォルダ)にアップロードするか、アップロード先フォルダの下位階層に設けられたアーカイブ用フォルダ(第2フォルダ)にアップロードするかを決定する。また、アップロード管理部114は、必要に応じて、ルートフォルダとアーカイブ用フォルダとの間でファイルの入れ替えを行わせる。本実施形態において、アーカイブ用フォルダとは、バックアップ対象のファイル群のうち、ルートフォルダに保存できないファイル(ルートフォルダに保存可能なファイル数の上限値を設定したときに、上限値を超過してルートフォルダに保存できなかったファイル)を記憶させるための領域である。
The upload management unit 114 (i) uploads a file stored in the file storage unit 105 (local file storage) to the
本実施形態では、アップロード管理部114は、バックアップ対象のファイル群のうち、直近に保存または更新された所定の上限値以下のファイル数のファイルをユーザが所望するファイルである可能性の高いファイルとみなしてルートフォルダにバックアップ保存させ、残りのファイルをアーカイブ用フォルダにバックアップ保存させる。したがって、ルートフォルダに対するアクセス速度(あるいはファイルの読出速度)は、アーカイブ用フォルダと同じかアーカイブ用フォルダよりも速いことが好ましい。なお、アップロード管理部114における処理の詳細については後述する。
In the present embodiment, the upload
通信制御部115は、アップロード管理部114からの指示に応じて通信部107の動作を制御し、ファイル管理サーバ300との通信を行わせる。
The
ファイル管理サーバ300は、図1に示したように、通信部301、サーバ制御部302、およびファイル記憶部303を備えている。
As shown in FIG. 1, the
通信部301は、ネットワーク200を介して通信可能に接続された他の装置(端末装置100等)との通信を行う。
The
サーバ制御部302は、CPUや専用プロセッサなどの演算処理部、および、RAM、ROM、HDDなどの記憶部(いずれも図示せず)などにより構成されるコンピュータ装置である。サーバ制御部302は、上記記憶部に記憶されている各種情報および各種制御を実施するためのプログラムを読み出して実行することでRDBMS(Relational Database Management System;関係型データベース管理システム)の機能を実現する。
The
例えば、サーバ制御部302は、端末装置100からの各種処理要求(ファイルの保存(バックアップ保存)、削除、移動、更新等の処理要求、フォルダ内のファイル情報取得要求など)を受け付け、当該処理要求に応じた処理を行う。
For example, the
ファイル記憶部303は、サーバ制御部302の指示に応じてファイルを記憶する。
The
なお、ファイル管理サーバは、例えば、CIFS(Common Internet File System)サーバやNFS(Network File System)サーバなどのファイルサーバ機能を備えた装置であってもよい。 The file management server may be a device having a file server function such as a CIFS (Common Internet File System) server or an NFS (Network File System) server.
また、本実施形態では、アップロード管理部114、記憶管理部113、およびファイル情報記憶部106が端末装置100に備えられている構成について説明したが、これに限らず、例えば、これら各部の一部または全部がファイル管理サーバ300あるいはネットワーク200を介して端末装置100と通信可能に接続される他の装置に備えられていてもよい。
In the present embodiment, the configuration in which the upload
(102.バックアップ方法の設定処理)
本実施形態では、ファイルのバックアップ処理を行う場合に、バックアップ処理の実行に先立ってユーザがバックアップ方法の設定処理を行うようになっている。
(102. Backup method setting process)
In this embodiment, when performing a file backup process, the user performs a backup method setting process prior to the execution of the backup process.
具体的には、ユーザが操作入力部102を介してバックアップ方法の設定処理の開始指示を入力すると、UI制御部111は表示部101にバックアップ方法の設定画面を表示させる。
Specifically, when the user inputs a backup method setting processing start instruction via the
図2は、バックアップ方法の設定画面(UIダイアログ)の一例を示す説明図である。この図に示す例では、バックアップ方法の設定画面において、ファイル管理サーバのアカウント設定、ルートフォルダに保存するファイル数の上限値、およびアップロードフォルダ設定などを行うようになっている。 FIG. 2 is an explanatory diagram showing an example of a backup method setting screen (UI dialog). In the example shown in this figure, the file management server account setting, the upper limit value of the number of files stored in the root folder, the upload folder setting, and the like are performed on the backup method setting screen.
ファイル管理サーバのアカウント設定は、ファイル管理サーバに対するアクセス情報の設定であり、図2の例では、ファイル管理サーバのアドレス、ユーザ名、およびパスワードを設定するようになっている。ファイル管理サーバのアカウントの設定結果は、図3に示すように、ファイル情報記憶部106に記憶されるファイル管理サーバ設定テーブルに格納される。なお、本実施形態では、端末装置100からファイル管理サーバ300へのアクセスを行う場合に、ユーザが操作入力部102を介して入力したユーザ情報(ユーザ名、パスワード)と、ファイル管理サーバ設定テーブルに記憶しているユーザ情報(ユーザ名、パスワード)とに基づいてユーザ認証処理を行うようになっている。ただし、ユーザ認証処理方法としては公知の技術を用いることができるので、以下の説明ではその説明は省略する。
The account setting of the file management server is setting of access information for the file management server. In the example of FIG. 2, the file management server address, user name, and password are set. The file management server account setting result is stored in a file management server setting table stored in the file
ルートフォルダに保存するファイル数の上限値の設定では、アップロード先フォルダのルートフォルダに記憶させるファイル数の上限値を設定する。すなわち、ファイル管理サーバにファイルをアップロードする際、アップロード先フォルダ毎に当該フォルダのルートフォルダに保存させるファイル数の上限値を設定する。上限値を超えるファイルを保存させる場合には、ルートフォルダには更新日時が新しいものから順に上限値に応じた数のファイルのみを保存し、残りのファイルについてはルートフォルダの下位階層に作成されたアーカイブ用フォルダにアップロードする。ファイル数の上限値の設定結果は、図4に示すように、ファイル情報記憶部106に記憶される上限値設定テーブルに格納される。
In the setting of the upper limit value of the number of files stored in the root folder, the upper limit value of the number of files stored in the root folder of the upload destination folder is set. That is, when uploading a file to the file management server, an upper limit value of the number of files to be stored in the root folder of the folder is set for each upload destination folder. When saving files exceeding the upper limit, only the number of files corresponding to the upper limit is saved in the root folder in order from the latest update date and the remaining files are created in the lower hierarchy of the root folder. Upload to archive folder. The setting result of the upper limit value of the number of files is stored in an upper limit value setting table stored in the file
アップロードフォルダ設定では、ファイル記憶部105におけるアップロード(バックアップ)の対象ファイルを保存するフォルダであるアップロード元フォルダのパスと、アップロード先フォルダパスとの対応関係を設定する。アップロードフォルダ設定の設定結果は、図5に示すように、ファイル情報記憶部106に記憶される設定管理テーブルに格納される。なお、図2の例では、1組のアップロード元フォルダとアップロード先フォルダとの対応関係のみを設定しているが、これに限らず、複数組の対応関係を設定してもよい。
In the upload folder setting, the correspondence between the path of the upload source folder, which is a folder for storing the target file for upload (backup) in the
(1−3.ファイルの新規作成時の処理)
図6は、端末装置100におけるアップロード元フォルダにファイルが新規保存された場合に、当該ファイルをファイル管理サーバ300に自動アップロードする場合の処理の流れを示すフローチャートである。
(1-3. Processing when creating a new file)
FIG. 6 is a flowchart showing a processing flow when a file is newly saved in the upload source folder in the
ユーザによって新規作成されたファイルが、ファイル記憶部105におけるアップロード元フォルダとして設定されているフォルダ(当該フォルダおよび当該フォルダの下位階層フォルダ)、すなわち設定管理テーブルに登録されているアップロード元フォルダに保存されると、ファイル記憶部105に対するアクセスを監視している記憶管理部113によってそれが検知され、アップロード管理部114に通知される(S1)。
A file newly created by the user is stored in a folder (the folder and a lower-level folder of the folder) set as the upload source folder in the
アップロード管理部114は、上記の通知を受け取ると、ファイル情報記憶部106からアップロード先フォルダのルートフォルダに記憶させるファイル数の上限値を示す情報を取得する(S2)。具体的には、ファイル情報記憶部106に記憶されている設定管理テーブルに基づいて、ファイル記憶部105における新規作成された上記ファイルが記憶されたフォルダ(アップロード元フォルダ)に対応するアップロード先フォルダのパスを取得する。また、ファイル情報記憶部106に記憶されている上限値設定テーブルに基づいて、上記のアップロード先フォルダのルートフォルダに保存するファイル数の上限値を取得する。
Upon receiving the above notification, the upload
また、アップロード管理部114は、通信制御部115および通信部107を介してファイル管理サーバ300にアップロード先フォルダのフォルダ情報の取得要求を送信させ、アップロード先フォルダのフォルダ情報を取得する(S3)。上記フォルダ情報には、アップロード先フォルダのルートフォルダに保存されているファイルのファイル数を示す情報、当該ルートフォルダに保存されている各ファイルの更新日時を示す情報、およびアーカイブ用フォルダの有無を示す情報などが含まれている。
Also, the upload
次に、アップロード管理部114は、S2で取得したアップロードの設定情報と、S3で取得したアップロード先フォルダのフォルダ情報とに基づいて、アップロード先フォルダのルートフォルダに保存されているファイル数が当該フォルダについて設定された上限値に達しているか否かを判断する(S4)。
Next, the upload
S4においてアップロード先フォルダのルートフォルダに保存されているファイル数が上限値に達していない(上限値未満である)と判断した場合、アップロード管理部114は、新規作成された上記ファイルをアップロード先フォルダのルートフォルダにアップロードする(S5)。すなわち、アップロード管理部114は、新規作成された上記ファイルと、当該ファイルをアップロード先フォルダのルートフォルダに保存させるための処理要求とを通信制御部115および通信部107を介してファイル管理サーバ300に送信する。
If it is determined in S4 that the number of files stored in the root folder of the upload destination folder has not reached the upper limit value (below the upper limit value), the upload
一方、S4においてアップロード先フォルダのルートフォルダに保存されているファイル数が上限値に達している(上限値以上である)と判断した場合、アップロード管理部114は、アップロード先フォルダにアーカイブ用フォルダが作成されているか否かを判断する(S6)。
On the other hand, when it is determined in S4 that the number of files stored in the root folder of the upload destination folder has reached the upper limit value (greater than the upper limit value), the upload
S6においてアーカイブ用フォルダが作成されていない場合、アップロード管理部114は、アップロード先フォルダのルートフォルダの下位階層にアーカイブ用フォルダを作成させるための処理要求を通信制御部115および通信部107を介してファイル管理サーバ300に送信する(S7)。
If the archive folder has not been created in S6, the upload
S6においてアーカイブ用フォルダが作成されていると判断した場合、およびS7においてアーカイブ用フォルダの作成処理要求を送信した後、アップロード管理部114は、アップロード先フォルダのルートフォルダに保存されているファイルのうち、更新日時が最も古いファイルをアーカイブ用フォルダに移動させるための処理要求を通信制御部115および通信部107を介してファイル管理サーバ300に送信する(S8)。
When it is determined in S6 that an archive folder has been created, and after sending an archive folder creation processing request in S7, the upload
その後、アップロード管理部114は、新規作成された上記ファイルをアップロード先フォルダのアーカイブ用フォルダにアップロードする(S9)。すなわち、アップロード管理部114は、新規作成された上記ファイルと、当該ファイルをアップロード先フォルダのアーカイブ用フォルダに保存させるための処理要求とを通信制御部115および通信部107を介してファイル管理サーバ300に送信する。
Thereafter, the upload
S5またはS9の処理を行った後、アップロード管理部114は、アップロード対象のファイルを保存させたフォルダに応じて(アップロード先フォルダのルートフォルダに保存させたかアーカイブ用フォルダに保存させたかに応じて)、ファイル情報記憶部106に記憶させているアップロードファイル管理テーブル(アップロード元ファイルパスとアップロード先フォルダパスとを対応付けたテーブル)を更新する(S10)。
After performing the processing of S5 or S9, the upload
図7は、アップロードファイル管理テーブルの一例を示す説明図である。この図に示すように、アップロードファイル管理テーブルには、アップロード元ファイルのファイルパス(端末装置100における当該ファイルの保存先パス)と、当該ファイルのアップロード先フォルダパス(ファイル管理サーバ300における当該ファイルの保存先フォルダのパス)とが対応付けて記憶される。 FIG. 7 is an explanatory diagram showing an example of an upload file management table. As shown in this figure, in the upload file management table, the file path of the upload source file (the storage destination path of the file in the terminal device 100) and the upload destination folder path of the file (the file in the file management server 300) Are stored in association with each other.
その後、アップロード管理部114は、次の新規ファイルがあるか否かを判断し(S11)、次の新規ファイルがある場合にはS1の処理に戻る。また、次の新規ファイルがない場合には処理を終了する。
Thereafter, the upload
図8は、アップロード先フォルダのフォルダ構成の一例を示す説明図である。この図に示す例では、更新日時に応じて複数のアーカイブ用フォルダを作成している。なお、各アーカイブ用フォルダのフォルダ名として、連番の数字を用いてもよく、当該フォルダに格納されたファイルの更新日時を用いてもよい。 FIG. 8 is an explanatory diagram showing an example of the folder structure of the upload destination folder. In the example shown in this figure, a plurality of archive folders are created according to the update date and time. Note that a sequential number may be used as the folder name of each archive folder, or the update date and time of a file stored in the folder may be used.
また、アップロード先フォルダのルートフォルダからアーカイブ用フォルダにファイルを移動させる際、移動させるファイルの更新日時に該当するアーカイブ用フォルダに移動させるようにしてもよい。また、移動させるファイルの更新日時に該当するアーカイブ用フォルダが存在しない場合に、当該更新日時に対応するアーカイブ用フォルダを作成して当該フォルダに移動させるようにしてもよい。 Further, when a file is moved from the root folder of the upload destination folder to the archive folder, it may be moved to the archive folder corresponding to the update date and time of the file to be moved. Further, when there is no archive folder corresponding to the update date and time of the file to be moved, an archive folder corresponding to the update date and time may be created and moved to the folder.
また、本実施形態では、アップロード先フォルダのルートフォルダに保存させるファイル数が上限値に達した場合に、更新日時が古いファイルをアーカイブ用フォルダに保存させる構成について説明したが、これに限るものではなく、他の属性情報に基づいてアーカイブ用フォルダに保存させるファイルを決定してもよい。上記の他の属性情報としては、例えば、ユーザが設定したキーワードあるいは優先順位を示す情報などが挙げられる。 In the present embodiment, the configuration has been described in which when the number of files to be saved in the root folder of the upload destination folder reaches the upper limit value, the file with the oldest update date / time is saved in the archive folder. Alternatively, a file to be stored in the archive folder may be determined based on other attribute information. Examples of the other attribute information include information indicating a keyword or priority set by the user.
(1−4.ファイルの更新時の処理)
図9は、端末装置100におけるアップロード元フォルダに保存されているファイルが更新された場合に、当該ファイルをファイル管理サーバ300に自動アップロードする場合の処理の流れを示すフローチャートである。
(1-4. Processing when updating a file)
FIG. 9 is a flowchart showing a flow of processing when a file stored in the upload source folder in the
端末装置100において新規作成(ファイル記憶部105に新規保存)されたファイルをファイル管理サーバ300に自動アップロードして保存(バックアップ)させる場合の処理の流れを示すフローチャートである。
10 is a flowchart showing a processing flow when a newly created file (newly saved in the file storage unit 105) in the
ファイル記憶部105におけるアップロード元フォルダとして設定されているフォルダ(当該フォルダおよび当該フォルダの下位階層フォルダ)に保存されているファイルが更新されると、ファイル記憶部105に対するアクセスを監視している記憶管理部113によってそれが検知され、アップロード管理部114に通知される(S21)。
Storage management that monitors access to the
アップロード管理部114は、上記の通知を受け取ると、ファイル情報記憶部106に記憶しているアップロードファイル管理テーブルから更新されたファイルのアップロード先フォルダを示す情報を取得し(S22)、アップロード先フォルダがルートフォルダであるか否かを判断する(S23)。
Upon receiving the above notification, the upload
S23においてアップロード先フォルダのルートフォルダであると判断した場合、アップロード管理部114は、更新された上記ファイルをルートフォルダにアップロードし、ルートフォルダに保存されている当該ファイルの更新前ファイルに上書き保存させる(S24)。
If it is determined in S23 that the file is the root folder of the upload destination folder, the upload
一方、S23においてアップロード先フォルダのルートフォルダではない(アーカイブ用フォルダである)と判断した場合、アップロード管理部114は、アーカイブ用フォルダに保存されている更新された上記ファイルに対応する更新前ファイルを削除させる(S25)。
On the other hand, if it is determined in S23 that it is not the root folder of the upload destination folder (is an archive folder), the upload
また、アップロード管理部114は、ルートフォルダに保存されているファイルのうち、更新日時が最も古いファイルをアーカイブ用フォルダに移動させ(S26)、更新された上記ファイルをルートフォルダにアップロードする(S27)。
The upload
S24またはS27の処理を行った後、アップロード管理部114は、上記のS24〜S27の処理結果に応じてファイル情報記憶部106に記憶させているアップロードファイル管理テーブルを更新する(S28)。
After performing the processing of S24 or S27, the upload
その後、アップロード管理部114は、次の更新ファイルがあるか否かを判断し(S29)、次の更新ファイルがある場合にはS21の処理に戻る。また、次の更新ファイルがない場合には処理を終了する。
Thereafter, the upload
なお、本実施形態では、バックアップ元フォルダに新規保存されたファイル、およびバックアップ元フォルダに保存されているファイルのうち更新処理が行われたファイルをバックアップ保存するフォルダである第1フォルダをバックアップ先フォルダのルートフォルダとし、上記第1フォルダに保存させるファイル数が上限値に達した場合にルートフォルダに保存できないファイルを保存させるフォルダであるアーカイブ用フォルダをルートフォルダの下位階層のフォルダとしているが、これに限るものではない。例えば、上記第1フォルダをバックアップ先フォルダのルートフォルダの下位階層に設け、アーカイブ用フォルダを第1フォルダの下位階層あるいは第1フォルダと同階層に設けてもよい。 In the present embodiment, the first folder, which is a folder for saving a file that has been updated in the backup source folder and a file that has been updated in the backup source folder, is designated as the backup destination folder. The root folder is an archive folder that stores files that cannot be saved in the root folder when the number of files to be saved in the first folder reaches the upper limit. It is not limited to. For example, the first folder may be provided in the lower hierarchy of the root folder of the backup destination folder, and the archive folder may be provided in the lower hierarchy of the first folder or in the same hierarchy as the first folder.
(1−5.まとめ)
本発明の一態様にかかるファイル管理システム1は、端末装置100と、端末装置100に保存されたファイルをバックアップ保存するファイル管理サーバ(サーバ装置)300とを備え、端末装置100に設けられたバックアップ元フォルダに保存されたファイルを、バックアップ元フォルダに対応付けてファイル管理サーバ300に設けられたバックアップ先フォルダ内の第1フォルダ(ルートフォルダ)にバックアップ保存させるアップロード管理部(ファイル管理部)114を備え、上記第1フォルダは当該第1フォルダ内に保存可能なファイル数の上限値が予め設定されており、アップロード管理部114は、バックアップ元フォルダにファイルが保存された場合、上記第1フォルダに保存されているファイル数が上記上限値未満であるときは、バックアップ元フォルダに保存された上記ファイルを上記第1フォルダにバックアップ保存し、上記第1フォルダに保存されているファイル数が上記上限値に達しているときには、既に上記第1フォルダに保存されているファイルのうち、所定の優先順位に基づいて選択されるファイルを上記バックアップ先フォルダ内に設けられるアーカイブ用フォルダに移動させ、バックアップ元フォルダに保存された上記ファイルを上記第1フォルダに保存させる。
(1-5. Summary)
A
これにより、ファイル管理サーバ300のアップロード先フォルダの第1フォルダに保存されるファイル数を予め設定された上限値以下に制限するとともに、端末装置100のバックアップ元フォルダにファイルが保存された場合に当該ファイルを上記第1フォルダに優先的に保存させることができる。したがって、バックアップされたファイルの閲覧時にユーザが所望するファイルを容易かつ迅速に見つけることができる。
As a result, the number of files stored in the first folder of the upload destination folder of the
また、上記バックアップ元フォルダに保存されているファイルの更新が行われた場合であって、更新された上記ファイルに対応する更新前のファイルが上記アーカイブ用フォルダに保存されている場合、アップロード管理部114が、アーカイブ用フォルダに保存されている上記更新前のファイルを削除させ、上記第1フォルダに保存されているファイルのうち、上記所定の優先順位に基づいて選択されるファイルを上記アーカイブ用フォルダに移動させ、更新された上記ファイルを上記第1フォルダに保存させる構成としてもよい。
In addition, when the file stored in the backup source folder is updated, and the file before update corresponding to the updated file is stored in the archive folder, the upload
上記の構成によれば、バックアップ済みのファイルの更新が行われた場合に、当該ファイルの更新前ファイルが第1フォルダに保存されているかアーカイブ用フォルダに保存されているかにかかわらず、更新後のファイルを第1フォルダに保存することができる。これにより、バックアップされたファイルの閲覧時にユーザが所望するファイルを容易かつ迅速に見つけることができる。 According to the above configuration, when a file that has been backed up is updated, regardless of whether the pre-update file of the file is stored in the first folder or the archive folder, The file can be saved in the first folder. As a result, a file desired by the user can be easily and quickly found when browsing the backed up file.
また、上記優先順位はファイルの更新日時に基づいて設定され、アップロード管理部は、上記第1フォルダから上記アーカイブ用フォルダにファイルを移動させる場合に、当該第1フォルダに保存されているファイルのうち更新日時が最も古いファイルを上記アーカイブ用フォルダに移動させる構成としてもよい。 The priority order is set based on the update date and time of the file. When the upload management unit moves the file from the first folder to the archive folder, A configuration may be adopted in which the file with the oldest update date is moved to the archive folder.
上記の構成によれば、更新日時の新しいファイルから順に上記上限値以下の数のファイルが上記第1フォルダに保存される。これにより、バックアップされたファイルの閲覧時にユーザが所望するファイルを容易かつ迅速に見つけることができる。 According to the above configuration, a number of files equal to or less than the upper limit value are stored in the first folder in order from the file with the latest update date. As a result, a file desired by the user can be easily and quickly found when browsing the backed up file.
また、アップロード管理部114は、互いに異なるファイル属性情報に対応付けられた複数の上記アーカイブ用フォルダが設けさせ、上記第1フォルダに保存されたファイルを上記アーカイブ用フォルダに移動させる際、当該ファイルを当該ファイルのファイル属性情報に対応するアーカイブ用フォルダに移動させる構成としてもよい。
In addition, the upload
上記の構成によれば、アーカイブ用フォルダに移動するファイルを、ファイルの属性毎に異なるアーカイブ用フォルダに保存することができるので、バックアップされたファイルの閲覧時にユーザが所望するファイルを容易かつ迅速に見つけることができる。 According to the above configuration, the file to be moved to the archive folder can be stored in a different archive folder for each file attribute. Therefore, when browsing the backed up file, the user can easily and quickly find the desired file. Can be found.
また、上記第1フォルダは上記アップロード先フォルダのルートフォルダであり、上記アーカイブ用フォルダは上記ルートフォルダの下位階層フォルダであってもよい。 The first folder may be a root folder of the upload destination folder, and the archive folder may be a lower hierarchy folder of the root folder.
上記の構成によれば、アーカイブ用フォルダが第1フォルダの下位階層に設けられるので、ユーザが所望するファイルがアーカイブ用ファイルに保存されている場合であっても、ユーザが所望するファイルを容易かつ迅速に見つけることができる。 According to the above configuration, the archive folder is provided in the lower hierarchy of the first folder. Therefore, even when the file desired by the user is stored in the archive file, the file desired by the user can be easily and easily stored. Can be found quickly.
本発明は上述した実施形態に限定されるものではなく、請求項に示した範囲で種々の変更が可能である。すなわち、請求項に示した範囲で適宜変更した技術的手段を組み合わせて得られる実施形態についても本発明の技術的範囲に含まれる。 The present invention is not limited to the above-described embodiments, and various modifications can be made within the scope shown in the claims. That is, embodiments obtained by combining technical means appropriately modified within the scope of the claims are also included in the technical scope of the present invention.
本発明は、ファイルのバックアップ保存を行うファイル管理システムに適用できる。 The present invention can be applied to a file management system that performs backup storage of files.
1 ファイル管理システム
100 端末装置
101 表示部
102 操作入力部
103 アプリ記憶部
104 端末制御部
105 ファイル記憶部
106 ファイル情報記憶部
107 通信部
111 UI制御部
112 アプリ処理部
113 記憶管理部
114 アップロード管理部
115 通信制御部
200 ネットワーク
300 ファイル管理サーバ(サーバ装置)
301 通信部
302 サーバ制御部
303 ファイル記憶部
1
301
Claims (7)
上記端末装置に設けられたバックアップ元フォルダに保存されたファイルを、上記バックアップ元フォルダに対応付けて上記サーバ装置に設けられたバックアップ先フォルダ内の第1フォルダにバックアップ保存させるファイル管理ステップを含み、
上記バックアップ元フォルダに保存されているファイルの更新が行われた場合であって、更新された上記ファイルに対応する更新前のファイルが上記バックアップ先フォルダ内に設けられるアーカイブ用フォルダに保存されている場合、
上記ファイル管理ステップは、上記アーカイブ用フォルダに保存されている上記更新前のファイルを削除させ、更新された上記ファイルを上記第1フォルダに保存させることを特徴とするファイル管理方法。 A file management method of the terminal device for backing up and saving a file saved in the terminal device to a server device ,
Including a file management step of backing up and saving a file stored in a backup source folder provided in the terminal device in a first folder in a backup destination folder provided in the server device in association with the backup source folder ,
When the file stored in the backup source folder is updated, the file before update corresponding to the updated file is stored in the archive folder provided in the backup destination folder. If
It said file management step causes the delete the pre-update file stored in the archive folder, the file management method updated the file, characterized in Rukoto is stored in the first folder.
上記ファイル管理ステップは、
上記第1フォルダに保存されているファイルのうち、所定の優先順位に基づいて選択されるファイルを上記アーカイブ用フォルダに移動させることを特徴とする請求項1または2に記載のファイル管理方法。 When the file stored in the backup source folder has been updated, and the pre-update file corresponding to the updated file is stored in the archive folder,
The file management step,
Of the files stored in the first folder, the file management method according to the file that is selected based on Jo Tokoro priority to claim 1 or 2, characterized in that Before moving to the folder for the archival .
上記ファイル管理ステップは、上記第1フォルダから上記アーカイブ用フォルダにファイルを移動させる場合に、当該第1フォルダに保存されているファイルのうち更新日時が最も古いファイルを上記アーカイブ用フォルダに移動させることを特徴とする請求項3に記載のファイル管理方法。 The above priority is set based on the update date of the file,
In the file management step , when the file is moved from the first folder to the archive folder, the file having the oldest update date is moved to the archive folder among the files stored in the first folder. The file management method according to claim 3 .
上記ファイル管理ステップは、上記第1フォルダに保存されたファイルを上記アーカイブ用フォルダに移動させる際、当該ファイルを当該ファイルのファイル属性情報に対応するアーカイブ用フォルダに移動させることを特徴とする請求項1から4のいずれか1項に記載のファイル管理方法。 A plurality of the above-mentioned archive folders associated with different file attribute information are provided,
The file management step , when moving a file stored in the first folder to the archive folder, moves the file to an archive folder corresponding to file attribute information of the file. 5. The file management method according to any one of 1 to 4 .
上記端末装置に設けられたバックアップ元フォルダに保存されたファイルを、上記バックアップ元フォルダに対応付けて上記サーバ装置に設けられたバックアップ先フォルダ内の第1フォルダにバックアップ保存させるファイル管理部を備え、A file management unit that stores a file stored in a backup source folder provided in the terminal device in a first folder in a backup destination folder provided in the server device in association with the backup source folder;
上記バックアップ元フォルダに保存されているファイルの更新が行われた場合であって、更新された上記ファイルに対応する更新前のファイルが上記バックアップ先フォルダ内に設けられるアーカイブ用フォルダに保存されている場合、When the file stored in the backup source folder is updated, the file before update corresponding to the updated file is stored in the archive folder provided in the backup destination folder. If
上記ファイル管理部は、上記アーカイブ用フォルダに保存されている上記更新前のファイルを削除させ、更新された上記ファイルを上記第1フォルダに保存させることを特徴とするファイル管理システム。The file management system, wherein the file management unit deletes the pre-update file stored in the archive folder and stores the updated file in the first folder.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013062976A JP6013957B2 (en) | 2013-03-25 | 2013-03-25 | File management method and file management system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013062976A JP6013957B2 (en) | 2013-03-25 | 2013-03-25 | File management method and file management system |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2014186685A JP2014186685A (en) | 2014-10-02 |
JP6013957B2 true JP6013957B2 (en) | 2016-10-25 |
Family
ID=51834157
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2013062976A Active JP6013957B2 (en) | 2013-03-25 | 2013-03-25 | File management method and file management system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6013957B2 (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6772894B2 (en) * | 2017-02-28 | 2020-10-21 | 京セラドキュメントソリューションズ株式会社 | Information processing equipment, information processing systems, and information processing methods |
EP3367243B1 (en) | 2017-02-28 | 2020-09-30 | KYOCERA Document Solutions Inc. | Information processing system, and information processing method |
CN108664634B (en) * | 2018-05-15 | 2022-05-27 | 中国平安人寿保险股份有限公司 | Data management method and device, computer equipment and storage medium |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH08146588A (en) * | 1994-11-16 | 1996-06-07 | Konica Corp | Photographic processing system |
JPH1115709A (en) * | 1997-05-01 | 1999-01-22 | Hitachi Ltd | Method and device for managing version |
JP2007334397A (en) * | 2006-06-12 | 2007-12-27 | Yokogawa Electric Corp | Data management device |
WO2010050288A1 (en) * | 2008-10-30 | 2010-05-06 | インターナショナル・ビジネス・マシーンズ・コーポレーション | Server system, server device, program, and method |
TW201028919A (en) * | 2009-01-21 | 2010-08-01 | Zyxel Communications Corp | Method for auto uploading files and related computer-readable medium |
-
2013
- 2013-03-25 JP JP2013062976A patent/JP6013957B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2014186685A (en) | 2014-10-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11956310B2 (en) | Information management of data associated with multiple cloud services | |
US10496609B2 (en) | Systems and methods for automatic synchronization of recently modified data | |
JP6629697B2 (en) | Method and apparatus for extracting a virtual machine image file | |
AU2013202553B2 (en) | Information management of mobile device data | |
JP6475736B2 (en) | File search method for storage device, file search device for storage device, router, program, and recording medium | |
WO2013130588A1 (en) | Synchronizing local clients with a cloud-based data storage system | |
JP2019021290A (en) | Method, computer program and system for wirelessly connecting devices | |
CN102306189A (en) | Client and method for client to show status of network disk file | |
EP3251026B1 (en) | Storage constrained synchronization of shared content items | |
US20190347033A1 (en) | Apparatuses and methods and computer program products for facilitating deletions of file data that is protected by copy-on-write snapshots | |
US11586590B2 (en) | Synchronizing an external location | |
JP6013957B2 (en) | File management method and file management system | |
JP6555860B2 (en) | Information processing terminal, control method, and program | |
US10193950B2 (en) | Network system and control method | |
JP5340366B2 (en) | Document management apparatus, document management method, and program | |
JP6385157B2 (en) | Information processing terminal, control method, and program | |
JP2016110510A (en) | Information processor and information processing method | |
JP6847498B2 (en) | Configuration information display system, method, and program that displays configuration information about remote resources | |
US20110113118A1 (en) | Contents Providing System, Terminal Apparatus, And Contents Controlling Apparatus | |
JP2016040643A (en) | Image data management system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20150916 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20160622 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20160628 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20160824 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20160913 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20160923 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6013957 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |