JP6229689B2 - Server and information processing system - Google Patents
Server and information processing system Download PDFInfo
- Publication number
- JP6229689B2 JP6229689B2 JP2015070514A JP2015070514A JP6229689B2 JP 6229689 B2 JP6229689 B2 JP 6229689B2 JP 2015070514 A JP2015070514 A JP 2015070514A JP 2015070514 A JP2015070514 A JP 2015070514A JP 6229689 B2 JP6229689 B2 JP 6229689B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- server
- client
- deletion
- expiration date
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Description
サーバ及び情報処理システムにおいて、データ同期時の通信量を低減可能なサーバ及び情報処理システム。 A server and an information processing system that can reduce the amount of communication during data synchronization in the server and the information processing system.
クライアントーサーバ間のデータ同期方法として、同期を行うたびに全てのデータを同期する方法や、前回同期以降の差分ログ(ジャーナル等のデータ変更ログ)を取得する方法がある。しかし、これらの方式では、データ同期の時の通信量(データ量)が多く、クライアント側のレスポンスが低下する課題があった。 As a data synchronization method between the client and the server, there are a method of synchronizing all data every time synchronization is performed, and a method of acquiring a differential log (data change log such as journal) after the previous synchronization. However, in these methods, there is a problem that the communication amount (data amount) at the time of data synchronization is large and the response on the client side is lowered.
この課題に対し、前回同期以降のDB差分データ(以降差分データと称す)のみをクライアントが取得することで、通信量を削減する手段が考えられる。具体的には、前述の差分ログは、一般的に、ログ出力時刻と、差分データと、付加情報(ログコメント等)と、で構成される。これらの構成要素の内、付加情報の部分のデータ量が一般的に多いため、差分データのみで同期することができれば、通信量の削減が見込める。 In order to solve this problem, there can be considered a means for reducing the amount of communication by the client acquiring only the DB difference data (hereinafter referred to as difference data) after the previous synchronization. Specifically, the above-described difference log is generally configured by log output time, difference data, and additional information (log comment or the like). Of these components, the amount of additional information is generally large, so if synchronization can be achieved using only difference data, a reduction in the amount of communication can be expected.
サーバからクライアントへのデータ変更の通知方法に関する関連技術として、特許文献1に以下の装置及び方法が開示されている。特許文献1に記載の装置及び方法では、サーバ内に複数のデータ値を格納し、キャッシュ内にこれらの複数のデータ値のサブセットを格納し、サーバ内で更新されたデータ値を識別する情報を有した無効化リポートを、サーバプロセッサがクライアントプロセッサに周期的にブロードキャストする。 As a related technique related to a data change notification method from a server to a client, Patent Document 1 discloses the following apparatus and method. In the apparatus and method described in Patent Document 1, a plurality of data values are stored in a server, a subset of the plurality of data values is stored in a cache, and information for identifying an updated data value in the server is stored. The server processor periodically broadcasts the invalidation report it has to the client processor.
しかし、前回同期以降の差分データのみをクライアントが取得する同期方式では、差分ログを取得する方式と比較して付加情報をクライアントが取得しないため、以下の問題が生じる。付加情報はデータの削除情報を含むため、差分データのみを取得する方式では、差分データに含まれないデータに関して、サーバ側でデータ同期の参照元のデータ(以降マスタデータと称する)が削除されたのか、または更新がなかったのかをクライアント側で判断できない。 However, in the synchronous method in which the client acquires only differential data after the previous synchronization, the client does not acquire additional information as compared with the method in which the differential log is acquired. Since the additional information includes data deletion information, in the method of acquiring only difference data, the data synchronization reference source data (hereinafter referred to as master data) is deleted on the server side with respect to data not included in the difference data. Or the client cannot determine if there was no update.
本発明は、差分データのみをクライアントが取得する同期方式の場合にも、サーバ側のマスタデータが削除されたか否かをクライアント側に通知することを一つの目的とする。 An object of the present invention is to notify the client side whether or not the master data on the server side has been deleted even in the case of a synchronous method in which only the difference data is acquired by the client.
本発明のサーバは、クライアントとの間でデータを同期し、同期のために用いられ、第1及び第2の領域を有する更新情報を出力する出力手段を備え、データの削除の場合には、第2の領域は、データ情報及び削除通知情報を含み、データの追加、又は変更の場合には、第2の領域は、データ情報を含むことを特徴とする。 The server according to the present invention includes an output unit that synchronizes data with a client and outputs update information that is used for synchronization and has first and second areas. In the case of data deletion, The second area includes data information and deletion notification information. When data is added or changed, the second area includes data information.
本発明の情報処理システムは、サーバと、クライアントとの間でデータを同期し、同期のために用いられ、第1及び第2の領域を有する更新情報を出力する出力手段をサーバに備え、データの削除の場合には、更新情報は、データ情報及び削除通知情報が第2の領域に記載されデータの追加または変更の場合には、更新情報は、データ情報が第2の領域に記載されていることを特徴とする。 An information processing system according to the present invention includes an output unit that synchronizes data between a server and a client and outputs update information that is used for synchronization and includes first and second areas. In the case of deletion, update information has data information and deletion notification information written in the second area, and in the case of addition or change of data, update information has data information written in the second area. It is characterized by being.
本発明のデータ同期方法は、クライアントとの間でデータを同期し、同期のために用いられ、第1及び第2の領域を有する更新情報を出力し、データの削除の場合には、更新情報は、データ情報及び削除通知情報が第2の領域に記載され、データの追加、変更の場合には、更新情報は、データ情報が第2の領域に記載される。 The data synchronization method of the present invention synchronizes data with a client, outputs update information having first and second areas used for synchronization, and updates data in the case of data deletion. The data information and the deletion notification information are described in the second area, and in the case of addition or change of data, the update information includes the data information in the second area.
クライアントとサーバ間のデータ同期時の通信量を削減し、同期時間を短縮することでクライアント側のレスポンスを向上できる。また、通信量を削減しても、サーバ側でマスタデータが削除された旨クライアント側に通知できるため、適切にデータ同期を行うことができる。 By reducing the amount of communication during data synchronization between the client and server, and shortening the synchronization time, the response on the client side can be improved. Even if the amount of communication is reduced, the client side can be notified that the master data has been deleted on the server side, so that data synchronization can be performed appropriately.
[第一の実施形態]以下、本発明の実施形態について図面を参照して詳細に説明する。
[構成の説明]図1を参照すると、第一の実施形態における情報処理システム100は、サーバ10と、クライアント20と、を備える。
[First Embodiment] Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings.
[Description of Configuration] Referring to FIG. 1, an
図2を参照すると、サーバ10及びクライアント20は、例えば以下のような構成で実現可能である。サーバ10及びクライアント20を構成するハードウェアは、CPU(Central Processing Unit)1、メモリ2、ハードディスクドライブ(HDD)3、入出力インターフェース(I/F)4、通信装置5を備える。サーバ10及びクライアント20の機能は、例えばCPU1が、メモリ2に読み出されたコンピュータプログラム(ソフトウェアプログラム、以下単に「プログラム」と記載する)を実行することにより実現される。実行に際して、CPU1は、入出力I/F4、通信装置5を適宜制御する。
Referring to FIG. 2, the
なお、本実施形態および後述する各実施形態を例として説明される本発明は、係るプログラムが格納されたコンパクトディスク等の不揮発性の記憶媒体によって構成されてもよい。記憶媒体が格納するプログラムは、例えば図示しないドライブ装置により読み出される。 Note that the present invention, which will be described using the present embodiment and each embodiment described later as an example, may be configured by a non-volatile storage medium such as a compact disk in which the program is stored. The program stored in the storage medium is read by a drive device (not shown), for example.
サーバ10及びクライアント20が実行する通信は、例えばOS(Operating System)が提供する機能を使ってアプリケーションプログラムが通信装置5を制御することによって実現される。サーバ10及びクライアント20は、2つ以上の物理的に分離した装置が有線または無線で接続されることによって構成されていてもよい。
The communication executed by the
図2に示すハードウェア構成例は、後述する各実施形態にも適用可能である。なお、サーバ10及びクライアント20は専用の装置であってもよい。なお、サーバ10及びクライアント20およびその各機能ブロックのハードウェア構成は、上述の構成に限定されない。
The hardware configuration example shown in FIG. 2 is also applicable to each embodiment described later. The
再び図1を参照すると、サーバ10は、クライアント20と通信可能に接続し、クライアント20との間でデータを同期する。サーバ10は、クライアント20との同期のために用いられる、第1及び第2の領域を有する更新情報を出力する出力部10aを備える。
Referring to FIG. 1 again, the
出力部10aが出力する更新情報において、第1の領域には、例えば、同期処理毎に付加される、認証情報が記載されている。認証情報は、例えば同期時に使用するアプリケーションの認証情報や同期セッションのトークンである。更新内容にデータ削除を含む場合、出力部10aが出力する更新情報において、第2の領域には、データ情報及び削除通知情報が記載されている。データ情報は、例えばサーバ10側のデータの内、クライアント20との同期対象のデータについて、前回の同期以降に生じた更新を示す情報である。更新を示す情報は、例えば、データを特定する情報(ID)、更新されたフィールドのフィールド名と更新後のフィールドの値である。フィールド名の例としては、主に、クライアント20及びサーバ10にアクセスするユーザによって更新されるものとして、商品名、個数、各データのアクセス権限などが挙げられる。また、主にサーバ10及びクライアント20によって自動的に更新されるものとして、データの更新日時、データの作成日時などが挙げられる。削除通知情報は、このデータがサーバ10で削除される旨、またはクライアント20で保持されている対応するデータを削除する旨を示す情報を含んでいる。また、更新情報は、更新内容がデータの追加または変更のみの場合には、データ情報が第2の領域に記載されている。
In the update information output by the output unit 10a, for example, authentication information added for each synchronization process is described in the first area. The authentication information is, for example, application authentication information used during synchronization or a synchronization session token. When the update content includes data deletion, in the update information output by the output unit 10a, data information and deletion notification information are described in the second area. The data information is information indicating, for example, updates that have occurred since the previous synchronization of the data to be synchronized with the
クライアント20は、サーバ10と通信可能に接続されている。クライアント20は、前述の出力部10aが出力した更新情報を受信し、この更新情報に基づいてデータの同期を行う。
The
[動作の説明]図3aを参照すると、情報処理システム100は、STEP31aで、サーバ10のデータの内、クライアント20と同期する対象のデータが削除された場合(サーバ側データ削除)、STEP32aで、出力部10aは、データ情報及び削除通知情報が第二の領域に記載された更新情報を生成し、出力する(更新情報出力)。
[Description of Operation] Referring to FIG. 3a, the
図3bを参照すると、情報処理システム100は、STEP31bでサーバ10のデータの内、クライアント20と同期する対象のデータが更新、または追加された場合(サーバ側データ変更・追加)、STEP32bで、出力部10aは、データ情報が第2の領域に記載された更新情報を生成し、出力する(更新情報出力)。
Referring to FIG. 3b, the
[効果の説明]本実施形態における情報処理システム100は、削除通知情報を、データ情報と同じ第二の領域に記載した更新情報を生成し、出力する。この更新情報を基に、クライアント20がデータ同期を行う。このため、差分ログを用いたデータ同期と比較して、データが大きい付加情報を、サーバ10とクライアント20との間で通信することなく、データ同期できる。
[Description of Effects] The
[第二の実施形態]図5を参照して、情報処理システム110の実施形態を説明する。
[構成の説明]情報処理システム110は、サーバ11とクライアント21とを備える。以下では、1台のサーバ11と1台のクライアント21とで構成されるシステムとして説明しているが、サーバ11と複数のクライアント21とが接続された構成としてもよい。
[Second Embodiment] An embodiment of the
[Description of Configuration] The
サーバ11は、送受信部11a、データベース(DB)11b、データ監視部11c、及びデータ制御部11dを備える。送受信部11aは、クライアント21の送受信部21aと通信可能に接続されている。また送受信部11aは、データ制御部11dと接続されており、データ制御部11dから受信した差分データをクライアント21の送受信部21aへ送信する。また、送受信部11aはクライアント21の送受信部21aからサーバ11への同期要求を受信する。DB11bは、データ制御部11dによってデータの変更・削除が行われる。
The
データ監視部11cは、データ制御部11dを介してDB11b上のデータの削除予定日を監視し、削除予定日を過ぎたデータをデータ制御部11dに削除させる。データ制御部11dは、DB11b上のデータを読み込んで、データの更新を、後述するキャッシュ有効期間及び削除フラグを含め差分データとし、送受信部11aに出力する。また、データ制御部11dは、サーバ11のDB11b上のデータを変更・削除する。
The data monitoring unit 11c monitors the scheduled deletion date of data on the
図6を参照すると、DB11b上の各データには、ID、データ、データの作成日時、更新日時などの通常のフィールドに加え、キャッシュ有効期間30、削除予定日40、削除フラグ50のフィールドが設けられている。キャッシュ有効期間30は、データ毎にそのデータがクライアント21側で有効である期間を定めたものである。このキャッシュ有効期間クライアント21側で保持されたデータは、後述するように、データ同期に伴って、例えば設定時の現在時刻にキャッシュ有効期間30を足し合わせたキャッシュ有効期限32が設定される。この期限内で、クライアント21側でデータが使用される。データごとにキャッシュ有効期間30を別途設定してもいいし、すべてのデータで同じ期間を設定してもよい。また、後述する削除フラグ50が設定されたタイミングで、このフィールドの値はクリアされる。削除フラグ50は、データが通常のデータか、仮削除データかを示す。本実施形態では、削除フラグ50の値がfalseの時は通常のデータであり、値がtrueの時は仮削除データであるとする。この削除フラグ50は、クライアント21へ送信する差分データに含められる。クライアント21は、差分データに含まれる削除フラグ50から削除対象データの有無を判断する。削除予定日40は、前述の削除フラグがtrueになったタイミングの現在時刻とキャッシュ有効期限32とを足し合わせた値が設定される。
Referring to FIG. 6, each data on the
クライアント21は、送受信部21a、ローカルDB21b、データ制御部21c、及びデータ監視部21dを備える。送受信部21aは、サーバ11の送受信部11aと通信可能に接続され、サーバ11が備えるDB11b上のデータの更新について、その差分データをサーバ11の送受信部11aから受信する。また、送受信部21aは、クライアント21からサーバ11への同期要求を、サーバ11の送受信部11aに送信する。
The
ローカルDB21bは、データ制御部21dによってデータの変更・削除が行われる。データ制御部21dは、送受信部21aが受信した差分データをローカルDB21bに反映させ、またデータ監視部21cからの命令によって、ローカルDB21b上のデータを削除する。データ監視部21cは、データ制御部21dを介してローカルDB21b上のデータのキャッシュ有効期限32を監視し、キャッシュ有効期限32が切れたデータをデータ制御部21dに削除させる。また、データ制御部21dは、データ監視部21cからの命令によってローカルDB21b上のデータを読み込み、キャッシュ有効期限32が切れたデータの有無を確認する。
In the local DB 21b, data is changed / deleted by the data control unit 21d. The data control unit 21d reflects the difference data received by the transmission /
図7を参照すると、ローカルDB21b上の各データには、ID、データ、日時などの一般的なフィールドに加え、キャッシュ有効期間31とキャッシュ有効期限32のフィールドが設けられている。サーバ11とクライアント21との間でデータ同期が行われると、サーバ11のDB11b上の各データに設定されているキャッシュ有効期間30の設定値に従って、差分データによる更新があったクライアント21のローカルDB21b上のデータには、キャッシュ有効期限32(現在時刻にキャッシュ有効期間31を足し合わせたもの)が設定される。前述の削除予定日40と、このキャッシュ有効期限32との関係の具体例を以下に示す。例えば、サーバ11のDB11b上のデータが、ローカルDB21b上のデータにキャッシュ有効期限32が設定された時刻と同時刻に仮削除データに設定されると、サーバ11側とクライアント21側とで同時期にデータが削除され得る状態になる。別の例では、サーバ11のDB11b上のデータが、クライアント21側のデータのキャッシュ有効期限32が到来する時刻に仮削除データに設定された場合、サーバ11のDB11b上のデータが削除されうる状態になる時刻が、クライアント21側のデータと比べてキャッシュ有効期間30分後に到来する。
Referring to FIG. 7, each data on the local DB 21b is provided with fields of a cache
[動作の説明]図8〜図10を参照して、情報処理システム110の動作を説明する。第二の実施形態における情報処理システム110では、上述したクライアント21側のデータのキャッシュ有効期限32と、サーバ11側のデータの削除予定日とを連携させることで、サーバ11側の仮削除データが、クライアント21側の対応するデータが削除された後に削除される。
[Description of Operation] The operation of the
以下、サーバ11のDB11b上の仮削除データが削除されるまでに、サーバ11のDB11b上のデータとクライアント21のローカルDB21b上のデータとが同期できる場合と、削除予定日を過ぎてDB11b上のデータが削除されるまで同期できなかった場合とについて、情報処理システム110の動作を説明する。なお、同期できる場合の動作の説明において、サーバ11のDB11b上のデータの削除依頼をサーバ11に対して行う、クライアント22を含めて説明する。
Hereinafter, before the temporary deletion data on the
図8を参照すると、仮削除データが削除されるまでに、サーバ11のDB11b上のデータとクライアント21のローカルDB21b上のデータとが同期できる場合、まず、クライアント22から、サーバ11のDB11b上のデータに対する削除要求を含む、同期要求をサーバ11が受け取る(STEP1:同期要求)。ここでは、削除要求の対象のデータは、そのIDが3333のデータであるとする。次に、サーバ11は、IDが3333のデータを仮削除データに設定する(STEP2:データ(ID:3333)を仮削除)。具体的には、IDが3333のデータの削除フラグをサーバ11がtrueに設定する。サーバ11は、仮削除データの設定を終えると、削除が成功した旨、削除要求元のクライアント22に通知する(STEP3:削除成功を通知)。
Referring to FIG. 8, when the data on the
次に、クライアント21が、仮削除データにアクセスした場合を考える。クライアント21がサーバ11に、IDが3333のデータを含むデータに対するデータ同期を要求すると(STEP4:同期要求)、サーバ11は、前回クライアント21と同期した後に生じた更新について、差分データをクライアント21に送信する(STEP5:前回同期からの差分データを送信)。クライアント21は、サーバ11から取得した差分データに仮削除データ(削除フラグがtrue)が含まれる場合、削除フラグが記載された、IDが3333のデータが削除対象データであると判断して、クライアント21のローカルDB21bから該当データを削除する(STEP6:仮削除データを削除)。
さらに、取得した差分データの仮削除データ(IDが3333のデータ)以外の各データに対して、クライアント21はキャッシュ有効期限32のフィールドを現在時刻とキャッシュ有効期間31とを合算した値に設定してローカルDB21bに保存する。このように、キャッシュ有効期限32内にデータ同期したクライアント21は、即時に削除対象のデータをローカルDB21bから削除できる。
Next, consider a case where the
Further, for each data other than the temporary deletion data (data with ID 3333) of the acquired difference data, the
次に、仮削除データのキャッシュ有効期限32が過ぎた場合を説明する。図9を参照すると、サーバ11はDB11b上の仮削除データの削除予定日40のフィールドを定期的にチェックし、削除予定日40を超過している仮削除データを削除する(STEP91:削除予定日を過ぎたデータを削除)。サーバ11のDB11b上のデータを削除する動作については、後述する。
Next, a case where the temporary expiration data
クライアント21は、定期的にローカルDB21b上の各データのキャッシュ有効期限32をチェックし、キャッシュ有効期限32を超過したデータを削除する(STEP92:キャッシュ有効期限を過ぎたデータを削除)。これらSTEP91及び92の動作により、未同期状態だったクライアント21で削除対象のデータが残っていた場合は、キャッシュ有効期限32が過ぎたタイミング(サーバ11側で仮削除データ本体が削除されるのと同じタイミング)で、ローカルDB21bから削除される。このため、本発明の情報処理システム110において、キャッシュ有効期間31を過ぎたデータはクライアント21側に存在しないことになり、クライアント21がサーバ11から取得する差分データに仮削除データが含まれなくても両者のデータの間に不整合は生じない(STEP93:同期要求及びSTEP94:前回同期からの差分データを送信)。
The
サーバ11のDB11b上のデータを削除する場合は、図10を参照すると、まず、サーバ11は、クライアント21からのアクセス要求を待機する(STEP101:アクセス要求待機)。クライアント21から受けた要求に、所定のデータの削除要求が含まれていた場合(STEP102:削除要求があるか)、サーバ11は、要求があったデータの削除は行わず、このデータを一旦仮削除データに設定する(STEP103:仮削除データ設定)。具体的には、図6を参照すると、サーバ11は、データの削除フラグをtrueとし削除予定日40(現在時刻にキャッシュ有効期間30を足し合わせたもの)を新規に設定する。また、削除フラグ50及び削除予定日40以外のフィールドはクリアする。
When deleting data on the
データが仮削除データに設定された後、サーバ11は、この仮削除データの削除予定日40が到来するまでこのデータの削除を待機する(STEP104:該当データの削除予定日の超過待ち)。仮削除データの削除予定日40が過ぎたことを検知すると(STEP105:削除予定日を超過したか)、サーバ11は、仮削除データをDB11bから削除する(STEP106:仮削除データ削除)。
After the data is set as the temporary deletion data, the
[効果の説明]差分ログの授受でデータ同期する場合に付加情報で賄っていたサーバ11側のデータ削除の通知は、本発明の情報処理システム110において、差分データにデータ削除の旨記載することで、データ同期時の通信量を削減する。また、サーバ11の仮削除データは削除予定日40を過ぎた後に削除されるため、仮削除データの増大によるリソースの圧迫が低減でき、かつ仮削除データが削除されるようにしても、先述のようにデータ同期においても問題が生じない。
[Explanation of Effect] In the
[他の実施形態]第二の実施形態における情報処理システム110において、仮削除データの削除を、削除予定日40の設定によって行うのではなく、サーバ11のDB11bにアクセスするすべてのクライアントの更新を終えてから行うようにしてもよい。例えば、図11を参照すると、サーバ11のDB11b上のデータにリソースカウントのフィールドを設け、初期値をDB11bにアクセスできる総クライアント数に設定する。各クライアントが仮削除データへのアクセスした場合に、クライアントのIDやMACアドレス等を確認し、重複が無いようにリソースカウントを減らし、値が0になった場合に仮削除データを削除する方法を取ることができる。
[Other Embodiments] In the
また、仮削除データの削除を、アクセスするクライアント21すべての削除依頼を受けた後行ってもよい。例えば、上述したリソースカウントのフィールドを設ける例のように、削除依頼をサーバ11に送信したクライアントを重複なくカウントし、すべてのクライアントから削除依頼を受けたタイミングでサーバ11は仮削除データを削除することができる。
The temporary deletion data may be deleted after receiving a deletion request for all the
また、第二の実施形態では、サーバ11のDB11b上のデータが仮削除データであることを、削除フラグと削除予定日との2つのフィールドで示していたが、削除予定日のフィールドのみで示してもよい。この場合、削除予定日のフィールドに値が入力され、データ制御部11dは、このフィールドが空欄でないデータを仮削除データと認識する。
In the second embodiment, the two fields of the deletion flag and the scheduled deletion date indicate that the data on the
また、DB11b上のデータの監視及び仮削除データの削除は、サーバ11の負荷に合わせて適宜行ってよい。例えば、定期的に削除予定日を超過したデータの有無を探してもよく、仮削除データに設定された後、別のクライアントから仮削除データへのアクセスが発生したときに、削除予定日を超過しているか確認してもよい。また、第二の実施形態では、仮削除データの設定として、削除フラグ50及び削除予定日40以外のフィールドをクリアする例を説明したが、クリアせずに残してもよい。この場合、例えば、仮削除データをクライアントから検索できるようにしてもよい。また、上述した各実施の形態は、適宜組み合わせて実施されることが可能である。各ブロック図に示したブロック分けは、説明の便宜上から表された構成である。各実施形態を例に説明された本発明は、その実装に際して、各ブロック図に示した構成には限定されない。
The monitoring of data on the
以上、本発明を実施するための形態について説明したが、上記実施の形態は本発明の理解を容易にするためのものであり、本発明を限定して解釈するためのものではない。本発明はその趣旨を逸脱することなく変更、改良され得ると共に、本発明にはその等価物も含まれる。 As mentioned above, although the form for implementing this invention was demonstrated, the said embodiment is for making an understanding of this invention easy, and is not for limiting and interpreting this invention. The present invention can be changed and improved without departing from the gist thereof, and the present invention includes equivalents thereof.
1 CPU
2 メモリ
3 HDD
4 入出力I/F
5 通信装置
10、11 サーバ
10a 出力部
11a 送受信部
11b DB
11c データ監視部
11d データ制御部
20、21、22 クライアント
21a 送受信部
21b ローカルDB
21c データ監視部
21d データ制御部
30、31 キャッシュ有効期間
32 キャッシュ有効期限
40 削除予定日
50 削除フラグ
100、110 情報処理システム
1 CPU
2 Memory 3 HDD
4 I / O I / F
5
11c
21c Data monitoring unit 21d
Claims (5)
前記データの前記同期のための更新情報としての差分データを出力する第一のデータ制御手段を備え、
前記差分データは、前記データの反映先のデータについての第一の有効期限を前記クライアント側で設定するための第一の有効期間を含み、
前記反映先のデータは、前記第一の有効期限が過ぎると削除され、
前記データの参照元である前記サーバのデータは、前記第一の有効期限より後に到来する第二の有効期限が過ぎると削除される、サーバ。 On the server that synchronizes data with the client,
Comprising a first data control means for outputting the difference data as the update information for the synchronization of the data,
The difference data includes a first validity period for setting a first validity period for the data to which the data is reflected on the client side,
The data to be reflected is deleted when the first expiration date passes,
A server in which data of the server that is a reference source of the data is deleted when a second expiration date that comes after the first expiration date passes .
前記第一のデータ監視手段は、前記第二の有効期限を過ぎたことを検知すると、前記データ制御手段に前記サーバのデータを削除させる、サーバ。 The according to claim 1 server further comprising a first data monitoring means for monitoring the second expiration date,
When the first data monitoring unit detects that the second expiration date has passed, the first data monitoring unit causes the data control unit to delete the data of the server.
前記サーバは、前記データの前記同期のための更新情報としての差分データを出力する第一のデータ制御手段を備え、
前記差分データは、前記データの反映先のデータについての第一の有効期限を前記クライアント側で設定するための第一の有効期間を含み、
前記反映先のデータは、前記第一の有効期限が過ぎると削除され、
前記データの参照元である前記サーバのデータは、前記第一の有効期限より後に到来する第二の有効期限が過ぎると削除されることを特徴とする情報処理システム。 In an information processing system that synchronizes data between a server and a client,
The server includes first data control means for outputting difference data as update information for the synchronization of the data ,
The difference data includes a first validity period for setting a first validity period for the data to which the data is reflected on the client side,
The data to be reflected is deleted when the first expiration date passes,
The information processing system according to claim 1, wherein data of the server that is a reference source of the data is deleted when a second expiration date that comes after the first expiration date has passed .
前記第二のデータ監視手段は、前記第一の有効期限を過ぎたことを検知すると、前記第二のデータ制御手段に前記クライアントのデータを削除させる、情報処理システム。 4. The information processing system according to claim 3 , wherein the client is a second data monitoring unit that monitors the first expiration date of the data of the client , and a second that adds, changes, or deletes the data of the client . Data control means ,
When the second data monitoring unit detects that the first expiration date has passed, the second data monitoring unit causes the second data control unit to delete the data of the client .
前記サーバは、前記データの前記同期のための更新情報としての差分データを出力し、
前記差分データは、前記データの反映先のデータについての第一の有効期限を前記クライアント側で設定するための第一の有効期間を含み、
前記反映先のデータは、前記第一の有効期限が過ぎると削除され、
前記データの参照元である前記サーバのデータは、前記第一の有効期限より後に到来する第二の有効期限が過ぎると削除される、データ同期方法。 In a data synchronization method for synchronizing data between a server and a client,
The server outputs difference data as update information for the synchronization of the data ,
The difference data includes a first validity period for setting a first validity period for the data to which the data is reflected on the client side,
The data to be reflected is deleted when the first expiration date passes,
The data synchronization method , wherein data of the server that is a reference source of the data is deleted when a second expiration date that comes after the first expiration date passes .
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2015070514A JP6229689B2 (en) | 2015-03-31 | 2015-03-31 | Server and information processing system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2015070514A JP6229689B2 (en) | 2015-03-31 | 2015-03-31 | Server and information processing system |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2016192001A JP2016192001A (en) | 2016-11-10 |
JP6229689B2 true JP6229689B2 (en) | 2017-11-15 |
Family
ID=57246668
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2015070514A Active JP6229689B2 (en) | 2015-03-31 | 2015-03-31 | Server and information processing system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6229689B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6792180B2 (en) * | 2019-04-26 | 2020-11-25 | 富士通クライアントコンピューティング株式会社 | Information processing equipment, information processing systems, and programs |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2003040925A1 (en) * | 2001-10-22 | 2003-05-15 | Aisin Aw Co., Ltd. | Information control system, server for information control system, and information terminal for information control system |
JP2006330793A (en) * | 2005-05-23 | 2006-12-07 | Hitachi Electronics Service Co Ltd | Download data management system, client terminal and management server |
JP5217376B2 (en) * | 2007-11-16 | 2013-06-19 | 日本電気株式会社 | Terminal cache management apparatus, terminal cache management method, and program |
JP2009237843A (en) * | 2008-03-27 | 2009-10-15 | Brother Ind Ltd | File management system, mobile terminal, and mobile terminal program |
JP2014010465A (en) * | 2012-06-27 | 2014-01-20 | International Business Maschines Corporation | Method for selecting storage cloud for storing entity file from two or more storage cloud and computer and computer program |
-
2015
- 2015-03-31 JP JP2015070514A patent/JP6229689B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2016192001A (en) | 2016-11-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11068449B2 (en) | Data migration method, apparatus, and storage medium | |
CN107943594B (en) | Data acquisition method and device | |
CN109547512B (en) | NoSQL-based distributed Session management method and device | |
US10275347B2 (en) | System, method and computer program product for managing caches | |
US8386424B2 (en) | Transparent access mechanism for local and remote data | |
JP5686034B2 (en) | Cluster system, synchronization control method, server device, and synchronization control program | |
US10831612B2 (en) | Primary node-standby node data transmission method, control node, and database system | |
US9110807B2 (en) | Cache conflict detection | |
US11347933B1 (en) | Distributed collaborative storage with operational transformation | |
US20170161313A1 (en) | Detection and Resolution of Conflicts in Data Synchronization | |
US10805394B2 (en) | File server apparatus having shared file system with file and directory operation processing | |
US20180349432A1 (en) | Database system, transaction management node, method, and medium | |
US20170054803A1 (en) | Information processing device, method, and system | |
JP2018515850A (en) | Data copy method and device | |
KR20130011130A (en) | Memo synchronization system, mobile system and memo synchronization method for synchronizing memo data | |
JP2012146083A (en) | Session management system, session management apparatus, server device and session management method | |
CN113094430A (en) | Data processing method, device, equipment and storage medium | |
US10579604B2 (en) | Database system, information processing device, method and medium | |
KR102208704B1 (en) | Blockchain software capable of operation corresponding sql query, blockchain system, and method of thereof | |
US20150095280A1 (en) | Data synchronization method, data synchronization apparatus, and storage medium for synchronizing data among a plurality of databases | |
JP6229689B2 (en) | Server and information processing system | |
US20160173714A1 (en) | Information processing apparatus, method of controlling the same, and storage medium | |
CN109885258B (en) | Data deleting device and method based on block chain | |
TWI571754B (en) | Method for performing file synchronization control, and associated apparatus | |
JP2014016953A (en) | Unshared type database system, synchronizing device, database server, its synchronizing method, and synchronizing program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20170531 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20170613 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20170809 |
|
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: 20170919 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20171002 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6229689 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |