JP6597315B2 - File synchronization system, terminal device, file synchronization method, and file synchronization program - Google Patents

File synchronization system, terminal device, file synchronization method, and file synchronization program Download PDF

Info

Publication number
JP6597315B2
JP6597315B2 JP2016000550A JP2016000550A JP6597315B2 JP 6597315 B2 JP6597315 B2 JP 6597315B2 JP 2016000550 A JP2016000550 A JP 2016000550A JP 2016000550 A JP2016000550 A JP 2016000550A JP 6597315 B2 JP6597315 B2 JP 6597315B2
Authority
JP
Japan
Prior art keywords
file
nas
unit
synchronization
stored
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2016000550A
Other languages
Japanese (ja)
Other versions
JP2017122978A (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.)
Buffalo Inc
Original Assignee
Buffalo 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 Buffalo Inc filed Critical Buffalo Inc
Priority to JP2016000550A priority Critical patent/JP6597315B2/en
Publication of JP2017122978A publication Critical patent/JP2017122978A/en
Application granted granted Critical
Publication of JP6597315B2 publication Critical patent/JP6597315B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Description

本発明は、ファイル同期システム、端末装置、ファイル同期方法、及び、ファイル同期プログラムに関する。   The present invention relates to a file synchronization system, a terminal device, a file synchronization method, and a file synchronization program.

スマートフォンやタブレット端末等の普及に伴い、インターネットを利用してストレージサービスを提供するサービスプロバイダが増えている。このストレージサービスは、ユーザによって予め登録されたアカウント情報を用いてユーザ認証を行うことで、ユーザ毎に確保された記憶領域の利用が可能となるウェブサービスである。特許文献1及び特許文献2には、このようなストレージサービスを利用したシステムが記載されている。   With the spread of smartphones and tablet terminals, service providers that provide storage services using the Internet are increasing. This storage service is a web service that enables the use of a storage area reserved for each user by performing user authentication using account information registered in advance by the user. Patent Documents 1 and 2 describe systems that use such storage services.

特許文献1には、文書ファイル、音ファイル、画像ファイル、又は、動画ファイル等の各種ファイルを記憶するための記憶装置としての2つのNAS(Network Attached Storage)と、DDNS(Dynamic Domain Name System)サービスを提供するDDNSサーバと、ストレージサービスを提供するサービスサーバとがインターネットを介して接続されたシステムが記載されている。   Patent Document 1 discloses two NAS (Network Attached Storage) and DDNS (Dynamic Domain Name System) services as storage devices for storing various files such as document files, sound files, image files, and moving image files. A system is described in which a DDNS server that provides a storage service and a service server that provides a storage service are connected via the Internet.

特許文献1に記載されたシステムでは、DDNSサーバを利用して2つのNAS間で通信を行ってNAS間でのファイルの同期の準備が行われる。具体的には、DDNSサーバは、2つのNASの一方からIPアドレス等の通知を受けると、2つのNASの他方に対してこのIPアドレスを通知する。そして、このIPアドレスを利用して2つのNAS間での直接通信によって、ファイル同期の準備が行われる。   In the system described in Patent Document 1, communication between two NAS is performed using a DDNS server to prepare for file synchronization between NAS. Specifically, when the DDNS server receives a notification of an IP address or the like from one of the two NASs, the DDNS server notifies this IP address to the other of the two NASs. Then, preparation for file synchronization is performed by direct communication between the two NAS using this IP address.

この準備の完了後は、2つのNASの一方に記憶されたファイルがサービスサーバに記憶され、サービスサーバに記憶されたこのファイルが2つのNASの他方により取得されて記憶されることで、ファイルの同期が行われる。   After completion of this preparation, the file stored in one of the two NASs is stored in the service server, and this file stored in the service server is acquired and stored by the other of the two NASs. Synchronization is done.

特許文献2には、複数の端末装置と、ストレージサービスを提供するサービスサーバとがインターネットを介して接続されたシステムが記載されている。   Patent Document 2 describes a system in which a plurality of terminal devices and a service server that provides a storage service are connected via the Internet.

特許文献2に記載されたシステムでは、各端末装置とサービスサーバにそれぞれ同期記憶領域が設けられており、任意の端末装置の同期記憶領域に記憶されているファイルが変更されると、この変更に同期してサービスサーバの同期記憶領域のファイルが変更される。そして、このサービスサーバのファイルの変更に同期して、他の端末装置の同期記憶領域のファイルが変更される。   In the system described in Patent Document 2, each terminal device and the service server are provided with a synchronous storage area. When a file stored in the synchronous storage area of an arbitrary terminal device is changed, the change is made. Synchronously, the file in the synchronous storage area of the service server is changed. Then, in synchronization with the change of the file of the service server, the file of the synchronous storage area of the other terminal device is changed.

特開2014−099054号公報JP 2014-099054 A 特開2015−207081号公報JP, 2015-207081, A

特許文献1及び2に記載されたシステムのように、ストレージサービスを利用することで、企業や学校等のグループで複数のNASを運用し、この複数のNASを遠隔地に配置する場合であっても、複数のNAS間でのデータ同期やデータのバックアップを容易に実現することが可能である。   As in the systems described in Patent Documents 1 and 2, a storage service is used to operate a plurality of NAS in a group such as a company or a school, and the plurality of NAS are arranged in a remote place. However, data synchronization and data backup among a plurality of NAS can be easily realized.

しかし、特許文献2のように、各端末装置がサービスサーバに記憶されているファイルと同期をとる方法では、サービスサーバに記憶されているファイルが悪意ある者によって改ざんされた場合等に、各端末装置に意図しないファイルが記憶される恐れがある。   However, in the method in which each terminal device synchronizes with the file stored in the service server as in Patent Document 2, when the file stored in the service server is falsified by a malicious person, each terminal device An unintended file may be stored in the device.

このような事態を避けるためには、特許文献1のように、端末装置間でファイルの同期について事前に合意を形成した上でファイルの同期を行うのが有効である。しかし、特許文献1に記載されたシステムは、端末装置間で直接通信を行うためにDDNSサーバが必要であり、システム全体のコストが増大する。   In order to avoid such a situation, as in Patent Document 1, it is effective to perform file synchronization after forming an agreement in advance about file synchronization between terminal devices. However, the system described in Patent Document 1 requires a DDNS server in order to perform direct communication between terminal devices, which increases the cost of the entire system.

本発明は、上記事情に鑑みてなされたものであり、複数の端末装置間でのファイル同期を低コストかつ安全に実現することのできるファイル同期システム、端末装置、ファイル同期方法、及び、ファイル同期プログラムを提供することを目的とする。   The present invention has been made in view of the above circumstances, and a file synchronization system, a terminal device, a file synchronization method, and a file synchronization that can realize file synchronization between a plurality of terminal devices at low cost and safely. The purpose is to provide a program.

本発明のファイル同期システムは、同期対象ファイルが記憶される第一の記憶部を有する第一の端末装置と、第二の記憶部を有する第二の端末装置と、第一のネットワークを介して前記第一の端末装置及び前記第二の端末装置と通信可能に構成されると共に、前記第一の端末装置及び前記第二の端末装置に対して割り当てられた記憶領域を含むサービス提供装置と、を備えるファイル同期システムであって、前記第一の端末装置は、前記同期対象ファイルと、予め定められた識別情報と、を含む送信ファイルを、前記サービス提供装置の前記記憶領域に記憶させる制御を行うアップロード部を備え、前記第二の端末装置は、前記サービス提供装置の前記記憶領域に自装置以外の装置によって記憶されたファイルを前記サービス提供装置から取得するダウンロード部と、前記ダウンロード部により取得された前記ファイルが前記送信ファイルである場合に、当該送信ファイルに含まれる同期対象ファイルを前記第二の記憶部に記憶させる記憶制御部と、を備えるものである。   The file synchronization system of the present invention includes a first terminal device having a first storage unit in which a synchronization target file is stored, a second terminal device having a second storage unit, and a first network. A service providing device configured to be communicable with the first terminal device and the second terminal device, and including a storage area allocated to the first terminal device and the second terminal device; The first terminal apparatus performs control for storing a transmission file including the synchronization target file and predetermined identification information in the storage area of the service providing apparatus. The second terminal device receives a file stored in the storage area of the service providing device by a device other than the own device from the service providing device. And a storage control unit that, when the file acquired by the download unit is the transmission file, stores a synchronization target file included in the transmission file in the second storage unit. It is.

本発明の端末装置は、同期対象ファイルが記憶される第一の記憶部を有する端末装置であって、前記同期対象ファイルと、予め定められた識別情報と、を含む送信ファイルを、第一のネットワークを介して複数の前記端末装置と通信可能に構成されると共に前記複数の端末装置に対して割り当てられた記憶領域を含むサービス提供装置の前記記憶領域に記憶させる制御を行うアップロード部と、前記サービス提供装置の前記記憶領域に自装置以外の装置によって記憶されたファイルを前記サービス提供装置から取得するダウンロード部と、前記ダウンロード部により取得されたファイルが前記送信ファイルである場合に、当該送信ファイルに含まれる同期対象ファイルを前記第一の記憶部に記憶するための処理を行う同期処理部と、を備えるものである。   The terminal device of the present invention is a terminal device having a first storage unit in which a synchronization target file is stored, and a transmission file including the synchronization target file and predetermined identification information An upload unit configured to be communicable with a plurality of the terminal devices via a network and performing control to be stored in the storage area of a service providing apparatus including a storage area allocated to the plurality of terminal apparatuses; A download unit that acquires a file stored in the storage area of the service providing device by a device other than its own device from the service providing device, and when the file acquired by the download unit is the transmission file, the transmission file A synchronization processing unit that performs processing for storing the synchronization target file included in the first storage unit Than is.

本発明のファイル同期方法は、同期対象ファイルが記憶される第一の記憶部を有する端末装置が、前記同期対象ファイルと、予め定められた識別情報と、を含む送信ファイルを、第一のネットワークを介して複数の前記端末装置と通信可能に構成されると共に前記複数の端末装置に対して割り当てられた記憶領域を含むサービス提供装置の前記記憶領域に記憶させる制御を行い、前記サービス提供装置の前記記憶領域に自装置以外の装置によって記憶されたファイルを前記サービス提供装置から取得し、前記取得したファイルが前記送信ファイルである場合に、当該送信ファイルに含まれる同期対象ファイルを前記第一の記憶部に記憶するための処理を行うものである。   In the file synchronization method of the present invention, a terminal device having a first storage unit in which a synchronization target file is stored stores a transmission file including the synchronization target file and predetermined identification information on a first network. And is configured to be communicable with a plurality of the terminal devices via the network, and to store in the storage area of the service providing apparatus including a storage area allocated to the plurality of terminal apparatuses. When a file stored in the storage area by a device other than its own device is acquired from the service providing device, and the acquired file is the transmission file, the synchronization target file included in the transmission file is the first file Processing for storing in the storage unit is performed.

本発明のファイル同期プログラムは、同期対象ファイルが記憶される第一の記憶部を有する端末装置に、前記同期対象ファイルと、予め定められた識別情報と、を含む送信ファイルを、第一のネットワークを介して複数の前記端末装置と通信可能に構成されると共に前記複数の端末装置に割り当てられた記憶領域を含むサービス提供装置の前記記憶領域に記憶させる制御を行うアップロードステップと、前記サービス提供装置の前記記憶領域に自装置以外の装置によって記憶されたファイルを前記サービス提供装置から取得するダウンロードステップと、前記ダウンロードステップにより取得されたファイルが前記送信ファイルである場合に、当該送信ファイルに含まれる同期対象ファイルを前記第一の記憶部に記憶するための処理を行う同期処理ステップと、を実行させるためのものである。   The file synchronization program of the present invention provides a terminal device having a first storage unit in which a synchronization target file is stored, a transmission file including the synchronization target file and predetermined identification information, a first network An upload step for performing control to store in the storage area of a service providing apparatus including a storage area allocated to the plurality of terminal apparatuses and configured to be communicable with the plurality of terminal apparatuses via the network; and A download step for acquiring a file stored in the storage area of the device other than its own device from the service providing device, and when the file acquired by the download step is the transmission file, the file is included in the transmission file A process for storing the synchronization target file in the first storage unit. A processing step is for to run.

本発明によれば、複数の端末装置間でのファイル同期を低コストかつ安全に実現することのできるファイル同期システム、端末装置、ファイル同期方法、及び、ファイル同期プログラムを提供することができる。   According to the present invention, it is possible to provide a file synchronization system, a terminal device, a file synchronization method, and a file synchronization program that can realize file synchronization among a plurality of terminal devices at low cost and safely.

本発明の一実施形態であるファイル同期システム100の概略構成を示す図である。It is a figure which shows schematic structure of the file synchronization system 100 which is one Embodiment of this invention. 図1に示すファイル同期システム100における第一の情報機器1Aの内部構成例を示す図である。It is a figure which shows the example of an internal structure of 1 A of 1st information appliances in the file synchronization system 100 shown in FIG. 図1に示すファイル同期システム100における第二の情報機器1Bの内部構成例を示す図である。It is a figure which shows the internal structural example of the 2nd information apparatus 1B in the file synchronization system 100 shown in FIG. 図1に示すファイル同期システム100における第一のNAS2Aの内部構成例を示す図である。It is a figure which shows the internal structural example of 1st NAS2A in the file synchronization system 100 shown in FIG. 図1に示すファイル同期システム100における第二のNAS2Bの内部構成例を示す図である。It is a figure which shows the internal structural example of 2nd NAS2B in the file synchronization system 100 shown in FIG. 図1に示すファイル同期システム100におけるサービス提供装置7の内部構成例を示す図である。It is a figure which shows the example of an internal structure of the service provision apparatus 7 in the file synchronization system 100 shown in FIG. 図4に示す第一のNAS2AのCPU30の機能ブロック図である。It is a functional block diagram of CPU30 of 1st NAS2A shown in FIG. 図4に示す第二のNAS2BのCPU30の機能ブロック図である。It is a functional block diagram of CPU30 of 2nd NAS2B shown in FIG. 図1に示すファイル同期システム100において、第一のNAS2AのフォルダCと第二のNAS2BのフォルダCとの同期が行われる場合の動作を説明するためのフローチャートである。3 is a flowchart for explaining an operation when the folder C of the first NAS 2A and the folder C of the second NAS 2B are synchronized in the file synchronization system 100 shown in FIG. 図1に示すファイル同期システム100において、第一のNAS2AのフォルダCと第二のNAS2BのフォルダCとの同期が行われる場合の動作を説明するためのフローチャートである。3 is a flowchart for explaining an operation when the folder C of the first NAS 2A and the folder C of the second NAS 2B are synchronized in the file synchronization system 100 shown in FIG. 図1に示すファイル同期システム100において、第二のNAS2BのフォルダBと第一のNAS2AのフォルダBとの同期が行われる場合の動作を説明するためのフローチャートである。2 is a flowchart for explaining an operation in the case where synchronization between the folder B of the second NAS 2B and the folder B of the first NAS 2A is performed in the file synchronization system 100 shown in FIG. 図1に示すファイル同期システム100において、第二のNAS2BのフォルダBと第一のNAS2AのフォルダBとの同期が行われる場合の動作を説明するためのフローチャートである。2 is a flowchart for explaining an operation in the case where synchronization between the folder B of the second NAS 2B and the folder B of the first NAS 2A is performed in the file synchronization system 100 shown in FIG. 図1に示すファイル同期システム100の動作の変形例を説明するためのフローチャートである。7 is a flowchart for explaining a modification of the operation of the file synchronization system 100 shown in FIG. 1.

以下、本発明の実施形態について図面を参照して説明する。   Embodiments of the present invention will be described below with reference to the drawings.

図1は、本発明の一実施形態であるファイル同期システム100の概略構成を示す図である。   FIG. 1 is a diagram showing a schematic configuration of a file synchronization system 100 according to an embodiment of the present invention.

ファイル同期システム100は、第一の情報機器1A、第二の情報機器1Bと、第一の端末装置又は端末装置を構成する第一のNAS2Aと、第二の端末装置又は端末装置を構成する第二のNAS2Bと、第一のルータ5Aと、第二のルータ5Bと、ファイル記憶を行うためのウェブサービスを提供するサービスプロバイダの運営するサービス提供装置7と、を備える。ファイル同期システム100においては、第一のNAS2Aと第二のNAS2Bは同一の管理者によって管理されている。   The file synchronization system 100 includes a first information device 1A, a second information device 1B, a first NAS 2A constituting the first terminal device or terminal device, and a second terminal device or terminal device constituting the second terminal device or terminal device. A second NAS 2B, a first router 5A, a second router 5B, and a service providing device 7 operated by a service provider that provides a web service for storing files. In the file synchronization system 100, the first NAS 2A and the second NAS 2B are managed by the same administrator.

第一の情報機器1A及び第一のNAS2Aは、企業、学校、又は、個人宅内等で使用される第一のLAN(Local Area Network)3に接続されており、第一のLAN3を介して相互に通信を行うことができる。第一のLAN3は、第二のネットワークを構成する。   The first information device 1 </ b> A and the first NAS 2 </ b> A are connected to a first LAN (Local Area Network) 3 used in a company, a school, or a private residence, and are mutually connected via the first LAN 3. Can communicate. The first LAN 3 constitutes a second network.

第一のLAN3は、第一のルータ5Aを介してインターネット6に接続されている。これにより、第一の情報機器1A及び第一のNAS2Aは、それぞれ第一のネットワークを構成するインターネット6に接続可能となっている。   The first LAN 3 is connected to the Internet 6 via the first router 5A. Accordingly, the first information device 1A and the first NAS 2A can be connected to the Internet 6 constituting the first network.

第一の情報機器1Aは、ネットワーク通信を行うためのネットワーク通信機能と、表示部と、キーボード、マウス、又は、タッチパネル等の操作インタフェース(I/F)と、を有する電子機器である。第一の情報機器1Aは、例えばパーソナルコンピュータ、タブレット端末、又は、スマートフォン等が用いられる。   The first information device 1A is an electronic device having a network communication function for performing network communication, a display unit, and an operation interface (I / F) such as a keyboard, a mouse, or a touch panel. For example, a personal computer, a tablet terminal, or a smartphone is used as the first information device 1A.

第一の情報機器1Aは、第一のNAS2Aに対して予め登録されており、第一のLAN3を介して、第一のNAS2Aに記憶されているファイルの編集、第一のNAS2Aへのファイルの記憶、及び、第一のNAS2Aからのファイルの読み出しを行うことができる。   The first information device 1A is registered in advance with the first NAS 2A, edits the file stored in the first NAS 2A via the first LAN 3, and reads the file to the first NAS 2A. Storage and file reading from the first NAS 2A can be performed.

第一の情報機器1Aのユーザ名及びパスワード等の登録情報は、第一の情報機器1Aから第一のNAS2Aに対して登録作業を行うことで登録される。又は、この登録情報は、第一のLAN3に接続された認証用サーバに予め登録される。この場合、第一の情報機器1Aから第一のNAS2Aにアクセスがあると、第一のNAS2Aがこの認証用サーバから第一の情報機器1Aの登録情報を取得することで、第一の情報機器1Aの認証を行う。   Registration information such as the user name and password of the first information device 1A is registered by performing a registration operation from the first information device 1A to the first NAS 2A. Alternatively, this registration information is registered in advance in an authentication server connected to the first LAN 3. In this case, when there is access to the first NAS 2A from the first information device 1A, the first NAS 2A acquires the registration information of the first information device 1A from the authentication server, whereby the first information device 1A Authenticate 1A.

第一のNAS2Aは、ファイルの記憶及び管理に特化したファイルサーバであり、ファイル管理を行うためのファイルシステムと、ネットワーク通信を行うためのネットワーク通信機能と、を備える。   The first NAS 2A is a file server specialized for file storage and management, and includes a file system for performing file management and a network communication function for performing network communication.

第一のNAS2Aには、複数の第一の情報機器1Aが登録され、この複数の第一の情報機器1Aの各々によってファイルの記憶、編集、及び、読出しが行われる場合もある。   A plurality of first information devices 1A may be registered in the first NAS 2A, and a file may be stored, edited, and read by each of the plurality of first information devices 1A.

第二の情報機器1B及び第二のNAS2Bは、第一のLAN3とは異なる第二のLAN4に接続されており、第二のLAN4を介して相互に通信を行うことができる。第二のLAN4は、第一のLAN3と同一のネットワークであってもよい。第二のLAN4は、第二のネットワークを構成する。   The second information device 1B and the second NAS 2B are connected to a second LAN 4 different from the first LAN 3, and can communicate with each other via the second LAN 4. The second LAN 4 may be the same network as the first LAN 3. The second LAN 4 constitutes a second network.

第二のLAN4は、第二のルータ5Bを介してインターネット6に接続されている。これにより、第二の情報機器1B及び第二のNAS2Bは、それぞれ第一のネットワークを構成するインターネット6に接続可能となっている。   The second LAN 4 is connected to the Internet 6 via the second router 5B. Accordingly, the second information device 1B and the second NAS 2B can be connected to the Internet 6 constituting the first network.

第二の情報機器1Bは、ネットワーク通信を行うためのネットワーク通信機能と、表示部と、キーボード、マウス、又は、タッチパネル等の操作インタフェース(I/F)と、を有する電子機器である。第二の情報機器1Bは、例えばパーソナルコンピュータ、タブレット端末、又は、スマートフォン等が用いられる。   The second information device 1B is an electronic device having a network communication function for performing network communication, a display unit, and an operation interface (I / F) such as a keyboard, a mouse, or a touch panel. For example, a personal computer, a tablet terminal, or a smartphone is used as the second information device 1B.

第二の情報機器1Bは、第二のNAS2Bに対して予め登録されており、第二のLAN4を介して、第二のNAS2Bに記憶されているファイルの編集、第二のNAS2Bへのファイルの記憶、及び、第二のNAS2Bからのファイルの読み出しを行うことができる。   The second information device 1B is pre-registered with respect to the second NAS 2B, edits the file stored in the second NAS 2B via the second LAN 4, and edits the file to the second NAS 2B. Storage and file reading from the second NAS 2B can be performed.

第二の情報機器1Bのユーザ名及びパスワード等の登録情報は、第二の情報機器1Bから第二のNAS2Bに対して登録作業を行うことで登録される。又は、この登録情報は、第二のLAN4に接続された認証用サーバに予め登録される。この場合、第二の情報機器1Bから第二のNAS2Bにアクセスがあると、第二のNAS2Bがこの認証用サーバから第二の情報機器1Bの登録情報を取得することで、第二の情報機器1Bの認証を行う。   Registration information such as the user name and password of the second information device 1B is registered by performing a registration operation from the second information device 1B to the second NAS 2B. Alternatively, this registration information is registered in advance in an authentication server connected to the second LAN 4. In this case, when the second NAS 2B is accessed from the second information device 1B, the second NAS 2B obtains the registration information of the second information device 1B from the authentication server, whereby the second information device 1B 1B authentication is performed.

第二のNAS2Bは、ファイルの記憶及び管理に特化したファイルサーバであり、ファイル管理を行うためのファイルシステムと、ネットワーク通信を行うためのネットワーク通信機能と、を備える。   The second NAS 2B is a file server specialized for file storage and management, and includes a file system for performing file management and a network communication function for performing network communication.

第二のNAS2Bには、複数の第二の情報機器1Bが登録され、この複数の第二の情報機器1Bの各々によってファイルの記憶、編集、及び、読出しが行われる場合もある。   A plurality of second information devices 1B may be registered in the second NAS 2B, and a file may be stored, edited, and read by each of the plurality of second information devices 1B.

サービス提供装置7は、インターネット6に接続されており、ハードディスクドライブ又はソリッドステートドライブ等の第三の記憶部を有する1又は複数のファイルサーバにより構成される。   The service providing device 7 is connected to the Internet 6 and is composed of one or more file servers having a third storage unit such as a hard disk drive or a solid state drive.

サービス提供装置7によって提供されるサービスは、予め登録されたユーザがインターネット6を介してこれら第三の記憶部にファイルを記憶することのできるウェブサービスである。   The service provided by the service providing apparatus 7 is a web service in which a user registered in advance can store a file in these third storage units via the Internet 6.

サービス提供装置7は、第一のNAS2A及び第二のNAS2Bの管理者がウェブサービスにユーザ名及びパスワード等により識別されるアカウントを登録(以下、ユーザ登録という)することにより、当該管理者が利用可能な記憶領域を管理者に対して提供する。ファイル同期システム100では、第一のNAS2A及び第二のNAS2Bの管理者が、上記のウェブサービスにユーザ登録済みであるものとする。   The service providing apparatus 7 is used by the administrator of the first NAS 2A and the second NAS 2B by registering an account identified by a user name, a password, and the like (hereinafter referred to as user registration) in the web service. Provide the administrator with possible storage space. In the file synchronization system 100, it is assumed that the administrators of the first NAS 2A and the second NAS 2B have already been registered with the web service.

