JP4198920B2 - Backup system, backup program and backup method - Google Patents

Backup system, backup program and backup method Download PDF

Info

Publication number
JP4198920B2
JP4198920B2 JP2002049789A JP2002049789A JP4198920B2 JP 4198920 B2 JP4198920 B2 JP 4198920B2 JP 2002049789 A JP2002049789 A JP 2002049789A JP 2002049789 A JP2002049789 A JP 2002049789A JP 4198920 B2 JP4198920 B2 JP 4198920B2
Authority
JP
Japan
Prior art keywords
data
backup
terminal
terminal device
master
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.)
Expired - Fee Related
Application number
JP2002049789A
Other languages
Japanese (ja)
Other versions
JP2003248607A (en
Inventor
太一 朝尾
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.)
ADC Technology Inc
Original Assignee
ADC Technology Inc
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 ADC Technology Inc filed Critical ADC Technology Inc
Priority to JP2002049789A priority Critical patent/JP4198920B2/en
Publication of JP2003248607A publication Critical patent/JP2003248607A/en
Application granted granted Critical
Publication of JP4198920B2 publication Critical patent/JP4198920B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

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

Description

【0001】
【発明の属する技術分野】
本発明は、記憶済データのバックアップを取る際に利用するバックアップシステムに関する。
【0002】
【従来の技術】
従来、端末装置の備える記憶装置により記憶されている記憶済データのバックアップを取る、つまり、記憶済データのバックアップデータを記憶しておくために、例えば、MOディスク、CD−Rなどの記録媒体を利用したり、ファイルサーバーとして機能する他の端末装置の備える記憶装置を利用することが行われている。なお、本明細書中においてバックアップデータとは、記憶済データを復元可能なデータであって、単に記憶済データを複製した複製データ、複製データを複数に分割したそれぞれの分割データなどのことである。
【0003】
しかし、上述したバックアップデータを記憶しておく方法のうち、記録媒体を利用する方法では、記録媒体の持ち運びが容易であることから、記録媒体自体を紛失してしまったり、盗難に遭う恐れがある。また、ファイルサーバーを利用する方法では、ファイルサーバーとして機能する専用の端末装置を用意する必要があるため、この端末装置に相当するコストが増加してしまう。
【0004】
このような問題を解決するために、複数の端末装置で構成されるネットワーク上で、各端末装置の記憶領域の一部を他の端末装置がネットワーク経由で利用可能な共用の記憶領域としておき、この記憶領域をバックアップデータの記憶に利用するといったシステムを考えることができる。
【0005】
このようなシステムであれば、ファイルサーバーとして機能する専用の端末装置を用意する必要がないため、コストが増加することもなく、また、各端末装置の記憶領域を有効利用することができるため好適である。
【0006】
【発明が解決しようとする課題】
しかし、このようなシステムでは、利用者にとっての操作負担が重く、容易に記憶済データのバックアップを取ることができない恐れがある。
例えば、記憶済データのバックアップを取る際、利用者は、各端末装置の記憶領域の空き容量を順次確認しながら、記憶済データに相当するデータ量以上の空き容量を有する端末装置を探し出す必要がある。このとき、ネットワーク上に記憶済データに相当するデータ量以上の空き容量を有する端末装置が存在していない場合、利用者は、それぞれが記憶済データよりもデータ量の小さい複数のバックアップデータを新たに作成し、複数の端末装置に分けて記憶させるといった操作を行わなければならない。
【0007】
本発明は、利用者にとっての操作負担が軽く、容易に記憶済データのバックアップを取ることができるバックアップシステムを提供することを目的とする。
【0008】
【課題を解決するための手段および発明の効果】
上記問題を解決するため、第1の構成に係るバックアップシステムおよび第8の構成に係るバックアップ方法は、
ネットワーク回線を介して相互に接続されたネットワーク上の複数の端末装置のうち、いずれかの端末装置をマスター端末とし、このマスター端末を除く2以上の端末装置をバックアップ端末として、マスター端末により記憶されている記憶済データのバックアップデータを、バックアップ端末に記憶させるようにしたものである。
【0009】
このバックアップシステムおよびバックアップ方法によって、バックアップ端末にバックアップデータを記憶させる際には、まず、マスター端末が、バックアップデータの記憶に利用する記憶領域の空き容量を問い合わせるための問い合わせデータを端末装置に送信する。ここでバックアップデータの記憶に利用する記憶領域の空き容量とは、例えば、記憶装置内の全記憶領域のうちの空き容量や、記憶装置内にあらかじめ確保されたバックアップデータ用の記憶領域のうちの空き容量などのことである。
【0010】
続いて、問い合わせデータを受信した端末装置が、空き容量を通知するための通知データをマスター端末に送信する。
続いて、この通知データを受信したマスター端末が、通知データにより通知された空き容量に基づいて、複数の端末装置の中から2以上の端末装置をバックアップ端末として決定する。ここでは、例えば、通知データを送信してきた全ての端末装置、所定のしきい値以上の空き容量を有する端末装置、または、空き容量の多い順に所定数までの端末装置などが、バックアップ端末として決定されるように構成すればよい。
【0011】
続いて、マスター端末が、決定したバックアップ端末それぞれの空き容量に応じて記憶済データを分けて、その分けたデータのバックアップデータをバックアップ端末それぞれに送信する。
そして、このバックアップデータを受信したバックアップ端末が、受信したバックアップデータを記憶する。
【0012】
このように構成されたバックアップシステムによれば、記憶済データに相当するデータ量以上の空き容量を有する端末装置がネットワーク上に存在しない場合であっても、記憶済データよりデータ量の小さい複数のバックアップデータを新たに作成するといった操作を利用者が行う必要がない。よって、端末装置の記憶領域の一部を共用の記憶領域としただけの構成と比べて、容易に記憶済データのバックアップを取ることができる。
【0013】
なお、このバックアップシステムにおける端末装置は、記憶装置を利用してデータを記憶可能に構成されたコンピュータシステムであって、記憶装置としては、例えば、ハードディスクなどの補助記憶装置を利用することができる。
また、マスター端末は、バックアップ端末それぞれの空き容量に応じて記憶済データを分け、分けたデータのバックアップデータをバックアップ端末それぞれに送信するが、この構成としては、記憶済データが単一のデータファイルからなる場合には、例えば、マスター端末が、バックアップ端末それぞれの空き容量の比率と同じ比率となるように記憶済データを分けて、分けたデータをバックアップ端末それぞれに送信するように構成するとよい。
【0014】
一方、記憶済データが複数のデータファイルからなる場合には、例えば、マスター端末が、バックアップ端末それぞれの空き容量に応じて、複数のデータファイルをバックアップ端末それぞれに対応するグループにグループ分けし、そのグループ分けしたデータファイルのバックアップデータを、各グループに対応するバックアップ端末に送信するように構成するとよい。
【0015】
この構成では、マスター端末が、複数のデータファイルをバックアップ端末それぞれに対応するグループにグループ分けする。ここでは、各グループの全データファイルを合計したデータ量が、各グループに対応するバックアップ端末の空き容量以下となるようにグループ分けされるようにすればよい。
【0016】
また、記憶済データが複数のデータファイルからなる場合の別の構成として、第2の構成のように、
マスター端末が、複数のデータファイルを単一のデータに結合した後、この結合したデータをバックアップ端末の数と同じ数に分割し、この分割したデータのバックアップデータをバックアップ端末それぞれに送信するように構成すればよい。
【0017】
この構成では、マスター端末が、単一のデータに結合したデータをバックアップ端末の数と同じ数に分割する。ここでは、例えば、結合したデータをバックアップ端末それぞれの空き容量の比率と同じ比率となるように分ければよい。また、それぞれがバックアップ端末の空き容量に相当するデータ量以下であれば、結合したデータをバックアップ端末の数と同じ数に等分割してもよい。
【0018】
このように構成されたバックアップシステムによれば、複数のデータファイルが単一のデータとなるように結合された後で分割されるため、この分割されたデータのみから各データファイルを復元することができなくなる。これによって、端末装置を操作する利用者に、この端末装置により記憶されているバックアップデータの内容を知られることはなく、バックアップデータの秘匿性を高めることができる。
【0019】
ところで、上述のバックアップシステムでは、バックアップデータから記憶済データを復元する際、バックアップ端末により記憶されているバックアップデータを回収した上で記憶済データを復元することになる。このようにバックアップデータを回収するための構成としては、例えば、以下に示す第3の構成を考えることができる。
【0020】
第3の構成に係るバックアップシステムは、複数の端末装置それぞれがマスター端末として機能するように構成されており、マスター端末が、このマスター端末とされた端末装置を識別可能な識別データをバックアップデータに付加した状態でバックアップ端末に送信して、バックアップデータを受信したバックアップ端末が、このバックアップデータを記憶しておき、マスター端末が、バックアップデータの送信をバックアップ端末に対して要求すると、バックアップ端末が、マスター端末としてバックアップデータを要求してきた端末装置を特定し、この特定した端末装置を識別可能な識別データの付加されているバックアップデータをマスター端末に送信することを特徴とする。
【0021】
このように構成されたバックアップシステムによれば、マスター端末から、バックアップデータの送信をバックアップ端末に要求するだけで、このマスター端末を識別可能な識別データの付加されているバックアップデータのみを間違いなく回収することができる。
【0022】
また、バックアップデータを回収するための別の構成として、以下に示す第4の構成を考えることができる。
この構成に係るバックアップシステムは、複数の端末装置それぞれがマスター端末として機能するように構成されており、バックアップデータを受信したバックアップ端末が、マスター端末としてバックアップデータを送信してきた端末装置に対応づけた状態でバックアップデータを記憶しておき、マスター端末が、バックアップデータの送信をバックアップ端末に対して要求すると、バックアップ端末が、マスター端末としてバックアップデータを要求してきた端末装置を特定し、この特定した端末装置に対応するバックアップデータをマスター端末に送信することを特徴とする
このように構成されたバックアップシステムによれば、マスター端末から、バックアップデータの送信をバックアップ端末に要求するだけで、このマスター端末に対応するバックアップデータのみを間違いなく回収することができる。
【0023】
また、第5の構成に係るバックアップシステムは、マスター端末が、ネットワーク上を監視し、マスター端末とデータ通信可能な端末装置のリストを作成しており、このリストに登録されている端末装置に対して問い合わせデータを送信することを特徴とする。
【0024】
このように構成されたバックアップシステムによれば、リストに登録されている端末装置、つまり、マスター端末とデータ通信可能な端末装置にのみ問い合わせデータが送信されることになるため、ネットワークへの負荷を軽減することができる。
【0025】
また、第6の構成に係るバックアップ用プログラムは、
それぞれが記憶装置を利用してデータを記憶可能に構成された複数の端末装置と、該複数の端末装置間を結ぶネットワーク回線とを備えてなるネットワーク上で、前記複数の端末装置のうちいずれかの端末装置をマスター端末とし、該マスター端末を除く1以上の端末装置をバックアップ端末として、前記マスター端末により記憶されている記憶済データのバックアップデータを、前記バックアップ端末によって記憶させるバックアップシステムにおいて、
前記マスター端末とされる前記端末装置に、
前記バックアップデータの記憶に利用する記憶領域の空き容量を問い合わせる手順と、該手順による問い合わせに応じて前記端末装置から通知された前記空き容量に基づいて、前記複数の端末装置の中から2以上の前記端末装置を前記バックアップ端末として決定する手順と、該手順により決定された前記バックアップ端末それぞれの前記空き容量に応じて前記記憶済データを分ける手順と、該手順により分けられたデータのバックアップデータを前記バックアップ端末それぞれに送信する手順とを実行させるためのバックアップ用プログラムである。
【0026】
このようなプログラムによって制御される端末装置は、第1の構成に係るバックアップシステムの一部を構成することができる。
また、このバックアップ用プログラムを、前記マスター端末とされる前記端末装置に、前記記憶済データが複数のデータファイルからなる場合、該複数のデータファイルを単一のデータに結合する手順と、該手順により結合されたデータを前記バックアップ端末の数と同じ数に分割する手順と、該手順により分割されたデータのバックアップデータを前記バックアップ端末それぞれに送信する手順とを実行させるためのプログラムとしてもよい。
【0027】
このようなプログラムによって制御される端末装置は、第2の構成に係るバックアップシステムの一部を構成することができる。
また、このバックアップ用プログラムを、前記複数の端末装置それぞれが前記マスター端末として機能するように構成されている場合に、前記マスター端末とされる前記端末装置に、該端末装置自身を識別可能な識別データを付加した状態で前記バックアップデータを前記バックアップ端末に送信する手順と、前記バックアップデータの送信を前記バックアップ端末に対して要求する手順と、該手順による要求に応じて前記バックアップ端末から送信されてきた前記バックアップデータを受信する手順とを実行させるためのプログラムとしてもよい。
【0028】
このようなプログラムによって制御される端末装置は、第3の構成に係るバックアップシステムの一部を構成することができる。
また、このバックアップ用プログラムを、前記マスター端末とされる前記端末装置に、ネットワーク上を監視する手順と、前記端末装置自身とデータ通信可能な前記端末装置のリストを作成する手順と、該手順により作成されたリストに登録されている前記端末装置に対して前記空き容量を問い合わせる手順とを実行させるためのプログラムとしてもよい。
【0029】
このようなプログラムによって制御される端末装置は、第5の構成に係るバックアップシステムの一部を構成することができる。
また、第7の構成に係るバックアップ用プログラムは、
それぞれが記憶装置を利用してデータを記憶可能に構成された複数の端末装置と、該複数の端末装置間を結ぶネットワーク回線とを備えてなるネットワーク上で、前記複数の端末装置のうちいずれかの端末装置をマスター端末とし、該マスター端末を除く1以上の端末装置をバックアップ端末として、前記マスター端末により記憶されている記憶済データのバックアップデータを、前記バックアップ端末によって記憶させるバックアップシステムにおいて、
前記バックアップ端末とされる前記端末装置に、
前記マスター端末から前記空き容量の問い合わせを受けた際、前記空き容量を当該マスター端末に通知する手順と、
前記マスター端末から送信された前記バックアップデータを受信した際、該バックアップデータを記憶する手順とを実行させるためのバックアップ用プログラムである。
【0030】
このようなプログラムによって制御される端末装置は、第1の構成に係るバックアップシステムの一部を構成することができる。
また、このバックアップ用プログラムを、前記バックアップ端末とされる前記端末装置に、前記マスター端末から前記バックアップデータを送信を要求された際、前記マスター端末として前記バックアップデータの送信を要求してきた前記端末装置を特定する手順と、該手順により特定された前記端末装置を識別可能な識別データの付加されている前記バックアップデータを前記マスター端末に送信する手順とを実行させるためのプログラムとしてもよい。
【0031】
このようなプログラムによって制御される端末装置は、第3の構成に係るバックアップシステムの一部を構成することができる。
また、このバックアップ用プログラムを、前記バックアップ端末とされる前記端末装置に、前記マスター端末から前記バックアップデータを受信した際、前記マスター端末として当該バックアップデータを送信してきた前記端末装置に対応づけた状態で当該バックアップデータを記憶する手順と、前記マスター端末から前記バックアップデータの送信を要求された際に、前記マスター端末として前記バックアップデータを要求してきた前記端末装置を特定する手順と、該手順により特定された前記端末装置に対応する前記バックアップデータを前記マスター端末に送信する手順とを実行させるためのプログラムとしてもよい。
【0032】
このようなプログラムによって制御される端末装置は、第4の構成に係るバックアップシステムの一部を構成することができる。
なお、上述した第6および第7の構成に係るバックアップ用プログラムは、例えば、CD−ROMなどの記録媒体や、インターネットなどの通信回線を介して、端末装置を操作する利用者に配布されるものである。
【0033】
また、第8の構成に係るバックアップ方法を、前記記憶済データが複数のデータファイルからなる場合に、前記マスター端末が、前記複数のデータファイルを単一のデータに結合した後、該結合したデータを前記バックアップ端末の数と同じ数に分割し、該分割したデータのバックアップデータを前記バックアップ端末それぞれに送信するようにしてもよい。
【0034】
このような方法によって記憶済データのバックアップを取るバックアップシステムは、第2の構成に係るバックアップシステムを構成することができ、同システムと同様の作用、効果を得ることができる。
また、このバックアップ方法を、前記複数の端末装置それぞれが、前記マスター端末として機能するように構成されている場合に、前記マスター端末が、該マスター端末である前記端末装置を識別可能な識別データを付加した状態で前記バックアップデータを前記バックアップ端末に送信して、前記バックアップデータを受信した前記バックアップ端末が、当該バックアップデータを記憶しておき、前記マスター端末が、前記バックアップデータの送信を前記バックアップ端末に対して要求すると、該バックアップ端末が、前記マスター端末として前記バックアップデータを要求してきた前記端末装置を特定し、該特定した前記端末装置を識別可能な前記識別データの付加されている前記バックアップデータを前記マスター端末に送信するようにしてもよい。
【0035】
このような方法によって記憶済データのバックアップを取るバックアップシステムは、第3の構成に係るバックアップシステムを構成することができ、同システムと同様の作用、効果を得ることができる。
また、このバックアップ方法を、前記複数の端末装置それぞれが、前記マスター端末として機能するように構成されている場合に、前記バックアップデータを受信した前記バックアップ端末が、前記マスター端末として当該バックアップデータを送信してきた前記端末装置に対応づけた状態で当該バックアップデータを記憶しておき、前記マスター端末が、前記バックアップデータの送信を前記バックアップ端末に対して要求すると、該バックアップ端末が、前記マスター端末として前記バックアップデータを要求してきた前記端末装置を特定し、該特定した前記端末装置に対応する前記バックアップデータを前記マスター端末に送信するようにしてもよい。
【0036】
このような方法によって記憶済データのバックアップを取るバックアップシステムは、第4の構成に係るバックアップシステムを構成することができ、同システムと同様の作用、効果を得ることができる。
また、このバックアップ方法を、前記マスター端末が、ネットワーク上を監視することによって当該マスター端末とデータ通信可能な前記端末装置のリストを作成し、該リストに登録されている前記端末装置に対して前記問い合わせデータを送信するようにしてもよい。
【0037】
このような方法によって記憶済データのバックアップを取るバックアップシステムは、第5の構成に係るバックアップシステムを構成することができ、同システムと同様の作用、効果を得ることができる。
【0038】
【発明の実施の形態】
次に本発明の実施の形態について例を挙げて説明する。
[全体構成]
バックアップシステム1は、図1に示すように、複数の端末装置10それぞれがネットワーク回線100経由でTCP/IPを利用してデータ通信を行うように構成されたものである。
【0039】
端末装置10は、周知のコンピュータシステムであって、CPU11、ROM12、RAM13、ハードディスク(以降、HDとする)14、ディスプレイ15、キーボード16、マウス17、通信装置18などを備えており、通信装置18を介してネットワーク回線100に接続されている。
【0040】
また、端末装置10には、以下に示した各処理を実行するためのアプリケーションソフトが組み込まれている。
[1.共用設定処理]
端末装置10が実行する共用設定処理を図2に基づいて説明する。この共用設定処理は、利用者によって共用設定ダイアログを表示させるための操作が行われた後に開始される。
【0041】
まず、端末装置10は、共用設定ダイアログを開く(s11)。この処理においては、図3に示したように、HD14の記憶領域全体に占める未使用領域に相当するデータ量(以降、空き容量とする)の表示欄i1、空き容量を他の端末装置10からアクセス可能な共用の記憶領域とするか否かを選択するラジオボタンi2、i3、決定ボタンi4、キャンセルボタンi5などの設けられた共用設定ダイアログがディスプレイ15に表示される。なお、ラジオボタンi2、i3は、空き容量を共用の記憶領域とする場合に選択するラジオボタンi2と、共用の記憶領域としない場合に選択するラジオボタンi3からなり、初期状態では、ラジオボタンi3が選択されている。こうして、共用設定ダイアログが表示された後、利用者は、ラジオボタンi2またはi3を選択する操作、決定ボタンi4またはキャンセルボタンi5を選択する操作などを行うことができる。
【0042】
次に、端末装置10は、決定ボタンi4またはキャンセルボタンi5を選択する操作が行われるまで待機する(s12:NO)。
このs12の処理で、決定ボタンi4を選択する操作が行われた場合(s12:YES、s13:YES)、端末装置10は、ラジオボタンi2が選択されていれば(s14:YES)、共用設定フラグに「1」をセットし(s15)、ラジオボタンi3が選択されていれば(s14:NO)、共用設定フラグに「0」をセットする(s16)。この共用設定フラグは、初期値として「0」がセットされており、後述する要求応答処理において、他の端末装置10からの要求に応答する際に利用されるものである。
【0043】
そして、s15の処理を行った後、s16の処理を行った後、または、s12の処理でキャンセルボタンi5を選択する操作が行われた場合(s12:YES、s13:NO)、端末装置10は、共用設定ダイアログを閉じる(s17)。この処理においては、ディスプレイ15から共用設定ダイアログの表示が消去される。こうして、キャンセルボタンi5を選択する操作が行われた場合には、共用設定フラグの値が変更されることなく本共用設定処理が終了することになる。
【0044】
[2.バックアップファイル選択処理]
端末装置10が実行するバックアップファイル選択処理を図4に基づいて説明する。このバックアップデータ選択処理は、利用者によって、バックアップファイル選択ダイアログを表示するための操作が行われた後に開始される。
【0045】
まず、端末装置10は、バックアップファイル選択ダイアログを開く(s21)。この処理においては、図5に示したように、HD14内に記憶されているデータファイル(本発明における記憶済データ)の一覧を階層的に表示したファイル一覧画面i6、バックアップを取るデータファイルの一覧を表示するバックアップファイル一覧画面i7、イベントメニューi8、クローズボックスi9などの設けられたバックアップファイル選択ダイアログがディスプレイ15に表示される。なお、イベントメニューi8は、プルダウンメニュー内に設けられている。
【0046】
こうしてバックアップファイル選択ダイアログが表示された後、利用者は、ファイルの移動操作、ファイルの削除操作、イベントメニューi8を選択する操作、クローズボックスi9を選択する操作などを行うことができる。なお、ファイルの移動操作とは、ファイル一覧画面i6内に表示されているデータファイルを、キーボード16によるコピーおよびペースト、マウス17によるドラッグおよびドロップによって、バックアップファイル一覧画面i7側に移動させる操作である。これによって、移動させられたファイル名がバックアップファイル一覧画面i7に表示される。また、ファイルの削除操作とは、キーボード16またはマウス17によって、バックアップファイル一覧画面i7内に表示されているファイル名を削除する操作である。
【0047】
次に、端末装置10は、利用者による操作が行われるまで待機する(s22:NO)。
このs22の処理で行われた操作が(s22:YES)、ファイルの移動操作である場合(s23:YES)、端末装置10は、移動させられたデータファイルのファイル名をバックアップファイル一覧画面i7内に表示させ(s24)、このデータファイルのパス名(記憶位置を示す位置情報)をパス名リストに登録する(s25)。パス名リストは、HD14内にあらかじめ用意されているリストである。
【0048】
また、s22の処理で行われた操作が(s22:YES)、ファイルの削除操作である場合(s23:NO、s26:YES)、端末装置10は、削除させられたファイル名のデータファイルのパス名をパス名リストから削除する(s27)。
【0049】
また、s22の処理で行われた操作が(s22:YES)、イベントメニューi8を選択する操作である場合(s23:NO、s26:NO、s28:YES)、端末装置10は、イベント設定画面を開く(s29)。この処理においては、図6に示したように、チェックボックスi10、i11、決定ボタンi12、キャンセルボタンi13などの設けられたイベント設定画面がディスプレイ15に表示される。こうして、イベント設定画面が表示された後、利用者は、チェックボックスi10、i11を選択する操作、決定ボタンi12またはキャンセルボタンi13を選択する操作などを行うことができる。なお、チェックボックスは、後述するバックアップデータ送信処理を開始する際のタイミングを決定するためのものであって、端末装置10の起動時(電源ON後)にバックアップデータ送信処理を開始する場合に選択するチェックボックスi10と、端末装置10の終了時(電源OFF前)にバックアップデータ送信処理を開始する場合に選択するチェックボックスi11とからなる。
【0050】
次に、端末装置10は、決定ボタンi12またはキャンセルボタンi13を選択する操作が行われるまで待機する(s30:NO)。
このs30の処理で、決定ボタンi12を選択する操作が行われた場合(s30:YES、s31:YES)、端末装置10は、チェックボックスi10、i11の選択内容に応じて、起動タイミングフラグおよび終了タイミングフラグに所定の値をセットする(s32)。この処理においては、チェックボックスi10が選択されていれば、起動タイミングフラグに「1」がセットされ、チェックボックスi11が選択されていれば、終了タイミングフラグに「1」がセットされる。この起動および終了タイミングフラグは、共に初期値として、「0」がセットされているものである。こうして、端末装置10は、起動タイミングフラグに「1」がセットされて以降、端末装置10が起動した後に、後述するバックアップデータ送信処理を開始するようになる。また、終了タイミングフラグに「1」がセットされて以降、端末装置10が終了する直前に、バックアップデータ送信処理を開始するようになる。
【0051】
こうして、s32の処理を終えた後、または、s30の処理でキャンセルボタンi13を選択する操作が行われた場合(s30:YES、s31:NO)、端末装置10は、イベント設定画面を閉じる(s33)。この処理においては、イベント設定画面の表示がディスプレイ15上から消去される。
【0052】
こうしてs25の処理、s27の処理、または、s33の処理を終えた後、s22の処理に戻る。
また、s22の処理で実行された操作が(s22:YES)、クローズボックスi9を選択する操作である場合(s23:NO、s26:NO、s28:NO)、端末装置10は、バックアップファイル選択ダイアログを閉じる(s34)。この処理においては、バックアップファイル選択ダイアログの表示がディスプレイ15から消去される。
【0053】
[3.ネットワーク監視処理]
端末装置10が実行するネットワーク監視処理を図7に基づいて説明する。このネットワーク監視処理は、端末装置10が起動した後、キーボード16またはマウス17による操作が可能な状態となって以降、所定時間(本実施形態においては30秒)毎に繰り返し実行される。
【0054】
まず、端末装置10は、ネットワーク上に存在する端末装置10のIPアドレスを収集する(s41)。この処理において端末装置10は、IPアドレスの通知を要求するためのアドレス要求データを、ネットワーク上の全ての端末装置10に対して送信(ブロードキャスト)する。このアドレス要求データを受信した各端末装置10からは、この端末装置10自身のIPアドレスを特定可能なアドレス応答データが送信されてくる。そして、端末装置10は、アドレス応答データを受信した後、このアドレス応答データに含まれるIPアドレスを収集する。
【0055】
次に、端末装置10は、HD14内の空き容量が共用の記憶領域となっている端末装置10のIPアドレスを収集する(s42)。この処理において端末装置10は、まず、空き容量が共用の記憶領域となっているかどうかを確認するための共用確認データを、s41の処理で収集したIPアドレスの端末装置10に向けて送信する。この共用確認データを受信した端末装置10のうち、図2における共用設定処理(s15の処理またはs16の処理)で共用設定フラグに「1」がセットされている端末装置10からは、この端末装置10のIPアドレスを特定可能な共用通知データが送信されてくる。端末装置10は、所定時間(本実施形態においては5秒)内に送信されてきた共用通知データのみを受信し、この共用通知データで特定されるIPアドレスを、空き容量が共用の記憶領域となっている端末装置10のIPアドレスとして収集する。
【0056】
そして、端末装置10は、s42の処理で収集されたIPアドレスをアドレスリストに登録する(s43)。このアドレスリストは、HD14内にあらかじめ用意されているリストであって、後述するバックアップデータ送信処理において空き容量を問い合わせる際に利用されるものである。
【0057】
[4.バックアップデータ送信処理]
端末装置10が実行するバックアップデータ送信処理を図8に基づいて説明する。このバックアップデータ送信処理は、起動および終了タイミングフラグにセットされている値に基づいて、起動タイミングフラグが「1」の場合に、端末装置10の起動時に開始され、終了タイミングフラグが「1」の場合に、端末装置10の終了時に開始される。
【0058】
まず、端末装置10は、アドレスリストに登録されている全てのIPアドレスの端末装置10に対して、HD14内の空き容量を問い合わせる(s51)。この処理においては、空き容量を問い合わせるための空き容量問い合わせデータが、アドレスリストに登録されているIPアドレスの端末装置10それぞれに向けて送信される。この空き容量問い合わせデータを受信した端末装置10からは、この端末装置10のIPアドレスと空き容量とを特定可能な空き容量応答データ(本発明における通知データ)が送信されてくる。
【0059】
次に、端末装置10は、空き容量応答データを受信する(s52)。
次に、端末装置10は、s52の処理で受信された全ての空き容量応答データに基づいて、各空き容量応答データで特定されるIPアドレスおよび空き容量を登録したデータテーブルを作成する(s53)。この処理においては、s51の処理で空き容量問い合わせデータを送信してから所定時間(本実施形態においては、5秒)内に送信されてきた空き容量応答データに基づいて、データテーブルが作成される。こうして、データテーブルに登録されたIPアドレスの端末装置10が、以降の処理でバックアップデータを送信すべき端末装置10として決定されたことになる。
【0060】
また、端末装置10は、s51の処理からs53の処理と平行して、まず、パス名リストに登録されている全てのパス名のデータファイルをアーカイブ化する(s54)。この処理において端末装置10は、パス名リストに登録されている全てのパス名のデータファイルを複製し、それぞれの複製データを周知の圧縮アルゴリズムを利用して圧縮することによって、結合された単一のアーカイブデータを作成する。
【0061】
次に、端末装置10は、s54の処理で作成されたアーカイブデータを暗号化して暗号データを作成する(s55)。この処理においては、周知の暗号化方式によってアーカイブデータが暗号化される。
こうして、s53の処理およびs55の処理を終えた後、端末装置10は、s55の処理で作成された暗号データを分割してバックアップデータを作成する(s56)。この処理においては、データテーブルに登録されている空き容量に応じて暗号データが分割される。具体的には、データテーブルに登録されている空き容量の比率が1:2:3となっている場合、アーカイブデータも1:2:3の比率となるように分割される。こうして、データテーブルに登録されている空き容量毎、つまり、各空き容量に対応するIPアドレスの端末装置10毎にバックアップデータが作成されたことになる。
【0062】
次に、端末装置10は、端末装置10自身のIPアドレスを識別可能な識別データを、s56の処理で作成されたバックアップデータに付加する(s57)。
そして、端末装置10は、s57の処理で識別データの付加されたバックアップデータを送信する(s58)。この処理においては、バックアップデータが、データテーブルに登録されている各IPアドレスの端末装置10に向けて送信される。このバックアップデータを受信した端末装置10では、このバックアップデータがHD14内に記憶される。
【0063】
[5.データ復元処理]
端末装置10が実行するデータ復元処理を図9に基づいて説明する。このデータ復元処理は、データ復元ダイアログを表示するための操作が行われた後に開始される。
【0064】
まず、端末装置10は、データ復元ダイアログを開く(s61)。この処理においては、復元開始ボタンなどが設けられたデータ復元ダイアログがディスプレイ15に表示される。こうして、データ復元ダイアログが表示された後、利用者は、復元開始ボタンを選択する操作などを行うことができる。
【0065】
次に、端末装置10は、復元開始ボタンを選択する操作が行われるまで待機する(s62:NO)。
このs62の処理で、復元開始ボタンを選択する操作が行われたら(s62:YES)、端末装置10は、バックアップデータの送信を要求する(s63)。この処理において端末装置10は、バックアップデータの送信を要求するためのデータであって、端末装置10のIPアドレスを特定可能な送信要求データを、ネットワーク上の全ての端末装置10に対して送信(ブロードキャスト)する。この送信要求データを受信した各端末装置10からは、バックアップデータが送信されてくる。
【0066】
次に、端末装置10は、バックアップデータを受信する(s64)。
次に、端末装置10は、s64の処理で受信した各バックアップデータを結合して暗号データを復元する(s65)。この処理においては、図8におけるs55の処理で作成された暗号データが復元される。
【0067】
次に、端末装置10は、s65の処理で復元された暗号データを復号してアーカイブデータを復元する(s66)。この処理においては、図8におけるs55の処理と同じ暗号化方式で暗号データを復号することによって、図8におけるs54の処理で作成されたアーカイブデータが復元される。
【0068】
そして、端末装置10は、s66の処理で復元されたアーカイブデータのアーカイブ化を解除して複数のデータファイルを復元する(s67)。この処理においては、s66の処理で復元されたアーカイブデータを伸張することによって、図8におけるs54の処理が行われる時点でパス名リストに登録されていたパス名の各データファイルが復元される。
【0069】
[6.要求応答処理]
端末装置10が実行する要求応答処理を図10に基づいて説明する。この要求応答処理は、端末装置10がネットワーク経由で自身宛のデータを受信した後に開始される。なお、以降、本要求応答処理を実行する端末装置10をバックアップ端末10とし、このバックアップ端末10に向けてデータを送信してきた端末装置10をマスター端末10として説明する。
【0070】
まず、バックアップ端末10は、受信したデータがアドレス要求データである場合(s71:YES)、バックアップ端末10自身のIPアドレスを特定可能なアドレス応答データを、マスター端末10に送信する(s72)。アドレス要求データは、図7におけるs41の処理でマスター端末10から送信されてくるものであって、アドレス応答データは、図7におけるs41の処理でマスター端末10が受信するものである。
【0071】
また、バックアップ端末10は、受信したデータが共用確認データである場合(s71:NO、s73:YES)、共用設定フラグにセットされている値をチェックする(s74)。共用確認データは、図7におけるs42の処理でマスター端末10から送信されてくるものである。また、共用設定フラグは、図2におけるs15の処理またはs16の処理で、「1」または「0」がセットされたものである。
【0072】
このs74の処理で、共用設定フラグに「1」がセットされている場合(s74:YES)、バックアップ端末10は、共用通知データをマスター端末10に送信する(s75)。この共用通知データは、空き容量が共用の記憶領域として設定されていることを通知するためのデータであって、バックアップ端末10自身のIPアドレスを特定可能なデータである。また、この共用通知データは、図7におけるs42の処理でマスター端末10が受信するものである。
【0073】
また、バックアップ端末10は、受信したデータが空き容量要求データである場合(s71:NO、s73:NO、s76:YES)、空き容量応答データをマスター端末10に送信する(s77)。空き容量要求データは、図8におけるs51の処理でマスター端末10から送信されてくるものである。また、空き容量応答データは、バックアップ端末10の備えるHD14の空き容量と、バックアップ端末10自身のIPアドレスを特定可能なデータである。また、この空き容量応答データは、図8におけるs52の処理で、マスター端末10が受信するものである。
【0074】
また、バックアップ端末10は、受信したデータがバックアップデータである場合(s71:NO、s73:NO、s76:NO、s78:YES)、このバックアップデータをHD14内に記憶する(s79)。バックアップデータは、図8におけるs58の処理でマスター端末10から送信されてくるものである。
【0075】
また、バックアップ端末10は、受信したデータが送信要求データである場合(s71:NO、s73:NO、s76:NO、s78:NO)、送信すべきバックアップデータを検索する(s80)。この処理においては、バックアップデータに付加されている識別データに基づいて、マスター端末10に送信するバックアップデータが検索される。なお、バックアップデータは、以前に本要求応答処理におけるs79の処理が実行された際に、HD14内に記憶されたものである。バックアップデータには、IPアドレスを識別可能な識別データが付加されている。この識別データは、図8におけるs58の処理で、マスター端末10としてバックアップデータを送信してきた端末装置10のIPアドレスである。また、送信要求データは、マスター端末10として送信要求データを送信してきた端末装置10のIPアドレスを特定可能である。そのため、バックアップ端末10は、HD14内に記憶されているバックアップデータの中から、識別データで識別されるIPアドレスが送信要求データで特定されるIPアドレスと一致するバックアップデータを、マスター端末10に送信するバックアップデータとして検索する。
【0076】
そして、バックアップ端末10は、s80の処理で検出されたバックアップデータをマスター端末10に送信する(s81)。このバックアップデータは、図9におけるs64の処理でマスター端末10が受信するものである。
こうして、s72の処理、s75の処理、s77の処理、s79の処理およびs81の処理のうちいずれかの処理を終えた後、または、s74の処理で共用設定フラグに「0」がセットされている場合(s74:NO)、本要求応答処理を終了する。
【0077】
[効果]
このように構成されたバックアップシステム1によれば、端末装置10によって 図8におけるs54の処理でデータファイルがアーカイブ化された後、s53の処理で作成されたデータテーブルに登録されている空き容量に応じて、アーカイブデータを分割したデータがバックアップデータとして作成される。そのため、アーカイブデータに相当するデータ量以上の空き容量を有する端末装置10がネットワーク上に存在しない場合であっても、アーカイブデータよりデータ量の小さい複数のバックアップデータを作成するといった操作を利用者が行う必要がない。よって、端末装置の記憶領域の一部を共用の記憶領域としただけの構成と比べて、容易にデータファイルのバックアップを取ることができる。
【0078】
特に、s54の処理でデータファイルがアーカイブ化された後、s56の処理でアーカイブデータが分割されるため、この分割されたデータのみから各データファイルを復元することができなくなる。これによって、端末装置10を操作する利用者に、この端末装置10により記憶されているバックアップデータの内容を知られることはなく、バックアップデータの秘匿性を高めることができる。
【0079】
また、図9におけるs63の処理で、端末装置10が、バックアップデータの送信を要求することによって、この端末装置10を識別可能な識別データの付加されているバックアップデータのみを間違いなく回収(受信)することができる。
【0080】
また、図8におけるs51の処理で、端末装置10が、アドレスリストに登録されている全てのIPアドレスの端末装置10に対して、HD14内の空き容量を問い合わせている。このアドレスリストは、空き容量が共用の記憶領域となっている端末装置10のIPアドレスが登録されているリストであるため、空き容量が共用の記憶領域となっている端末装置10にのみ問い合わせデータが送信されることになる。よって、ネットワークへの負荷を軽減することができる。また、上述した1から6の各処理を実行するアプリケーションソフトが組み込まれていない端末装置がネットワーク回線100に接続されている場合、これらの端末装置に問い合わせデータが送信されることがなくなるため、ネットワークへの負荷をより軽減することができる。
【0081】
[変形例]
以上、本発明の実施形態について説明したが、本発明は上記の具体的な実施形態に限定されず、このほかにも様々な形態で実施することができる。
例えば、本実施形態においては、各端末装置10を特定するためにIPアドレスを利用しているものを例示したが、各端末装置10を特定するために端末装置10のMACアドレスを利用するように構成してもよい。この場合、本実施形態における「IPアドレス」との記載を「MACアドレス」と読み替えることとする。また、各端末装置10を特定するために利用されるデータとしては、IPアドレスやMACアドレスだけに限定されるものでなく、各端末装置10にあらかじめ割り当てられたコードなどを利用するように構成してもよい。
【0082】
また、本実施形態において、HD14の記憶領域全体に占める未使用領域のうちの所定の記憶領域をバックアップデータの記憶用の記憶領域として確保しておき、このバックアップ用の記憶領域に占める未使用領域を「空き容量」としてもよい。
【0083】
また、本実施形態においては、図8のバックアップデータ送信処理が、起動および終了タイミングフラグにセットされている値に基づいて開始されるように構成されたものを例示した。しかし、バックアップデータ送信処理が開始される条件としては、起動および終了タイミングフラグの値以外のものを利用してもよい。例えば、図2の共有設定処理において、共有設定ダイアログにスケジュールメニューを設け、このスケジュールメニューが選択された際に、日程(毎日、毎週、毎月)や時間を入力する操作を実行できるようにして、この入力されたスケジュールに従ってバックアップデータ送信処理が開始されるように構成すればよい。
【0084】
また、本実施形態においては、図8におけるs53の処理で、データテーブルに空き容量およびIPアドレスが登録され、このIPアドレスの端末装置10が、バックアップデータを送信すべき端末装置10として決定されるものを例示した。しかし、このs53の処理で、所定のしきい値以上となっている空き容量と、この空き容量に対応するIPアドレスとをデータテーブルに登録するように構成してもよい。また、多い順に所定数までの空き容量と、この空き容量に対応するIPアドレスとをデータテーブルに登録するように構成してもよい。この場合、図8におけるs52の処理で、多数の端末装置10から空き容量応答データを受信しても、多数のバックアップデータが作成されることがなくる。そのため、空き容量応答データの送信元である全ての端末装置10にバックアップデータを送信(s58の処理)する場合よりも、バックアップデータを送信する送信先の端末装置10が少なくて済み、ネットワークに対する付加を軽減させることができる。
【0085】
また、本実施形態においては、図8におけるs58の処理で、端末装置(マスター端末)10が、識別データの付加されたバックアップデータを送信するように構成されている。しかし、この処理で、マスター端末10が、識別データを付加することなく(s57の処理を行うことなく)、バックアップデータを送信するようにすることも考えられる。具体的には、まず、バックアップデータを受信したバックアップ端末10が、図10におけるs79の処理で、バックアップデータをデータ領域に含むパケットのヘッダ領域から送信元IPアドレスまたは送信元MACアドレスを抽出し、抽出した送信元IPアドレスまたは送信元MACアドレスに対応づけた状態でバックアップデータを記憶しておく。そして、バックアップ端末10が、図10におけるs80の処理でバックアップデータを検索する際、送信要求データで特定されるIPアドレスに対応するバックアップデータを検索するように構成すればよい。このように構成すれば、図9におけるs63の処理で、マスター端末10が、バックアップデータの送信を要求することによって、このますタータンます10に対応するバックアップデータのみを間違いなく回収(受信)することができる。
【図面の簡単な説明】
【図1】バックアップシステムの全体構成を示す図
【図2】共用設定処理の処理手順を示すフローチャート
【図3】共用設定ダイアログを示す図
【図4】バックアップファイル選択処理の処理手順を示すフローチャート
【図5】バックアップファイル選択ダイアログを示す図
【図6】イベント設定画面を示す図
【図7】ネットワーク監視処理の処理手順を示すフローチャート
【図8】バックアップデータ送信処理の処理手順を示すフローチャート
【図9】データ復元処理の処理手順を示すフローチャート
【図10】要求応答処理の処理手順を示すフローチャート
【符号の説明】
1・・・バックアップシステム、10・・・端末装置、11・・・CPU、12・・・ROM、13・・・RAM、15・・・ディスプレイ、16・・・キーボード、17・・・マウス、18・・・通信装置。
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a backup system used when backing up stored data.
[0002]
[Prior art]
Conventionally, in order to back up stored data stored in a storage device included in a terminal device, that is, to store backup data of stored data, for example, a recording medium such as an MO disk or a CD-R is used. A storage device included in another terminal device that functions as a file server is used. In this specification, backup data is data that can restore stored data, and is simply duplicated data obtained by copying stored data, each divided data obtained by dividing the duplicated data into a plurality of pieces, or the like. .
[0003]
However, among the methods for storing the backup data described above, in the method using a recording medium, the recording medium is easy to carry, and thus the recording medium itself may be lost or stolen. . Further, in the method using the file server, it is necessary to prepare a dedicated terminal device that functions as a file server, and thus the cost corresponding to this terminal device increases.
[0004]
In order to solve such a problem, on a network composed of a plurality of terminal devices, a part of the storage area of each terminal device is set as a shared storage area that other terminal devices can use via the network, A system in which this storage area is used for storing backup data can be considered.
[0005]
Such a system is preferable because there is no need to prepare a dedicated terminal device functioning as a file server, so that the cost does not increase and the storage area of each terminal device can be used effectively. It is.
[0006]
[Problems to be solved by the invention]
However, in such a system, the operation burden on the user is heavy, and there is a possibility that the stored data cannot be easily backed up.
For example, when backing up stored data, the user needs to find a terminal device having a free space equal to or greater than the amount of data corresponding to the stored data while sequentially checking the free space in the storage area of each terminal device. is there. At this time, if there is no terminal device on the network that has a free space equal to or larger than the amount of data stored, the user newly creates a plurality of backup data each having a data amount smaller than the stored data. Must be created and stored in a plurality of terminal devices.
[0007]
It is an object of the present invention to provide a backup system that can reduce the operation burden on the user and can easily back up stored data.
[0008]
[Means for Solving the Problems and Effects of the Invention]
To solve the above problem, According to the first configuration Backup system and According to the eighth configuration The backup method is
Of a plurality of terminal devices on a network connected to each other via a network line, one of the terminal devices serves as a master terminal, and two or more terminal devices other than the master terminal serve as backup terminals and are stored by the master terminal. The backup data of the stored data is stored in the backup terminal.
[0009]
When the backup data is stored in the backup terminal by the backup system and the backup method, first, the master terminal transmits inquiry data for inquiring the free space of the storage area used for storing the backup data to the terminal device. . Here, the free space of the storage area used for storing the backup data is, for example, the free space of all the storage areas in the storage device or the backup data storage area reserved in advance in the storage device. It means free space.
[0010]
Subsequently, the terminal device that has received the inquiry data transmits notification data for notifying the free space to the master terminal.
Subsequently, the master terminal that has received the notification data determines two or more terminal devices from among the plurality of terminal devices as backup terminals based on the free space notified by the notification data. Here, for example, all the terminal devices that have transmitted the notification data, terminal devices having a free capacity equal to or greater than a predetermined threshold, or up to a predetermined number of terminal devices in order of increasing free capacity are determined as backup terminals. What is necessary is just to comprise.
[0011]
Subsequently, the master terminal divides stored data according to the determined free capacity of each backup terminal, and transmits backup data of the divided data to each backup terminal.
Then, the backup terminal that has received this backup data stores the received backup data.
[0012]
According to the backup system configured as described above, even when a terminal device having a free capacity equal to or larger than the data amount corresponding to the stored data does not exist on the network, a plurality of data items having a data amount smaller than the stored data are stored. Users do not need to perform operations such as creating new backup data. Therefore, compared to a configuration in which a part of the storage area of the terminal device is simply a shared storage area, the stored data can be easily backed up.
[0013]
The terminal device in this backup system is a computer system configured to be able to store data using a storage device, and an auxiliary storage device such as a hard disk can be used as the storage device.
In addition, the master terminal divides the stored data according to the free capacity of each backup terminal, and transmits the backup data of the divided data to each backup terminal. In this configuration, the stored data is a single data file. For example, the master terminal may divide the stored data so that the ratio is equal to the ratio of the free capacity of each backup terminal, and transmit the divided data to each backup terminal.
[0014]
On the other hand, when the stored data consists of a plurality of data files, for example, the master terminal groups the plurality of data files into groups corresponding to the backup terminals according to the free capacity of each backup terminal, The backup data of the grouped data file may be configured to be transmitted to the backup terminal corresponding to each group.
[0015]
In this configuration, the master terminal groups a plurality of data files into groups corresponding to the backup terminals. Here, it is only necessary to group the data so that the total data amount of all the data files of each group is less than the free capacity of the backup terminal corresponding to each group.
[0016]
Also, as another configuration when the stored data consists of multiple data files, Of the second configuration like,
After the master terminal combines multiple data files into a single data, it divides the combined data into the same number as the number of backup terminals, and sends the backup data of the divided data to each backup terminal. What is necessary is just to comprise.
[0017]
In this configuration, the master terminal divides data combined into a single data into the same number as the number of backup terminals. Here, for example, the combined data may be divided so as to have the same ratio as the ratio of the free capacity of each backup terminal. Further, the combined data may be equally divided into the same number as the number of backup terminals as long as the amount is less than the amount of data corresponding to the free capacity of the backup terminal.
[0018]
According to the backup system configured as described above, since a plurality of data files are divided after being combined into a single data, each data file can be restored only from the divided data. become unable. Thereby, the user who operates the terminal device does not know the contents of the backup data stored in the terminal device, and the confidentiality of the backup data can be improved.
[0019]
By the way, in the above-described backup system, when restoring stored data from backup data, the stored data is restored after collecting the backup data stored in the backup terminal. As a configuration for collecting backup data in this way, for example, The third shown below The configuration can be considered.
[0020]
According to the third configuration The backup system is configured such that each of a plurality of terminal devices functions as a master terminal, and the master terminal adds the identification data that can identify the terminal device designated as the master terminal to the backup data. The backup terminal that received the backup data transmits the backup data and stores the backup data. When the master terminal requests the backup terminal to transmit the backup data, the backup terminal sends the backup data as the master terminal. The requesting terminal device is specified, and backup data to which identification data capable of identifying the specified terminal device is added is transmitted to the master terminal.
[0021]
According to the backup system configured as described above, only the backup data to which identification data that can identify the master terminal is added is definitely collected only by requesting the backup terminal to transmit the backup data from the master terminal. can do.
[0022]
As another configuration for collecting backup data, The fourth shown below The configuration can be considered.
According to this configuration The backup system is configured such that each of a plurality of terminal devices functions as a master terminal, and the backup data that has received the backup data is associated with the terminal device that has transmitted the backup data as the master terminal. When the master terminal requests the backup terminal to transmit backup data, the backup terminal specifies the terminal device that has requested the backup data as the master terminal, and corresponds to the specified terminal device. Sending backup data to the master terminal
According to the backup system configured as described above, only the backup data corresponding to the master terminal can be recovered without fail only by requesting the backup terminal to transmit the backup data from the master terminal.
[0023]
Also, According to the fifth configuration In the backup system, the master terminal monitors the network, creates a list of terminal devices that can communicate with the master terminal, and sends inquiry data to the terminal devices registered in this list. Features.
[0024]
According to the backup system configured as described above, the inquiry data is transmitted only to the terminal device registered in the list, that is, the terminal device capable of data communication with the master terminal. Can be reduced.
[0025]
Also, According to the sixth configuration The backup program is
On a network comprising a plurality of terminal devices each configured to store data using a storage device and a network line connecting the plurality of terminal devices, any one of the plurality of terminal devices In a backup system in which backup data of stored data stored by the master terminal is stored by the backup terminal, with the terminal device as a master terminal and one or more terminal devices excluding the master terminal as backup terminals.
In the terminal device to be the master terminal,
Based on the procedure for inquiring the free space of the storage area used for storing the backup data, and the free space notified from the terminal device in response to the inquiry by the procedure, two or more of the plurality of terminal devices are selected. A procedure for determining the terminal device as the backup terminal, a procedure for dividing the stored data according to the free capacity of each of the backup terminals determined by the procedure, and backup data of the data divided by the procedure A backup program for executing a procedure to be transmitted to each backup terminal.
[0026]
The terminal device controlled by such a program is According to the first configuration Part of the backup system can be configured.
In addition, when the stored data is composed of a plurality of data files in the terminal device as the master terminal, the backup program is combined with the plurality of data files into a single data, and the procedure The program may be a program for executing a procedure for dividing the combined data into the same number as the number of the backup terminals and a procedure for transmitting backup data of the data divided by the procedure to each of the backup terminals.
[0027]
The terminal device controlled by such a program is According to the second configuration Part of the backup system can be configured.
In addition, when the plurality of terminal devices are each configured to function as the master terminal, the backup program is identified so that the terminal device itself can be identified as the master terminal. A procedure for transmitting the backup data to the backup terminal with data added thereto, a procedure for requesting the backup terminal to transmit the backup data, and a request transmitted from the backup terminal in response to a request by the procedure In addition, a program for executing the procedure of receiving the backup data may be used.
[0028]
The terminal device controlled by such a program is According to the third configuration Part of the backup system can be configured.
In addition, the backup program is a procedure for monitoring the terminal device as the master terminal on the network, a procedure for creating a list of the terminal devices capable of data communication with the terminal device itself, and the procedure. It is good also as a program for performing the procedure which inquires about the said free capacity with respect to the said terminal device registered into the produced | generated list.
[0029]
The terminal device controlled by such a program is According to the fifth configuration Part of the backup system can be configured.
Also, According to the seventh configuration The backup program is
On a network comprising a plurality of terminal devices each configured to store data using a storage device and a network line connecting the plurality of terminal devices, any one of the plurality of terminal devices In a backup system in which backup data of stored data stored by the master terminal is stored by the backup terminal, with the terminal device as a master terminal and one or more terminal devices excluding the master terminal as backup terminals.
In the terminal device to be the backup terminal,
A procedure for notifying the free space to the master terminal upon receiving an inquiry about the free space from the master terminal;
A backup program for executing a procedure for storing backup data when the backup data transmitted from the master terminal is received.
[0030]
The terminal device controlled by such a program is According to the first configuration Part of the backup system can be configured.
In addition, when the backup device is requested to transmit the backup data from the master terminal to the terminal device serving as the backup terminal, the terminal device that has requested transmission of the backup data as the master terminal And a procedure for transmitting the backup data to which the identification data capable of identifying the terminal device specified by the procedure is added to the master terminal.
[0031]
The terminal device controlled by such a program is According to the third configuration Part of the backup system can be configured.
In addition, when the backup data is received from the master terminal to the terminal device that is the backup terminal, the backup program is associated with the terminal device that has transmitted the backup data as the master terminal. A procedure for storing the backup data in step (b), a procedure for specifying the terminal device that has requested the backup data as the master terminal when the master terminal requests transmission of the backup data, and It is good also as a program for performing the procedure which transmits the said backup data corresponding to the said said terminal device to the said master terminal.
[0032]
The terminal device controlled by such a program is According to the fourth configuration Part of the backup system can be configured.
As mentioned above According to the sixth and seventh configurations The backup program is distributed to users who operate the terminal device via a recording medium such as a CD-ROM or a communication line such as the Internet.
[0033]
Also, According to the eighth configuration In the backup method, when the stored data is composed of a plurality of data files, after the master terminal combines the plurality of data files into a single data, the combined data is equal to the number of the backup terminals. The backup data of the divided data may be transmitted to each of the backup terminals.
[0034]
A backup system that backs up stored data in this way According to the second configuration A backup system can be configured, and the same operations and effects as the system can be obtained.
Further, in this backup method, when each of the plurality of terminal devices is configured to function as the master terminal, the master terminal uses the identification data that can identify the terminal device that is the master terminal. In the added state, the backup data is transmitted to the backup terminal, the backup terminal receiving the backup data stores the backup data, and the master terminal transmits the backup data to the backup terminal. The backup terminal specifies the terminal device that has requested the backup data as the master terminal, and the backup data to which the identification data that can identify the specified terminal device is added. Will be sent to the master terminal It may be.
[0035]
A backup system that backs up stored data in this way According to the third configuration A backup system can be configured, and the same operations and effects as the system can be obtained.
Further, in this backup method, when each of the plurality of terminal devices is configured to function as the master terminal, the backup terminal that has received the backup data transmits the backup data as the master terminal. The backup data is stored in a state associated with the terminal device, and when the master terminal requests the backup terminal to transmit the backup data, the backup terminal serves as the master terminal. The terminal device that has requested backup data may be specified, and the backup data corresponding to the specified terminal device may be transmitted to the master terminal.
[0036]
A backup system that backs up stored data in this way According to the fourth configuration A backup system can be configured, and the same operations and effects as the system can be obtained.
Further, in this backup method, the master terminal creates a list of the terminal devices that can perform data communication with the master terminal by monitoring the network, and the terminal device registered in the list Inquiry data may be transmitted.
[0037]
A backup system that backs up stored data in this way According to the fifth configuration A backup system can be configured, and the same operations and effects as the system can be obtained.
[0038]
DETAILED DESCRIPTION OF THE INVENTION
Next, embodiments of the present invention will be described with examples.
[overall structure]
As shown in FIG. 1, the backup system 1 is configured such that each of a plurality of terminal devices 10 performs data communication using TCP / IP via a network line 100.
[0039]
The terminal device 10 is a known computer system and includes a CPU 11, a ROM 12, a RAM 13, a hard disk (hereinafter referred to as HD) 14, a display 15, a keyboard 16, a mouse 17, a communication device 18, and the like. Connected to the network line 100.
[0040]
In addition, application software for executing the following processes is incorporated in the terminal device 10.
[1. Shared setting process]
The sharing setting process executed by the terminal device 10 will be described with reference to FIG. This sharing setting process is started after an operation for displaying the sharing setting dialog is performed by the user.
[0041]
First, the terminal device 10 opens a sharing setting dialog (s11). In this process, as shown in FIG. 3, the display field i1 of the amount of data corresponding to the unused area in the entire storage area of the HD 14 (hereinafter referred to as free capacity), and the free capacity from other terminal apparatuses 10 are displayed. A common setting dialog including radio buttons i2, i3, a decision button i4, a cancel button i5, and the like for selecting whether or not to make a shared storage area accessible is displayed on the display 15. The radio buttons i2 and i3 include a radio button i2 that is selected when the free space is used as a shared storage area, and a radio button i3 that is selected when the free capacity is not used as a shared storage area. Is selected. Thus, after the sharing setting dialog is displayed, the user can perform an operation of selecting the radio button i2 or i3, an operation of selecting the decision button i4 or the cancel button i5, and the like.
[0042]
Next, the terminal device 10 stands by until an operation for selecting the determination button i4 or the cancel button i5 is performed (s12: NO).
In the process of s12, when an operation of selecting the determination button i4 is performed (s12: YES, s13: YES), the terminal device 10 sets the shared setting if the radio button i2 is selected (s14: YES). If the flag is set to “1” (s15) and the radio button i3 is selected (s14: NO), the common setting flag is set to “0” (s16). This common setting flag is set to “0” as an initial value, and is used when responding to a request from another terminal apparatus 10 in a request response process described later.
[0043]
Then, after performing the process of s15, after performing the process of s16, or when an operation for selecting the cancel button i5 is performed in the process of s12 (s12: YES, s13: NO), the terminal device 10 The sharing setting dialog is closed (s17). In this process, the display of the sharing setting dialog is deleted from the display 15. In this way, when an operation for selecting the cancel button i5 is performed, the sharing setting process ends without changing the value of the sharing setting flag.
[0044]
[2. Backup file selection process]
The backup file selection process executed by the terminal device 10 will be described with reference to FIG. This backup data selection process is started after an operation for displaying a backup file selection dialog is performed by the user.
[0045]
First, the terminal device 10 opens a backup file selection dialog (s21). In this processing, as shown in FIG. 5, a file list screen i6 that hierarchically displays a list of data files (stored data in the present invention) stored in the HD 14, a list of data files to be backed up A backup file selection dialog provided with a backup file list screen i7, an event menu i8, a close box i9, etc. is displayed on the display 15. The event menu i8 is provided in the pull-down menu.
[0046]
After the backup file selection dialog is thus displayed, the user can perform a file move operation, a file delete operation, an operation for selecting the event menu i8, an operation for selecting the close box i9, and the like. The file moving operation is an operation of moving the data file displayed in the file list screen i6 to the backup file list screen i7 side by copying and pasting with the keyboard 16, dragging and dropping with the mouse 17. . As a result, the moved file name is displayed on the backup file list screen i7. The file deletion operation is an operation for deleting the file name displayed in the backup file list screen i7 with the keyboard 16 or the mouse 17.
[0047]
Next, the terminal device 10 stands by until an operation by the user is performed (s22: NO).
When the operation performed in the process of s22 is (s22: YES) and is a file move operation (s23: YES), the terminal device 10 displays the file name of the moved data file in the backup file list screen i7. (S24), and the path name (position information indicating the storage position) of this data file is registered in the path name list (s25). The path name list is a list prepared in advance in the HD 14.
[0048]
Further, when the operation performed in the process of s22 is (s22: YES) and is a file deletion operation (s23: NO, s26: YES), the terminal device 10 passes the path of the data file having the deleted file name. The name is deleted from the path name list (s27).
[0049]
When the operation performed in the process of s22 is (s22: YES) and the event menu i8 is selected (s23: NO, s26: NO, s28: YES), the terminal device 10 displays the event setting screen. Open (s29). In this process, as shown in FIG. 6, an event setting screen including check boxes i10 and i11, a determination button i12, a cancel button i13, and the like is displayed on the display 15. Thus, after the event setting screen is displayed, the user can perform an operation of selecting the check boxes i10 and i11, an operation of selecting the decision button i12 or the cancel button i13, and the like. The check box is used to determine the timing for starting backup data transmission processing, which will be described later, and is selected when the backup data transmission processing is started when the terminal device 10 is activated (after power ON). And a check box i11 that is selected when the backup data transmission process is started when the terminal device 10 is terminated (before the power is turned off).
[0050]
Next, the terminal device 10 stands by until an operation for selecting the determination button i12 or the cancel button i13 is performed (s30: NO).
In the process of s30, when an operation for selecting the determination button i12 is performed (s30: YES, s31: YES), the terminal device 10 determines the start timing flag and end according to the selection contents of the check boxes i10 and i11. A predetermined value is set in the timing flag (s32). In this process, if the check box i10 is selected, “1” is set to the start timing flag, and if the check box i11 is selected, “1” is set to the end timing flag. The start and end timing flags are both set to “0” as an initial value. Thus, after the terminal device 10 is activated after the activation timing flag is set to “1”, the terminal device 10 starts backup data transmission processing described later. Also, after the end timing flag is set to “1”, the backup data transmission process starts immediately before the terminal device 10 ends.
[0051]
Thus, after finishing the process of s32 or when an operation for selecting the cancel button i13 is performed in the process of s30 (s30: YES, s31: NO), the terminal device 10 closes the event setting screen (s33). ). In this process, the event setting screen display is erased from the display 15.
[0052]
After finishing the process of s25, the process of s27, or the process of s33, the process returns to the process of s22.
When the operation executed in the process of s22 is (s22: YES) and is an operation for selecting the close box i9 (s23: NO, s26: NO, s28: NO), the terminal device 10 displays the backup file selection dialog. Is closed (s34). In this process, the display of the backup file selection dialog is deleted from the display 15.
[0053]
[3. Network monitoring process]
A network monitoring process executed by the terminal device 10 will be described with reference to FIG. This network monitoring process is repeatedly executed every predetermined time (30 seconds in the present embodiment) after the terminal device 10 is activated and after the keyboard 16 or the mouse 17 can be operated.
[0054]
First, the terminal device 10 collects the IP addresses of the terminal devices 10 existing on the network (s41). In this process, the terminal device 10 transmits (broadcasts) address request data for requesting notification of an IP address to all the terminal devices 10 on the network. Each terminal device 10 that has received the address request data transmits address response data that can specify the IP address of the terminal device 10 itself. Then, after receiving the address response data, the terminal device 10 collects the IP addresses included in the address response data.
[0055]
Next, the terminal device 10 collects the IP addresses of the terminal devices 10 whose free space in the HD 14 is a shared storage area (s42). In this process, the terminal apparatus 10 first transmits sharing confirmation data for confirming whether the free space is a shared storage area to the terminal apparatus 10 having the IP address collected in the process of s41. Among the terminal devices 10 that have received this sharing confirmation data, from the terminal device 10 whose shared setting flag is set to “1” in the sharing setting process (the process of s15 or the process of s16) in FIG. Shared notification data capable of specifying 10 IP addresses is transmitted. The terminal device 10 receives only the shared notification data transmitted within a predetermined time (5 seconds in the present embodiment), and determines the IP address specified by the shared notification data as a storage area having a shared free capacity. Is collected as the IP address of the terminal device 10.
[0056]
Then, the terminal device 10 registers the IP address collected in the process of s42 in the address list (s43). This address list is a list prepared in advance in the HD 14, and is used when inquiring about free space in backup data transmission processing to be described later.
[0057]
[4. Backup data transmission process]
The backup data transmission process executed by the terminal device 10 will be described with reference to FIG. This backup data transmission process is started when the terminal device 10 is started and the end timing flag is “1” when the start timing flag is “1” based on the values set in the start and end timing flags. In this case, it is started when the terminal device 10 is terminated.
[0058]
First, the terminal device 10 inquires of the terminal device 10 of all IP addresses registered in the address list about the free capacity in the HD 14 (s51). In this process, free space inquiry data for inquiring free space is transmitted to each terminal device 10 having an IP address registered in the address list. The terminal device 10 that has received the free space inquiry data transmits free space response data (notification data in the present invention) that can specify the IP address and free space of the terminal device 10.
[0059]
Next, the terminal device 10 receives the free space response data (s52).
Next, the terminal device 10 creates a data table in which the IP address and the free space specified by each free space response data are registered based on all the free space response data received in the process of s52 (s53). . In this process, a data table is created based on the free capacity response data transmitted within a predetermined time (5 seconds in the present embodiment) after the free capacity inquiry data is transmitted in the process of s51. . Thus, the terminal device 10 having the IP address registered in the data table is determined as the terminal device 10 to which backup data is to be transmitted in the subsequent processing.
[0060]
In parallel with the processing from s51 to s53, the terminal device 10 first archives all the data files of the path names registered in the path name list (s54). In this process, the terminal device 10 duplicates the data files of all the path names registered in the path name list, and compresses each duplicated data using a well-known compression algorithm, thereby combining the combined single files. Create archive data for.
[0061]
Next, the terminal device 10 creates encrypted data by encrypting the archive data created in the process of s54 (s55). In this process, archive data is encrypted by a known encryption method.
Thus, after finishing the process of s53 and the process of s55, the terminal device 10 divides the encryption data created by the process of s55 to create backup data (s56). In this process, the encrypted data is divided according to the free space registered in the data table. Specifically, when the ratio of the free capacity registered in the data table is 1: 2: 3, the archive data is also divided so that the ratio is 1: 2: 3. Thus, backup data is created for each free capacity registered in the data table, that is, for each terminal device 10 having an IP address corresponding to each free capacity.
[0062]
Next, the terminal device 10 adds identification data that can identify the IP address of the terminal device 10 itself to the backup data created in the process of s56 (s57).
Then, the terminal device 10 transmits backup data to which identification data is added in the process of s57 (s58). In this processing, backup data is transmitted toward the terminal device 10 of each IP address registered in the data table. In the terminal device 10 that has received this backup data, this backup data is stored in the HD 14.
[0063]
[5. Data restoration process]
Data restoration processing executed by the terminal device 10 will be described with reference to FIG. This data restoration process is started after an operation for displaying a data restoration dialog is performed.
[0064]
First, the terminal device 10 opens a data restoration dialog (s61). In this process, a data restoration dialog provided with a restoration start button and the like is displayed on the display 15. Thus, after the data restoration dialog is displayed, the user can perform an operation of selecting a restoration start button.
[0065]
Next, the terminal device 10 stands by until an operation for selecting a restoration start button is performed (s62: NO).
If an operation for selecting a restoration start button is performed in the process of s62 (s62: YES), the terminal device 10 requests transmission of backup data (s63). In this process, the terminal device 10 transmits transmission request data for requesting transmission of backup data, which can specify the IP address of the terminal device 10, to all the terminal devices 10 on the network ( Broadcast). Backup data is transmitted from each terminal device 10 that has received the transmission request data.
[0066]
Next, the terminal device 10 receives backup data (s64).
Next, the terminal device 10 combines the backup data received in the process of s64 and restores the encrypted data (s65). In this process, the encrypted data created in the process of s55 in FIG. 8 is restored.
[0067]
Next, the terminal device 10 decrypts the encrypted data restored in the process of s65 and restores the archive data (s66). In this process, the archive data created in the process of s54 in FIG. 8 is restored by decrypting the encrypted data with the same encryption method as in the process of s55 in FIG.
[0068]
Then, the terminal apparatus 10 cancels archiving of the archive data restored in the process of s66 and restores a plurality of data files (s67). In this process, the archive data restored in the process of s66 is expanded to restore each data file of the path name registered in the path name list when the process of s54 in FIG. 8 is performed.
[0069]
[6. Request response processing]
Request response processing executed by the terminal device 10 will be described with reference to FIG. This request response process is started after the terminal device 10 receives data addressed to itself via the network. Hereinafter, the terminal device 10 that executes the request response process will be described as the backup terminal 10, and the terminal device 10 that has transmitted data to the backup terminal 10 will be described as the master terminal 10.
[0070]
First, when the received data is address request data (s71: YES), the backup terminal 10 transmits address response data that can specify the IP address of the backup terminal 10 itself to the master terminal 10 (s72). The address request data is transmitted from the master terminal 10 in the process of s41 in FIG. 7, and the address response data is received by the master terminal 10 in the process of s41 in FIG.
[0071]
Further, when the received data is sharing confirmation data (s71: NO, s73: YES), the backup terminal 10 checks the value set in the sharing setting flag (s74). The sharing confirmation data is transmitted from the master terminal 10 in the process of s42 in FIG. Further, the common setting flag is set to “1” or “0” in the process of s15 or s16 in FIG.
[0072]
In the process of s74, when “1” is set in the sharing setting flag (s74: YES), the backup terminal 10 transmits sharing notification data to the master terminal 10 (s75). The shared notification data is data for notifying that the free capacity is set as a shared storage area, and is data that can specify the IP address of the backup terminal 10 itself. The shared notification data is received by the master terminal 10 in the process of s42 in FIG.
[0073]
Further, when the received data is the free space request data (s71: NO, s73: NO, s76: YES), the backup terminal 10 transmits free space response data to the master terminal 10 (s77). The free space request data is transmitted from the master terminal 10 in the process of s51 in FIG. The free space response data is data that can specify the free space of the HD 14 included in the backup terminal 10 and the IP address of the backup terminal 10 itself. The free space response data is received by the master terminal 10 in the process of s52 in FIG.
[0074]
Further, when the received data is backup data (s71: NO, s73: NO, s76: NO, s78: YES), the backup terminal 10 stores the backup data in the HD 14 (s79). The backup data is transmitted from the master terminal 10 in the process of s58 in FIG.
[0075]
Further, when the received data is transmission request data (s71: NO, s73: NO, s76: NO, s78: NO), the backup terminal 10 searches for backup data to be transmitted (s80). In this process, backup data to be transmitted to the master terminal 10 is searched based on the identification data added to the backup data. Note that the backup data was previously stored in the HD 14 when the process of s79 in the request response process was executed previously. Identification data that can identify the IP address is added to the backup data. This identification data is the IP address of the terminal device 10 that has transmitted the backup data as the master terminal 10 in the process of s58 in FIG. Further, the transmission request data can identify the IP address of the terminal device 10 that has transmitted the transmission request data as the master terminal 10. Therefore, the backup terminal 10 transmits backup data in which the IP address identified by the identification data matches the IP address identified by the transmission request data from the backup data stored in the HD 14 to the master terminal 10. Search as backup data.
[0076]
Then, the backup terminal 10 transmits the backup data detected in the process of s80 to the master terminal 10 (s81). This backup data is received by the master terminal 10 in the process of s64 in FIG.
Thus, after completion of any of the processes of s72, s75, s77, s79 and s81, or in the process of s74, the common setting flag is set to “0”. In the case (s74: NO), this request response process is terminated.
[0077]
[effect]
According to the backup system 1 configured as described above, after the data file is archived by the terminal device 10 in the process of s54 in FIG. 8, the free space is registered in the data table created in the process of s53. Accordingly, data obtained by dividing the archive data is created as backup data. Therefore, even when the terminal device 10 having a free space equal to or larger than the data amount corresponding to the archive data does not exist on the network, the user performs an operation of creating a plurality of backup data having a data amount smaller than the archive data. There is no need to do it. Therefore, the data file can be easily backed up as compared with a configuration in which a part of the storage area of the terminal device is a shared storage area.
[0078]
In particular, after the data file is archived in the process of s54, the archive data is divided in the process of s56, so that each data file cannot be restored only from the divided data. Thereby, the user who operates the terminal device 10 does not know the contents of the backup data stored in the terminal device 10 and can improve the confidentiality of the backup data.
[0079]
Further, in the process of s63 in FIG. 9, when the terminal device 10 requests transmission of backup data, only backup data to which identification data that can identify the terminal device 10 is added is definitely collected (received). can do.
[0080]
Further, in the process of s51 in FIG. 8, the terminal device 10 inquires of the terminal device 10 of all IP addresses registered in the address list about the free capacity in the HD 14. Since this address list is a list in which the IP addresses of the terminal devices 10 whose free capacity is a shared storage area are registered, inquiry data only to the terminal apparatus 10 whose free capacity is a shared storage area. Will be sent. Therefore, the load on the network can be reduced. In addition, when terminal devices that do not incorporate the application software for executing the processes 1 to 6 described above are connected to the network line 100, inquiry data is not transmitted to these terminal devices. The load on can be further reduced.
[0081]
[Modification]
As mentioned above, although embodiment of this invention was described, this invention is not limited to said specific embodiment, It can implement with a various form besides this.
For example, in the present embodiment, an example in which an IP address is used to identify each terminal device 10 is illustrated, but a MAC address of the terminal device 10 is used to identify each terminal device 10. It may be configured. In this case, the description of “IP address” in this embodiment is read as “MAC address”. The data used for specifying each terminal device 10 is not limited to the IP address or the MAC address, but is configured to use a code assigned to each terminal device 10 in advance. May be.
[0082]
In the present embodiment, a predetermined storage area among the unused areas in the entire storage area of the HD 14 is secured as a storage area for storing backup data, and the unused area in the backup storage area is reserved. May be set as “free space”.
[0083]
Further, in the present embodiment, the backup data transmission process of FIG. 8 is illustrated as being configured to start based on the values set in the start and end timing flags. However, conditions other than the values of the start and end timing flags may be used as conditions for starting the backup data transmission process. For example, in the sharing setting process of FIG. 2, a schedule menu is provided in the sharing setting dialog, and when the schedule menu is selected, an operation for inputting a schedule (daily, weekly, monthly) and time can be executed. What is necessary is just to comprise so that a backup data transmission process may be started according to this input schedule.
[0084]
In this embodiment, the free capacity and the IP address are registered in the data table in the process of s53 in FIG. 8, and the terminal device 10 having this IP address is determined as the terminal device 10 to which backup data is to be transmitted. The example was illustrated. However, in this processing of s53, the free capacity that is equal to or greater than a predetermined threshold and the IP address corresponding to this free capacity may be registered in the data table. Further, it may be configured to register up to a predetermined number of free capacities and IP addresses corresponding to the free capacities in the data table in descending order. In this case, even if free capacity response data is received from a large number of terminal devices 10 in the process of s52 in FIG. 8, a large number of backup data is not created. For this reason, the number of destination terminal devices 10 to which backup data is transmitted is smaller than that in the case where backup data is transmitted to all the terminal devices 10 that are the transmission source of the free space response data (processing of s58), and this is added to the network. Can be reduced.
[0085]
In the present embodiment, the terminal device (master terminal) 10 is configured to transmit backup data to which identification data is added in the process of s58 in FIG. However, in this process, it is also conceivable that the master terminal 10 transmits backup data without adding identification data (without performing the process of s57). Specifically, first, the backup terminal 10 that has received the backup data extracts the source IP address or the source MAC address from the header area of the packet that includes the backup data in the data area in the process of s79 in FIG. Backup data is stored in association with the extracted source IP address or source MAC address. Then, the backup terminal 10 may be configured to search for backup data corresponding to the IP address specified by the transmission request data when searching for backup data in the process of s80 in FIG. If configured in this way, in the process of s63 in FIG. 9, the master terminal 10 will definitely collect (receive) only the backup data corresponding to the tartan 10 by requesting the transmission of the backup data. Can do.
[Brief description of the drawings]
FIG. 1 is a diagram showing the overall configuration of a backup system
FIG. 2 is a flowchart showing a processing procedure for sharing setting processing;
FIG. 3 shows a sharing setting dialog.
FIG. 4 is a flowchart showing a processing procedure for backup file selection processing;
FIG. 5 shows a backup file selection dialog.
FIG. 6 shows an event setting screen.
FIG. 7 is a flowchart showing a processing procedure for network monitoring processing;
FIG. 8 is a flowchart showing a processing procedure for backup data transmission processing;
FIG. 9 is a flowchart showing a processing procedure for data restoration processing;
FIG. 10 is a flowchart showing a processing procedure for request response processing;
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 ... Backup system, 10 ... Terminal device, 11 ... CPU, 12 ... ROM, 13 ... RAM, 15 ... Display, 16 ... Keyboard, 17 ... Mouse, 18: Communication device.

