CN105376307A - Asynchronous backup method among data centers - Google Patents
Asynchronous backup method among data centers Download PDFInfo
- Publication number
- CN105376307A CN105376307A CN201510707871.1A CN201510707871A CN105376307A CN 105376307 A CN105376307 A CN 105376307A CN 201510707871 A CN201510707871 A CN 201510707871A CN 105376307 A CN105376307 A CN 105376307A
- Authority
- CN
- China
- Prior art keywords
- data
- data center
- backup
- center
- user profile
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1097—Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/50—Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses an asynchronous backup method among data centers. The method comprises that a random data center is determined to be a local data center, metadata which is stored in the local data center and synchronized with other data centers in real time is obtained; object metadata corresponding to object data which needs backup is determined among the metadata; and a data center corresponding to the object metadata is determined to be an object data center, and the object data stored in the object data center is copied to the local data center. Thus, when data of certain data center is copied, it is not required to copy all data in the data center, instead, only data which needs backup is copied, the amount of backup data is reduced, and further, the backup time is reduced; and to certain extent, inconsistency between backup data and original data due to interruption in the backup process mentioned in the background art can be avoided.
Description
Technical field
The present invention relates to computer memory technical field, more particularly, relate to a kind of async backup method between data center.
Background technology
In the cloud computing process developing rapidly and popularize in the world, cloud is stored as the infrastructure service of cloud computing, for the access of people to information provides more support.But more data are placed in data center and carry out unified management, while improve the efficiency of management, also for data security proposes new challenge, cloud is made to store data security more complicated relative to conventional store.The permanent storage of data, all has great importance in every field, the loss of significant data, directly will cause service disconnection, brings huge loss.Therefore, need the mode by data backup, transfer data to strange land and back up, when certain data have active or fault, backup can be utilized to recover, effectively reduce the Loss Rate of data.
In prior art, backed up in synchronization mode and async backup mode two kinds are mainly comprised for the data backup between many data centers.Backed up in synchronization mode, namely real-time by the change of data in arbitrary data center, be sent to other data centers by network, realize backing up in realtime of data; Ensure that the reliability of the higher level of data although back up in realtime, need to provide the more network bandwidth and system resource to carry out real-time deal with data backup, will significantly reduce the performance of operation system; Meanwhile, for solving data phase mutually synchronization between many data centers, needing to increase the consistency that more complicated processing logic ensures data, reducing the efficiency of data backup.Therefore, in prior art, async backup mode is adopted usually for the data backup between many data centers, async backup mode backing up in realtime without the need to data, thus decrease taking of the network bandwidth and system resource, data center is made more to fully play its service feature, but, current async backup mode adopts the backup completely of data usually, namely when needing to back up the data of arbitrary data center, then the total data of this data center is backed up, therefore backup data quantity is larger, BACKUP TIME is longer, and then improve backup traffic in backup procedure and interrupt the probability of the data inconsistency caused.
Therefore, it is large to there is backup data quantity in the async backup mode of prior art, and BACKUP TIME is longer, and then causes occurring in backup procedure backup traffic and interrupt causing Backup Data and the larger problem of the inconsistent probability of former data.
Summary of the invention
The object of this invention is to provide a kind of async backup method between data center, large to solve the backup data quantity existed in the async backup mode of prior art, BACKUP TIME is longer, and then causes occurring in backup procedure backup traffic and interrupt causing Backup Data and the larger problem of the inconsistent probability of former data.
To achieve these goals, the invention provides following technical scheme:
An async backup method between data center, comprising:
Determine that arbitrary data center is local data center, obtain metadata that is that store in described local data center and that realize real-time synchronization between other data centers;
The target metadata corresponding by the target data determined in described metadata with need to back up;
Determine that data center corresponding to described target metadata is target data center, and the described target data stored in the heart in described target data is backed up to described local data center.
Preferably, before obtaining the metadata stored in described local data center, also comprise:
Utilize user profile to log in described local data center, and when described user profile meets the first preset requirement, described local data center is conducted interviews.
Preferably, utilizing before described user profile logs in described local data center, also comprising:
Described user profile is inputed to arbitrary data center, to create user, and indicates the data center of this realization establishment user by described user profile real-time synchronization to other data centers.
Preferably, described described user profile is inputed to arbitrary data center, to create user, comprising:
Described user profile is inputed to arbitrary data center, and shows the successful message of establishment user when described user profile meets the second preset requirement.
Preferably, also comprise:
After logging in described local data center, described user profile is utilized to need the data center logged in log in other.
Preferably, described the described target data stored in described target data is backed up to described local data center in the heart, comprising:
Described local data center is indicated to send data backup requests, to obtain the backup of described target data to described target data center.
Preferably, after the described target data stored in the heart in described target data is backed up to described local data center, also comprise:
Read operation or write operation are carried out to the described target data backup obtained in local data center, and the described target data stored in described target data remains unchanged in the heart.
Preferably, also comprise:
Read the data stored in described local data center, and therefrom determine that the data that needs are backed up are data to be backed up;
By described data backup to be backed up to other data centers.
Async backup method between a kind of data center provided by the invention, comprising: determine that arbitrary data center is local data center, obtains metadata that is that store in described local data center and that realize real-time synchronization between other data centers; The target metadata corresponding by the target data determined in described metadata with need to back up; Determine that data center corresponding to described target metadata is target data center, and the described target data stored in the heart in described target data is backed up to described local data center.Compared with prior art, async backup method between a kind of data center that the application provides, when backing up the data of a certain data center, without the need to backing up the total data of this data center, but only will the data division of backup be needed to back up, decrease backup data quantity, due to the minimizing of backup data quantity, and then decrease BACKUP TIME, improve flexibility and the efficiency of backup, avoid more to a certain extent in the backup procedure mentioned in background technology and the generation that backup traffic interrupts causing Backup Data and the inconsistent situation of former data occurs.And, by the mode of real-time synchronization data element in the application, user can be made in arbitrary data center by checking shared metadata, and then know the relevant information of its data created in other data centers, to determine in the target data needing to preserve in other data centers of backup, complete the backup to target data, thus the taking of the network bandwidth decreased needed for real-time synchronization and system resource.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only embodiments of the invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to the accompanying drawing provided.
The flow chart of the async backup method between a kind of data center that Fig. 1 provides for the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Refer to Fig. 1, it illustrates the flow chart of the async backup method between a kind of data center that the embodiment of the present invention provides, can comprise the following steps:
S11: determine that arbitrary data center is local data center, obtains metadata that is that store in local data center and that realize real-time synchronization between other data centers.
Wherein, the metadata of the data that same user is created in the heart in different pieces of information can be synchronized to other data centers by real-time, and the metadata of data is for managing and preserve the institutional framework of data, sharing by metadata, user can browse to the institutional framework of data that this user creates in other data centers and data integrity at different pieces of information center, but does not comprise data division.The mode of this only synchronizing metadata, greatly reduces the synchronous amount of data, shortens the synchronous time.
S12: the target metadata corresponding by the target data determined in metadata with need to back up.
S13: determine that data center corresponding to target metadata is target data center, and the target data stored in the heart in target data is backed up to local data center.
The data center at target data place can be known by target metadata, and then the target data center storing target data is conducted interviews, to obtain the backup of target data, and then realize the operation for the backup of target data.
Async backup method between a kind of data center that the application provides, when backing up the data of a certain data center, without the need to backing up the total data of this data center, but only will the data division of backup be needed to back up, decrease backup data quantity, due to the minimizing of backup data quantity, and then decrease BACKUP TIME, improve flexibility and the efficiency of backup, avoid more to a certain extent in the backup procedure mentioned in background technology and the generation that backup traffic interrupts causing Backup Data and the inconsistent situation of former data occurs.And, by the mode of real-time synchronization data element in the application, user can be made in arbitrary data center by checking shared metadata, and then know the relevant information of its data created in other data centers, to determine in the target data needing to preserve in other data centers of backup, complete the backup to target data, thus the taking of the network bandwidth decreased needed for real-time synchronization and system resource.
In addition, in the async backup method between a kind of data center that the embodiment of the present invention provides, between data center, there is independence, multiple data center all provides the literacy of business, that is, the service disconnection of a certain data center, will not affect the service of other data centers.
Async backup method between a kind of data center that above-described embodiment provides, before obtaining the metadata stored in local data center, can also comprise:
Utilize user profile to log in local data center, and when user profile meets the first preset requirement, local data center is conducted interviews.
First preset requirement is the jurisdictions mandate to user, can determine whether user corresponding to user profile is authorized user by the first preset requirement, only when user is authorized user, just allow it to the access of local data center, if this user is not authorized user, then refuse its access to local data center, to avoid the data in local data center to be occurred by the situation of the user's access not allowed to access, ensure that the fail safe of data in local data center.Further, when user needs to conduct interviews to arbitrary data center, all need to utilize user profile complete above-mentioned login process after again data center is conducted interviews.
Further, before utilizing user profile login local data center, can also comprise:
User profile is inputed to arbitrary data center, to create user, and indicates the data center of this realization establishment user by user profile real-time synchronization to other data centers.
User, before the arbitrary data center of login, needs to create user in this data center, namely by creating the user that user makes this user become authorized.After each establishment user, the user profile real-time synchronization of this user is all given other data centers by corresponding data center, namely sharing for user profile between data center is ensured, can ensure that this user all can successful log in arbitrary data center, and then the data of arbitrary user can be accessed, thus facilitate the collaborative efficiency of strange land cross-domain service.
In addition, user profile is inputed to arbitrary data center, to create user, can comprise:
User profile is inputed to arbitrary data center, and shows the successful message of establishment user when user profile meets the second preset requirement.
Second preset requirement is to search whether there is the identical information of the user profile that creating user with this in the user profile creating user, if, then refuse the establishment of this user, if not, then allow the establishment of this user, to ensure the uniqueness of user between multiple data center, avoid occurring duplication of name user (user that user profile is identical), be conducive to the management for multiple user.
Async backup method between a kind of data center that above-described embodiment provides, can also comprise:
After logging in local data center, user profile is utilized to need the data center logged in log in other.
Namely, same user can log in multiple different data center simultaneously, the data of multiple data center are conducted interviews simultaneously, thus the function of async backup method between a kind of data center of providing of the perfect embodiment of the present invention, ensure that user can when needed to the access at arbitrary data center.
Async backup method between a kind of data center that above-described embodiment provides, backs up to local data center by the target data stored in target data in the heart, can comprise:
Instruction local data center sends data backup requests to target data center, to obtain the backup of target data.
Namely, user can to send by local data center the backup that the mode of data backup requests realizes for target data to target data center, and data backup requests can comprise the relevant information of target data, so that the data needing to be backed up accurately are known at target data center, and then the async backup of smooth realize target data.
In addition, after the target data stored in the heart in target data is backed up to local data center, can also comprise:
Read operation or write operation are carried out to the target data backup obtained in local data center, and the target data stored in target data remains unchanged in the heart.
Namely, between data, there is independence, after data are selectively backuped to local data center from other data centers, then with the data center's renunciation storing the data be backed up, user can carry out read operation or write operation at local data center to the data after backup, read operation or write operation can comprise deletion, amendment etc., but store data corresponding in the data center of the data be backed up and any change can not occur, namely user can not affect the data in other data on the change of data in local data center, preset part specific data once change except non-user, carry out real-time synchronization to other data centers.Thus improve the utilance of data and the flexibility of use.
Async backup method between a kind of data center that above-described embodiment provides, can also comprise:
Read the data stored in local data center, and therefrom determine that the data that needs are backed up are data to be backed up;
By data backup to be backed up to other data centers.
Target data in the heart in target data not only can backup in local data center by user, can also realize inverse operation, backup in other data centers by the data in local data center, thus improve the flexibility of data backup.
To the above-mentioned explanation of the disclosed embodiments, those skilled in the art are realized or uses the present invention.To be apparent for a person skilled in the art to the multiple amendment of these embodiments, General Principle as defined herein can without departing from the spirit or scope of the present invention, realize in other embodiments.Therefore, the present invention can not be restricted to these embodiments shown in this article, but will meet the widest scope consistent with principle disclosed herein and features of novelty.
Claims (8)
1. the async backup method between data center, is characterized in that, comprising:
Determine that arbitrary data center is local data center, obtain metadata that is that store in described local data center and that realize real-time synchronization between other data centers;
The target metadata corresponding by the target data determined in described metadata with need to back up;
Determine that data center corresponding to described target metadata is target data center, and the described target data stored in the heart in described target data is backed up to described local data center.
2. method according to claim 1, is characterized in that, before obtaining the metadata stored in described local data center, also comprises:
Utilize user profile to log in described local data center, and when described user profile meets the first preset requirement, described local data center is conducted interviews.
3. method according to claim 2, is characterized in that, is utilizing before described user profile logs in described local data center, is also comprising:
Described user profile is inputed to arbitrary data center, to create user, and indicates the data center of this realization establishment user by described user profile real-time synchronization to other data centers.
4. method according to claim 3, is characterized in that, described described user profile is inputed to arbitrary data center, to create user, comprising:
Described user profile is inputed to arbitrary data center, and shows the successful message of establishment user when described user profile meets the second preset requirement.
5. to go the method described in 4 according to right, it is characterized in that, also comprise:
After logging in described local data center, described user profile is utilized to need the data center logged in log in other.
6. method according to claim 1, is characterized in that, described the described target data stored in described target data is backed up to described local data center in the heart, comprising:
Described local data center is indicated to send data backup requests, to obtain the backup of described target data to described target data center.
7. method according to claim 1, is characterized in that, after the described target data stored in the heart in described target data is backed up to described local data center, also comprises:
Read operation or write operation are carried out to the described target data backup obtained in local data center, and the described target data stored in described target data remains unchanged in the heart.
8. the method according to any one of claim 1 to 7, is characterized in that, also comprises:
Read the data stored in described local data center, and therefrom determine that the data that needs are backed up are data to be backed up;
By described data backup to be backed up to other data centers.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510707871.1A CN105376307A (en) | 2015-10-27 | 2015-10-27 | Asynchronous backup method among data centers |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510707871.1A CN105376307A (en) | 2015-10-27 | 2015-10-27 | Asynchronous backup method among data centers |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105376307A true CN105376307A (en) | 2016-03-02 |
Family
ID=55378102
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510707871.1A Pending CN105376307A (en) | 2015-10-27 | 2015-10-27 | Asynchronous backup method among data centers |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105376307A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018165958A1 (en) | 2017-03-16 | 2018-09-20 | Microsoft Technology Licensing, Llc. | Storage system control |
CN109815060A (en) * | 2019-01-30 | 2019-05-28 | 北京百度网讯科技有限公司 | Method and device for backup information |
CN109976952A (en) * | 2019-04-09 | 2019-07-05 | 苏州浪潮智能科技有限公司 | The method and apparatus of cross-domain backup in cloud computing system |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101090356A (en) * | 2006-06-12 | 2007-12-19 | 国际商业机器公司 | Method and system for enabling access to remote storage |
EP2003913B1 (en) * | 2006-03-31 | 2012-05-23 | Huawei Technologies Co., Ltd. | A call recovery method during the network failure and the system thereof |
-
2015
- 2015-10-27 CN CN201510707871.1A patent/CN105376307A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2003913B1 (en) * | 2006-03-31 | 2012-05-23 | Huawei Technologies Co., Ltd. | A call recovery method during the network failure and the system thereof |
CN101090356A (en) * | 2006-06-12 | 2007-12-19 | 国际商业机器公司 | Method and system for enabling access to remote storage |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018165958A1 (en) | 2017-03-16 | 2018-09-20 | Microsoft Technology Licensing, Llc. | Storage system control |
CN110431538A (en) * | 2017-03-16 | 2019-11-08 | 微软技术许可有限责任公司 | Storage system control |
CN110431538B (en) * | 2017-03-16 | 2023-04-28 | 微软技术许可有限责任公司 | Storage system control |
US11762568B2 (en) | 2017-03-16 | 2023-09-19 | Microsoft Technology Licensing, Llc | Storage system control |
CN109815060A (en) * | 2019-01-30 | 2019-05-28 | 北京百度网讯科技有限公司 | Method and device for backup information |
CN109976952A (en) * | 2019-04-09 | 2019-07-05 | 苏州浪潮智能科技有限公司 | The method and apparatus of cross-domain backup in cloud computing system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103268318B (en) | A kind of distributed key value database system of strong consistency and reading/writing method thereof | |
CN103473318B (en) | A kind of distributed transaction support method towards memory data grid | |
CA3028504C (en) | Data processing method and device | |
CN107193490B (en) | Distributed data storage system and method based on block chain | |
CN106294585B (en) | A kind of storage method under cloud computing platform | |
CN103077242B (en) | The method of a kind of fulfillment database server two-node cluster hot backup | |
CN106250270A (en) | A kind of data back up method under cloud computing platform | |
WO2015192661A1 (en) | Method, device, and system for data synchronization in distributed storage system | |
US10534796B1 (en) | Maintaining an active-active cloud across different types of cloud storage services | |
CN103929500A (en) | Method for data fragmentation of distributed storage system | |
CN106502823A (en) | data cloud backup method and system | |
CN104361030A (en) | Distributed cache architecture with task distribution function and cache method | |
CN103488546A (en) | Backup and recovery method capable of supporting online concurrency of multi-level data and database | |
US9582559B1 (en) | Multi-site storage system with replicated file system synchronization utilizing virtual block storage appliances | |
CN105824846B (en) | Data migration method and device | |
CN113641511A (en) | Message communication method and device | |
CN103795801A (en) | Metadata group design method based on real-time application group | |
WO2016177231A1 (en) | Dual-control-based active-backup switching method and device | |
US20090063486A1 (en) | Data replication using a shared resource | |
CN110348826A (en) | Strange land disaster recovery method, system, equipment and readable storage medium storing program for executing mostly living | |
CN103428288B (en) | Based on the copies synchronized method of subregion state table and coordinator node | |
CN113010496A (en) | Data migration method, device, equipment and storage medium | |
CN105828017A (en) | Cloud storage access system and method for video conferences | |
CN105376307A (en) | Asynchronous backup method among data centers | |
CN102820998B (en) | Realize the dual computer fault-tolerant service system towards office application and date storage method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160302 |