つまり、第一のNAS2A及び第二のNAS2Bは、インターネット6を介してサービス提供装置7にアクセスし、サービス提供装置7において第一のNAS2A及び第二のNAS2Bに対して割り当てられている記憶領域(以下、NAS用記憶領域という)にファイルを記憶させることができるようになっている。   That is, the first NAS 2A and the second NAS 2B access the service providing apparatus 7 via the Internet 6, and the storage areas (the storage areas allocated to the first NAS 2A and the second NAS 2B in the service providing apparatus 7 ( Hereinafter, the file can be stored in the NAS storage area).

図2は、図1に示すファイル同期システム100における第一の情報機器1Aの内部構成例を示す図である。   FIG. 2 is a diagram showing an internal configuration example of the first information device 1A in the file synchronization system 100 shown in FIG.

第一の情報機器1Aは、CPU(Central Processing Unit)20、ROM(Read Only Memory)21、RAM(Random Access Memory)22、液晶ドライバ230、液晶パネル231、LANモジュール240、キーボード、マウス、又は、液晶パネル231と一体化されたタッチパネル等の操作インタフェース(I/F)260、内部ストレージ部27、USB(Universal Serial Bus)コントローラ280、及び、USBコネクタ281を備える。   The first information device 1A includes a CPU (Central Processing Unit) 20, a ROM (Read Only Memory) 21, a RAM (Random Access Memory) 22, a liquid crystal driver 230, a liquid crystal panel 231, a LAN module 240, a keyboard, a mouse, or An operation interface (I / F) 260 such as a touch panel integrated with the liquid crystal panel 231, an internal storage unit 27, a USB (Universal Serial Bus) controller 280, and a USB connector 281 are provided.

CPU20、ROM21、RAM22、液晶ドライバ230、LANモジュール240、操作インタフェース260、内部ストレージ部27、及び、USBコントローラ280は、それぞれ共通のバスにより接続されている。   The CPU 20, ROM 21, RAM 22, liquid crystal driver 230, LAN module 240, operation interface 260, internal storage unit 27, and USB controller 280 are connected by a common bus.

CPU20は、ROM21内に記憶されたファームウェア等のプログラムがRAM22において展開された後で実行されることで、第一の情報機器1A全体の動作制御を行う。   The CPU 20 controls the operation of the entire first information device 1 </ b> A by being executed after a program such as firmware stored in the ROM 21 is expanded in the RAM 22.

ROM21には、上述のファームウェア等のプログラムと各種設定データが記憶されている。RAM22は、第一の情報機器1Aのワークメモリとして動作し、各種プログラム及びデータが一時的に記憶される。   The ROM 21 stores programs such as the firmware and various setting data. The RAM 22 operates as a work memory of the first information device 1A, and temporarily stores various programs and data.

液晶パネル231は、画像を表示するための表示部である。液晶ドライバ230は、表示画面を構成するデータがCPU20から供給されると、液晶パネル231の表示領域に所望の表示画面を表示するように、この液晶パネル231を駆動する。   The liquid crystal panel 231 is a display unit for displaying an image. When the data constituting the display screen is supplied from the CPU 20, the liquid crystal driver 230 drives the liquid crystal panel 231 so as to display a desired display screen in the display area of the liquid crystal panel 231.

LANモジュール240は、第一のLAN3との間で無線又は有線により通信するためのモジュールである。LANモジュール240は、例えばIEEE(The Institute of Electrical andElectronics Engineers)802.11規格に準拠して無線通信を行うものが用いられる。又は、LANモジュール240は、1000BASE−T、100BASE−TX、又は、10BASE−T等の規格に準拠して有線通信を行うものが用いられる。   The LAN module 240 is a module for communicating with the first LAN 3 by wireless or wired communication. The LAN module 240 is, for example, one that performs wireless communication in conformity with the IEEE (The Institute of Electrical and Electronics Engineers) 802.11 standard. Alternatively, the LAN module 240 is a module that performs wired communication in accordance with a standard such as 1000BASE-T, 100BASE-TX, or 10BASE-T.

内部ストレージ部27は、内部ストレージ270と内部ストレージインタフェース(I/F)271とを備える。内部ストレージ270は、例えばフラッシュメモリのような不揮発性半導体メモリ又はハードディスクドライブであり、第一の情報機器1Aにおいて用いられるアプリケーションプログラム、文書ファイル、音ファイル、画像ファイル、又は、動画ファイル等の各種ファイルが記憶される。   The internal storage unit 27 includes an internal storage 270 and an internal storage interface (I / F) 271. The internal storage 270 is a non-volatile semiconductor memory such as a flash memory or a hard disk drive, for example, and various files such as application programs, document files, sound files, image files, and moving image files used in the first information device 1A. Is memorized.

内部ストレージインタフェース271は、内部ストレージ270に対するデータの読み出し又は書き込み指令があった場合に、内部ストレージ270全体の制御を行うと共に、データの読み出し又は書き込み制御を行い、読み出されたデータを出力する。   The internal storage interface 271 controls the entire internal storage 270 and performs data read or write control when a data read or write command is issued to the internal storage 270, and outputs the read data.

なお、内部ストレージ270は挿脱可能な不揮発性メモリカードであってもよい。この場合、内部ストレージインタフェース271は、このメモリカードが装着されるメモリカードスロットをさらに備える。   The internal storage 270 may be a removable memory card that can be inserted and removed. In this case, the internal storage interface 271 further includes a memory card slot in which the memory card is inserted.

USBコントローラ280は、例えばUSB2.0又はUSB3.0規格に沿って、USBコネクタ281を介して接続されたUSBデバイスとの間でデータの送受信を行う。USBコネクタ281は、いわゆるメス型USBコネクタ(USBレセプタクル)であって、不図示のUSBケーブルのオス型USBコネクタ(USBプラグ)が挿入可能に構成されている。   The USB controller 280 transmits / receives data to / from a USB device connected via the USB connector 281 according to, for example, the USB 2.0 or USB 3.0 standard. The USB connector 281 is a so-called female USB connector (USB receptacle), and is configured such that a male USB connector (USB plug) of a USB cable (not shown) can be inserted.

図3は、図1に示すファイル同期システム100における第二の情報機器1Bの内部構成例を示す図である。図3は、LANモジュール240をLANモジュール240Aに変更した点を除いては図2と同様であるため、LANモジュール240Aについてのみ説明する。   FIG. 3 is a diagram showing an internal configuration example of the second information device 1B in the file synchronization system 100 shown in FIG. 3 is the same as FIG. 2 except that the LAN module 240 is changed to the LAN module 240A, and therefore only the LAN module 240A will be described.

LANモジュール240Aは、第二のLAN4との間で無線又は有線により通信するためのモジュールである。LANモジュール240Aとしては、LANモジュール240と同じものを用いることができる。   The LAN module 240 </ b> A is a module for communicating with the second LAN 4 by radio or wire. The same LAN module 240A as the LAN module 240 can be used.

図4は、図1に示すファイル同期システム100における第一のNAS2Aの内部構成例を示す図である。   FIG. 4 is a diagram showing an internal configuration example of the first NAS 2A in the file synchronization system 100 shown in FIG.

第一のNAS2Aは、CPU30、ROM31、RAM32、HDD部33、有線LANモジュール34、USBコントローラ350、及び、USBコネクタ351を備える。   The first NAS 2A includes a CPU 30, a ROM 31, a RAM 32, an HDD unit 33, a wired LAN module 34, a USB controller 350, and a USB connector 351.

CPU30、ROM31、RAM32、HDD部33、有線LANモジュール34、及び、USBコントローラ350は、それぞれ共通のバスにより接続されている。   The CPU 30, ROM 31, RAM 32, HDD unit 33, wired LAN module 34, and USB controller 350 are connected by a common bus.

CPU30は、ROM31内に記憶されたファームウェア等のプログラムがRAM32において展開された後で実行されることで、第一のNAS2A全体の動作制御を行う。   The CPU 30 controls the operation of the entire first NAS 2A by being executed after a program such as firmware stored in the ROM 31 is expanded in the RAM 32.

ROM31には、上述のファームウェア等のプログラムが記憶されている。RAM32は、第一のNAS2Aのワークメモリとして動作し、各種プログラム及びデータが一時的に記憶される。   The ROM 31 stores a program such as the firmware described above. The RAM 32 operates as a work memory of the first NAS 2A, and temporarily stores various programs and data.

HDD部33は、HDD330とHDDインタフェース(I/F)331とを備える。HDD330は、記憶媒体であるディスクと、このディスクの回転を行う回転部と、ディスクに対してデータの読み出し及び書き込みを行うヘッド部とを備える(いずれも不図示)。   The HDD unit 33 includes an HDD 330 and an HDD interface (I / F) 331. The HDD 330 includes a disk that is a storage medium, a rotating unit that rotates the disk, and a head unit that reads and writes data from and to the disk (all not shown).

HDDインタフェース331は、HDD330に対するデータの読み出し又は書き込み指令があった場合に、HDD330全体の制御を行うと共に、データの読み出し又は書き込み制御を行い、読み出されたデータを出力する。   The HDD interface 331 controls the entire HDD 330 and performs data read or write control when a data read or write command is issued to the HDD 330 and outputs the read data.

HDD330にはアプリケーションプログラムの他、第一のNAS2Aに対して登録されている第一の情報機器1Aから送信されてきたアプリケーションプログラム、文書ファイル、音ファイル、画像ファイル、又は、動画ファイル等の各種ファイルが適宜記憶されている。HDD330は、第一の記憶部又は第二の記憶部を構成する。   In addition to the application program, the HDD 330 stores various files such as an application program, a document file, a sound file, an image file, or a moving image file transmitted from the first information device 1A registered with the first NAS 2A. Is stored as appropriate. The HDD 330 constitutes a first storage unit or a second storage unit.

HDD330には、上述した各種ファイルが記憶される領域を示すフォルダとして、フォルダAと、フォルダBと、フォルダCが形成されている。   In the HDD 330, a folder A, a folder B, and a folder C are formed as folders indicating areas where various files described above are stored.

有線LANモジュール34は、例えばIEEE802.3規格に準拠して、第一のルータ5Aとの間で有線による通信を行う。有線LANモジュール34の代わりに、例えばIEEE802.11規格に準拠して第一のルータ5Aとの間で無線による通信を行うモジュールを用いてもよい。   The wired LAN module 34 performs wired communication with the first router 5A in accordance with, for example, the IEEE 802.3 standard. Instead of the wired LAN module 34, for example, a module that performs wireless communication with the first router 5A in conformity with the IEEE 802.11 standard may be used.

USBコントローラ350は、例えばUSB2.0又はUSB3.0規格に沿って、USBコネクタ351を介して接続されたUSBデバイスとの間でデータの送受信を行う。USBコネクタ351は、いわゆるメス型USBコネクタ(USBレセプタクル)であって、USBケーブルのオス型USBコネクタ(USBプラグ)が挿入可能に構成されている。   The USB controller 350 transmits / receives data to / from a USB device connected via the USB connector 351 in accordance with, for example, the USB 2.0 or USB 3.0 standard. The USB connector 351 is a so-called female USB connector (USB receptacle), and is configured such that a male USB connector (USB plug) of a USB cable can be inserted.

図5は、図1に示すファイル同期システム100における第二のNAS2Bの内部構成例を示す図である。図5は、有線LANモジュール34を有線LANモジュール34Aに変更した点を除いては図4と同様であるため、有線LANモジュール34Aについてのみ説明する。   FIG. 5 is a diagram showing an internal configuration example of the second NAS 2B in the file synchronization system 100 shown in FIG. FIG. 5 is the same as FIG. 4 except that the wired LAN module 34 is changed to the wired LAN module 34A. Therefore, only the wired LAN module 34A will be described.

有線LANモジュール34Aは、例えばIEEE802.3規格に準拠して、第二のルータ5Bとの間で有線による通信を行う。有線LANモジュール34Aの代わりに、例えばIEEE802.11規格に準拠して第二のルータ5Bとの間で無線による通信を行うモジュールを用いてもよい。   The wired LAN module 34A performs wired communication with the second router 5B in accordance with, for example, the IEEE 802.3 standard. Instead of the wired LAN module 34A, for example, a module that performs wireless communication with the second router 5B in accordance with the IEEE 802.11 standard may be used.

第一のNAS2AのHDD330に形成されているフォルダAは、第一の情報機器1Aからのファイルの記憶及び編集が可能なフォルダである。   The folder A formed in the HDD 330 of the first NAS 2A is a folder that can store and edit files from the first information device 1A.

第一のNAS2AのHDD330に形成されているフォルダBは、第一の情報機器1Aからのアクセスが制限されているフォルダであり、第二のNAS2BのHDD330のフォルダBとの同期がなされるフォルダである。   The folder B formed in the HDD 330 of the first NAS 2A is a folder in which access from the first information device 1A is restricted, and is a folder synchronized with the folder B of the HDD 330 of the second NAS 2B. is there.

第一のNAS2AのHDD330に形成されているフォルダCは、第一の情報機器1Aによるファイルの記憶及び編集が可能であり、かつ、第二のNAS2BのHDD330のフォルダCとの同期がなされるフォルダである。   The folder C formed in the HDD 330 of the first NAS 2A can be stored and edited by the first information device 1A and is synchronized with the folder C of the HDD 330 of the second NAS 2B. It is.

第二のNAS2BのHDD330に形成されているフォルダAは、第二の情報機器1Bからのアクセスが制限されているフォルダであり、第一のNAS2AのHDD330のフォルダAとの同期がなされるフォルダである。   The folder A formed in the HDD 330 of the second NAS 2B is a folder in which access from the second information device 1B is restricted, and is a folder synchronized with the folder A of the HDD 330 of the first NAS 2A. is there.

第二のNAS2BのHDD330に形成されているフォルダBは、第二の情報機器1Bからのファイルの記憶及び編集が可能なフォルダである。   A folder B formed in the HDD 330 of the second NAS 2B is a folder capable of storing and editing a file from the second information device 1B.

第二のNAS2BのHDD330に形成されているフォルダCは、第二の情報機器1Bによるファイルの記憶及び編集が可能であり、かつ、第一のNAS2AのHDD330のフォルダCとの同期がなされるフォルダである。   The folder C formed in the HDD 330 of the second NAS 2B can be stored and edited by the second information device 1B and is synchronized with the folder C of the HDD 330 of the first NAS 2A. It is.

ここで、フォルダへのアクセス制限とは、フォルダ及びフォルダに記憶されているファイルへのアクセスそのものが不可能な状態に設定されている状態、又は、当該ファイルの閲覧は可能だが、当該ファイルの編集又は新規のファイルの追加をすることが制限されている状態をいう。このアクセス制限は、第一のNAS2A及び第二のNAS2Bの管理者により、フォルダ毎又はファイル毎に任意に設定可能である。   Here, the access restriction to a folder is a state in which access to the folder and the file stored in the folder itself is impossible, or the file can be viewed but the file cannot be edited. Or, a state where the addition of a new file is restricted. This access restriction can be arbitrarily set for each folder or each file by the administrator of the first NAS 2A and the second NAS 2B.

図6は、図1に示すファイル同期システム100におけるサービス提供装置7の内部構成例を示す図である。   FIG. 6 is a diagram showing an internal configuration example of the service providing apparatus 7 in the file synchronization system 100 shown in FIG.

サービス提供装置7は、CPU70、ROM71、RAM72、HDD部73、有線LANモジュール74、USBコントローラ750、及び、USBコネクタ751を備える。   The service providing apparatus 7 includes a CPU 70, ROM 71, RAM 72, HDD unit 73, wired LAN module 74, USB controller 750, and USB connector 751.

CPU70、ROM71、RAM72、HDD部73、有線LANモジュール74、及び、USBコントローラ750は、それぞれ共通のバスにより接続されている。   The CPU 70, ROM 71, RAM 72, HDD unit 73, wired LAN module 74, and USB controller 750 are connected by a common bus.

CPU70は、ROM71内に記憶されたファームウェア等のプログラムがRAM72において展開された後で実行されることで、サービス提供装置7全体の動作制御を行う。ROM71には、上述のファームウェア等のプログラムが記憶されている。RAM72は、サービス提供装置7のワークメモリとして動作し、各種プログラム及びデータが一時的に記憶される。   The CPU 70 performs an operation control of the entire service providing apparatus 7 by being executed after a program such as firmware stored in the ROM 71 is expanded in the RAM 72. The ROM 71 stores a program such as the firmware described above. The RAM 72 operates as a work memory of the service providing apparatus 7 and temporarily stores various programs and data.

HDD部73は、HDD730とHDDインタフェース(I/F)731とを備える。HDD730は、記憶媒体であるディスクと、このディスクの回転を行う回転部と、ディスクに対してデータの読み出し及び書き込みを行うヘッド部とを備える(いずれも不図示)。   The HDD unit 73 includes an HDD 730 and an HDD interface (I / F) 731. The HDD 730 includes a disk that is a storage medium, a rotating unit that rotates the disk, and a head unit that reads and writes data from and to the disk (all not shown).

HDDインタフェース731は、HDD730に対するデータの読み出し又は書き込み指令があった場合に、HDD730全体の制御を行うと共に、データの読み出し又は書き込み制御を行い、読み出されたデータを出力する。   The HDD interface 731 controls the entire HDD 730 and performs data read or write control when a data read or write command is issued to the HDD 730, and outputs the read data.

HDD730にはアプリケーションプログラムと、サービス提供装置7による第一のNAS2A及び第二のNAS2Bの管理者によるユーザ登録情報が記憶された登録テーブル等が適宜記憶されている。   The HDD 730 appropriately stores an application program, a registration table storing user registration information by the administrator of the first NAS 2A and the second NAS 2B by the service providing apparatus 7, and the like.

また、HDD730のNAS用記憶領域には、第一のNAS2Aと第二のNAS2Bの各々のHDD330に形成されているフォルダA、フォルダB、及び、フォルダCに対応する共有フォルダa、共有フォルダb、及び、共有フォルダcが記憶されている。   Further, in the NAS storage area of the HDD 730, the shared folder a, the shared folder b, the folder A, the folder B, and the folder C formed in the HDD 330 of each of the first NAS 2A and the second NAS 2B, A shared folder c is stored.

CPU70は、フォルダA内のファイルの記憶要求が第一のNAS2Aからなされた場合には、記憶要求のあった該ファイルを、フォルダAに対応する共有フォルダaに記憶する。   When the storage request for the file in the folder A is made from the first NAS 2A, the CPU 70 stores the requested file in the shared folder a corresponding to the folder A.

CPU70は、フォルダB内のファイルの記憶要求が第二のNAS2Bからなされた場合には、記憶要求のあった該ファイルを、フォルダBに対応する共有フォルダbに記憶する。   When the storage request for the file in the folder B is made from the second NAS 2B, the CPU 70 stores the requested file in the shared folder b corresponding to the folder B.

CPU70は、フォルダC内のファイルの記憶要求が第一のNAS2A又は第二のNAS2Bからなされた場合には、記憶要求のあった該ファイルを、フォルダCに対応する共有フォルダcに記憶する。   When the storage request for the file in the folder C is made from the first NAS 2A or the second NAS 2B, the CPU 70 stores the requested file in the shared folder c corresponding to the folder C.

有線LANモジュール74は、例えばIEEE802.3規格に準拠して、インターネット6との間で有線による通信を行う。   The wired LAN module 74 performs wired communication with the Internet 6 in conformity with, for example, the IEEE 802.3 standard.

USBコントローラ750は、例えばUSB2.0又はUSB3.0規格に沿って、USBコネクタ751を介して接続されたUSBデバイスとの間でデータの送受信を行う。USBコネクタ751は、いわゆるメス型USBコネクタ(USBレセプタクル)であって、USBケーブルのオス型USBコネクタ(USBプラグ)が挿入可能に構成されている。   The USB controller 750 transmits / receives data to / from a USB device connected via the USB connector 751 in accordance with, for example, the USB 2.0 or USB 3.0 standard. The USB connector 751 is a so-called female USB connector (USB receptacle), and is configured such that a male USB connector (USB plug) of a USB cable can be inserted.

サービス提供装置7は、第一のNAS2A及び第二のNAS2Bを含むインターネット6上の他の装置との間の通信を行う際、インターネット6での通信に用いられるプロトコルであるHTTP(Hypertext Transfer Protocol)又はHTTPS(Hypertext Transfer Protocol Secure)等を用いる。また、サービス提供装置7は、第一のルータ5A及び第二のルータ5B等のファイアウォール機能を有する装置に対して、HTTP用に設けられたポート(例えばポート番号80番のポート)を用いて通信を行う。   When the service providing device 7 communicates with other devices on the Internet 6 including the first NAS 2A and the second NAS 2B, the HTTP (Hypertext Transfer Protocol) which is a protocol used for communication on the Internet 6 is used. Alternatively, HTTPS (Hypertext Transfer Protocol Secure) is used. The service providing device 7 communicates with a device having a firewall function, such as the first router 5A and the second router 5B, using a port provided for HTTP (for example, port number 80). I do.

図7は、図4に示す第一のNAS2AのCPU30の機能ブロック図である。   FIG. 7 is a functional block diagram of the CPU 30 of the first NAS 2A shown in FIG.

第一のNAS2AのCPU30は、受付部30Aと、ファイル管理部30Bと、アップロード部30Cと、更新リスト取得部30Dと、ダウンロード部30Eと、同期処理部30Fと、を備える。これらの機能ブロックは、第一のNAS2AのCPU30が、第一のNAS2AのROM31に記憶されたファイル同期プログラムを含むプログラムを実行することにより形成される。   The CPU 30 of the first NAS 2A includes a reception unit 30A, a file management unit 30B, an upload unit 30C, an update list acquisition unit 30D, a download unit 30E, and a synchronization processing unit 30F. These functional blocks are formed when the CPU 30 of the first NAS 2A executes a program including a file synchronization program stored in the ROM 31 of the first NAS 2A.

受付部30Aは、第一の情報機器1Aから第一のLAN3を介して入力されるファイル記憶要求及びファイル読み出し要求を受け付ける。   The accepting unit 30A accepts a file storage request and a file read request input from the first information device 1A via the first LAN 3.

ファイル管理部30Bは、受付部30Aが受け付けたファイル記憶要求に応じて、HDDインタフェース331を制御して、記憶対象ファイルをHDD330に記憶させる。   The file management unit 30B controls the HDD interface 331 according to the file storage request received by the receiving unit 30A, and stores the storage target file in the HDD 330.

アップロード部30Cは、ファイル管理部30BによってHDD330のフォルダA又はフォルダCに新規ファイルが記憶されたり、HDD330のフォルダA又はフォルダC内のファイルのファイル名又はその内容、あるいはファイル名と内容の両方がファイル管理部30Bによって変更されたりして、HDD330のフォルダA又はフォルダCに記憶されているデータに変化があると、HDD330のフォルダA又はフォルダCに記憶されているファイルの中から、サービス提供装置7にアップロードすべき同期対象ファイルを抽出する。   In the upload unit 30C, a new file is stored in the folder A or the folder C of the HDD 330 by the file management unit 30B, the file name of the file in the folder A or the folder C of the HDD 330, or the content thereof, or both the file name and the content are stored. If the data stored in the folder A or the folder C of the HDD 330 is changed by the file management unit 30B or the like, the service providing device is selected from the files stored in the folder A or the folder C of the HDD 330. 7 to extract the synchronization target file to be uploaded.

アップロード部30Cは、HDD330のフォルダA又はフォルダCに新規ファイルが記憶された場合には、この新規ファイルを同期対象ファイルとして抽出する。   When a new file is stored in folder A or folder C of HDD 330, upload unit 30C extracts the new file as a synchronization target file.

アップロード部30Cは、HDD330のフォルダA又はフォルダCに記憶されている既存ファイルが変更された(上書き保存や編集がなされた)場合には、この既存ファイルに対して上書きされたファイル、又は、この既存ファイルに対する変更内容を示す差分ファイルを同期対象ファイルとして抽出する。   When the existing file stored in the folder A or the folder C of the HDD 330 is changed (overwritten and edited), the upload unit 30C overwrites the existing file, Extracts a difference file that indicates the changes to an existing file as a synchronization target file.

アップロード部30Cは、このようにして抽出した同期対象ファイルと、予め定められた識別情報と、を含む送信ファイルを生成する。そして、アップロード部30Cは、この送信ファイルを、送信ファイルに含まれる同期対象ファイルの記憶フォルダを示す情報と共に有線LANモジュール34からサービス提供装置7に送信させて、この送信ファイルを、サービス提供装置7のNAS用記憶領域の該記憶フォルダに対応する共有フォルダに記憶させる。   The upload unit 30C generates a transmission file including the synchronization target file extracted in this manner and predetermined identification information. Then, the upload unit 30C transmits the transmission file to the service providing apparatus 7 from the wired LAN module 34 together with information indicating the storage folder of the synchronization target file included in the transmission file, and the service providing apparatus 7 Are stored in a shared folder corresponding to the storage folder in the NAS storage area.

上記の識別情報は、この識別情報を含むファイルが、ファイル同期システム100を構成する第一のNAS2A又は第二のNAS2Bに対して記憶されたファイルであることを識別するために用いられる情報である。   The identification information is information used to identify that the file including the identification information is a file stored in the first NAS 2A or the second NAS 2B constituting the file synchronization system 100. .

この識別情報は、例えば、第一のNAS2A及び第二のNAS2Bの管理者によって定められたファイル同期システム100で共通の任意の情報が用いられる。又は、識別情報は、送信ファイルの生成元のNASに固有の情報(例えば装置の機種名、機器ID(MAC(Media Access Control)アドレス)、NASにインストールされているファイル同期プログラムの名称、又は、NASにインストールされているファイル同期プログラムのバージョン情報等)が用いられる。以下では、識別情報をNASに固有の情報であるMACアドレスとして説明する。   As this identification information, for example, arbitrary information common to the file synchronization system 100 determined by the administrator of the first NAS 2A and the second NAS 2B is used. Alternatively, the identification information is information specific to the NAS that is the source of the transmission file (for example, the device model name, device ID (MAC (Media Access Control) address)), the name of the file synchronization program installed in the NAS, or The file synchronization program version information installed in the NAS is used. Hereinafter, the identification information will be described as a MAC address that is information unique to the NAS.

MACアドレスとは、ネットワークに接続可能な機器に設定されている48ビットの符号である。MACアドレスは、通常、16進数によるオクテットで表現されており、ベンダーID、機種ID、又は、シリアルID等が割り当てられている。   The MAC address is a 48-bit code set in a device connectable to the network. The MAC address is usually expressed in hexadecimal octets, and is assigned a vendor ID, model ID, serial ID, or the like.

第一のNAS2AのROM31には、識別情報として、第一のNAS2AのMACアドレスと、第二のNAS2BのMACアドレスとが予め記憶される。また、第二のNAS2BのROM31には、識別情報として、第二のNAS2BのMACアドレスと、第一のNAS2AのMACアドレスとが予め記憶される。   In the ROM 31 of the first NAS 2A, the MAC address of the first NAS 2A and the MAC address of the second NAS 2B are stored in advance as identification information. The ROM 31 of the second NAS 2B stores in advance the MAC address of the second NAS 2B and the MAC address of the first NAS 2A as identification information.

アップロード部30Cは、同期対象ファイルを所定のファイル形式へ変換を行い、ファイル形式変換後のファイルの所定領域に識別情報を書き込んだものを送信ファイルとして生成する。生成される送信ファイルは、ファイル名が同期対象ファイルと同じであり、拡張子が所定のファイル形式のものとなる。   The upload unit 30C converts the synchronization target file into a predetermined file format, and generates a transmission file in which identification information is written in a predetermined area of the file after the file format conversion. The generated transmission file has the same file name as the synchronization target file and has a predetermined file format extension.

上記の所定のファイル形式は、任意の情報を書き込むことのできる所定領域を持つファイル形式であれば何でもよい。本実施形態では、所定のファイル形式として圧縮形式の1つであるZIP形式を採用している。ZIP形式は、複数のファイルを纏めて1つのファイルとして取り扱えるように変換したり(アーカイブ)、複数のファイルを纏めて圧縮したり、1つのファイルを圧縮したりするファイルフォーマットである。圧縮形式としては、ZIP形式の他に、RAR、7Z、LZH、又は、LHA等の形式等、任意のものを適用可能である。なお、圧縮形式における圧縮率は任意であり、圧縮率が0%の場合も含む。   The predetermined file format may be any file format as long as it has a predetermined area in which arbitrary information can be written. In the present embodiment, the ZIP format, which is one of the compression formats, is employed as the predetermined file format. The ZIP format is a file format in which a plurality of files are converted so as to be handled as one file (archive), a plurality of files are compressed together, or a single file is compressed. As the compression format, any format such as RAR, 7Z, LZH, or LHA can be applied in addition to the ZIP format. Note that the compression rate in the compression format is arbitrary, including the case where the compression rate is 0%.

ZIPファイルにはヘッダ部分に、任意のコメントを記載できるコメント領域が設けられており、このコメント領域に識別情報を書き込むことで送信ファイルの生成が可能である。   The ZIP file is provided with a comment area where an arbitrary comment can be written in the header portion. A transmission file can be generated by writing identification information in the comment area.

アップロード部30Cは、同期対象ファイルをZIPファイルに変換する際に、このZIPファイルの利用(圧縮されたファイルの伸長)に必要なパスワードを設定した上で、ZIP形式の送信ファイルを生成する。このパスワードは、ファイル同期システム100に対して共通に設定されており、第一のNAS2A及び第二のNAS2Bの各々のROM31に予め記憶される。   When converting the synchronization target file into a ZIP file, the upload unit 30C sets a password necessary for using the ZIP file (decompressing the compressed file), and then generates a ZIP format transmission file. This password is commonly set for the file synchronization system 100 and is stored in advance in the ROMs 31 of the first NAS 2A and the second NAS 2B.

更新リスト取得部30Dは、管理者によって予め決められたタイミングで、サービス提供装置7に対してHDD330のフォルダ単位でファイルの更新リストの送信を要求し、この要求に応じてサービス提供装置7から送信されてきた更新リストを取得する。   The update list acquisition unit 30D requests the service providing apparatus 7 to transmit the file update list in units of folders of the HDD 330 at a timing determined in advance by the administrator, and transmits from the service providing apparatus 7 in response to this request. Get the list of updates that have been made.

ファイルの更新リストとは、更新リスト取得部30Dにより要求が行われた時点でサービス提供装置7のNAS用記憶領域の任意の共有フォルダに記憶されているファイルのうち、更新リスト取得部30Dにより前回要求が行われた時点から変更のあったファイルの一覧を示すものである。   The file update list is a file update list previously stored by the update list acquisition unit 30D among files stored in an arbitrary shared folder in the NAS storage area of the service providing device 7 at the time when the request is made by the update list acquisition unit 30D. A list of files that have changed since the request was made.

この更新リストには、各ファイルのファイル名とメタデータとが含まれる。メタデータには、例えば、タイトル、作成日時、更新日時、作成者、ファイル形式(拡張子)、及び、コメント等のファイル及びファイルの状態を一意に特定するための情報が含まれる。   This update list includes the file name and metadata of each file. The metadata includes information for uniquely specifying the file and the state of the file, such as a title, creation date / time, update date / time, creator, file format (extension), and comment.

なお、更新リスト取得部30Dは、サービス提供装置7に対してHDD330のフォルダ単位で、フォルダに記憶されている全てのファイルのリストを取得し、取得した最新のリストと、過去に取得したリストとを比較して、過去から更新のあったファイルのリストを更新リストとして作成することで、更新リストの取得を行ってもよい。   The update list acquisition unit 30D acquires a list of all the files stored in the folder for each folder of the HDD 330 with respect to the service providing apparatus 7, and acquires the latest list acquired, the list acquired in the past, And an update list may be obtained by creating a list of files updated from the past as an update list.

ここで、サービス提供装置7から送信されてくるファイルのリストには、更新リストと同様に、ファイル名とメタデータとが含まれる。このメタデータに含まれるファイル及びファイルの状態を一意に特定するための情報を参照することで、例えば更新日時の違いによってファイルが更新されたことを判断したり、ファイル名の違いによってファイルが変更又は追加されたことを判断したりといった更新状況の判断が可能である。   Here, the file list transmitted from the service providing apparatus 7 includes a file name and metadata as in the update list. By referring to the information for uniquely identifying the file and file status included in this metadata, for example, it can be determined that the file has been updated due to a difference in update date and time, or the file can be changed due to a difference in file name Alternatively, it is possible to determine the update status such as determining that it has been added.

ダウンロード部30Eは、更新リスト取得部30Dにより取得された更新リストにあるファイルのうち、拡張子が上記の所定のファイル形式の拡張子と一致するファイルを選択し、選択したファイルを、有線LANモジュール34を介してサービス提供装置7から取得する。   The download unit 30E selects a file whose extension matches the extension of the predetermined file format from among the files in the update list acquired by the update list acquisition unit 30D, and selects the selected file as a wired LAN module. It is acquired from the service providing apparatus 7 via 34.

同期処理部30Fは、ダウンロード部30Eにより取得されたファイルが送信ファイルである場合に、当該送信ファイルに含まれる同期対象ファイルを自装置のHDD330に記憶するための処理を行う。   When the file acquired by the download unit 30E is a transmission file, the synchronization processing unit 30F performs processing for storing the synchronization target file included in the transmission file in the HDD 330 of the own device.

この処理は、具体的には、ROM31に記憶されている上記のパスワードを使って送信ファイルを伸長し、伸長して得られる同期対象ファイルを、更新リストの要求対象としたフォルダ内に記憶させる処理である。同期処理部30Fは記憶制御部を構成する。   Specifically, this process is a process of decompressing the transmission file using the password stored in the ROM 31 and storing the synchronization target file obtained by the decompression in the folder as the request target of the update list. It is. The synchronization processing unit 30F constitutes a storage control unit.

同期処理部30Fは、ダウンロード部30Eにより取得されたファイルが送信ファイルでない場合には、このファイルについては伸長及びフォルダ内への記憶を行わずに削除する。   If the file acquired by the download unit 30E is not a transmission file, the synchronization processing unit 30F deletes the file without decompression and storage in the folder.

図8は、図5に示す第二のNAS2BのCPU30の機能ブロック図である。   FIG. 8 is a functional block diagram of the CPU 30 of the second NAS 2B shown in FIG.

第二のNAS2BのCPU30は、受付部30aと、ファイル管理部30bと、アップロード部30cと、更新リスト取得部30dと、ダウンロード部30eと、同期処理部30fと、を備える。これらの機能ブロックは、第二のNAS2BのCPU30が、第二のNAS2BのROM31に記憶されたファイル同期プログラムを含むプログラムを実行することにより形成される。   The CPU 30 of the second NAS 2B includes a reception unit 30a, a file management unit 30b, an upload unit 30c, an update list acquisition unit 30d, a download unit 30e, and a synchronization processing unit 30f. These functional blocks are formed when the CPU 30 of the second NAS 2B executes a program including a file synchronization program stored in the ROM 31 of the second NAS 2B.

受付部30aは、第二の情報機器1Bから第二のLAN4を介して入力されるファイル記憶要求及びファイル読み出し要求を受け付ける。   The accepting unit 30a accepts a file storage request and a file read request input from the second information device 1B via the second LAN 4.

ファイル管理部30bは、受付部30aが受け付けたファイル記憶要求に応じて、HDDインタフェース331を制御して、記憶対象ファイルをHDD330に記憶させる。   The file management unit 30b controls the HDD interface 331 according to the file storage request received by the receiving unit 30a, and stores the storage target file in the HDD 330.

アップロード部30cは、ファイル管理部30bによってHDD330のフォルダB又はフォルダCに新規ファイルが記憶されたり、HDD330のフォルダB又はフォルダC内のファイルのファイル名又はその内容、あるいはファイル名と内容の両方がファイル管理部30bによって変更されたりして、HDD330のフォルダB又はフォルダCに記憶されているファイルに変化があると、HDD330のフォルダB又はフォルダCに記憶されているファイルの中からサービス提供装置7にアップロードすべき同期対象ファイルを抽出する。   In the upload unit 30c, a new file is stored in the folder B or the folder C of the HDD 330 by the file management unit 30b, or the file name of the file in the folder B or the folder C of the HDD 330 or the content thereof, or both the file name and the content are stored. If there is a change in the file stored in the folder B or folder C of the HDD 330 due to a change by the file management unit 30b, the service providing device 7 is selected from the files stored in the folder B or folder C of the HDD 330. Extract files to be synchronized to be uploaded.

アップロード部30cは、HDD330のフォルダB又はフォルダCに新規ファイルが記憶された場合には、この新規ファイルを同期対象ファイルとして抽出する。   When a new file is stored in the folder B or folder C of the HDD 330, the upload unit 30c extracts the new file as a synchronization target file.

アップロード部30cは、HDD330のフォルダB又はフォルダCに記憶されている既存ファイルが変更された(上書き保存や編集がなされた)場合には、この既存ファイルに対して上書きされたファイル、又は、この既存ファイルに対する変更内容を示す差分ファイルをサービス提供装置7の同期対象ファイルとして抽出する。   When the existing file stored in the folder B or folder C of the HDD 330 is changed (overwritten or edited), the upload unit 30c overwrites the existing file, or A difference file indicating the contents of change to the existing file is extracted as a synchronization target file of the service providing apparatus 7.

アップロード部30cは、このようにして抽出した同期対象ファイルと、予め定められた識別情報と、を含む送信ファイルを生成する。そして、アップロード部30cは、この送信ファイルを、送信ファイルに含まれる同期対象ファイルの記憶フォルダを示す情報と共に有線LANモジュール34Aからサービス提供装置7に送信させて、この送信ファイルをNAS用記憶領域の該記憶フォルダに対応する共有フォルダに記憶させる。   The upload unit 30c generates a transmission file including the synchronization target file extracted in this manner and predetermined identification information. Then, the upload unit 30c transmits the transmission file together with information indicating the storage folder of the synchronization target file included in the transmission file from the wired LAN module 34A to the service providing apparatus 7, and the transmission file is stored in the NAS storage area. The data is stored in a shared folder corresponding to the storage folder.

上記の識別情報は、前述したものと同じであり、以下では第二のNAS2BのMACアドレスを例にして説明する。   The identification information is the same as that described above, and will be described below using the MAC address of the second NAS 2B as an example.

アップロード部30cは、同期対象ファイルを上述した所定のファイル形式(以下ではZIP形式とする)へ変換を行い、ファイル形式変換後のファイルの所定領域に識別情報を書き込んだものを送信ファイルとして生成する。   The upload unit 30c converts the synchronization target file into the above-described predetermined file format (hereinafter referred to as ZIP format), and generates a transmission file in which identification information is written in a predetermined area of the file after the file format conversion. .

アップロード部30cは、同期対象ファイルをZIPファイルに変換する際に、このZIPファイルの利用(圧縮されたファイルの伸長)に必要なパスワードを設定した上で、ZIP形式の送信ファイルを生成する。このパスワードは、上述したものと同じであり、第二のNAS2BのROM31に予め記憶されている。   The upload unit 30c, when converting the synchronization target file into a ZIP file, sets a password necessary for using the ZIP file (decompressing the compressed file) and generates a ZIP format transmission file. This password is the same as that described above, and is stored in advance in the ROM 31 of the second NAS 2B.

更新リスト取得部30dは、管理者によって予め決められたタイミングで、サービス提供装置7に対してHDD330のフォルダ単位でファイルの更新リストの送信を要求し、この要求に応じてサービス提供装置7から送信されてきた更新リストを取得する。   The update list acquisition unit 30d requests the service providing apparatus 7 to transmit a file update list for each folder of the HDD 330 at a timing determined in advance by the administrator, and transmits from the service providing apparatus 7 in response to this request. Get the list of updates that have been made.

ファイルの更新リストとは、更新リスト取得部30dにより要求が行われた時点でサービス提供装置7のNAS用記憶領域の任意の共有フォルダに記憶されているファイルのうち、更新リスト取得部30dにより前回要求が行われた時点から変更のあったファイルの一覧を示すものである。   The file update list is a file update list stored in an arbitrary shared folder in the NAS storage area of the service providing device 7 at the time when a request is made by the update list acquisition unit 30d. A list of files that have changed since the request was made.

この更新リストには、上述したように、各ファイルのファイル名とメタデータとが含まれる。   As described above, the update list includes the file name and metadata of each file.

ダウンロード部30eは、更新リスト取得部30dにより取得された更新リストにあるファイルのうち、拡張子が上記の所定のファイル形式の拡張子と一致するファイルを選択し、選択したファイルを、有線LANモジュール34Aを介してサービス提供装置7から取得する。   The download unit 30e selects a file whose extension matches the extension of the predetermined file format from among the files in the update list acquired by the update list acquisition unit 30d, and selects the selected file as a wired LAN module. It is acquired from the service providing apparatus 7 via 34A.

同期処理部30fは、ダウンロード部30eにより取得されたファイルが送信ファイルである場合に、当該送信ファイルに含まれる同期対象ファイルを自装置のHDD330に記憶するための処理を行う。   When the file acquired by the download unit 30e is a transmission file, the synchronization processing unit 30f performs processing for storing the synchronization target file included in the transmission file in the HDD 330 of the own device.

この処理は、具体的には、ROM31に記憶されている上記のパスワードを利用して送信ファイルを伸長し、伸長して得られる同期対象ファイルを、更新リストの要求対象としたフォルダ内に記憶させる処理である。同期処理部30fは記憶制御部を構成する。   Specifically, this process uses the password stored in the ROM 31 to decompress the transmission file, and stores the synchronization target file obtained by the decompression in the folder that is the target of the update list. It is processing. The synchronization processing unit 30f constitutes a storage control unit.

図9及び図10は、図1に示すファイル同期システム100の動作を説明するためのフローチャートである。   9 and 10 are flowcharts for explaining the operation of the file synchronization system 100 shown in FIG.

図9及び図10では、第一のNAS2AのフォルダCに記憶されたファイルと同じファイルが、第二のNAS2BのフォルダCに記憶されることで、第一のNAS2AのフォルダCと第二のNAS2BのフォルダCとの同期がなされる場合の動作を説明する。   9 and 10, the same file as the file stored in the folder C of the first NAS 2A is stored in the folder C of the second NAS 2B, so that the folder C and the second NAS 2B of the first NAS 2A are stored. The operation in the case of synchronization with the folder C will be described.

第一の情報機器1Aの液晶パネル231には、第一のNAS2AのHDD330内のデータ階層構成を示す画面が表示される。この画面が表示された状態で第一の情報機器1Aの操作インタフェース260が操作されて、第一の情報機器1Aの内部ストレージ270に記憶されている任意のファイルがフォルダCに移動又は複写されると、この任意のファイルが第一のNAS2Aに送信される(ステップS1)。   On the liquid crystal panel 231 of the first information device 1A, a screen showing the data hierarchy in the HDD 330 of the first NAS 2A is displayed. With this screen displayed, the operation interface 260 of the first information device 1A is operated, and any file stored in the internal storage 270 of the first information device 1A is moved or copied to the folder C. Then, this arbitrary file is transmitted to the first NAS 2A (step S1).

第一のNAS2Aのファイル管理部30Bは、第一の情報機器1Aから第一のLAN3を経由して送信されてきた任意のファイルをHDD330のフォルダCに記憶させる(ステップS2)。   The file management unit 30B of the first NAS 2A stores an arbitrary file transmitted from the first information device 1A via the first LAN 3 in the folder C of the HDD 330 (step S2).

次に、第一のNAS2Aのアップロード部30Cは、ステップS2でHDD330に記憶された任意のファイルがファイル同期の条件を満たすか否かを判定する(ステップS3)。   Next, the upload unit 30C of the first NAS 2A determines whether or not any file stored in the HDD 330 in step S2 satisfies the file synchronization condition (step S3).

ファイル同期の条件とは、ファイルの拡張子が予め指定されたものであること、ファイルのサイズ(容量)が予め指定された値以下のものであること、ファイルの日時情報(ファイル作成日時、ファイル更新日時、又は、ファイル最終アクセス日時等)が予め指定された範囲であること、のうちの少なくとも1つである。   The conditions for file synchronization are that the file extension is specified in advance, the file size (capacity) is less than or equal to the specified value, file date and time information (file creation date and time, file Update date / time or file last access date / time) is in a pre-designated range.

第一のNAS2Aのアップロード部30Cは、ステップS2でHDD330に記憶された任意のファイルがファイル同期の条件を満たさない場合(ステップS3:NO)は、送信ファイルの生成を行わず、待機状態に移行する。   If the arbitrary file stored in the HDD 330 in step S2 does not satisfy the file synchronization condition (step S3: NO), the upload unit 30C of the first NAS 2A shifts to a standby state without generating a transmission file. To do.

例えば、サービス提供装置7によって提供されるウェブサービスでは、大容量のファイルの記憶をサービス提供装置7が受け入れない場合も考えられる。したがって、ファイルの拡張子が大容量のファイルであると判断できる動画の拡張子であったり、ファイルのサイズが大容量であったりした場合には、このファイルを同期対象ファイルからは除外することで、サービスに制限が課せられているケースにも柔軟に対応することができる。   For example, in the web service provided by the service providing device 7, the service providing device 7 may not accept storage of a large capacity file. Therefore, if the file extension is a video extension that can be determined to be a large file, or if the file size is large, exclude this file from the files to be synchronized. It is possible to flexibly handle cases where restrictions are imposed on services.

第一のNAS2Aのアップロード部30Cは、ステップS2でHDD330に記憶された任意のファイルがファイル同期の条件を満たす場合(ステップS3:YES)には、この任意のファイルを、パスワード設定したZIP形式のファイルに変換する(ステップS4)。   When the arbitrary file stored in the HDD 330 in step S2 satisfies the file synchronization condition (step S3: YES), the upload unit 30C of the first NAS 2A sets the arbitrary file in the ZIP format with the password set. Conversion into a file (step S4).

更に、第一のNAS2Aのアップロード部30Cは、ステップS4で得られたZIPファイルのコメント領域に、ROM31に記憶されている第一のNAS2AのMACアドレスを識別情報として書き込む(ステップS5)。   Further, the upload unit 30C of the first NAS 2A writes the MAC address of the first NAS 2A stored in the ROM 31 as identification information in the comment area of the ZIP file obtained in step S4 (step S5).

そして、第一のNAS2Aのアップロード部30Cは、コメント領域にMACアドレスが書き込まれたZIPファイルと、このZIPファイルに含まれる同期対象ファイルの記憶フォルダ(フォルダC)を示すフォルダ情報と、このZIPファイルの記憶要求信号と、をサービス提供装置7に送信する(ステップS6)。   Then, the upload unit 30C of the first NAS 2A, the ZIP file in which the MAC address is written in the comment area, the folder information indicating the storage folder (folder C) of the synchronization target file included in the ZIP file, and the ZIP file Is sent to the service providing device 7 (step S6).

サービス提供装置7のCPU70は、第一のNAS2Aから送信されてきたZIPファイルを、第一のNAS2Aから送信されてきた記憶要求信号とフォルダ情報にしたがって、NAS用記憶領域のフォルダcに記憶する(ステップS7)。   The CPU 70 of the service providing apparatus 7 stores the ZIP file transmitted from the first NAS 2A in the folder c of the NAS storage area according to the storage request signal and folder information transmitted from the first NAS 2A ( Step S7).

第二のNAS2Bの更新リスト取得部30dは、予め定められたタイミングになると、自装置のHDD330のフォルダCに対応するフォルダcに記憶されているファイルについての更新リストの要求をサービス提供装置7に対して行う(ステップS10)。   The update list acquisition unit 30d of the second NAS 2B sends a request for an update list for the file stored in the folder c corresponding to the folder C of the HDD 330 of the own device to the service providing apparatus 7 at a predetermined timing. (Step S10).

サービス提供装置7は、この要求に応答して、フォルダCに対応するフォルダcに記憶されているファイルについての更新リストを作成し(ステップS11)、作成した更新リストを要求元の第二のNAS2Bに送信する(ステップS12)。   In response to this request, the service providing apparatus 7 creates an update list for the files stored in the folder c corresponding to the folder C (step S11), and uses the created update list as the requesting second NAS 2B. (Step S12).

サービス提供装置7から送信されてきたフォルダCの更新リストが第二のNAS2Bの更新リスト取得部30dによって取得されると、第二のNAS2Bのダウンロード部30eは、更新リスト取得部30dにより取得されたフォルダCの更新リストの中に、ZIPファイルがあるか否かを、更新リストに記載の各ファイルの拡張子によって判定する(ステップS13)。   When the update list of the folder C transmitted from the service providing apparatus 7 is acquired by the update list acquisition unit 30d of the second NAS 2B, the download unit 30e of the second NAS 2B is acquired by the update list acquisition unit 30d. Whether there is a ZIP file in the update list of folder C is determined by the extension of each file described in the update list (step S13).

第二のNAS2Bのダウンロード部30eは、更新リストの中にZIPファイルがない場合(ステップS13:NO)には待機状態に移行する。   When there is no ZIP file in the update list (step S13: NO), the download unit 30e of the second NAS 2B shifts to a standby state.

第二のNAS2Bのダウンロード部30eは、更新リストの中にZIPファイルがある場合(ステップS13:YES)には、更新リストに記載のZIPファイルをサービス提供装置7からダウンロードして、RAM32に一時記憶させる(ステップS14)。なお、第二のNAS2Bのダウンロード部30eは、RAM32の代わりに、HDD等に一時記憶領域を設け、ダウンロードしたZIPファイルをこの一時記憶領域に記憶させてもよい。   When there is a ZIP file in the update list (step S13: YES), the download unit 30e of the second NAS 2B downloads the ZIP file described in the update list from the service providing device 7 and temporarily stores it in the RAM 32. (Step S14). The download unit 30e of the second NAS 2B may provide a temporary storage area in the HDD or the like instead of the RAM 32, and store the downloaded ZIP file in this temporary storage area.

次に、第二のNAS2Bの同期処理部30fは、RAM32に一時記憶されているZIPファイルに対して“1”から“K”(Kは1以上の整数)まで順に通し番号を付与した上で、まず、通し番号N=1を設定する(ステップS15)。   Next, the synchronization processing unit 30f of the second NAS 2B sequentially assigns serial numbers from “1” to “K” (K is an integer of 1 or more) to the ZIP file temporarily stored in the RAM 32. First, serial number N = 1 is set (step S15).

そして、第二のNAS2Bの同期処理部30fは、通し番号NのZIPファイルのコメント領域に識別情報(第一のNAS2AのMACアドレス)が記載されているか否かを判定する(ステップS16)。   Then, the synchronization processing unit 30f of the second NAS 2B determines whether or not the identification information (the MAC address of the first NAS 2A) is described in the comment area of the ZIP file with the serial number N (step S16).

第二のNAS2Bの同期処理部30fは、通し番号NのZIPファイルのコメント領域に第一のNAS2AのMACアドレスが記載されていない場合(ステップS16:NO)には、通し番号NのZIPファイルを破棄する(ステップS20)。   If the MAC address of the first NAS 2A is not described in the comment area of the serial number N ZIP file (step S16: NO), the synchronization processing unit 30f of the second NAS 2B discards the ZIP file of the serial number N. (Step S20).

第二のNAS2Bの同期処理部30fは、通し番号NのZIPファイルのコメント領域に第一のNAS2AのMACアドレスが記載されている場合(ステップS16:YES)には、このZIPファイルがパスワード設定されたものか否かを判定する(ステップS17)。   If the MAC address of the first NAS 2A is described in the comment area of the serial number N ZIP file (step S16: YES), the synchronization processing unit 30f of the second NAS 2B sets the password for this ZIP file. It is determined whether it is a thing (step S17).

このZIPファイルがパスワード設定されていないものである場合(ステップS17:NO)には、第二のNAS2Bの同期処理部30fは、ステップS20の処理を行う。   If this ZIP file is not set with a password (step S17: NO), the synchronization processing unit 30f of the second NAS 2B performs the process of step S20.

このZIPファイルがパスワード設定されているものである場合(ステップS17:YES)には、第二のNAS2Bの同期処理部30fは、このZIPファイルを、ROM31に記憶されているパスワードを使って伸長する処理を行う。   If this ZIP file has a password set (step S17: YES), the synchronization processing unit 30f of the second NAS 2B decompresses this ZIP file using the password stored in the ROM 31. Process.

そして、第二のNAS2Bの同期処理部30fは、この伸長処理に成功して同期対象ファイルが得られた場合(ステップS18:YES)には、この同期対象ファイルを第二のNAS2BのHDD330のフォルダCに記憶させる(ステップS19)。   If the synchronization processing unit 30f of the second NAS 2B succeeds in the decompression process and a synchronization target file is obtained (step S18: YES), the synchronization target file is stored in the HDD 330 folder of the second NAS 2B. C is stored (step S19).

第二のNAS2Bの同期処理部30fは、この伸長処理に失敗した場合(ステップS18:NO)には、ステップS20の処理を行う。   The synchronization processing unit 30f of the second NAS 2B performs the process of step S20 when the expansion process fails (step S18: NO).

ステップS19及びステップS20の処理の後、第二のNAS2Bの同期処理部30fは、通し番号Nが“K”であるか否かを判定し(ステップS21)、通し番号Nが“K”ではない場合(ステップS21:NO)は通し番号Nを1つ増やして(ステップS22)、ステップS16に処理を戻す。   After the processing of step S19 and step S20, the synchronization processing unit 30f of the second NAS 2B determines whether or not the serial number N is “K” (step S21), and when the serial number N is not “K” (step S21). In step S21: NO), the serial number N is incremented by 1 (step S22), and the process returns to step S16.