Claims (9)

それぞれが記憶装置を利用してデータを記憶可能に構成された複数の端末装置と、該複数の端末装置間を結ぶネットワーク回線とを備えてなるネットワーク上で、前記複数の端末装置のうちいずれかの端末装置をマスター端末とし、該マスター端末を除く端末装置をバックアップ端末として、前記マスター端末により記憶されている記憶済データのバックアップデータを、前記バックアップ端末によって記憶させるバックアップシステムであって、
前記マスター端末が、当該マスター端末の起動時または終了時に、容量問い合わせ手段により、前記バックアップデータの記憶に利用する記憶領域の空き容量(記憶領域全体に占める未使用領域に相当するデータ量)を問い合わせるための問い合わせデータを前記端末装置に送信して、
前記問い合わせデータを受信した前記端末装置が、容量通知手段により、前記空き容量を通知するための通知データを前記マスター端末に送信して、
前記通知データを受信した前記マスター端末が、当該マスター端末の起動時または終了時に、端末決定手段によって、当該通知データにより通知された前記空き容量に基づき、前記記録済データにおける少なくとも一部データを記憶可能な空き容量を有する前記端末装置を前記バックアップ端末として決定し、データ送信手段により、該決定した前記バックアップ端末に前記記録済データにおけるその空き容量に応じたデータのバックアップデータを送信して、
該バックアップデータを受信した前記バックアップ端末である前記端末装置が、データ記憶手段により、当該受信した前記バックアップデータを記憶する
ことを特徴とするバックアップシステム。
On a network comprising a plurality of terminal devices each configured to store data using a storage device and a network line connecting the plurality of terminal devices, any one of the plurality of terminal devices A backup system for storing backup data of stored data stored by the master terminal by using the backup terminal as a master terminal and a terminal device excluding the master terminal as a backup terminal,
When the master terminal is activated or terminated , the master terminal inquires about the free capacity of the storage area used for storing the backup data (the amount of data corresponding to the unused area in the entire storage area) by the capacity inquiry means. Inquiry data for sending to the terminal device,
The terminal device that has received the inquiry data transmits notification data for notifying the free space to the master terminal by a capacity notification means,
The master terminal that has received the notification data stores at least a part of the recorded data based on the free space notified by the notification data by the terminal determination unit when the master terminal is activated or terminated. The terminal device having a possible free capacity is determined as the backup terminal, and the data transmission means transmits backup data of data corresponding to the free capacity in the recorded data to the determined backup terminal,
The backup system, wherein the terminal device, which is the backup terminal that has received the backup data, stores the received backup data by data storage means.
前記通知データを受信した前記マスター端末が、前記端末決定手段によって、当該通知データにより通知された前記空き容量に基づいて前記複数の端末装置の中から2以上の前記端末装置を前記バックアップ端末として決定し、前記データ分割手段によって、該決定した前記バックアップ端末それぞれの前記空き容量の比率に合わせて前記記憶済データを分けて、該分けたデータのバックアップデータを前記データ送信手段により前記バックアップ端末それぞれに送信する
ことを特徴とする請求項2に記載のバックアップシステム。
The master terminal that has received the notification data determines, as the backup terminal, two or more terminal devices from among the plurality of terminal devices based on the available capacity notified by the notification data by the terminal determination unit. Then, the stored data is divided according to the determined ratio of the free capacity of each backup terminal by the data dividing means, and the backup data of the divided data is assigned to each backup terminal by the data transmitting means. The backup system according to claim 2, wherein the backup system is transmitted.
前記記憶済データが複数のデータファイルからなり、
前記マスター端末が、データ結合手段により、前記複数のデータファイルを単一のデータに結合した後、前記データ分割手段により、該結合したデータを前記バックアップ端末の数と同じ数に分割し、前記データ送信手段により、該分割したデータのバックアップデータを前記バックアップ端末それぞれに送信する
ことを特徴とする請求項2に記載のバックアップシステム。
The stored data consists of a plurality of data files,
After the master terminal combines the plurality of data files into a single data by data combining means, the data dividing means divides the combined data into the same number as the number of backup terminals, and the data The backup system according to claim 2, wherein the backup data of the divided data is transmitted to each of the backup terminals by a transmission means.
前記複数の端末装置それぞれが前記マスター端末として機能するように構成されており、
前記マスター端末が、前記データ送信手段により、該マスター端末とされた前記端末装置を識別可能な識別データを前記バックアップデータに付加した状態で該バックアップデータを前記バックアップ端末に送信して、
前記バックアップデータを受信した前記バックアップ端末が、前記データ記憶手段により、当該バックアップデータを記憶しておき、
前記マスター端末が、データ要求手段により、前記バックアップデータの送信を前記バックアップ端末に対して要求すると、
該要求を受けたバックアップ端末が、端末特定手段により、前記マスター端末として前記バックアップデータを要求してきた前記端末装置を特定し、データ返信手段により、該特定した前記端末装置を識別可能な前記識別データの付加されている前記バックアップデータを前記マスター端末に送信する
ことを特徴とする請求項2または請求項3に記載のバックアップシステム。
Each of the plurality of terminal devices is configured to function as the master terminal,
The master terminal transmits the backup data to the backup terminal in a state where identification data capable of identifying the terminal device as the master terminal is added to the backup data by the data transmission means,
The backup terminal that has received the backup data stores the backup data by the data storage means,
When the master terminal requests the backup terminal to transmit the backup data by data request means,
The identification data that allows the backup terminal that has received the request to identify the terminal device that has requested the backup data as the master terminal by the terminal identification unit, and to identify the identified terminal device by the data return unit 4. The backup system according to claim 2, wherein the backup data to which is added is transmitted to the master terminal. 5.
前記複数の端末装置それぞれが前記マスター端末として機能するように構成されており、
前記バックアップデータを受信した前記バックアップ端末が、前記データ記憶手段により、前記マスター端末として当該バックアップデータを送信してきた前記端末装置に対応づけた状態で当該バックアップデータを記憶しておき、
前記マスター端末が、データ要求手段により、前記バックアップデータの送信を前記バックアップ端末に対して要求すると、
該要求を受けたバックアップ端末が、端末特定手段により、前記マスター端末として前記バックアップデータを要求してきた前記端末装置を特定し、データ返信手段により、該特定した前記端末装置に対応する前記バックアップデータを前記マスター端末に送信する
ことを特徴とする請求項2から4のいずれかに記載のバックアップシステム。
Each of the plurality of terminal devices is configured to function as the master terminal,
The backup terminal that has received the backup data stores the backup data in a state associated with the terminal device that has transmitted the backup data as the master terminal by the data storage means,
When the master terminal requests the backup terminal to transmit the backup data by data request means,
The backup terminal that has received the request specifies the terminal device that has requested the backup data as the master terminal by means of terminal specifying means, and the backup data corresponding to the specified terminal device is determined by the data return means. The backup system according to claim 2, wherein the backup system transmits to the master terminal.
前記マスター端末は、タイミング設定手段により、ユーザの操作を受けて前記容量問い合わせ手段による問い合わせデータの送信タイミングを設定して、該設定された送信タイミングにて前記容量問い合わせ手段が前記問い合わせデータを送信する
ことを特徴とする請求項1から5のいずれかに記載のバックアップシステム。
The master terminal receives the operation of the user by the timing setting means, sets the inquiry data transmission timing by the capacity inquiry means, and the capacity inquiry means transmits the inquiry data at the set transmission timing. The backup system according to any one of claims 1 to 5, wherein:
前記マスター端末が、リスト作成手段によって、ネットワーク上を監視し、空き容量が共有の記憶領域となっている旨を通知すべく共有通知データを送信してきた前記端末装置のリストを作成しており、前記容量問い合わせ手段によって、該リストに登録されている前記端末装置に対して前記問い合わせデータを送信する
ことを特徴とする請求項1から請求項6のいずれかに記載のバックアップシステム。
The master terminal monitors the network by list creation means, creates a list of the terminal devices that have transmitted the sharing notification data to notify that the free capacity is a shared storage area, The backup system according to any one of claims 1 to 6, wherein the inquiry data is transmitted to the terminal device registered in the list by the capacity inquiry means.
それぞれが記憶装置を利用してデータを記憶可能に構成された複数の端末装置と、該複数の端末装置間を結ぶネットワーク回線とを備えてなるネットワーク上で、前記複数の端末装置のうちいずれかの端末装置をマスター端末とし、該マスター端末を除く端末装置をバックアップ端末として、前記マスター端末により記憶されている記憶済データのバックアップデータを、前記バックアップ端末によって記憶させるバックアップシステムにおいて、
前記マスター端末とされる前記端末装置に、
当該マスター端末の起動時または終了時に前記バックアップデータの記憶に利用する記憶領域の空き容量(記憶領域全体に占める未使用領域に相当するデータ量)を問い合わせる手順と、
該手順による問い合わせに応じて前記端末装置から通知された前記空き容量に基づいて、前記記録済データにおける少なくとも一部データを記憶可能な空き容量を有する前記端末装置を前記バックアップ端末として決定する手順と、
該手順により決定された前記バックアップ端末それぞれに前記記録済データにおけるその空き容量に応じたデータのバックアップデータを送信する手順と、
を実行させるためのバックアップ用プログラム。
On a network comprising a plurality of terminal devices each configured to store data using a storage device and a network line connecting the plurality of terminal devices, any one of the plurality of terminal devices In the backup system that stores the backup data of the stored data stored by the master terminal as the master terminal, the terminal device other than the master terminal as a backup terminal, and stored by the backup terminal,
In the terminal device to be the master terminal,
A procedure for inquiring about the free capacity of the storage area used for storing the backup data (data amount corresponding to the unused area in the entire storage area) at the time of starting or ending the master terminal;
A procedure for determining, as the backup terminal, the terminal device having a free capacity capable of storing at least a part of the recorded data based on the free space notified from the terminal device in response to an inquiry by the procedure; ,
A procedure of transmitting backup data of data corresponding to the free space in the recorded data to each of the backup terminals determined by the procedure;
Backup program for running
それぞれが記憶装置を利用してデータを記憶可能に構成された複数の端末装置と、該複数の端末装置間を結ぶネットワーク回線とを備えてなるネットワーク上で、前記複数の端末装置のうちいずれかの端末装置をマスター端末とし、該マスター端末を除く端末装置をバックアップ端末として、前記マスター端末により記憶されている記憶済データのバックアップデータを、前記バックアップ端末によって記憶させるバックアップ方法であって、
前記マスター端末が、当該マスター端末の起動時または終了時に、前記バックアップデータの記憶に利用する記憶領域の空き容量(記憶領域全体に占める未使用領域に相当するデータ量)を問い合わせるための問い合わせデータを前記端末装置に送信して、
前記問い合わせデータを受信した前記端末装置が、前記空き容量を通知するための通知データを前記マスター端末に送信して、
前記通知データを受信した前記マスター端末が、当該マスター端末の起動時または終了時に、当該通知データにより通知された前記空き容量に基づいて、前記記録済データにおける少なくとも一部データを記憶可能な空き容量を有する前記端末装置を前記バックアップ端末として決定し、該決定した前記バックアップ端末それぞれに前記記録済データにおけるその空き容量に応じたデータのバックアップデータを送信して、
該バックアップデータを受信した前記バックアップ端末である前記端末装置が、当該受信した前記バックアップデータを記憶する
ことを特徴とするバックアップ方法。
On a network comprising a plurality of terminal devices each configured to store data using a storage device and a network line connecting the plurality of terminal devices, any one of the plurality of terminal devices A backup method for storing backup data of stored data stored in the master terminal by the backup terminal, with the terminal device as a master terminal and a terminal device excluding the master terminal as a backup terminal,
Inquiry data for inquiring the free capacity of the storage area used for storing the backup data (data amount corresponding to the unused area in the entire storage area) when the master terminal is started or terminated Send to the terminal device,
The terminal device that has received the inquiry data transmits notification data for notifying the free space to the master terminal,
The master terminal that has received the notification data, the master terminal to start or termination, the based on the free space notified by the notification data, the recording idle capable of storing at least some data in the already-data capacity The terminal device having the data is determined as the backup terminal, and backup data of data corresponding to the free space in the recorded data is transmitted to each of the determined backup terminals,
The backup method, wherein the terminal device that is the backup terminal that has received the backup data stores the received backup data.
JP2002049789A 2002-02-26 2002-02-26 Backup system, backup program and backup method Expired - Fee Related JP4198920B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002049789A JP4198920B2 (en) 2002-02-26 2002-02-26 Backup system, backup program and backup method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002049789A JP4198920B2 (en) 2002-02-26 2002-02-26 Backup system, backup program and backup method

