JP2017033435A - Data decentralization management system and operation method thereof - Google Patents

Data decentralization management system and operation method thereof Download PDF

Info

Publication number
JP2017033435A
JP2017033435A JP2015154935A JP2015154935A JP2017033435A JP 2017033435 A JP2017033435 A JP 2017033435A JP 2015154935 A JP2015154935 A JP 2015154935A JP 2015154935 A JP2015154935 A JP 2015154935A JP 2017033435 A JP2017033435 A JP 2017033435A
Authority
JP
Japan
Prior art keywords
data
backup
timing
distributed database
database server
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.)
Granted
Application number
JP2015154935A
Other languages
Japanese (ja)
Other versions
JP6325494B2 (en
Inventor
高太朗 三上
Kotaro Mikami
高太朗 三上
史郎 青島
Shiro Aoshima
史郎 青島
慎一郎 土橋
Shinichiro Dobashi
慎一郎 土橋
正志 内條
Masashi Uchijo
正志 内條
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2015154935A priority Critical patent/JP6325494B2/en
Publication of JP2017033435A publication Critical patent/JP2017033435A/en
Application granted granted Critical
Publication of JP6325494B2 publication Critical patent/JP6325494B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To determine whether there is a possibility that data are inconsistent with each other when some of a plurality of data are restored.SOLUTION: A plurality of data are backed up at timing of mutual consistency thereof and the backup timing is stored. When only some of the data are restored, it is determined whether the timestamp of data which is not restored indicates timing after the backup timing (T1). When YES at T1, it is determined that the data may be inconsistent with each other supposing that they are restored (T3). When a timestamp of each of data which are not restored indicates timing before the backup timing (T5: NO), it is determined that the data are consistent with each other supposing that they are restored (T7).SELECTED DRAWING: Figure 5

Description

本発明は、データ分散管理システムとその動作方法に関する。   The present invention relates to a data distribution management system and an operation method thereof.

従来においては、例えば、複数のデータを分散データベースサーバに分散記憶し、バックアップサーバにバックアップする。分散データベースサーバにおいて、あるデータを記憶した記憶装置の故障によりデータを紛失し、その後、記憶装置が復旧した場合、バックアップサーバにバックアップしたデータを分散データベースサーバに送信し、レストアする。   Conventionally, for example, a plurality of data is distributed and stored in a distributed database server and backed up to a backup server. In the distributed database server, when data is lost due to a failure of a storage device storing certain data, and then the storage device is restored, the data backed up to the backup server is transmitted to the distributed database server and restored.

特開2001−282761号公報JP 2001-282761 A 特開2001−156778号公報JP 2001-156778 A

ところで、例えば故障中に他のデータが更新され、これにより、レストアしたデータが相対的に古いものとなり、すなわち、各データが互いに整合しないこととなる可能性がある。   By the way, for example, other data is updated during a failure, so that the restored data becomes relatively old, that is, the data may not match each other.

この場合、レストアしたデータが更新され、新しいものとなったときに、各データが互いに整合することとなる。   In this case, when the restored data is updated and becomes new, the data are consistent with each other.

よって、それまでは、データをサービス提供等に使用できないという不都合がある。   Therefore, until then, there is an inconvenience that data cannot be used for service provision or the like.

本発明は、上記従来の課題に鑑みてなされたものであり、複数のデータの一部をレストアした場合においてデータが互いに整合しない可能性があるか否かを判定可能とする技術を提供することを目的とする。   The present invention has been made in view of the above-described conventional problems, and provides a technique that makes it possible to determine whether data may not match each other when a part of a plurality of data is restored. With the goal.

上記課題を解決するために、第1の本発明であるデータ分散管理システムは、複数のデータを当該各データの更新タイミングを示すタイムスタンプに対応づけて分散記憶する分散データベースサーバと、前記複数のデータが互いに整合しているタイミングにおいて少なくとも1つの前記データであるバックアップ対象データを前記分散データベースサーバから取得して記憶し、後に当該バックアップ対象データを前記分散データベースサーバに送信して記憶させるバックアップサーバと、前記バックアップ対象データが前記バックアップサーバに記憶されたタイミングであるバックアップタイミングを記憶し、前記バックアップ対象データを除く各データのタイムスタンプのタイミングと前記バックアップタイミングとを比較し、少なくとも1つの当該タイムスタンプが前記バックアップタイミングより後のタイミングを示すならば、前記バックアップ対象データを前記分散データベースサーバに送信して記憶させた場合においてはデータが互いに整合しない可能性があると判定する一方、当該各タイムスタンプが前記バックアップタイミング以前のタイミングを示すならば、前記バックアップ対象データを前記分散データベースサーバに送信して記憶させた場合においてはデータが互いに整合すると判定する制御装置とを備えることを特徴とする。   In order to solve the above-described problem, a data distribution management system according to the first aspect of the present invention includes a distributed database server that stores a plurality of pieces of data in association with time stamps indicating update timings of the respective data; A backup server that acquires and stores at least one backup target data as the data from the distributed database server at a timing when the data is consistent with each other, and later transmits the backup target data to the distributed database server for storage Storing a backup timing that is a timing at which the backup target data is stored in the backup server, comparing a timing of a time stamp of each data excluding the backup target data with the backup timing, If one of the time stamps indicates a timing after the backup timing, it is determined that the data may not be consistent with each other when the backup target data is transmitted to the distributed database server and stored. And a control device that determines that the data matches each other when the backup target data is transmitted to the distributed database server and stored if each time stamp indicates a timing before the backup timing. And

第2の本発明であるデータ分散管理システムの動作方法は、前記データ分散管理システムは、複数のデータを当該各データの更新タイミングを示すタイムスタンプに対応づけて分散記憶する分散データベースサーバと、前記複数のデータが互いに整合しているタイミングにおいて少なくとも1つの前記データであるバックアップ対象データを前記分散データベースサーバから取得して記憶し、後に当該バックアップ対象データを前記分散データベースサーバに送信して記憶させるバックアップサーバと、前記バックアップ対象データが前記バックアップサーバに記憶されたタイミングであるバックアップタイミングを記憶する制御装置を備え、前記動作方法は、前記制御装置が、前記バックアップ対象データを除く各データのタイムスタンプのタイミングと前記バックアップタイミングとを比較し、前記制御装置が、少なくとも1つの当該タイムスタンプが前記バックアップタイミングより後のタイミングを示すならば、前記バックアップ対象データを前記分散データベースサーバに送信して記憶させた場合においてはデータが互いに整合しない可能性があると判定する一方、当該各タイムスタンプが前記バックアップタイミング以前のタイミングを示すならば、前記バックアップ対象データを前記分散データベースサーバに送信して記憶させた場合においてはデータが互いに整合すると判定することを特徴とする。   The operation method of the data distribution management system according to the second aspect of the present invention is such that the data distribution management system distributes and stores a plurality of data in association with time stamps indicating the update timing of each data, Backup in which at least one backup target data, which is the data, is acquired from the distributed database server and stored at a timing when a plurality of data are consistent with each other, and then the backup target data is transmitted to the distributed database server for storage A server and a control device that stores a backup timing that is a timing at which the backup target data is stored in the backup server, and the operation method includes: a time stamp of each data excluding the backup target data; The timing is compared with the backup timing, and if at least one of the time stamps indicates a timing after the backup timing, the control device transmits the backup target data to the distributed database server for storage. In some cases, when it is determined that the data may not be consistent with each other, if each time stamp indicates a timing before the backup timing, the backup target data is transmitted to the distributed database server and stored. Is characterized in that it is determined that the data match each other.

本発明によれば、複数のデータの一部をレストアした場合においてデータが互いに整合しない可能性があるか否かを判定できる。   According to the present invention, it is possible to determine whether or not data may not match each other when a part of a plurality of data is restored.

本発明の実施の形態に係わるデータ分散管理システムを示す図である。It is a figure which shows the data distribution management system concerning embodiment of this invention. 互いに関連する複数のデータを分散させて記憶する例を示す図である。It is a figure which shows the example which disperse | stores and memorize | stores several data relevant to each other. データとタイムスタンプの例を示す図である。It is a figure which shows the example of data and a time stamp. データ分散管理システムの動作の例を示すシーケンス図である。It is a sequence diagram which shows the example of operation | movement of a data distribution management system. 図4におけるステップS61の判定方法を示すフローチャートである。It is a flowchart which shows the determination method of step S61 in FIG. データが互いに整合しない可能性があるか否か判定できる理由を示す図である。It is a figure which shows the reason which can determine whether data may not mutually match.

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

図1は、本発明の実施の形態に係わるデータ分散管理システムを示す図である。   FIG. 1 is a diagram showing a data distribution management system according to an embodiment of the present invention.

データ分散管理システム1は、分散データベースサーバ11、バックアップサーバ12及び制御装置13を通信回線で接続したものであり、分散データベースサーバ11は、サービス提供装置2に通信回線を介して接続される。   The data distribution management system 1 is a system in which a distributed database server 11, a backup server 12, and a control device 13 are connected via a communication line, and the distributed database server 11 is connected to the service providing apparatus 2 via a communication line.

分散データベースサーバ11は、複数の記憶装置A1、A2、A3、…を備え、バックアップサーバ12も、複数の記憶装置B1、B2、B3、…を備える。   The distributed database server 11 includes a plurality of storage devices A1, A2, A3,..., And the backup server 12 also includes a plurality of storage devices B1, B2, B3,.

分散データベースサーバ11は、互いに関連する複数のデータを記憶装置A1、A2、A3、…に分散させて記憶する。分散データベースサーバ11は、このような複数のデータを複数記憶する。分散データベースサーバ11は、サービス提供装置2からデータを要求されたならば、要求されたデータをサービス提供装置2に送信する。このデータにより、サービス提供装置2は、ユーザに対してサービスを提供する。サービスは、例えば、通信サービスなどであるが、他のサービスでもよい。   The distributed database server 11 distributes and stores a plurality of data related to each other in the storage devices A1, A2, A3,. The distributed database server 11 stores a plurality of such a plurality of data. When the distributed database server 11 is requested for data from the service providing apparatus 2, the distributed database server 11 transmits the requested data to the service providing apparatus 2. With this data, the service providing apparatus 2 provides a service to the user. The service is, for example, a communication service, but may be another service.

バックアップサーバ12は、分散データベースサーバ11が記憶した互いに関連する複数のデータを受信し、バックアップとして、記憶装置B1、B2、B3、…に分散させて記憶する。バックアップサーバ12は、分散データベースサーバ11の記憶装置の故障によりデータが紛失し、その後、記憶装置が復旧した場合、バックアップとして記憶したデータを分散データベースサーバ11に送信し、データをレストアする。   The backup server 12 receives a plurality of data related to each other stored by the distributed database server 11, and stores them as backups in a distributed manner in the storage devices B1, B2, B3,. When the data is lost due to a failure of the storage device of the distributed database server 11 and then the storage device is restored, the backup server 12 transmits the data stored as a backup to the distributed database server 11 and restores the data.

図2は、互いに関連する複数のデータを分散させて記憶する例を示す図である。   FIG. 2 is a diagram illustrating an example of storing a plurality of data related to each other in a distributed manner.

記憶装置A1は、互いに関連するデータD1、D2、D3、D4のうちのデータD1を記憶する。記憶装置A2は、データD2を記憶し、記憶装置A3は、データD3、D4を記憶する。   The storage device A1 stores data D1 among the data D1, D2, D3, and D4 related to each other. The storage device A2 stores data D2, and the storage device A3 stores data D3 and D4.

記憶装置B1は、データD1、D2を記憶する。記憶装置B2は、データD3を記憶し、記憶装置B3は、データD4を記憶する。   The storage device B1 stores data D1 and D2. The storage device B2 stores data D3, and the storage device B3 stores data D4.

なお、これは互いに関連する複数のデータの1組についての例示であり、他のものについても同じとする必要はない。記憶装置数も3に限らない。   Note that this is an example of a set of a plurality of data related to each other, and the other data need not be the same. The number of storage devices is not limited to three.

図3は、データとタイムスタンプの例を示す図である。   FIG. 3 is a diagram illustrating an example of data and a time stamp.

分散データベースサーバ11において各データは、データの更新タイミングを示すタイムスタンプに対応づけて記憶される。図は、データD1が、10月1日の10時00分に更新されたことを示すタイムスタンプに対応づけて記憶される様子を示す。なお、タイムスタンプの粒度は任意であり、秒まで示すものであってもよい。   In the distributed database server 11, each data is stored in association with a time stamp indicating the data update timing. The figure shows how data D1 is stored in association with a time stamp indicating that it was updated at 10:00 on October 1. Note that the granularity of the time stamp is arbitrary, and may indicate up to seconds.

図4は、データ分散管理システムの動作の例を示すシーケンス図である。   FIG. 4 is a sequence diagram illustrating an example of the operation of the data distribution management system.

分散データベースサーバ11は、図2に示すようにデータD1〜D4を記憶し、データにはタイムスタンプが対応づけられていることする。この時点でデータD1〜D4は互いに整合していることとする(S1)。   The distributed database server 11 stores data D1 to D4 as shown in FIG. 2, and a time stamp is associated with the data. At this time, it is assumed that the data D1 to D4 are consistent with each other (S1).

例えば、記憶装置A1でデータD1およびタイムスタンプが更新され(S3)、これにより、例えば、データD1〜D4は互いに整合しないこととなる(S5)。   For example, the data D1 and the time stamp are updated in the storage device A1 (S3), so that, for example, the data D1 to D4 do not match each other (S5).

次に、記憶装置A2でデータD2およびタイムスタンプが更新される(S13)。例えば、データD1〜D4は互いに整合しないままである(S5)。   Next, the data D2 and the time stamp are updated in the storage device A2 (S13). For example, the data D1 to D4 remain inconsistent with each other (S5).

次に、記憶装置A3でデータD3、D4およびタイムスタンプが更新され(S23)、これにより、例えば、データD1〜D4は互いに整合する(S25)。   Next, the data D3, D4 and the time stamp are updated in the storage device A3 (S23), and thereby, for example, the data D1 to D4 match each other (S25).

バックアップサーバ12は、このようにデータD1〜D4が互いに整合しているタイミングにバックアップを行う。つまり、分散データベースサーバ11は、データD1〜D4をバックアップサーバ12に送信し(S31)、バックアップサーバ12は、データD1〜D4を受信する(S33)。データにタイムスタンプを対応づけて送受信するか否かは任意である。また、データが互いに整合しているタイミングで毎回バックアップを行わなくてもよい。   The backup server 12 performs backup at the timing at which the data D1 to D4 are consistent with each other. That is, the distributed database server 11 transmits the data D1 to D4 to the backup server 12 (S31), and the backup server 12 receives the data D1 to D4 (S33). Whether or not data is transmitted and received in association with a time stamp is arbitrary. In addition, it is not necessary to perform backup every time the data is consistent with each other.

例えば、図2に示すように、記憶装置B1はデータD1、D2を記憶し(S35)、記憶装置B2はデータD3を記憶し(S37)、記憶装置B3はデータD4を記憶する(S39)。   For example, as shown in FIG. 2, the storage device B1 stores data D1 and D2 (S35), the storage device B2 stores data D3 (S37), and the storage device B3 stores data D4 (S39).

バックアップサーバ12は、データがバックアップサーバ12に記憶されたタイミングであるバックアップタイミングを制御装置13に通知し(S41)、制御装置13は、バックアップタイミングを記憶する(S43)。   The backup server 12 notifies the control device 13 of the backup timing that is the timing at which data is stored in the backup server 12 (S41), and the control device 13 stores the backup timing (S43).

一方、分散データベースサーバ11では、例えば、記憶装置A2が故障してデータD2が紛失する(S51)。その後、記憶装置A2が復旧するが(S53)、記憶装置A2にはデータD2がまだリストアされてない(存在しない)。   On the other hand, in the distributed database server 11, for example, the storage device A2 fails and the data D2 is lost (S51). Thereafter, the storage device A2 is restored (S53), but the data D2 has not yet been restored to the storage device A2 (does not exist).

分散データベースサーバ11は、データD2を記憶装置A2に記憶させるべく、制御装置13に対し、データD2を除く各データD1、D3、D4に対応づけられたタイムスタンプ(3つのタイムスタンプ)を含むレストア要求(データD2のレストア要求)を送信する(S55)。   In order to store the data D2 in the storage device A2, the distributed database server 11 restores the control device 13 including time stamps (three time stamps) associated with the data D1, D3, and D4 other than the data D2. A request (restore request for data D2) is transmitted (S55).

制御装置13は、レストア要求を受信し、仮にデータD2をバックアップサーバ12から分散データベースサーバ11に送信して記憶させた場合(仮にレストアした場合)においてはデータが整合しない可能性があるか否かを判定する(S61)。この判定の詳細については後述する。   Whether the control device 13 receives the restore request and temporarily transmits the data D2 from the backup server 12 to the distributed database server 11 and stores it (if it is temporarily restored), whether or not the data may be inconsistent. Is determined (S61). Details of this determination will be described later.

制御装置13は、例えば、データD2をレストアした場合においてはデータが互いに整合すると判定したなら、制御装置13にデータD2のレストア命令を送信する(S63)。   For example, in the case where the data D2 is restored, the control device 13 transmits a restore command for the data D2 to the control device 13 if it is determined that the data match each other (S63).

バックアップサーバ12は、レストア命令により、データD2を分散データベースサーバ11に送信し(S71)、分散データベースサーバ11はデータD2を受信する(S73)。   The backup server 12 transmits the data D2 to the distributed database server 11 by the restore command (S71), and the distributed database server 11 receives the data D2 (S73).

記憶装置A2は、受信したデータD2を記憶する(S75)。判定どおり、データD1〜D4は互いに整合する(S77)。   The storage device A2 stores the received data D2 (S75). As determined, the data D1 to D4 match each other (S77).

例えば、分散データベースサーバ11は、サービス提供装置2に対し要求されたデータを送信し、サービス提供を可能とする。   For example, the distributed database server 11 transmits the requested data to the service providing apparatus 2 to enable service provision.

なお、ステップS61の判定は、ステップS75まで終了してから行ってもよい。このステップS61でデータが互いに整合すると判定された場合は、例えば、分散データベースサーバ11は、サービス提供装置2に対し、要求されたデータを送信し、サービス提供を可能とする。一方、データが互いに整合しない可能性があると判定されたなら、分散データベースサーバ11は、データ送信を行わず、これにより、不整合に起因する問題の発生を防止できる。   Note that the determination in step S61 may be made after completing step S75. If it is determined in step S61 that the data are consistent with each other, for example, the distributed database server 11 transmits the requested data to the service providing apparatus 2 to enable service provision. On the other hand, if it is determined that there is a possibility that the data does not match each other, the distributed database server 11 does not transmit data, thereby preventing the occurrence of a problem due to inconsistency.

図5は、図4におけるステップS61の判定方法を示すフローチャートである。   FIG. 5 is a flowchart showing the determination method of step S61 in FIG.

まず、レストア要求内の1つのタイムスタンプにつき、タイムスタンプのタイミングとバックアップタイミングを比較し、タイムスタンプがバックアップタイミングより後のタイミングを示すか否かを判定する(T1)。タイムスタンプがバックアップタイミングより後のタイミングを示すならば(T1:YES)、データをレストアした場合においてはデータが互いに整合しない可能性があると判定し(T3)、処理を終える。   First, for one time stamp in the restore request, the time stamp timing is compared with the backup timing, and it is determined whether or not the time stamp indicates a timing after the backup timing (T1). If the time stamp indicates a timing after the backup timing (T1: YES), it is determined that there is a possibility that the data do not match each other when the data is restored (T3), and the processing is terminated.

一方、タイムスタンプがバックアップタイミング以前のタイミングを示すならば(T1:NO)、レストア要求内にステップT1の判定を行っていないタイムスタンプがあるか否かを判定する(T5)。レストア要求内にステップT1の判定を行っていないタイムスタンプがあるならば(T5:YES)、ステップT1に戻り、その1つにつき判定する(T1)。一方、レストア要求内にステップT1の判定を行っていないタイムスタンプがないならば(T5:NO)、データをレストアした場合においてはデータが互いに整合すると判定し(T7)、処理を終える。   On the other hand, if the time stamp indicates a timing before the backup timing (T1: NO), it is determined whether or not there is a time stamp that has not been determined in step T1 in the restore request (T5). If there is a time stamp that has not been determined in step T1 in the restore request (T5: YES), the process returns to step T1, and one of them is determined (T1). On the other hand, if there is no time stamp that has not been determined in step T1 in the restore request (T5: NO), it is determined that the data are consistent with each other when the data is restored (T7), and the process ends.

図6は、データが互いに整合しない可能性があるか否か判定できる理由を示す図である。   FIG. 6 is a diagram illustrating the reason why it can be determined whether there is a possibility that data does not match each other.

図6(a)は、データが互いに整合しない可能性がある場合の一例を示す。   FIG. 6A shows an example of a case where data may not match each other.

ステップS23で更新されたデータD3、D4のタイムスタンプ(t)は、10月1日10時00分を示すものとする。   It is assumed that the time stamps (t) of the data D3 and D4 updated in step S23 indicate 10:00 on October 1.

また、ステップS43で記憶したバックアップタイミング(T)は、10月2日0時00分を示すものとする。   In addition, the backup timing (T) stored in step S43 indicates 0:00 on October 2.

また、その後、データD1が更新され、そのタイムスタンプ(t)は、10月2日8時00分を示すものとする(S301)。データD1の更新により、例えば、データD1〜D4は互いに整合しないこととなる(S303)。   Thereafter, the data D1 is updated, and the time stamp (t) indicates 8:00 on October 2 (S301). By updating the data D1, for example, the data D1 to D4 do not match each other (S303).

この場合、図5のステップT1では、ステップ301のタイムスタンプ(t=10月2日8時00分)がバックアップタイミング(T=10月2日0時00分)より後のタイミングを示すので(T1:YES)、データD2をレストアした場合においてはデータD1〜D4が互いに整合しない可能性があると判定する(T3)。すなわち、正しい判定が行われる。   In this case, in step T1 in FIG. 5, the time stamp in step 301 (t = October 2, 8:00) indicates a timing after the backup timing (T = October 2, 0:00) ( T1: YES), it is determined that there is a possibility that the data D1 to D4 do not match each other when the data D2 is restored (T3). That is, a correct determination is made.

この場合は、分散データベースサーバ11は、例えば、サービス提供装置2にデータ送信を行わず、これにより、不整合に起因する問題の発生を防止できる。   In this case, for example, the distributed database server 11 does not transmit data to the service providing apparatus 2, thereby preventing occurrence of a problem due to inconsistency.

なお、S301でのデータD1が更新されても、データD1〜D4が互いに整合したままである場合も考えられる。しかし、本実施の形態では、安全策として、データが互いに整合しない可能性があるとする。   In addition, even if the data D1 in S301 is updated, the data D1 to D4 may be consistent with each other. However, in the present embodiment, it is assumed that data may not match each other as a safety measure.

図6(b)は、データが互いに整合する場合の一例を示す。   FIG. 6B shows an example where the data matches each other.

ステップS3で更新されたデータD1のタイムスタンプ(t)は、10月1日8時00分を示すものとする。   It is assumed that the time stamp (t) of the data D1 updated in step S3 indicates 8:00 on October 1st.

ステップS23で更新されたデータD3、D4のタイムスタンプ(t)は、10月1日10時00分を示すものとする。   It is assumed that the time stamps (t) of the data D3 and D4 updated in step S23 indicate 10:00 on October 1.

また、ステップS43で記憶したバックアップタイミング(T)は、10月2日0時00分を示すものとする。   In addition, the backup timing (T) stored in step S43 indicates 0:00 on October 2.

その後は、データ更新がなく(S401)、データD1〜D4は互いに整合している(S403)。   Thereafter, there is no data update (S401), and the data D1 to D4 are consistent with each other (S403).

この場合、図5のステップT1では、ステップS3のタイムスタンプ(t=10月1日8時00分)がバックアップタイミング(T=10月2日0時00分)以前のタイミングを示し(T1:NO)、ステップS23のタイムスタンプ(t=10月1日10時00分)がバックアップタイミング(T=10月2日0時00分)以前のタイミングを示しているので(T1:NO)、データD2をレストアした場合においてはデータD1〜D4が互いに整合すると判定する(T7)。すなわち、正しい判定が行われる。   In this case, in step T1 of FIG. 5, the time stamp (t = October 1, 8:00) of step S3 indicates the timing before the backup timing (T = October 2, 0:00) (T1: NO), because the time stamp of step S23 (t = October 1st, 10:00) indicates the timing before the backup timing (T = October 2nd, 0:00) (T1: NO), data When D2 is restored, it is determined that the data D1 to D4 match each other (T7). That is, a correct determination is made.

よって、この場合には、例えば、実際にデータD2のレストア(S63〜S75)が行われ、データD1〜D4が互いに整合する(S77)。   Therefore, in this case, for example, the data D2 is actually restored (S63 to S75), and the data D1 to D4 match each other (S77).

データが互いに整合するので、分散データベースサーバ11は、要求されたデータをサービス提供装置2に送信でき、このデータにより、サービス提供装置2は、ユーザに対してサービスを提供できる。   Since the data match each other, the distributed database server 11 can transmit the requested data to the service providing apparatus 2, and the service providing apparatus 2 can provide a service to the user based on this data.

以上のように、本実施の形態のデータ分散管理システムによれば、複数のデータ(D1〜D4)を各データの更新タイミングを示すタイムスタンプに対応づけて分散記憶する(S3、S13、S23)分散データベースサーバ11と、複数のデータが互いに整合している(S25)タイミングにおいて少なくとも1つのデータであるバックアップ対象データ(D2)を分散データベースサーバ11から取得して記憶し(S33〜S39)、後にバックアップ対象データ(D2)を分散データベースサーバ11に送信して記憶させる(S71)バックアップサーバ12と、バックアップ対象データ(D2)がバックアップサーバ12に記憶されたタイミングであるバックアップタイミングを記憶し(S43)、バックアップ対象データ(D2)を除く各データのタイムスタンプのタイミングとバックアップタイミングとを比較し(T1)、少なくとも1つのタイムスタンプがバックアップタイミングより後のタイミングを示すならば(T1:YES)、バックアップ対象データ(D2)を分散データベースサーバ11に送信して記憶させた場合(レストアした場合)においてはデータが互いに整合しない可能性があると判定する(T3)一方、各タイムスタンプがバックアップタイミング以前のタイミングを示すならば(T5:NO)、バックアップ対象データ(D2)を分散データベースサーバ11に送信して記憶させた場合(レストアした場合)においてはデータが互いに整合すると判定する(T7)制御装置13とを備えるので、複数のデータの一部をレストアした場合においてデータが互いに整合しない可能性があるか否かを判定できる。   As described above, according to the data distribution management system of the present embodiment, a plurality of data (D1 to D4) are distributed and stored in association with the time stamp indicating the update timing of each data (S3, S13, S23). The distributed database server 11 and the data to be backed up (D2), which is at least one data, are acquired from the distributed database server 11 and stored at a timing when a plurality of data are consistent with each other (S25) (S33 to S39). The backup target data (D2) is transmitted to and stored in the distributed database server 11 (S71), and the backup timing that is the timing at which the backup target data (D2) is stored in the backup server 12 is stored (S43). Backup target data (D2) The time stamp timing and backup timing of each data to be excluded are compared (T1), and if at least one time stamp indicates a timing after the backup timing (T1: YES), the backup target data (D2) is stored in the distributed database. When the data is transmitted to the server 11 and stored (when restored), it is determined that the data may not match each other (T3). On the other hand, if each time stamp indicates a timing before the backup timing (T5: NO), when the backup target data (D2) is transmitted to and stored in the distributed database server 11 (when restored), it is determined that the data match each other (T7). If you restore a part of Data can be determined whether there is a possibility not to conform to each other.

なお、本実施の形態においては、データD1〜D4の全てをバックアップした、つまり、全てがバックアップ対象データだが、バックアップ対象データは全てでなくてもよい。例えば、故障の可能性の高い記憶装置に記憶されるデータ(例えば、データD2)だけをバックアップ対象データとしてバックアップし、レストアしてもよい。   In the present embodiment, all of the data D1 to D4 are backed up, that is, all are data to be backed up, but the data to be backed up may not be all. For example, only data (for example, data D2) stored in a storage device with a high possibility of failure may be backed up as data to be backed up and restored.

また、ステップS61の判定は、分散データベースサーバ11やバックアップサーバ12が行ってもよい。   The determination in step S61 may be performed by the distributed database server 11 or the backup server 12.

また、分散データベースサーバ11やバックアップサーバ12や制御装置13としてコンピュータを機能させるためのコンピュータプログラムは、半導体メモリ、磁気ディスク、光ディスク、光磁気ディスク、磁気テープなどのコンピュータ読み取り可能な記録媒体に記録でき、また、インターネットなどの通信網を介して伝送させて、広く流通させることができる。   A computer program for causing a computer to function as the distributed database server 11, the backup server 12, and the control device 13 can be recorded on a computer-readable recording medium such as a semiconductor memory, a magnetic disk, an optical disk, a magneto-optical disk, or a magnetic tape. Further, it can be widely distributed by being transmitted through a communication network such as the Internet.

1 データ分散管理システム
11 分散データベースサーバ
12 バックアップサーバ
13 制御装置
A1〜A3、B1〜B2 記憶装置
D1〜D4 データ
1 Data distribution management system 11 Distributed database server 12 Backup server 13 Control devices A1-A3, B1-B2 Storage devices D1-D4 Data

Claims (4)

複数のデータを当該各データの更新タイミングを示すタイムスタンプに対応づけて分散記憶する分散データベースサーバと、
前記複数のデータが互いに整合しているタイミングにおいて少なくとも1つの前記データであるバックアップ対象データを前記分散データベースサーバから取得して記憶し、後に当該バックアップ対象データを前記分散データベースサーバに送信して記憶させるバックアップサーバと、
前記バックアップ対象データが前記バックアップサーバに記憶されたタイミングであるバックアップタイミングを記憶し、前記バックアップ対象データを除く各データのタイムスタンプのタイミングと前記バックアップタイミングとを比較し、少なくとも1つの当該タイムスタンプが前記バックアップタイミングより後のタイミングを示すならば、前記バックアップ対象データを前記分散データベースサーバに送信して記憶させた場合においてはデータが互いに整合しない可能性があると判定する一方、当該各タイムスタンプが前記バックアップタイミング以前のタイミングを示すならば、前記バックアップ対象データを前記分散データベースサーバに送信して記憶させた場合においてはデータが互いに整合すると判定する制御装置と
を備えることを特徴とするデータ分散管理システム。
A distributed database server that stores a plurality of data in a distributed manner in association with time stamps indicating the update timing of the data;
At a timing when the plurality of data are consistent with each other, at least one backup target data that is the data is acquired from the distributed database server and stored, and then the backup target data is transmitted to the distributed database server for storage. A backup server,
A backup timing which is a timing at which the backup target data is stored in the backup server is stored, a time stamp timing of each data excluding the backup target data is compared with the backup timing, and at least one time stamp is If the timing after the backup timing is indicated, when the backup target data is transmitted to the distributed database server and stored, it is determined that the data may not be consistent with each other. If the timing before the backup timing is indicated, the control device determines that the data is consistent with each other when the backup target data is transmitted to the distributed database server and stored. A data distribution management system characterized by that.
前記バックアップサーバは、データが互いに整合すると判定されたなら、前記バックアップ対象データを前記分散データベースサーバに送信して記憶させる
ことを特徴とする請求項1記載のデータ分散管理システム。
2. The data distribution management system according to claim 1, wherein if it is determined that the data match each other, the backup server transmits the backup target data to the distributed database server for storage.
データ分散管理システムの動作方法であって、
前記データ分散管理システムは、複数のデータを当該各データの更新タイミングを示すタイムスタンプに対応づけて分散記憶する分散データベースサーバと、前記複数のデータが互いに整合しているタイミングにおいて少なくとも1つの前記データであるバックアップ対象データを前記分散データベースサーバから取得して記憶し、後に当該バックアップ対象データを前記分散データベースサーバに送信して記憶させるバックアップサーバと、前記バックアップ対象データが前記バックアップサーバに記憶されたタイミングであるバックアップタイミングを記憶する制御装置を備え、
前記動作方法は、
前記制御装置が、前記バックアップ対象データを除く各データのタイムスタンプのタイミングと前記バックアップタイミングとを比較し、
前記制御装置が、少なくとも1つの当該タイムスタンプが前記バックアップタイミングより後のタイミングを示すならば、前記バックアップ対象データを前記分散データベースサーバに送信して記憶させた場合においてはデータが互いに整合しない可能性があると判定する一方、当該各タイムスタンプが前記バックアップタイミング以前のタイミングを示すならば、前記バックアップ対象データを前記分散データベースサーバに送信して記憶させた場合においてはデータが互いに整合すると判定する
ことを特徴とするデータ分散管理システムの動作方法。
An operation method of a data distribution management system,
The data distribution management system includes: a distributed database server that stores a plurality of pieces of data in association with time stamps indicating the update timing of each data; and at least one piece of the data at a timing when the plurality of pieces of data match each other Backup data that is acquired from the distributed database server and stored, and later the backup target data is transmitted to the distributed database server for storage, and the timing at which the backup target data is stored in the backup server Comprising a control device for storing backup timing,
The operation method is as follows:
The control device compares the timing of the time stamp of each data excluding the backup target data and the backup timing,
If the control device indicates that the at least one time stamp indicates a timing after the backup timing, the data may not match each other when the backup target data is transmitted to the distributed database server and stored. On the other hand, if each time stamp indicates a timing before the backup timing, it is determined that the data match each other when the backup target data is transmitted to the distributed database server and stored. A method of operating a data distribution management system characterized by the above.
前記バックアップサーバが、データが互いに整合すると判定されたなら、前記バックアップ対象データを前記分散データベースサーバに送信して記憶させる
ことを特徴とする請求項3記載のデータ分散管理システムの動作方法。
4. The method of operating a data distribution management system according to claim 3, wherein if the backup server determines that the data are consistent with each other, the backup target data is transmitted to the distributed database server for storage.
JP2015154935A 2015-08-05 2015-08-05 Data distribution management system and its operation method Active JP6325494B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015154935A JP6325494B2 (en) 2015-08-05 2015-08-05 Data distribution management system and its operation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015154935A JP6325494B2 (en) 2015-08-05 2015-08-05 Data distribution management system and its operation method

Publications (2)

Publication Number Publication Date
JP2017033435A true JP2017033435A (en) 2017-02-09
JP6325494B2 JP6325494B2 (en) 2018-05-16

Family

ID=57988216

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015154935A Active JP6325494B2 (en) 2015-08-05 2015-08-05 Data distribution management system and its operation method

Country Status (1)

Country Link
JP (1) JP6325494B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006350411A (en) * 2005-06-13 2006-12-28 Hitachi Information Systems Ltd Recovery method, recovery system and recovery program for distributed database
US20110040729A1 (en) * 2009-08-12 2011-02-17 Hitachi, Ltd. Hierarchical management storage system and storage system operating method
JP2013175079A (en) * 2012-02-27 2013-09-05 Nippon Telegr & Teleph Corp <Ntt> Distributed data management system and operation method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006350411A (en) * 2005-06-13 2006-12-28 Hitachi Information Systems Ltd Recovery method, recovery system and recovery program for distributed database
US20110040729A1 (en) * 2009-08-12 2011-02-17 Hitachi, Ltd. Hierarchical management storage system and storage system operating method
JP2011039805A (en) * 2009-08-12 2011-02-24 Hitachi Ltd Hierarchical management storage system, and storage system operating method
JP2013175079A (en) * 2012-02-27 2013-09-05 Nippon Telegr & Teleph Corp <Ntt> Distributed data management system and operation method thereof

Also Published As

Publication number Publication date
JP6325494B2 (en) 2018-05-16

Similar Documents

Publication Publication Date Title
US9454439B2 (en) Disaster recovery validation
CN110300984B (en) Changing smart contracts recorded in a blockchain
US9442813B2 (en) Replaying jobs at a secondary location of a service
CN106899648B (en) Data processing method and equipment
US8424095B2 (en) Method and equipment for verifying propriety of system management policies to be used in a computer system
EP2988220B1 (en) Computer system, computer-system management method, and program
CN106685691A (en) Efficient configuration update method and system of terminal device in Internet of things system
CN108337303A (en) A kind of method of data synchronization and distributed system
US20140108345A1 (en) Exchanging locations of an out of synchronization indicator and a change recording indicator via pointers
US8756389B2 (en) Prevention of overlay of production data by point in time copy operations in a host based asynchronous mirroring environment
CN105262835A (en) Data storage method and device of multiple machine rooms
CN111176900A (en) Distributed storage system and data recovery method, device and medium thereof
US11669573B2 (en) Data management system
US20180129668A1 (en) Intermediate file processing method, client, server, and system
CN109462661A (en) Method of data synchronization, device, computer equipment and storage medium
EP2940540A1 (en) Power system monitoring and control system
JP6325494B2 (en) Data distribution management system and its operation method
CN110928945B (en) Data processing method and device for database and data processing system
CN113590643B (en) Data synchronization method, device, equipment and storage medium based on dual-track database
US11321200B1 (en) High availability and software upgrades in a virtual cable modem termination system
JP5670935B2 (en) Distributed data management system and operation method thereof
KR101748913B1 (en) Cluster management method and data storage system for selecting gateway in distributed storage environment
JP6475820B2 (en) Data processing system
JP2009042846A (en) Distributed monitoring control system
CN115934428B (en) Main disaster recovery and backup switching method and device of MYSQL database and electronic equipment

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170620

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180207

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180213

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180326

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180412

R150 Certificate of patent or registration of utility model

Ref document number: 6325494

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150