第二のNAS2Bの同期処理部30fは、通し番号Nが“K”である場合(ステップS21:YES)は、待機状態に移行する。   When the serial number N is “K” (step S21: YES), the synchronization processing unit 30f of the second NAS 2B shifts to a standby state.

第二のNAS2BのフォルダCに記憶されたファイルと同じファイルが、第一のNAS2AのフォルダCに記憶されることで、第二のNAS2BのフォルダCと第一のNAS2AのフォルダCとの同期がなされる場合の動作は、図9において第一の情報機器1Aの動作を第二の情報機器1Bが行い、第一のNAS2Aの動作を第二のNAS2Bが行い、図10において第二のNAS2Bの動作を第一のNAS2Aが行うだけの違いであり、図9及び図10で説明したのと同様に行われる。   The same file as the file stored in the folder C of the second NAS 2B is stored in the folder C of the first NAS 2A, so that the folder C of the second NAS 2B and the folder C of the first NAS 2A are synchronized. In FIG. 9, the operation of the first information device 1A is performed by the second information device 1B, the operation of the first NAS 2A is performed by the second NAS 2B, and the operation of the second NAS 2B is performed in FIG. The only difference is that the operation is performed by the first NAS 2A, which is performed in the same manner as described with reference to FIGS.

次に、第二のNAS2BのフォルダBに記憶されたファイルと同じファイルが、第一のNAS2AのフォルダBに記憶されることで、第二のNAS2BのフォルダBと第一のNAS2AのフォルダBとの同期がなされる場合の動作を説明する。   Next, the same file as the file stored in the folder B of the second NAS 2B is stored in the folder B of the first NAS 2A, so that the folder B of the second NAS 2B and the folder B of the first NAS 2A The operation when synchronization is performed will be described.

図11及び図12は、図1に示すファイル同期システム100において、第二のNAS2BのフォルダBと第一のNAS2AのフォルダBとの同期が行われる場合の動作を説明するためのフローチャートである。   FIG. 11 and FIG. 12 are flowcharts for explaining the operation in the case where the synchronization between the folder B of the second NAS 2B and the folder B of the first NAS 2A is performed in the file synchronization system 100 shown in FIG.

第二の情報機器1Bの操作インタフェース260が操作されて、内部ストレージ270に記憶されている任意のファイルがフォルダBに移動されると、この任意のファイルが第二のNAS2Bに送信される(ステップS1A)。   When the operation interface 260 of the second information device 1B is operated and an arbitrary file stored in the internal storage 270 is moved to the folder B, the arbitrary file is transmitted to the second NAS 2B (step). S1A).

第二のNAS2Bのファイル管理部30bは、第二の情報機器1Bから第二のLAN4を経由して送信されてきた任意のファイルをHDD330のフォルダBに記憶させる(ステップS2A)。   The file management unit 30b of the second NAS 2B stores an arbitrary file transmitted from the second information device 1B via the second LAN 4 in the folder B of the HDD 330 (step S2A).

次に、第二のNAS2Bのアップロード部30cは、ステップS2AでHDD330に記憶された任意のファイルがファイル同期の条件を満たすか否かを判定する(ステップS3A)。この条件は前述したとおりである。   Next, the upload unit 30c of the second NAS 2B determines whether or not any file stored in the HDD 330 in step S2A satisfies the file synchronization condition (step S3A). This condition is as described above.

第二のNAS2Bのアップロード部30cは、ステップS2AでHDD330に記憶された任意のファイルがファイル同期の条件を満たさない場合(ステップS3A:NO)は、送信ファイルの生成を行わず、待機状態に移行する。   When the arbitrary file stored in the HDD 330 in step S2A does not satisfy the file synchronization condition (step S3A: NO), the upload unit 30c of the second NAS 2B does not generate a transmission file and shifts to a standby state. To do.

第二のNAS2Bのアップロード部30cは、ステップS2AでHDD330に記憶された任意のファイルがファイル同期の条件を満たす場合(ステップS3A:YES)には、この任意のファイルを、パスワード設定したZIP形式のファイルに変換する(ステップS4A)。   When the arbitrary file stored in the HDD 330 in step S2A satisfies the file synchronization condition (step S3A: YES), the upload unit 30c of the second NAS 2B sets the arbitrary file in the ZIP format with the password set. Conversion into a file (step S4A).

更に、第二のNAS2Bのアップロード部30cは、ステップS4Aで得られたZIPファイルのコメント領域に、ROM31に記憶されている第二のNAS2BのMACアドレスを識別情報として書き込む(ステップS5A)。   Further, the upload unit 30c of the second NAS 2B writes the MAC address of the second NAS 2B stored in the ROM 31 as identification information in the comment area of the ZIP file obtained in step S4A (step S5A).

そして、第二のNAS2Bのアップロード部30cは、コメント領域にMACアドレスが書き込まれたZIPファイルと、このZIPファイルに含まれる同期対象ファイルの記憶フォルダ(フォルダB)を示すフォルダ情報と、このZIPファイルの記憶要求信号と、をサービス提供装置7に送信する(ステップS6A)。   Then, the upload unit 30c of the second NAS 2B, the ZIP file in which the MAC address is written in the comment area, the folder information indicating the storage folder (folder B) of the synchronization target file included in the ZIP file, and the ZIP file Is sent to the service providing apparatus 7 (step S6A).

サービス提供装置7のCPU70は、第二のNAS2Bから送信されてきたZIPファイルを、第二のNAS2Bから送信されてきた記憶要求信号とフォルダ情報にしたがって、NAS用記憶領域のフォルダbに記憶する(ステップS7A)。   The CPU 70 of the service providing device 7 stores the ZIP file transmitted from the second NAS 2B in the folder b of the NAS storage area according to the storage request signal and folder information transmitted from the second NAS 2B ( Step S7A).

第一のNAS2Aの更新リスト取得部30Dは、予め定められたタイミングで、自装置のHDD330のフォルダBに対する更新リストの要求をサービス提供装置7に対して行う(ステップS10A)。   The update list acquisition unit 30D of the first NAS 2A requests the service providing apparatus 7 for an update list for the folder B of the HDD 330 of the own apparatus at a predetermined timing (step S10A).

サービス提供装置7は、この要求に応答して、フォルダBに対応するフォルダbに記憶されているファイルについての更新リストを作成し(ステップS11A)、作成した更新リストを要求元の第一のNAS2Aに送信する(ステップS12A)。   In response to this request, the service providing device 7 creates an update list for the files stored in the folder b corresponding to the folder B (step S11A), and uses the created update list as the requesting first NAS 2A. (Step S12A).

サービス提供装置7から送信されてきたフォルダBの更新リストが第一のNAS2Aの更新リスト取得部30Dによって取得されると、第一のNAS2Aのダウンロード部30Eは、更新リスト取得部30Dにより取得されたフォルダBの更新リストの中に、ZIPファイルがあるか否かを、更新リストに記載のファイルの拡張子によって判定する(ステップS13A)。   When the update list of the folder B transmitted from the service providing apparatus 7 is acquired by the update list acquisition unit 30D of the first NAS 2A, the download unit 30E of the first NAS 2A is acquired by the update list acquisition unit 30D. Whether there is a ZIP file in the update list of folder B is determined based on the extension of the file described in the update list (step S13A).

第一のNAS2Aのダウンロード部30Eは、更新リストの中にZIPファイルがない場合(ステップS13A:NO)には待機状態に移行する。   If there is no ZIP file in the update list (step S13A: NO), the download unit 30E of the first NAS 2A shifts to a standby state.

第一のNAS2Aのダウンロード部30Eは、更新リストの中にZIPファイルがある場合(ステップS13A:YES)には、更新リストに記載されているZIPファイルをサービス提供装置7からダウンロードして、RAM32に一時記憶させる(ステップS14A)。   When there is a ZIP file in the update list (step S13A: YES), the download unit 30E of the first NAS 2A downloads the ZIP file described in the update list from the service providing device 7 and stores it in the RAM 32. Temporary storage is performed (step S14A).

次に、第一のNAS2Aの同期処理部30Fは、RAM32に一時記憶されているZIPファイルに対して“1”から“K”(Kは1以上の整数)まで順に通し番号を付与した上で、まず、通し番号N=1を設定する(ステップS15A)。   Next, the synchronization processing unit 30F of the first NAS 2A sequentially assigns serial numbers from “1” to “K” (K is an integer of 1 or more) to the ZIP file temporarily stored in the RAM 32. First, serial number N = 1 is set (step S15A).

そして、第一のNAS2Aの同期処理部30Fは、通し番号NのZIPファイルのコメント領域に識別情報(第二のNAS2BのMACアドレス)が記載されているか否かを判定する(ステップS16A)。   Then, the synchronization processing unit 30F of the first NAS 2A determines whether or not the identification information (the MAC address of the second NAS 2B) is described in the comment area of the ZIP file with the serial number N (step S16A).

第一のNAS2Aの同期処理部30Fは、通し番号NのZIPファイルのコメント領域に第二のNAS2BのMACアドレスが記載されていない場合(ステップS16A:NO)には、通し番号NのZIPファイルを破棄する(ステップS20A)。   When the MAC address of the second NAS 2B is not described in the comment area of the serial number N ZIP file (step S16A: NO), the synchronization processing unit 30F of the first NAS 2A discards the ZIP file of the serial number N. (Step S20A).

第一のNAS2Aの同期処理部30Fは、通し番号NのZIPファイルのコメント領域に第二のNAS2BのMACアドレスが記載されている場合(ステップS16A:YES)には、このZIPファイルがパスワード設定されたものか否かを判定する(ステップS17A)。   When the MAC address of the second NAS 2B is described in the comment area of the serial number N ZIP file (step S16A: YES), the synchronization processing unit 30F of the first NAS 2A sets the password for this ZIP file. It is determined whether it is a thing (step S17A).

このZIPファイルがパスワード設定されていないものである場合(ステップS17A:NO)には、第一のNAS2Aの同期処理部30Fは、ステップS20Aの処理を行う。   If this ZIP file has no password set (step S17A: NO), the synchronization processing unit 30F of the first NAS 2A performs the process of step S20A.

このZIPファイルがパスワード設定されているものである場合(ステップS17A:YES)には、第一のNAS2Aの同期処理部30Fは、このZIPファイルを、ROM31に記憶されているパスワードを使って伸長する処理を行う。   If this ZIP file has a password set (step S17A: YES), the synchronization processing unit 30F of the first NAS 2A decompresses this ZIP file using the password stored in the ROM 31. Process.

そして、第一のNAS2Aの同期処理部30Fは、この伸長処理に成功して同期対象ファイルが得られた場合(ステップS18A:YES)には、この同期対象ファイルをHDD330のフォルダBに記憶させる(ステップS19A)。   Then, when the synchronization processing unit 30F of the first NAS 2A succeeds in the decompression processing and obtains the synchronization target file (step S18A: YES), the synchronization processing unit 30F stores the synchronization target file in the folder B of the HDD 330 ( Step S19A).

第一のNAS2Aの同期処理部30Fは、この伸長処理に失敗した場合(ステップS18A:NO)には、ステップS20Aの処理を行う。   When the decompression process fails (step S18A: NO), the synchronization processing unit 30F of the first NAS 2A performs the process of step S20A.

ステップS19A及びステップS20Aの処理の後、第一のNAS2Aの同期処理部30Fは、通し番号Nが“K”であるか否かを判定し(ステップS21A)、通し番号Nが“K”ではない場合(ステップS21A:NO)は、通し番号Nを1つ増やして(ステップS22A)、ステップS16Aに処理を戻す。   After the processing of step S19A and step S20A, the synchronization processing unit 30F of the first NAS 2A determines whether or not the serial number N is “K” (step S21A), and when the serial number N is not “K” (step S21A). In step S21A: NO), the serial number N is incremented by 1 (step S22A), and the process returns to step S16A.

第一のNAS2Aの同期処理部30Fは、通し番号Nが“K”である場合(ステップS21A:YES)は、待機状態に移行する。   When the serial number N is “K” (step S21A: YES), the synchronization processing unit 30F of the first NAS 2A shifts to a standby state.

第一のNAS2AのフォルダAに記憶されたファイルと同じファイルが、第二のNAS2BのフォルダAに記憶されることで、第一のNAS2AのフォルダAと第二のNAS2BのフォルダAとの同期がなされる場合の動作は、図11において第二の情報機器1Bの動作を第一の情報機器1Aが行い、第二のNAS2Bの動作を第一のNAS2Aが行い、図12において第一のNAS2Aの動作を第二のNAS2Bが行い、フォルダBとフォルダbをそれぞれフォルダAとフォルダaに読み替えたものとなる。   The same file as the file stored in the folder A of the first NAS 2A is stored in the folder A of the second NAS 2B, so that the folder A of the first NAS 2A and the folder A of the second NAS 2B are synchronized. In FIG. 11, the operation of the second information device 1B is performed by the first information device 1A, the operation of the second NAS 2B is performed by the first NAS 2A, and the operation of the first NAS 2A in FIG. The second NAS 2B performs the operation, and the folder B and the folder b are replaced with the folder A and the folder a, respectively.

以上のように、ファイル同期システム100によれば、第一のNAS2Aと第二のNAS2Bの各々には、識別情報を含む送信ファイルに含まれる同期対象ファイルだけがサービス提供装置7からダウンロードされることになる。   As described above, according to the file synchronization system 100, only the synchronization target file included in the transmission file including the identification information is downloaded from the service providing apparatus 7 to each of the first NAS 2A and the second NAS 2B. become.

このため、サービス提供装置7のNAS用記憶領域に識別情報を含まない生成元の不明なファイルが記憶されてしまった場合でも、このファイルが第一のNAS2Aと第二のNAS2Bに記憶されることはない。したがって、第一のNAS2Aと第二のNAS2Bの間でのファイル同期を安全に行うことができる。   For this reason, even if an unknown source file that does not include identification information is stored in the NAS storage area of the service providing apparatus 7, this file is stored in the first NAS 2A and the second NAS 2B. There is no. Therefore, file synchronization between the first NAS 2A and the second NAS 2B can be performed safely.

また、ファイル同期システム100によれば、送信ファイルに付加された識別情報によってファイル同期を行う対象のファイルであるかどうかが決定され、ファイル同期を行う対象のファイルであれば、このファイルがサービス提供装置7から第一のNAS2A又は第二のNAS2Bによってダウンロードされる。   Further, according to the file synchronization system 100, it is determined whether or not the file to be subjected to file synchronization is determined based on the identification information added to the transmission file. Downloaded from the device 7 by the first NAS 2A or the second NAS 2B.

このため、同期対象ファイルを含む送信ファイルの送信元である第一のNAS2Aは、第二のNAS2BのIPアドレスが不明であっても、この同期対象ファイルを第二のNAS2Bにダウンロードさせることができる。   Therefore, the first NAS 2A, which is the transmission source of the transmission file including the synchronization target file, can download the synchronization target file to the second NAS 2B even if the IP address of the second NAS 2B is unknown. .

このように、第一のNAS2Aと第二のNAS2Bの間で直接通信を行わずにファイル同期を行うことができるため、第一のNAS2A又は第二のNAS2BのIPアドレスが変更された場合でも、第一のNAS2A又は第二のNAS2Bがインターネット6又はサービス提供装置7に接続さえできれば、ファイル同期が可能である。第一のNAS2Aと第二のNAS2Bの間で直接通信を行わずにファイル同期が可能になることで、特許文献1に記載のようにDDNSサーバが不要となる。このため、ファイル同期システム100の構築コストを削減することができる。   Thus, since file synchronization can be performed without performing direct communication between the first NAS 2A and the second NAS 2B, even when the IP address of the first NAS 2A or the second NAS 2B is changed, As long as the first NAS 2A or the second NAS 2B can connect to the Internet 6 or the service providing device 7, file synchronization is possible. By enabling file synchronization without performing direct communication between the first NAS 2A and the second NAS 2B, a DDNS server is not required as described in Patent Document 1. For this reason, the construction cost of the file synchronization system 100 can be reduced.

また、ファイル同期システム100では、同期対象ファイルが所定のファイル形式へ変換され、ファイル形式変換後のファイルの所定領域(任意の情報を書き込むことのできる領域)に識別情報が書き込まれることで、同期対象ファイルと識別情報とを含む送信ファイルが生成される。   Further, in the file synchronization system 100, the synchronization target file is converted into a predetermined file format, and identification information is written in a predetermined area (an area in which arbitrary information can be written) of the file after the file format conversion. A transmission file including the target file and identification information is generated.

このため、同期対象ファイルがどのような拡張子のファイルであっても、システムで共通の形式で送信ファイルを生成することができる。この結果、第一のNAS2A及び第二のNAS2Bに記憶させるファイルの種別に制限のないシステムを容易に構築することができる。   Therefore, regardless of the extension of the synchronization target file, the transmission file can be generated in a common format in the system. As a result, it is possible to easily construct a system in which the types of files stored in the first NAS 2A and the second NAS 2B are not limited.

特に、所定のファイル形式として広く一般に普及しているZIP形式を採用することで、第一のNAS2A及び第二のNAS2Bに特別なアプリケーションソフトをインストールすることなく、上述した効果を得ることができる。   In particular, by adopting the ZIP format that is widely spread as a predetermined file format, the above-described effects can be obtained without installing special application software in the first NAS 2A and the second NAS 2B.

また、ファイル同期システム100では、送信ファイルにパスワードが設定された状態で、この送信ファイルがサービス提供装置7に記憶される。そして、送信ファイルをダウンロードした第一のNAS2A及び第二のNAS2Bでは、パスワードが設定された送信ファイルに限って、パスワードを使って伸長処理が行われ、伸長処理が成功した場合に限って、同期対象ファイルがHDD330に記憶される。   In the file synchronization system 100, the transmission file is stored in the service providing apparatus 7 with a password set in the transmission file. In the first NAS 2A and the second NAS 2B that downloaded the transmission file, the decompression process is performed using the password only for the transmission file in which the password is set, and the synchronization is performed only when the decompression process is successful. The target file is stored in the HDD 330.

このような構成により、サービス提供装置7のNAS用記憶領域に、識別情報を含むパスワード設定無のZIPファイルが仮に記憶されてしまった場合でも、このZIPファイルが伸長されることない。したがって、生成元の不明なファイルが第一のNAS2A及び第二のNAS2Bに記憶される可能性を減らして安全性を高めることができる。   With such a configuration, even if a password-free ZIP file including identification information is temporarily stored in the NAS storage area of the service providing apparatus 7, the ZIP file is not decompressed. Therefore, it is possible to increase the safety by reducing the possibility that the file whose source is unknown is stored in the first NAS 2A and the second NAS 2B.

また、サービス提供装置7のNAS用記憶領域に記憶された送信ファイルが漏えいした場合でも、送信ファイルに含まれる同期対象ファイルが利用されるのを防ぐことができる。   Further, even when the transmission file stored in the NAS storage area of the service providing apparatus 7 is leaked, it is possible to prevent the synchronization target file included in the transmission file from being used.

アップロード部30C及びアップロード部30cは、同期対象ファイルと、識別情報から生成された二次識別情報とを含む送信ファイルを生成してもよい。二次識別情報は、同期対象ファイルのメタデータと識別情報に基づいて生成される情報である。二次識別情報は、例えば、同期対象ファイルのファイル名と識別情報を組み合わせて所定のルールで生成される。   The upload unit 30C and the upload unit 30c may generate a transmission file including a synchronization target file and secondary identification information generated from the identification information. The secondary identification information is information generated based on the metadata and identification information of the synchronization target file. The secondary identification information is generated by a predetermined rule by combining the file name of the synchronization target file and the identification information, for example.

この場合は、図10のステップS16において、同期処理部30fは、ZIPファイルのコメント領域に二次識別情報があると判定した後に、更に二次識別情報を解析して二次識別情報から識別情報を読み出すことができた場合にのみ、ステップS17以降の処理を行う。又は、同期処理部30fは、二次識別情報から識別情報を読み出すことができ、かつ、二次識別情報から読み出したメタデータが、ZIPファイルに格納されているファイルのメタデータと同一であることが確認できた場合にのみ、ステップS17以降の処理を行う。   In this case, in step S16 of FIG. 10, the synchronization processing unit 30f determines that there is secondary identification information in the comment area of the ZIP file, and then analyzes the secondary identification information to identify the identification information from the secondary identification information. Only when it can be read out, the processing after step S17 is performed. Alternatively, the synchronization processing unit 30f can read the identification information from the secondary identification information, and the metadata read from the secondary identification information is the same as the metadata of the file stored in the ZIP file. Only when it can be confirmed, the processing after step S17 is performed.

この構成によれば、二次識別情報は、同期対象ファイルと識別情報の組み合わせによって生成される一意の情報であるため、二次識別情報が漏えいし、この二次識別情報がコメント領域に記載された発行元不明のZIPファイルがサービス提供装置7のNAS用記憶領域に記憶された場合でも、このZIPファイルが伸長されるのを防ぐことができる。   According to this configuration, since the secondary identification information is unique information generated by a combination of the synchronization target file and the identification information, the secondary identification information is leaked and this secondary identification information is described in the comment area. Even when a ZIP file whose publisher is unknown is stored in the NAS storage area of the service providing apparatus 7, it is possible to prevent the ZIP file from being decompressed.

なお、ファイル同期システム100において、アップロード部30C及びアップロード部30cは、送信ファイルにパスワードを設定するものとしたが、パスワードの設定は必須ではない。   In the file synchronization system 100, the upload unit 30C and the upload unit 30c set a password for the transmission file, but setting the password is not essential.

ファイル同期システム100では、第一のNAS2A及び第二のNAS2Bにおいて、情報機器から送信されてきたファイルがファイル同期の条件を満たす場合にのみ、このファイルがZIPファイルに変換されてサービス提供装置7のNAS用記憶領域に記憶される。   In the file synchronization system 100, in the first NAS 2A and the second NAS 2B, this file is converted into a ZIP file only when the file transmitted from the information device satisfies the file synchronization condition, and the service providing apparatus 7 It is stored in the NAS storage area.

このため、第一のNAS2A及び第二のNAS2Bの管理者の意図に合わせた柔軟な運用が可能となる。このように、サービス提供装置7に記憶されるファイルに制限をかけることで、サービス提供装置7のNAS用記憶領域の契約サイズを減らして、ウェブサービス利用の費用を削減することができる。また、第一のNAS2A及び第二のNAS2Bの記憶容量を小さくすることも可能となる。   For this reason, flexible operation according to the intention of the administrator of the first NAS 2A and the second NAS 2B is possible. In this way, by limiting the files stored in the service providing device 7, the contract size of the NAS storage area of the service providing device 7 can be reduced, and the cost of using the web service can be reduced. In addition, the storage capacities of the first NAS 2A and the second NAS 2B can be reduced.

なお、ファイル同期システム100において、アップロード部30C及びアップロード部30cは、サービス提供装置7にアップロード可能なファイルに制限を設けないようにしてもよい。   In the file synchronization system 100, the upload unit 30C and the upload unit 30c may not limit the files that can be uploaded to the service providing apparatus 7.

図9では、ステップS1において1つのファイルが第一のNAS2Aに送信される場合を説明したが、このステップS1では、複数のファイルを含むフォルダ全体が第一のNAS2Aに送信されることもある。   In FIG. 9, the case where one file is transmitted to the first NAS 2A in step S1 has been described. However, in this step S1, the entire folder including a plurality of files may be transmitted to the first NAS 2A.

この場合には、第一のNAS2Aのアップロード部30Cは、このフォルダに含まれる複数のファイルのそれぞれについてファイル同期の条件を満たすか否かを判定する。そして、第一のNAS2Aのアップロード部30Cは、上記のフォルダから条件を満たさないファイルを削除し、削除後の該フォルダを、ステップS4においてZIPファイルに変換すればよい。   In this case, the upload unit 30C of the first NAS 2A determines whether or not the file synchronization condition is satisfied for each of the plurality of files included in this folder. Then, the upload unit 30C of the first NAS 2A may delete the file that does not satisfy the condition from the above folder, and convert the deleted folder into a ZIP file in step S4.

また、ファイル同期システム100において、アップロード部30C又はアップロード部30cは、HDD330に記憶されている既存ファイルに対する上書きファイルを同期対象ファイルとして抽出し、この上書きファイルをZIP形式に変換して得られたZIPファイルをNAS用記憶領域に記憶させる場合には、このNAS用記憶領域に記憶されている上記の既存ファイルと同じ名称のZIPファイルを、上記変換して得られたZIPファイルで置換するよう指示を出せばよい。   Further, in the file synchronization system 100, the upload unit 30C or the upload unit 30c extracts an overwrite file for an existing file stored in the HDD 330 as a synchronization target file, and a ZIP obtained by converting the overwrite file into a ZIP format. When storing the file in the NAS storage area, an instruction is given to replace the ZIP file having the same name as the existing file stored in the NAS storage area with the ZIP file obtained by the conversion. Just put it out.

また、ファイル同期システム100において、アップロード部30C又はアップロード部30cは、HDD330に記憶されている既存ファイルに対する変更内容を示す差分ファイルを同期対象ファイルとして抽出し、この差分ファイルをZIP形式に変換して得られたZIPファイルをNAS用記憶領域に記憶させる場合には、このNAS用記憶領域に記憶されている上記の既存ファイルと同じ名称のZIPファイルと関連付けて、上記変換して得られたZIPファイルを記憶させるよう指示を出せばよい。   Further, in the file synchronization system 100, the upload unit 30C or the upload unit 30c extracts a difference file indicating the change contents with respect to the existing file stored in the HDD 330 as a synchronization target file, and converts the difference file into a ZIP format. When storing the obtained ZIP file in the NAS storage area, the ZIP file obtained by the above conversion is associated with the ZIP file having the same name as the existing file stored in the NAS storage area. An instruction may be issued to memorize.

そして、同期処理部30F又は同期処理部30fは、上記差分ファイルをZIP形式に変換して得られたZIPファイルがダウンロードされ、伸長処理が成功した場合には、この伸長処理で得られた差分ファイルと、このZIPファイルに関連付けられている既存ファイルとを結合して、ファイルの更新を行えばよい。   Then, the synchronization processing unit 30F or the synchronization processing unit 30f downloads the ZIP file obtained by converting the differential file into the ZIP format, and when the decompression process is successful, the differential file obtained by the decompression process. And the existing file associated with the ZIP file may be combined to update the file.

図10及び図12の動作例では、ダウンロード部30E及びダウンロード部30eが、更新リストにあるZIPファイルのみを選択し、選択したZIPファイルをダウンロードするものとした。しかし、ダウンロード部30E及びダウンロード部30eは、更新リストにある全てのファイルをダウンロードし、ダウンロードしたファイルについて、ZIPファイルであり、かつ、識別情報が付加されており、かつ、パスワードが設定されているファイルについてのみ、伸長処理を行う構成としてもよい。   10 and 12, the download unit 30E and the download unit 30e select only the ZIP file in the update list and download the selected ZIP file. However, the download unit 30E and the download unit 30e download all the files in the update list, and the downloaded files are ZIP files, identification information is added, and passwords are set. Only the file may be configured to perform the decompression process.

又は、ダウンロード部30E及びダウンロード部30eは、更新リストにあるファイルのうち、識別情報が付加されている送信ファイルのみをダウンロードしてRAM32に一時記憶させる構成としてもよい。この構成では、更新リストに含まれる送信ファイルのメタデータに、その送信ファイルのコメント領域に記載されている情報が含まれることが前提である。この場合の動作について図13を用いて説明する。   Alternatively, the download unit 30E and the download unit 30e may be configured to download only the transmission file to which the identification information is added from among the files in the update list and temporarily store them in the RAM 32. In this configuration, it is assumed that the information described in the comment area of the transmission file is included in the metadata of the transmission file included in the update list. The operation in this case will be described with reference to FIG.

図13は、図1に示すファイル同期システム100の動作の変形例を説明するためのフローチャートである。図13に示すフローチャートは、図10においてステップS13及びステップS16を削除し、ステップS14をステップS14Bに変更したものである。以下、図10に対する変更点を中心に説明する。   FIG. 13 is a flowchart for explaining a modification of the operation of the file synchronization system 100 shown in FIG. The flowchart shown in FIG. 13 is obtained by deleting step S13 and step S16 in FIG. 10 and changing step S14 to step S14B. Hereinafter, description will be made centering on the changes to FIG.

第二のNAS2Bのダウンロード部30eは、ステップS12によって更新リストが取得されると、この更新リストにある全てのファイルのメタデータの拡張子及びコメント領域の情報を確認し、この全てのファイルの中から、識別情報がコメント領域に記載されているZIPファイルのみを、サービス提供装置7からダウンロードしてRAM32に一時記憶させる(ステップS14B)。   When the update list is acquired in step S12, the download unit 30e of the second NAS 2B checks the metadata extension and comment area information of all the files in the update list, Thus, only the ZIP file whose identification information is described in the comment area is downloaded from the service providing apparatus 7 and temporarily stored in the RAM 32 (step S14B).

ステップS14Bの後、同期処理部30fは、RAM32に一時記憶されているZIPファイルに通し番号Nを付与して、通し番号Nを“1”に設定し(ステップS15)、通し番号NのZIPファイルにパスワードが設定されているか否かを判定する(ステップS17)。この後はステップS18以降の処理が行われる。   After step S14B, the synchronization processing unit 30f assigns a serial number N to the ZIP file temporarily stored in the RAM 32, sets the serial number N to “1” (step S15), and a password is stored in the ZIP file of serial number N. It is determined whether it is set (step S17). After this, the process after step S18 is performed.

図13に示す動作例によれば、第二のNAS2Bにダウンロードされるファイル数を最小限にすることができる。このため、ファイル同期にかかる時間を短縮したり、第二のNAS2Bの処理負荷を軽減したりすることができる。   According to the operation example shown in FIG. 13, the number of files downloaded to the second NAS 2B can be minimized. For this reason, the time required for file synchronization can be shortened, and the processing load of the second NAS 2B can be reduced.

第一のNAS2A及び第二のNAS2Bの各々のROM31に記憶されるファイル同期プログラムは、プログラムをコンピュータが読取可能な一時的でない(non−transitory)記憶媒体に記憶される。このような「コンピュータ読取可能な記憶媒体」は、たとえば、CD−ROM(Compact Disc−ROM)等の光学媒体や、USBメモリ又はメモリカード等の磁気記憶媒体等を含む。また、このようなプログラムを、インターネット6を介したダウンロードによって提供することもできる。   The file synchronization program stored in the ROM 31 of each of the first NAS 2A and the second NAS 2B is stored in a non-transitory storage medium from which the computer can read the program. Such a “computer-readable storage medium” includes, for example, an optical medium such as a CD-ROM (Compact Disc-ROM), a magnetic storage medium such as a USB memory or a memory card, and the like. Such a program can also be provided by downloading via the Internet 6.

以上のように本明細書には以下の事項が開示されている。   As described above, the following items are disclosed in this specification.

開示されたファイル同期システムは、同期対象ファイルが記憶される第一の記憶部を有する第一の端末装置と、第二の記憶部を有する第二の端末装置と、第一のネットワークを介して前記第一の端末装置及び前記第二の端末装置と通信可能に構成されると共に、前記第一の端末装置及び前記第二の端末装置に対して割り当てられた記憶領域を含むサービス提供装置と、を備えるファイル同期システムであって、前記第一の端末装置は、前記同期対象ファイルと、予め定められた識別情報と、を含む送信ファイルを、前記サービス提供装置の前記記憶領域に記憶させる制御を行うアップロード部を備え、前記第二の端末装置は、前記サービス提供装置の前記記憶領域に自装置以外の装置によって記憶されたファイルを前記サービス提供装置から取得するダウンロード部と、前記ダウンロード部により取得された前記ファイルが前記送信ファイルである場合に、当該送信ファイルに含まれる同期対象ファイルを前記第二の記憶部に記憶させる記憶制御部と、を備えるものである。   The disclosed file synchronization system includes a first terminal device having a first storage unit in which a synchronization target file is stored, a second terminal device having a second storage unit, and a first network. A service providing device configured to be communicable with the first terminal device and the second terminal device, and including a storage area allocated to the first terminal device and the second terminal device; The first terminal apparatus performs control for storing a transmission file including the synchronization target file and predetermined identification information in the storage area of the service providing apparatus. The second terminal device includes an upload unit for performing a file stored by the device other than its own device in the storage area of the service providing device from the service providing device. And a storage control unit that stores a synchronization target file included in the transmission file in the second storage unit when the file acquired by the download unit is the transmission file. It is.

開示された端末装置は、同期対象ファイルが記憶される第一の記憶部を有する端末装置であって、前記同期対象ファイルと、予め定められた識別情報と、を含む送信ファイルを、第一のネットワークを介して複数の前記端末装置と通信可能に構成されると共に前記複数の端末装置に対して割り当てられた記憶領域を含むサービス提供装置の前記記憶領域に記憶させる制御を行うアップロード部と、前記サービス提供装置の前記記憶領域に自装置以外の装置によって記憶されたファイルを前記サービス提供装置から取得するダウンロード部と、前記ダウンロード部により取得されたファイルが前記送信ファイルである場合に、当該送信ファイルに含まれる同期対象ファイルを前記第一の記憶部に記憶するための処理を行う同期処理部と、を備えるものである。   The disclosed terminal device is a terminal device having a first storage unit in which a synchronization target file is stored, and includes a transmission file including the synchronization target file and predetermined identification information, An upload unit configured to be communicable with a plurality of the terminal devices via a network and performing control to be stored in the storage area of a service providing apparatus including a storage area allocated to the plurality of terminal apparatuses; A download unit that acquires a file stored in the storage area of the service providing device by a device other than its own device from the service providing device, and when the file acquired by the download unit is the transmission file, the transmission file A synchronization processing unit that performs processing for storing the synchronization target file included in the first storage unit It is intended.

開示された端末装置は、前記アップロード部は、前記第一の記憶部に記憶されている同期対象ファイルを所定のファイル形式へ変換を行い、ファイル形式変換後のファイルの所定領域に前記識別情報を書き込んだものを前記送信ファイルとして前記記憶領域に記憶させるものである。   In the disclosed terminal device, the upload unit converts the synchronization target file stored in the first storage unit into a predetermined file format, and stores the identification information in a predetermined area of the file after the file format conversion. The written data is stored in the storage area as the transmission file.

開示された端末装置は、前記アップロード部は、前記第一の記憶部に記憶されている同期対象ファイルを圧縮して圧縮ファイルを生成することでファイル形式の変換を行い、生成した前記圧縮ファイルのコメント領域を前記所定領域として当該コメント領域に前記識別情報を書き込んだものを前記送信ファイルとして前記記憶領域に記憶させるものである。   In the disclosed terminal device, the upload unit performs file format conversion by compressing the synchronization target file stored in the first storage unit to generate a compressed file, and the generated compressed file The comment area is the predetermined area, and the identification information written in the comment area is stored in the storage area as the transmission file.

開示された端末装置は、前記アップロード部は、ファイルの利用に必要な所定のパスワードを設定した上で前記同期対象ファイルを圧縮して前記圧縮ファイルを生成し、前記同期処理部は、前記ダウンロード部により取得されたファイルが前記送信ファイルである場合に、当該送信ファイルを前記所定のパスワードによって伸長する伸長処理を行い、伸長処理が成功した場合に、伸長処理によって得られた同期対象ファイルを前記第一の記憶部に記憶させるものである。   In the disclosed terminal device, the upload unit sets a predetermined password necessary for using the file and then compresses the synchronization target file to generate the compressed file. The synchronization processing unit includes the download unit. When the file acquired in step (b) is the transmission file, a decompression process for decompressing the transmission file with the predetermined password is performed. When the decompression process is successful, the synchronization target file obtained by the decompression process is It is stored in one storage unit.

開示された端末装置は、前記アップロード部は、同期対象ファイルのサイズ、拡張子、及び、日時情報の少なくも1つが予め定められた条件を満たす場合にのみ、前記送信ファイルを前記記憶領域に記憶させるものである。   In the disclosed terminal device, the upload unit stores the transmission file in the storage area only when at least one of the size, extension, and date / time information of the synchronization target file satisfies a predetermined condition. It is something to be made.

開示された端末装置は、前記第一のネットワークとは異なる第二のネットワークを介して予め登録された複数の機器と通信可能に構成され、前記複数の機器の各々から、前記第一の記憶部へのファイルの記憶及び前記第一の記憶部のファイルの編集が可能であるものを含む。   The disclosed terminal device is configured to be able to communicate with a plurality of devices registered in advance via a second network different from the first network, and from each of the plurality of devices, the first storage unit Including those capable of storing files and editing files in the first storage unit.

開示されたファイル同期方法は、同期対象ファイルが記憶される第一の記憶部を有する端末装置が、前記同期対象ファイルと、予め定められた識別情報とを、含む送信ファイルを、第一のネットワークを介して複数の前記端末装置と通信可能に構成されると共に前記複数の端末装置に対して割り当てられた記憶領域を含むサービス提供装置の前記記憶領域に記憶させる制御を行い、前記サービス提供装置の前記記憶領域に自装置以外の装置によって記憶されたファイルを前記サービス提供装置から取得し、前記取得したファイルが前記送信ファイルである場合に、当該送信ファイルに含まれる同期対象ファイルを前記第一の記憶部に記憶するための処理を行うものである。   In the disclosed file synchronization method, a terminal device having a first storage unit in which a synchronization target file is stored includes a transmission file including the synchronization target file and predetermined identification information in a first network. And is configured to be communicable with a plurality of the terminal devices via the network, and to store in the storage area of the service providing apparatus including a storage area allocated to the plurality of terminal apparatuses. When a file stored in the storage area by a device other than its own device is acquired from the service providing device, and the acquired file is the transmission file, the synchronization target file included in the transmission file is the first file Processing for storing in the storage unit is performed.

開示されたファイル同期プログラムは、同期対象ファイルが記憶される第一の記憶部を有する端末装置に、前記同期対象ファイルと、予め定められた識別情報と、を含む送信ファイルを、第一のネットワークを介して複数の前記端末装置と通信可能に構成されると共に前記複数の端末装置に割り当てられた記憶領域を含むサービス提供装置の前記記憶領域に記憶させる制御を行うアップロードステップと、前記サービス提供装置の前記記憶領域に自装置以外の装置によって記憶されたファイルを前記サービス提供装置から取得するダウンロードステップと、前記ダウンロードステップにより取得されたファイルが前記送信ファイルである場合に、当該送信ファイルに含まれる同期対象ファイルを前記第一の記憶部に記憶するための処理を行う同期処理ステップと、を実行させるためのものである。   The disclosed file synchronization program stores a transmission file including the synchronization target file and predetermined identification information in a terminal device having a first storage unit in which the synchronization target file is stored. An upload step for performing control to store in the storage area of a service providing apparatus including a storage area allocated to the plurality of terminal apparatuses and configured to be communicable with the plurality of terminal apparatuses via the network; and A download step for acquiring a file stored in the storage area of the device other than its own device from the service providing device, and when the file acquired by the download step is the transmission file, the file is included in the transmission file Performs processing for storing the synchronization target file in the first storage unit A period processing step is for to run.

100 ファイル同期システム
1A 第一の情報機器
1B 第二の情報機器
2A 第一のNAS
2B 第二のNAS
3 第一のLAN
4 第二のLAN
5A 第一のルータ
5B 第二のルータ
6 インターネット
7 サービス提供装置
30 CPU
31 ROM
32 RAM
33 HDD部
330 HDD
A,B,C フォルダ
30A,30a 受付部
30B,30b ファイル管理部
30C,30c アップロード部
30D,30d 更新リスト取得部
30E,30e ダウンロード部
30F,30f 同期処理部
100 file synchronization system 1A first information device 1B second information device 2A first NAS
2B Second NAS
3 First LAN
4 Second LAN
5A First router 5B Second router 6 Internet 7 Service providing device 30 CPU
31 ROM
32 RAM
33 HDD unit 330 HDD
A, B, C Folder 30A, 30a Accepting unit 30B, 30b File management unit 30C, 30c Upload unit 30D, 30d Update list acquisition unit 30E, 30e Download unit 30F, 30f Synchronization processing unit

Claims (9)

同期対象ファイルが記憶される第一の記憶部を有する第一の端末装置と、第二の記憶部を有する第二の端末装置と、第一のネットワークを介して前記第一の端末装置及び前記第二の端末装置と通信可能に構成されると共に、前記第一の端末装置及び前記第二の端末装置に対して割り当てられた記憶領域を含むサービス提供装置と、を備えるファイル同期システムであって、
前記第一の端末装置は、前記同期対象ファイルと、予め定められた識別情報と、を含む送信ファイルを、前記サービス提供装置の前記記憶領域に記憶させる制御を行うアップロード部を備え、
前記第二の端末装置は、前記サービス提供装置の前記記憶領域に自装置以外の装置によって記憶されたファイルを前記サービス提供装置から取得するダウンロード部と、前記ダウンロード部により取得された前記ファイルが前記送信ファイルである場合に、当該送信ファイルに含まれる同期対象ファイルを前記第二の記憶部に記憶させる記憶制御部と、を備えるファイル同期システム。
A first terminal device having a first storage unit storing a synchronization target file; a second terminal device having a second storage unit; the first terminal device via a first network; and A file synchronization system configured to be communicable with a second terminal device and comprising a service providing device including a storage area allocated to the first terminal device and the second terminal device, ,
The first terminal device includes an upload unit that performs control to store a transmission file including the synchronization target file and predetermined identification information in the storage area of the service providing device,
The second terminal device includes: a download unit that acquires a file stored by a device other than the device itself in the storage area of the service providing device from the service providing device; and the file acquired by the download unit is the And a storage control unit that stores a synchronization target file included in the transmission file in the second storage unit when the file is a transmission file.
同期対象ファイルが記憶される第一の記憶部を有する端末装置であって、
前記同期対象ファイルと、予め定められた識別情報と、を含む送信ファイルを、第一のネットワークを介して複数の前記端末装置と通信可能に構成されると共に前記複数の端末装置に対して割り当てられた記憶領域を有するサービス提供装置の前記記憶領域に記憶させる制御を行うアップロード部と、
前記サービス提供装置の前記記憶領域に自装置以外の装置によって記憶されたファイルを前記サービス提供装置から取得するダウンロード部と、
前記ダウンロード部により取得されたファイルが前記送信ファイルである場合に、当該送信ファイルに含まれる同期対象ファイルを前記第一の記憶部に記憶するための処理を行う同期処理部と、を備える端末装置。
A terminal device having a first storage unit in which a synchronization target file is stored,
A transmission file including the synchronization target file and predetermined identification information is configured to be communicable with a plurality of the terminal devices via a first network and assigned to the plurality of terminal devices. An upload unit for performing control to be stored in the storage area of the service providing apparatus having the storage area;
A download unit that acquires a file stored in the storage area of the service providing device by a device other than the device itself from the service providing device;
A synchronization processing unit that performs processing for storing a synchronization target file included in the transmission file in the first storage unit when the file acquired by the download unit is the transmission file; .
請求項2記載の端末装置であって、
前記アップロード部は、前記第一の記憶部に記憶されている同期対象ファイルを所定のファイル形式へ変換を行い、ファイル形式変換後のファイルの所定領域に前記識別情報を書き込んだものを前記送信ファイルとして前記記憶領域に記憶させる端末装置。
The terminal device according to claim 2,
The upload unit converts the synchronization target file stored in the first storage unit into a predetermined file format, and writes the identification information in a predetermined area of the file after the file format conversion as the transmission file As a terminal device stored in the storage area.
請求項3記載の端末装置であって、
前記アップロード部は、前記第一の記憶部に記憶されている同期対象ファイルを圧縮して圧縮ファイルを生成することでファイル形式の変換を行い、生成した前記圧縮ファイルのコメント領域を前記所定領域として当該コメント領域に前記識別情報を書き込んだものを前記送信ファイルとして前記記憶領域に記憶させる端末装置。
The terminal device according to claim 3,
The upload unit performs file format conversion by generating a compressed file by compressing the synchronization target file stored in the first storage unit, and uses the comment area of the generated compressed file as the predetermined area A terminal device that stores the identification information written in the comment area in the storage area as the transmission file.
請求項4記載の端末装置であって、
前記アップロード部は、ファイルの利用に必要な所定のパスワードを設定した上で前記同期対象ファイルを圧縮して前記圧縮ファイルを生成し、
前記同期処理部は、前記ダウンロード部により取得されたファイルが前記送信ファイルである場合に、当該送信ファイルを前記所定のパスワードによって伸長する伸長処理を行い、伸長処理が成功した場合に、伸長処理によって得られた同期対象ファイルを前記第一の記憶部に記憶させる端末装置。
The terminal device according to claim 4,
The upload unit generates a compressed file by compressing the synchronization target file after setting a predetermined password necessary for using the file,
When the file acquired by the download unit is the transmission file, the synchronization processing unit performs a decompression process for decompressing the transmission file with the predetermined password, and when the decompression process is successful, A terminal device that stores the obtained synchronization target file in the first storage unit.
請求項2〜5のいずれか1項記載の端末装置であって、
前記アップロード部は、同期対象ファイルのサイズ、拡張子、及び、日時情報の少なくも1つが予め定められた条件を満たす場合にのみ、前記送信ファイルを前記記憶領域に記憶させる端末装置。
The terminal device according to any one of claims 2 to 5,
The upload unit is a terminal device that stores the transmission file in the storage area only when at least one of the size, extension, and date / time information of the synchronization target file satisfies a predetermined condition.
請求項2〜6のいずれか1項記載の端末装置であって、
前記第一のネットワークとは異なる第二のネットワークを介して予め登録された複数の機器と通信可能に構成され、前記複数の機器の各々から、前記第一の記憶部へのファイルの記憶及び前記第一の記憶部のファイルの編集が可能である端末装置。
The terminal device according to any one of claims 2 to 6,
It is configured to be able to communicate with a plurality of devices registered in advance via a second network different from the first network, and from each of the plurality of devices, storing a file to the first storage unit and A terminal device capable of editing a file in the first storage unit.
同期対象ファイルが記憶される第一の記憶部を有する端末装置が、
前記同期対象ファイルと、予め定められた識別情報と、を含む送信ファイルを、第一のネットワークを介して複数の前記端末装置と通信可能に構成されると共に前記複数の端末装置に対して割り当てられた記憶領域を含むサービス提供装置の前記記憶領域に記憶させる制御を行い、
前記サービス提供装置の前記記憶領域に自装置以外の装置によって記憶されたファイルを前記サービス提供装置から取得し、
前記取得したファイルが前記送信ファイルである場合に、当該送信ファイルに含まれる同期対象ファイルを前記第一の記憶部に記憶するための処理を行うファイル同期方法。
A terminal device having a first storage unit in which a synchronization target file is stored,
A transmission file including the synchronization target file and predetermined identification information is configured to be communicable with a plurality of the terminal devices via a first network and assigned to the plurality of terminal devices. Control to store in the storage area of the service providing device including the storage area,
A file stored by the device other than the device itself in the storage area of the service providing device is acquired from the service providing device,
A file synchronization method for performing processing for storing a synchronization target file included in the transmission file in the first storage unit when the acquired file is the transmission file.
同期対象ファイルが記憶される第一の記憶部を有する端末装置に、
前記同期対象ファイルと、予め定められた識別情報と、を含む送信ファイルを、第一のネットワークを介して複数の前記端末装置と通信可能に構成されると共に前記複数の端末装置に割り当てられた記憶領域を含むサービス提供装置の前記記憶領域に記憶させる制御を行うアップロードステップと、
前記サービス提供装置の前記記憶領域に自装置以外の装置によって記憶されたファイルを前記サービス提供装置から取得するダウンロードステップと、
前記ダウンロードステップにより取得されたファイルが前記送信ファイルである場合に、当該送信ファイルに含まれる同期対象ファイルを前記第一の記憶部に記憶するための処理を行う同期処理ステップと、を実行させるためのファイル同期プログラム。
In the terminal device having the first storage unit in which the synchronization target file is stored,
A transmission file including the synchronization target file and predetermined identification information is configured to be communicable with a plurality of the terminal devices via a first network and allocated to the plurality of terminal devices. An uploading step for performing control to store in the storage area of the service providing apparatus including the area;
A download step of acquiring from the service providing device a file stored by a device other than the device itself in the storage area of the service providing device;
A synchronization processing step for performing processing for storing a synchronization target file included in the transmission file in the first storage unit when the file acquired by the download step is the transmission file; File sync program.
JP2016000550A 2016-01-05 2016-01-05 File synchronization system, terminal device, file synchronization method, and file synchronization program Active JP6597315B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016000550A JP6597315B2 (en) 2016-01-05 2016-01-05 File synchronization system, terminal device, file synchronization method, and file synchronization program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016000550A JP6597315B2 (en) 2016-01-05 2016-01-05 File synchronization system, terminal device, file synchronization method, and file synchronization program

Publications (2)

Publication Number Publication Date
JP2017122978A JP2017122978A (en) 2017-07-13
JP6597315B2 true JP6597315B2 (en) 2019-10-30

Family

ID=59306581

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016000550A Active JP6597315B2 (en) 2016-01-05 2016-01-05 File synchronization system, terminal device, file synchronization method, and file synchronization program

Country Status (1)

Country Link
JP (1) JP6597315B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7223231B2 (en) * 2019-05-31 2023-02-16 株式会社バッファロー Storage device, storage method, and storage program
CN117112508B (en) * 2023-10-20 2024-02-06 杭州美创科技股份有限公司 File synchronization method and device based on serial numbers, computer equipment and storage medium

Also Published As

Publication number Publication date
JP2017122978A (en) 2017-07-13

Similar Documents

Publication Publication Date Title
JP6674532B2 (en) Content Item Block Replication Protocol for Hosting Digital Content Items in Multiple Campuses
EP2950230B1 (en) Information processing system, method of processing information, information processing apparatus, and program
JP4894619B2 (en) Screen output setting method, information processing apparatus, and information processing system
US20040131188A1 (en) Method of generating key data for successful communication during a network link
EP2843909A1 (en) Information processing apparatus, method for controlling the same and computer program
US20150227605A1 (en) Information processing terminal, synchronization control method, and computer-readable recording medium
JP6524635B2 (en) Information storage system and information storage method
JP2006333103A (en) Portable storage device, control program and connection setting method
JP7052481B2 (en) Network system, setting information operation method and program
JP6597315B2 (en) File synchronization system, terminal device, file synchronization method, and file synchronization program
JP6482204B2 (en) Information processing terminal, control method thereof, and program
US20140280456A1 (en) Relay apparatus, information processing system and method
JP2020052574A (en) Management device, data distribution system and program
US9892243B2 (en) Information processing apparatus, information processing method and non-transitory computer readable medium
US10545834B1 (en) Server-assisted network data archiving
US20190297166A1 (en) Relay device and non-transitory computer readable medium storing program
WO2016026291A1 (en) Wireless data card, communication system, data synchronization method and computer storage medium
JP2020035184A (en) Application program and data transfer system
JP6597314B2 (en) File sharing support system, network storage device, file sharing support method, and file sharing support program
JP5535998B2 (en) Data management system and data management method
JP6407449B2 (en) System design support apparatus, method and program
JP6346478B2 (en) Relay device, relay method, relay system, and program
JPWO2018011874A1 (en) Wireless relay device
JP6231952B2 (en) Data management apparatus and data management method
US20170149756A1 (en) Authentication system, authentication method, and computer-readable recording medium

Legal Events

Date Code Title Description
RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20170403

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180925

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20190722

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190916

R150 Certificate of patent or registration of utility model

Ref document number: 6597315

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250