Publications (2)

Publication Number Publication Date
JP2003248607A JP2003248607A (en) 2003-09-05
JP4198920B2 true JP4198920B2 (en) 2008-12-17

Family

ID=28662210

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002049789A Expired - Fee Related JP4198920B2 (en) 2002-02-26 2002-02-26 Backup system, backup program and backup method

Country Status (1)

Country Link
JP (1) JP4198920B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3804389A4 (en) * 2018-05-25 2021-06-23 Telefonaktiebolaget LM Ericsson (publ) Dynamic backup amf determination and publication

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4713843B2 (en) * 2004-04-15 2011-06-29 株式会社日立製作所 Backup method
AT501011B1 (en) * 2004-09-13 2006-10-15 Polynet It Dienstleistungs G M GAME CONSOLE
CN100452218C (en) * 2005-06-10 2009-01-14 技嘉科技股份有限公司 Hard disk data backup method
JP4820620B2 (en) * 2005-10-28 2011-11-24 株式会社日立製作所 Data distribution management system
SE533007C2 (en) 2008-10-24 2010-06-08 Ilt Productions Ab Distributed data storage
JP5396836B2 (en) * 2008-12-01 2014-01-22 富士通株式会社 Data distribution control program, storage management program, control node, and disk node
EP2712149B1 (en) 2010-04-23 2019-10-30 Compuverde AB Distributed data storage
US8997124B2 (en) 2011-09-02 2015-03-31 Compuverde Ab Method for updating data in a distributed data storage system
US8769138B2 (en) 2011-09-02 2014-07-01 Compuverde Ab Method for data retrieval from a distributed data storage system
US9021053B2 (en) 2011-09-02 2015-04-28 Compuverde Ab Method and device for writing data to a data storage system comprising a plurality of data storage nodes
US8645978B2 (en) 2011-09-02 2014-02-04 Compuverde Ab Method for data maintenance
US9626378B2 (en) 2011-09-02 2017-04-18 Compuverde Ab Method for handling requests in a storage system and a storage node for a storage system
US8650365B2 (en) 2011-09-02 2014-02-11 Compuverde Ab Method and device for maintaining data in a data storage system comprising a plurality of data storage nodes
WO2015194500A1 (en) * 2014-06-20 2015-12-23 株式会社ニコン Information storage device, information storage system, and information storage control program
JP6330528B2 (en) * 2014-07-04 2018-05-30 富士通株式会社 Data division control program, data division control method, and data division control device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3804389A4 (en) * 2018-05-25 2021-06-23 Telefonaktiebolaget LM Ericsson (publ) Dynamic backup amf determination and publication
US11418979B2 (en) 2018-05-25 2022-08-16 Telefonaktiebolaget Lm Ericsson (Publ) Dynamic backup AMF determination and publication

Also Published As

Publication number Publication date
JP2003248607A (en) 2003-09-05

Similar Documents

Publication Publication Date Title
JP4198920B2 (en) Backup system, backup program and backup method
EP2803006B1 (en) Cloud-based distributed data system
US8667273B1 (en) Intelligent file encryption and secure backup system
JP2002501254A (en) Access to content addressable data over a network
US7831959B1 (en) Method and apparatus to manage configuration for multiple file server appliances
WO2013117085A1 (en) Method, device and system for realizing video retrieval
JP2008033912A (en) Method and device of continuous data protection for nas
KR101623742B1 (en) Method and system for sharing file related messages
JP4958951B2 (en) Content collection
JP2011527799A (en) Personal information file management tool
US9390101B1 (en) Social deduplication using trust networks
KR20080005571A (en) Apparatus, method and system for restoring files
JP2000200208A (en) Method and device for file backup, and program recording medium
WO2010057377A1 (en) Headend equipment, video recording file backup method and control method, device and system
JP3554134B2 (en) Network connection path search method, computer, network system, and storage medium.
US7827145B1 (en) Leveraging client redundancy on restore
WO2013065544A1 (en) Data distribution management system
TW201227268A (en) Data backup system and data backup and retrival method
JP2008225740A (en) Information processor and information processing method
US20130107882A1 (en) Management apparatus, management method, and computer-readable medium
JP5061671B2 (en) Arithmetic program, distributed processing program, distributed processing system, and arithmetic processing method
JP4498012B2 (en) Electronics
US7590627B2 (en) Arrangement for processing data files in connection with a terminal
WO2009097718A1 (en) A method, device and system for associating content and category
US11461187B2 (en) Protecting large distributed file systems

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050106

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080401

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080508

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20080610

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080718

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20080819

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: 20080909

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20081002

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

Free format text: PAYMENT UNTIL: 20111010

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20111010

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20131010

Year of fee payment: 5

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees