CN109561151A - Date storage method, device, server and storage medium - Google Patents

Date storage method, device, server and storage medium Download PDF

Info

Publication number
CN109561151A
CN109561151A CN201811519676.6A CN201811519676A CN109561151A CN 109561151 A CN109561151 A CN 109561151A CN 201811519676 A CN201811519676 A CN 201811519676A CN 109561151 A CN109561151 A CN 109561151A
Authority
CN
China
Prior art keywords
server cluster
server
business datum
storing data
database
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
CN201811519676.6A
Other languages
Chinese (zh)
Other versions
CN109561151B (en
Inventor
刘硕
李明
马彦兵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information Technology Co Ltd
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 Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN201811519676.6A priority Critical patent/CN109561151B/en
Publication of CN109561151A publication Critical patent/CN109561151A/en
Application granted granted Critical
Publication of CN109561151B publication Critical patent/CN109561151B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols 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]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/22Arrangements for detecting or preventing errors in the information received using redundant apparatus to increase reliability

Abstract

The disclosure is directed to a kind of date storage methods, device, server and storage medium, it is related to technical field of data processing, method includes: when server storage service data in the storing data library of the first server cluster, server can back up to the business datum in the storing data library of second server cluster, and when the business datum is not backed up to the storing data library of second server cluster, the Data Identification of the business datum is stored into the correspondence subregion to target calamity for database, the Data Identification in subregion is corresponded to for database further according to the target calamity, business datum in the storing data library of the first server cluster is backed up in the storing data library of the second server cluster.The first server cluster and second server cluster are located in different computer rooms, realize the data storage procedure across computer room, improve the stability and reliability of data storage.

Description

Date storage method, device, server and storage medium
Technical field
This disclosure relates to which technical field of data processing more particularly to date storage method, device, server and storage are situated between Matter.
Background technique
With the development of information age, the portfolio in network is growing day by day, and data buffer storage has been to realize business processing mistake Indispensable a part in journey.It in business procession, is typically required through server cluster, number relevant to business According to being cached.
Currently, data cache method is usual are as follows: in business procession, by business number involved in business procession According to being buffered in the Redis database for being generally stored in the server cluster in the server cluster in the same computer room in real time In, in order to reading subsequent in business procession use.
However, above-mentioned data cache method in business procession, is used to store the business number when any in the computer room According to server collapse when, the business procession also will receive influence and interrupt processing, thus above-mentioned data storage Stability and reliability are poor.
Summary of the invention
The disclosure provides a kind of date storage method, device, server and storage medium.It can overcome and deposit in the related technology Data storage stability and the poor problem of reliability.
According to the first aspect of the embodiments of the present disclosure, a kind of date storage method is provided, the method is applied in the first clothes It is engaged in device cluster or second server cluster on the server of any server cluster, the first server cluster and described the Two server clusters are located at different computer rooms, which comprises
When server storage service data in the storing data library of the first server cluster, by the industry Data backup be engaged in into the storing data library of second server cluster, the storing data library of the second server cluster is for standby Business datum in the storing data library of part first server cluster;
When the server does not back up to the business datum in the storing data library of the second server cluster, The Data Identification of the business datum is stored to target calamity in the correspondence subregion of database, the target calamity is for database The calamity of server cluster is where the server for database;
According to the target calamity for the Data Identification in the correspondence subregion of database, by depositing for the first server cluster Business datum in storage database is stored into the storing data library of the second server cluster.
In one possible implementation, described that the business datum is not backed up to described second in the server When in the storing data library of server cluster, the Data Identification of the business datum is stored into the correspondence to target calamity for database Include: in subregion
When the server does not back up to the business datum in the storing data library of the second server cluster, According to the characteristic value of the Data Identification of the business datum, determine the Data Identification in the target calamity for the multiple of database Correspondence subregion in subregion;
The Data Identification is stored to the target calamity in the correspondence subregion of database.
In one possible implementation, pair Data Identification stored to the target calamity for database It answers in subregion and includes:
Determine that the backup path of the business datum, the backup path are used to indicate the clothes of the source in backup traffic data Business device cluster and destination server cluster;
By the Data Identification and backup path of the business datum, the correspondence subregion to the target calamity for database is stored In.
In one possible implementation, it is described according to the target calamity for the data mark in the correspondence subregion of database Know, the business datum in the storing data library of the first server cluster is stored to the storage of the second server cluster Include: in database
When the target further includes the backup path of the business datum in the correspondence subregion by database, according to institute Target calamity is stated for the backup path of business datum in the correspondence subregion of database, from the target calamity for the correspondence subregion of database Multiple Data Identifications in, filter out the target data mark that destination server cluster is server cluster where the server Know;
The target data is obtained from the storing data library of the first server cluster identifies corresponding target service Data store the target service data into the storing data library of the second server cluster.
In one possible implementation, described to store the corresponding business datum of the Data Identification to described second Include: in the storing data library of server cluster
When in the storing data library of the second server cluster including the Data Identification, according to the first service The versions of data of business datum in the storing data library of device cluster, in the storing data library for updating the second server cluster The corresponding business datum of the Data Identification.
In one possible implementation, described to be not backed up depositing to the second server cluster stating business datum When storing up in database, the Data Identification of the business datum is stored to target calamity for before in the correspondence subregion of database, institute State method further include:
When the business datum is stored to the available space in the storing data library of the second server cluster not successfully In or the second server cluster storing data library available space be less than preset threshold when, determine the server not The business datum is backed up in the storing data library of the second server cluster.
In one possible implementation, the first server cluster is main server cluster, the second service Device cluster is from server cluster.
According to the second aspect of an embodiment of the present disclosure, a kind of data storage device is provided, described device is applied in the first clothes It is engaged in device cluster or second server cluster on the server of any server cluster, the first server cluster and described the Two server clusters are located at different computer rooms, and described device includes:
First memory module is configured as depositing in the storing data library of the first server cluster when the server When storing up business datum, the business datum is backed up in the storing data library of second server cluster, the second server The storing data library of cluster is used to back up the business datum in the storing data library of the first server cluster;
Second memory module is configured in the server and the business datum is not backed up to the second server collection When in the storing data library of group, the Data Identification of the business datum is stored to target calamity in the correspondence subregion of database, The target calamity is for the calamity that database is server cluster where the server for database;
Third memory module is configured as according to the target calamity for the Data Identification in the correspondence subregion of database, will Business datum in the storing data library of the first server cluster is stored to the storing data of the second server cluster In library.
In one possible implementation, second memory module is additionally configured in the server not by institute When stating business datum and backing up in the storing data library of the second server cluster, according to the Data Identification of the business datum Characteristic value, determine the Data Identification in the target calamity for the correspondence subregion in multiple subregions of database;By the number It stores to the target calamity according to mark in the correspondence subregion of database.
In one possible implementation, second memory module is additionally configured to determine the business datum Backup path, the backup path are used to indicate source server cluster and destination server cluster in backup traffic data; The Data Identification and backup path of the business datum are stored to the target calamity in the correspondence subregion of database.
In one possible implementation, the third memory module is also configured when the target is by database Correspondence subregion in when further including the backup path of the business datum, according to the target calamity in the correspondence subregion of database The backup path of business datum in multiple Data Identifications from the target calamity for the correspondence subregion of database, filters out purpose Server cluster is the target data mark of server cluster where the server;From the storage of the first server cluster The target data is obtained in database and identifies corresponding target service data, and the target service data are stored to described the In the storing data library of two server clusters.
In one possible implementation, update module is configured as the storage number when the second server cluster When according to including the Data Identification in library, according to the data of the business datum in the storing data library of the first server cluster Version updates the corresponding business datum of Data Identification described in the storing data library of the second server cluster.
In one possible implementation, described device further include:
Determining module is configured as not successfully storing the business datum to the storage of the second server cluster In the available space of database or when the available space in the storing data library of the second server cluster is less than preset threshold, Determine that the business datum is not backed up into the storing data library of the second server cluster.
In one possible implementation, the first server cluster is main server cluster, the second service Device cluster is from server cluster.
According to the third aspect of an embodiment of the present disclosure, a kind of data storage server is provided, comprising:
Processor;
Memory for storage processor executable instruction;
Wherein, the data storage server is any server collection in first server cluster or second server cluster The server of group, the first server cluster and the second server cluster are located at different computer rooms, the processor It is configured as:
When server storage service data in the storing data library of the first server cluster, by the industry Data backup be engaged in into the storing data library of second server cluster, the storing data library of the second server cluster is for standby Business datum in the storing data library of part first server cluster;
When the server does not back up to the business datum in the storing data library of the second server cluster, The Data Identification of the business datum is stored to target calamity in the correspondence subregion of database, the target calamity is for database The calamity of server cluster is where the server for database;
According to the target calamity for the Data Identification in the correspondence subregion of database, by depositing for the first server cluster Business datum in storage database is stored into the storing data library of the second server cluster.
According to a fourth aspect of embodiments of the present disclosure, a kind of non-transitorycomputer readable storage medium is provided, when described When instruction in storage medium is executed by the processor of mobile terminal, so that mobile terminal is able to carry out a kind of data storage side Method, the method are applied in first server cluster or second server cluster on the server of any server cluster, institute It states first server cluster and the second server cluster is located at different computer rooms, which comprises
When server storage service data in the storing data library of the first server cluster, by the industry Data backup be engaged in into the storing data library of second server cluster, the storing data library of the second server cluster is for standby Business datum in the storing data library of part first server cluster;
When the server does not back up to the business datum in the storing data library of the second server cluster, The Data Identification of the business datum is stored to target calamity in the correspondence subregion of database, the target calamity is for database The calamity of server cluster is where the server for database;
According to the target calamity for the Data Identification in the correspondence subregion of database, by depositing for the first server cluster Business datum in storage database is stored into the storing data library of the second server cluster.
According to a fifth aspect of the embodiments of the present disclosure, a kind of application program is provided, including one or more instructs, this Or a plurality of instruction can by the processor of server execute when, enable the server to execute a kind of date storage method, it is described Method is applied in first server cluster or second server cluster on the server of any server cluster, first clothes Business device cluster and the second server cluster are located at different computer rooms, which comprises
When server storage service data in the storing data library of the first server cluster, by the industry Data backup be engaged in into the storing data library of second server cluster, the storing data library of the second server cluster is for standby Business datum in the storing data library of part first server cluster;
If the server does not back up to the business datum in the storing data library of the second server cluster, The Data Identification of the business datum is stored to target calamity in the correspondence subregion of database, the target calamity is for database The calamity of server cluster is where the server for database;
According to the target calamity for the Data Identification in the correspondence subregion of database, by depositing for the first server cluster Business datum in storage database is stored into the storing data library of the second server cluster.
The technical scheme provided by this disclosed embodiment can include the following benefits:
In the embodiment of the present disclosure, when server in the storing data library of the first server cluster storage service data When, server can back up to the business datum in the storing data library of second server cluster, and the business datum not When backing up to the storing data library of second server cluster, it can also synchronize and store the Data Identification of the business datum to target Calamity corresponds to the Data Identification in subregion further according to the target calamity for the correspondence subregion of database for database, by the first service Business datum in the storing data library of device cluster backs up in the storing data library of the second server cluster.The first service Device cluster and second server cluster are located in different computer rooms, due to can it is accurate, reliably by first server collection Business datum in group backs up in second server cluster, to realize the data storage procedure across computer room, improves number According to the stability and reliability of storage.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not The disclosure can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure Example, and together with specification for explaining the principles of this disclosure.
Fig. 1 is a kind of flow chart of date storage method shown according to an exemplary embodiment.
Fig. 2 is a kind of implementation environment schematic diagram of date storage method shown according to an exemplary embodiment.
Fig. 3 is a kind of flow chart of date storage method shown according to an exemplary embodiment.
Fig. 4 is a kind of configuration diagram of date storage method shown according to an exemplary embodiment.
Fig. 5 is a kind of block diagram of data storage device shown according to an exemplary embodiment.
Fig. 6 is a kind of block diagram of server shown according to an exemplary embodiment.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
Fig. 1 is a kind of flow chart of date storage method shown according to an exemplary embodiment, as shown in Figure 1, the number It is applied in first server cluster or second server cluster on the server of any server cluster according to storage method, this One server cluster and the second server cluster are located at different computer rooms, include the following steps.
101, when server storage service data in the storing data library of the first server cluster, by the business Data backup is into the storing data library of second server cluster, and the storing data library of the second server cluster is for backing up this Business datum in the storing data library of first server cluster;
It 102, will when the server does not back up to the business datum in the storing data library of the second server cluster The Data Identification of the business datum is stored to target calamity in the correspondence subregion of database, which is the service for database The calamity of server cluster is where device for database;
103, according to the target calamity for the Data Identification in the correspondence subregion of database, by depositing for the first server cluster Business datum in storage database is stored into the storing data library of the second server cluster.
In one possible implementation, the business datum second server collection should not be backed up into the server When in the storing data library of group, the Data Identification of the business datum is stored to target calamity for being wrapped in the correspondence subregion of database It includes:
When the server does not back up to the business datum in the storing data library of the second server cluster, according to this The characteristic value of the Data Identification of business datum determines the Data Identification in the target calamity for the correspondence in multiple subregions of database Subregion;
The Data Identification is stored to the target calamity in the correspondence subregion of database.
In one possible implementation, which is stored the correspondence subregion to the target calamity for database by this In include:
Determine the backup path of the business datum, which is used to indicate the source server in backup traffic data Cluster and destination server cluster;
The Data Identification and backup path of the business datum are stored to the target calamity in the correspondence subregion of database.
In one possible implementation, this according to the target calamity for the Data Identification in the correspondence subregion of database, Business datum in the storing data library of the first server cluster is stored to the storing data library of the second server cluster In include:
When the target further includes the backup path of the business datum in the correspondence subregion by database, according to the target Calamity for business datum in the correspondence subregion of database backup path, from the target calamity for multiple numbers of the correspondence subregion of database It is identified according to the target data that destination server cluster is server cluster where the server in mark, is filtered out;
The target data is obtained from the storing data library of the first server cluster identifies corresponding target service data, The target service data are stored into the storing data library of the second server cluster.
In one possible implementation, this stores the corresponding business datum of the Data Identification to the second server Include: in the storing data library of cluster
When in the storing data library of the second server cluster including the Data Identification, according to the first server cluster Storing data library in business datum versions of data, update the data mark in the storing data library of the second server cluster Know corresponding business datum.
In one possible implementation, the business datum second server collection should not be backed up into the server When in the storing data library of group, the Data Identification of the business datum is stored to target calamity for it in the correspondence subregion of database Before, this method further include:
When the business datum being stored into the available space in the storing data library of the second server cluster not successfully, or When the available space in the storing data library of the second server cluster is less than preset threshold, determine the server not by the business number According in the storing data library for backing up to the second server cluster.
In one possible implementation, which is main server cluster, the second server collection Group is from server cluster.
In the embodiment of the present disclosure, when server in the storing data library of the first server cluster storage service data When, server can back up to the business datum in the storing data library of second server cluster, and the business datum not When backing up to the storing data library of second server cluster, it can also synchronize and store the Data Identification of the business datum to target Calamity corresponds to the Data Identification in subregion further according to the target calamity for the correspondence subregion of database for database, by the first service Business datum in the storing data library of device cluster backs up in the storing data library of the second server cluster.The first service Device cluster and second server cluster are located in different computer rooms, due to can it is accurate, reliably by first server collection Business datum in group backs up in second server cluster, to realize the data storage procedure across computer room, improves number According to the stability and reliability of storage.
Fig. 2 is a kind of implementation environment schematic diagram of date storage method shown according to an exemplary embodiment, such as Fig. 2 institute Show, which includes first server cluster 201 and second server cluster 202, the first server cluster 201 and Accumulation layer and logical layer are deployed in two server clusters 202.The 201 second server cluster 202 of first server cluster Storing data library and calamity are deployed in accumulation layer for database.It include business processing logic in the logical layer, for providing industry Business processing service.Wherein, first server cluster 201 and second server cluster 202 are located in different computer rooms, example Such as, first server cluster 201 is located at A computer room, and second server cluster is located at B computer room.
Wherein, first server cluster 201 and second server cluster 202 can receive business processing request, for example, The request of multiple business processings can be evenly distributed into the first server cluster 101 and second server cluster 102 in real time, Business procession is executed by the logical layer of the first server cluster 101 or second server cluster 102.The storing data library For storing in the business procession, business datum relevant to business.It, can be in real time by business in business procession Data store into the storing data library of the first server cluster 101, and the business datum are backed up to second server collection In the storing data library of group 202, the storing data library of first server cluster 201 is backed up with realizing.When the business number According to being not backed up to when the second server cluster 202 backup, first the Data Identification of the business datum can be stored to the calamity In the correspondence subregion of standby database;For the Data Identification in the correspondence subregion of database, this first is taken further according to based on the calamity The corresponding business datum of the Data Identification in the storing data library of business device cluster 201, stores to the second server cluster 202 Storing data library.
It should be noted is that the first server cluster 201 and second server cluster 202 are in storage system Server cluster may include multiple server clusters in the storage system, and multiple server cluster is respectively at different In multiple computer rooms, which can be any primary server cluster in storage system, the second server collection Group 202 can be any from server cluster in the storage system.The embodiment of the present disclosure is not specifically limited in this embodiment.
The another point for needing to illustrate is that the above process is only with the first server cluster 201 for main server cluster, second Server cluster 202 is to be illustrated from server cluster.Certainly, the first server collection 201 groups can also be switched at any time From server cluster, which can also be switched to primary server cluster at any time.For example, at current business During reason, first server cluster 201 is used as primary server cluster, and second server cluster 202 is used as from server cluster; In next business procession, which can be switched to from server cluster, second server cluster 202 can also be switched to primary server cluster.In a kind of possible embodiment, when this is from server cluster backup failure When, the Data Identification of the business datum and backup path can also be stored to calamity in database, the backup path is for referring to Show the source server cluster and destination server cluster when backing up the business datum, in order to be based on the destination server collection Group, by the business datum in the storing data library of primary server cluster, backs up to the storing data library of the destination server cluster In.
Fig. 3 is a kind of flow chart of date storage method shown according to an exemplary embodiment, and this method is applied In one server cluster or second server cluster on the server of any server cluster, the first server cluster and this Two server clusters are located at different computer rooms, as shown in figure 3, including the following steps.
301, when server storage service data in the storing data library of the first server cluster, which will The business datum backs up in the storing data library of second server cluster.
Wherein, the storing data library of the second server cluster is used to back up the storing data library of the first server cluster In business datum;In the embodiment of the present disclosure, when receiving the business datum wait cache, server stores the business datum Into the storing data library of first server cluster, and in the success of first server cluster-based storage, which is stored Into the storing data library of the second server cluster.
Wherein, which can server cluster, the second server cluster can be from service based on Device cluster.Storing data library can be any database that data storage can be carried out in server cluster, a kind of possible In embodiment, which can refer at business for the cache database in server cluster, the cache database The server supported real-time storage during reason, read business datum in real time.In the embodiment of the present disclosure, the storage of server cluster Database may include one or more of the server cluster for providing the server of storage service.A kind of possible In embodiment, which can be the Redis database in server cluster.In Redis database, the service Device can the business datum in the form of key-value (key assignments), store into the queue of Redis database.Wherein, key is used In the Data Identification for storing the business datum, value is used to store the versions of data, mistake of the business datum and the business datum The information such as time phase.
Address data memory is configured in the logical layer of the first server cluster and second server cluster, which deposits Storage address refers to the storage address of business datum involved in business procession.The address data memory can be the main service IP (Intemet Protocol, Internet protocol) address of server in device cluster, the server ip address can be storage The IP address of server where database.The storing data library of first server cluster is written in the business datum by the server In, when business datum is successfully written the storing data library of first server cluster by the server, it is determined that the business processing The business datum of process stores successfully.The server is taken the business datum asynchronous write second by the way of asynchronous storage It is engaged in the storing data library of device cluster.
Wherein, the first clothes of server where storing data library in first server cluster be can store in the server The second server mark of server where storing data library in business device mark and second server cluster, thus the server It can be asynchronous to be backed up after being stored the business datum based on first server mark and second server mark. The server can be in the first server cluster and second server cluster for providing any clothes of data storage service Business device.
In the embodiment of the present disclosure, which can be different when business datum write-in primary server cluster to be written successfully Step backups to business datum from server cluster, thus realize when can cache can across computer room storage, improve at business During reason, the reliability of data buffer storage process.
302, when the server not successfully stores the business datum to the storing data library of the second server cluster In available space or when the available space in the storing data library of the second server cluster is less than preset threshold, the server is true The fixed server does not back up to the business datum in the storing data library of the second server cluster.
In backup procedure, which is also based on the storage state, and whether real-time judge backs up the business number Into the storing data library of second server cluster.Wherein, the available space in the storing data library refers in the storing data library It currently can be also used for the remaining space of storage service data.
During the server backup business datum, if the server not successfully stores the business datum to this In the available space in the storing data library of second server cluster, it that is to say, the storing data library of the second server cluster The business datum is not present in available space, which determines that the business datum is not backed up depositing to the second server cluster It stores up in database.Alternatively, illustrating that this is deposited when the available space in the storing data library of the second server cluster is less than preset threshold Storage database has been filled with or will be filled with, which determines that the business datum is not backed up to the storage of the second server cluster It in database, that is to say, second server cluster backup failure.Otherwise, which determines that the second server cluster is deposited It stores up successfully.Terminate.
Wherein, which can be based on needing to be configured, and it is not limited in this embodiment of the present disclosure.Example Such as, which can be 0 byte, 1 byte etc..
In the embodiment of the present disclosure, which can be in backup procedure, and the available space based on the storing data library is big It is small and whether store success, to judge whether the server backs up the business datum successfully, thus in backup failure, it can To be based on subsequent step 303-304, disaster recovery backup is carried out, the reliability across computer room caching is further improved, ensure that business The stability for the treatment of process.
It 303, should when the server does not back up to the business datum in the storing data library of the second server cluster Server stores the Data Identification of the business datum to target calamity in the correspondence subregion of database.
Calamity is each equipped in the first server cluster and second server cluster for database.The calamity is used for for database Store the Data Identification of the business datum in the failure of second server cluster-based storage.It is standby not by the business datum in the server When part is into the storing data library of the second server cluster, which can change the storage address of the business datum, will The Data Identification of the business datum is changed to storage to target calamity in database.The server can be according to the number of the business datum According to the characteristic value of mark, determine the Data Identification in the target calamity for the correspondence subregion in multiple subregions of database, the service Device stores the Data Identification to the target calamity in the correspondence subregion of database.Wherein, which is the clothes for database The calamity of server cluster is where business device for database.In addition, the calamity of server cluster is for may include multiple subregions in database, Each subregion is for storing the identical business datum of characteristic value.
In a kind of possible embodiment, which can also store the backup path of the business datum to this Target calamity is in database.Wherein, which is used to indicate source server cluster and purpose in backup traffic data Server cluster.The server stores the Data Identification can be with to the process in subregion for data to target calamity are as follows: the clothes Business device determines that the backup path of the business datum, the backup path are used to indicate the source server cluster in backup traffic data With destination server cluster;The server stores the Data Identification and backup path of the business datum to the standby number of the target calamity According in the correspondence subregion in library.
In the embodiment of the present disclosure, primary server cluster of the first server cluster as current backup process, this second Slave server cluster of the server cluster as current backup process, then the destination server cluster is the second server collection Group, which is the first server cluster.In a kind of possible embodiment, calamity can be for database Kafka database in server cluster, multiple subregion are that the multiple partition for including (divide in the kafka database Area), the characteristic value of the Data Identification of the business datum can be the cryptographic Hash of the Data Identification, then in this step, the server The cryptographic Hash for calculating the Data Identification of each business datum, according to the cryptographic Hash of the Data Identification of the business datum, by the business The Data Identification and backup path of data are stored to the Data Identification in the correspondence subregion in multiple subregion.Each subregion is used In the identical one or more Data Identifications of storage cryptographic Hash.
Wherein, for each Data Identification, the server can to the cryptographic Hash and the calamity in database subregion it is total Modular arithmetic is carried out between number, according to the modular arithmetic as a result, determining the corresponding subregion of the Data Identification.For example, the kafka data 3 partition for including in library, Data Identification that is to say that the cryptographic Hash of key can carry out modular arithmetics for 123 and 3 for 123, The calculated result of modular arithmetic is 123 remainders obtained divided by 3, be that is to say, then 123%3=0, and % is modular arithmetic symbol, then should Data Identification is stored to the 0th partition.In addition, in kafka database it is standby that this can be stored in the form of from/to Part path, then the storage form of the backup path can be { from: source server cluster, to: destination server cluster }.
In a kind of possible embodiment, the first server cluster and second server cluster can carry out master and slave The switching of server cluster, for example, in current business treatment process, first server cluster is as primary server cluster, and second Server cluster is used as from server cluster;In next business procession, the first server cluster can be switched to from Server cluster, second server cluster can also be switched to primary server cluster.If the first server cluster is switched to From server cluster, which is switched to primary server cluster, then the source server cluster is the second service Device cluster, destination server cluster are the first server cluster.The embodiment of the present disclosure passes through the Data Identification and backup road Diameter is stored to the calamity in database, can support the switching of master and slave server cluster, ensure that the accuracy of data storage.
Also, the synchronizing traffic data when server is by backup failure is stored to server cluster where book server Calamity in database, that is to say the calamity of business datum storage initiator in database, since only storing data identifies, data It measures less, is based on characteristic value, stores into different subregions, and be stored in the server cluster where initiator, store road Diameter is shorter, by reducing the data volume and store path of storage as far as possible, substantially increases depositing for Data Identification during disaster tolerance Efficiency is stored up, by the way that according to characteristic value, the different Data Identification of characteristic value is stored to different subregions, improves number during disaster tolerance According to mark storage accuracy, avoid the problem that it is subsequent be read repeatedly at the time of reading, further improve data storage it is standby Part efficiency and the accuracy that ensure that backup.
304, the server according to the calamity for the Data Identification in the correspondence subregion of database, by the first server cluster Storing data library in business datum store into the storing data library of the second server cluster.
In this step, which can be according to the calamity for the Data Identification of the correspondence subregion of database, from first clothes It is engaged in the storing data library of device cluster, the corresponding business datum of the Data Identification is obtained, by the corresponding business number of the Data Identification According to storing into the storing data library of the second server cluster.
Wherein, the calamity is for the backup path that can also be stored with the business datum in database, when the target is by data When further including the backup path of the business datum in the correspondence subregion in library, the server is according to the target calamity for the correspondence of database The backup path of business datum in subregion in multiple Data Identifications from the target calamity for the correspondence subregion of database, filters out Destination server cluster is the target data mark of server cluster where the server;The server is from the first server collection The target data is obtained in the storing data library of group and identifies corresponding target service data, which is stored to this In the storing data library of second server cluster.
Wherein, which can monitor the calamity of the first server cluster for the calamity of database and second server cluster Standby database, is filtered all calamities for the Data Identification stored in database according to the backup path, when listen to this For the calamity of one server cluster for the calamity of database and second server cluster in database, storage purpose server cluster is should Where server when the Data Identification of the business datum of server cluster, the industry for needing to store to cluster where server is filtered out The Data Identification for data of being engaged in, and carry out based on the Data Identification storage of the business datum.
Wherein, can also be stored in the storing data library of the first server cluster business datum versions of data, The information such as expired time, therefore, the server can be according to the Data Identifications, from the storing data library of the first server cluster The information such as middle versions of data, the expired time for obtaining the business datum and the business datum.It is with the storing data library Redis database, calamity are for database for for kafka database, in the Redis database, data are with the shape of key-value Formula is stored, then the server can filter out this from the Redis database according to the key value in kafka database The corresponding value of key stores the key-value to the Redis number of the second server cluster to obtain key-value According in library.
Wherein, the first server cluster and second server cluster can carry out the switching of master and slave server cluster, with The storing data library is for Redis database, calamity are kafka database for database, which can also include Kafka consumer, the server can be by the kafka consumers, while to first server cluster and second server collection Kafka database in group is monitored, and based on { from: source server cluster, the to: purpose clothes in the kafka database Business device cluster }, it is screened, when the Data Identification for listening to destination server cluster server cluster where the server When, then it executes and is based on the Data Identification, the corresponding business datum of the Data Identification is obtained from primary server cluster, by the business Data are stored to from the Redis database of server cluster.
It may include the corresponding business of the Data Identification in the second server cluster in a kind of possible embodiment Data, however, the business datum may not be latest data, then the server can also be somebody's turn to do according to from first server cluster The versions of data of the corresponding business datum of Data Identification is updated the business datum in the second server cluster.When this When including the Data Identification in the storing data library of second server cluster, which deposits according to the first server cluster The versions of data for storing up the business datum in database, updates the Data Identification pair in the storing data library of the second server cluster The business datum answered.
Wherein, which obtains the data in the storing data library of the first server cluster according to the Data Identification Corresponding first business datum is identified, and to obtain the Data Identification in the storing data library of the second server cluster corresponding Second business datum.The server is according to the data of versions of data (version) and the second business datum of the first business datum Version is judged, if the versions of data of the first business datum is later than the versions of data of the second business datum, illustrate this second The older version of business datum, the server delete second business datum in the storing data library of the second server cluster, First business datum is stored into the storing data library of the second server cluster;If the data version of the first business datum This earlier than the second business datum versions of data, illustrate that the version of second business datum is newer, the server abandon this first Business datum.
In order to which clearer explanation is to above-mentioned data storage procedure, the embodiment of the present disclosure is with frame shown in Fig. 4, to above-mentioned number It is described further according to storing process.As shown in figure 4, being Redis database with the storing data library, calamity is for database For kafka database, the A server cluster of A computer room is main server cluster, and the B server cluster of B computer room is primary server Cluster.A server cluster and B server cluster are respectively based on the logical layer of itself, handle service request, are handling In the process, server is by the Redis database of business datum write-in A server cluster, and asynchronous stores to B server cluster Redis database in.When Redis failed database of the A server cluster by business number asynchronous write B server cluster, A Business number is synchronously written in the kafka database of book server cluster by server cluster;Similarly, when B server cluster is by industry When the Redis failed database of business number asynchronous write B server cluster, business number is synchronously written this service by B server cluster In the kafka database of device cluster.Meanwhile the consumer in the kafka database of A, B server cluster is to A, B server The kafka database of cluster is monitored.When the kafka consumer of B server cluster listens in two kafka databases, When destination server cluster is the business datum corresponding key of B server cluster, from the hot Redis database of A server cluster In, the corresponding business datum of the key is obtained, that is to say value, which is stored to the Redis number of B server cluster It according in library, that is to say, the consumer of B server cluster falls back to the business datum in the Redis data of book server cluster. In kafka consumer's snoop procedure of A server cluster, since destination server cluster is from server cluster, and A is serviced Device cluster is main server cluster, and it is A server cluster that the consumer of A server cluster, which will not listen to destination server cluster, Data Identification, therefore, the consumer of A server cluster will not fall data after rise.Certainly, A, B server cluster can carry out it is main, From the switching of server cluster, at this point, when the kafka consumer of A server cluster listens to destination server cluster as A service When the corresponding key of the business datum of device cluster, the corresponding business datum of the Redis database of the primary server cluster key is deposited Storage is into the Redis database of A server cluster, to realize that asynchronous across computer room backs up to business datum from server set It in group, and can synchronize business datum from calamity in backup failure for being fallen back in database from server cluster, improve The reliability and stability of data storage.
In the embodiment of the present disclosure, when server in the storing data library of the first server cluster storage service data When, server can back up to the business datum in the storing data library of second server cluster, and the business datum not When backing up to the storing data library of second server cluster, it can also synchronize and store the Data Identification of the business datum to target Calamity corresponds to the Data Identification in subregion further according to the target calamity for the correspondence subregion of database for database, by the first service Business datum in the storing data library of device cluster backs up in the storing data library of the second server cluster.The first service Device cluster and second server cluster are located in different computer rooms, due to can it is accurate, reliably by first server collection Business datum in group backs up in second server cluster, to realize the data storage procedure across computer room, improves number According to the stability and reliability of storage.
Fig. 5 is a kind of data storage device block diagram shown according to an exemplary embodiment.Referring to Fig. 5, the device application In first server cluster or second server cluster on the server of any server cluster, the first server cluster and The second server cluster is located at different computer rooms, which includes the first memory module 501,502 He of the second memory module Second memory module 502.
First memory module 501 is configured as depositing in the storing data library of the first server cluster when the server When storing up business datum, which is backed up in the storing data library of second server cluster, the second server cluster Storing data library be used to back up the business datum in the storing data library of the first server cluster;
Second memory module 502 is configured in the server and the business datum is not backed up to the second server cluster Storing data library in when, the Data Identification of the business datum is stored to target calamity in the correspondence subregion of database, the mesh Calamity is marked for the calamity that database is server cluster where the server for database;
Third memory module 503 is configured as according to the target calamity for the Data Identification in the correspondence subregion of database, will Business datum in the storing data library of the first server cluster is stored into the storing data library of the second server cluster.
In one possible implementation, second memory module is additionally configured in the server not by the business When data backup is into the storing data library of the second server cluster, according to the characteristic value of the Data Identification of the business datum, Determine the Data Identification in the target calamity for the correspondence subregion in multiple subregions of database;The Data Identification is stored to the mesh Calamity is marked in the correspondence subregion of database.
In one possible implementation, second memory module is additionally configured to determine the backup of the business datum Path, the backup path are used to indicate source server cluster and destination server cluster in backup traffic data;By the industry The Data Identification and backup path for data of being engaged in, store to the target calamity in the correspondence subregion of database.
In one possible implementation, the third memory module is also configured when the target is by pair of database It answers when further including the backup path of the business datum in subregion, according to the target calamity for business datum in the correspondence subregion of database Backup path, in multiple Data Identifications from the target calamity for the correspondence subregion of database, filter out destination server cluster The target data mark of server cluster where the server;Obtaining from the storing data library of the first server cluster should Target data identifies corresponding target service data, which is stored to the storage number of the second server cluster According in library.
In one possible implementation, update module is configured as the storing data when the second server cluster When including the Data Identification in library, according to the versions of data of the business datum in the storing data library of the first server cluster, Update the corresponding business datum of the Data Identification in the storing data library of the second server cluster.
In one possible implementation, the device further include:
Determining module is configured as not successfully storing the business datum to the storing data of the second server cluster In the available space in library or when the available space in the storing data library of the second server cluster is less than preset threshold, determining should Business datum is not backed up into the storing data library of the second server cluster.
In one possible implementation, which is main server cluster, the second server collection Group is from server cluster.
In the embodiment of the present disclosure, when server in the storing data library of the first server cluster storage service data When, server can back up to the business datum in the storing data library of second server cluster, and the business datum not When backing up to the storing data library of second server cluster, it can also synchronize and store the Data Identification of the business datum to target Calamity corresponds to the Data Identification in subregion further according to the target calamity for the correspondence subregion of database for database, by the first service Business datum in the storing data library of device cluster backs up in the storing data library of the second server cluster.The first service Device cluster and second server cluster are located in different computer rooms, due to can it is accurate, reliably by first server collection Business datum in group backs up in second server cluster, to realize the data storage procedure across computer room, improves number According to the stability and reliability of storage.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method Embodiment in be described in detail, no detailed explanation will be given here.
It should be understood that data storage device provided by the above embodiment is in storing data, only with above-mentioned each function The division progress of module can according to need and for example, in practical application by above-mentioned function distribution by different function moulds Block is completed, i.e., the internal structure of equipment is divided into different functional modules, to complete all or part of function described above Energy.In addition, data storage device provided by the above embodiment and date storage method embodiment belong to same design, it is specific real Existing process is detailed in embodiment of the method, and which is not described herein again.
Fig. 6 is a kind of structural schematic diagram for server that the embodiment of the present disclosure provides, which can be because of configuration or property Energy is different and generates bigger difference, may include one or more processors (central processing Units, CPU) 601 and one or more memory 602, wherein at least one finger is stored in the memory 602 It enables, which is the server of any server cluster in first server cluster or second server cluster, first clothes Business device cluster and the second server cluster are located at different computer rooms, which is loaded simultaneously by the processor 601 Execute the date storage method to realize above-mentioned each embodiment of the method offer:
When server storage service data in the storing data library of the first server cluster, by the business datum Back up in the storing data library of second server cluster, the storing data library of the second server cluster for back up this first Business datum in the storing data library of server cluster;
When the server does not back up to the business datum in the storing data library of the second server cluster, by the industry The Data Identification of business data is stored to target calamity in the correspondence subregion of database, which is the server institute for database Server cluster calamity for database;
According to the target calamity for the Data Identification in the correspondence subregion of database, by the storage number of the first server cluster It stores according to the business datum in library into the storing data library of the second server cluster.
Certainly, which can also have the components such as wired or wireless network interface, keyboard and input/output interface, To carry out input and output, which can also include other for realizing the component of functions of the equipments, and this will not be repeated here.
In the exemplary embodiment, a kind of computer readable storage medium is additionally provided, the memory for example including instruction, Above-metioned instruction can be executed by the processor in terminal to complete the date storage method in following embodiments.
This method is applied in first server cluster or second server cluster on the server of any server cluster, The first server cluster and the second server cluster are located at different computer rooms, this method comprises:
When server storage service data in the storing data library of the first server cluster, by the business datum Back up in the storing data library of second server cluster, the storing data library of the second server cluster for back up this first Business datum in the storing data library of server cluster;
When the server does not back up to the business datum in the storing data library of the second server cluster, by the industry The Data Identification of business data is stored to target calamity in the correspondence subregion of database, which is the server institute for database Server cluster calamity for database;
According to the target calamity for the Data Identification in the correspondence subregion of database, by the storage number of the first server cluster It stores according to the business datum in library into the storing data library of the second server cluster.
For example, the computer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, soft Disk and optical data storage devices etc..
In the exemplary embodiment, a kind of application program, including one or more instruction are additionally provided, this one or more When instruction can be executed by the processor of server, enable the server to execute a kind of date storage method, this method application In first server cluster or second server cluster on the server of any server cluster, the first server cluster and The second server cluster is located at different computer rooms, this method comprises:
When server storage service data in the storing data library of the first server cluster, by the business datum Back up in the storing data library of second server cluster, the storing data library of the second server cluster for back up this first Business datum in the storing data library of server cluster;
When the server does not back up to the business datum in the storing data library of the second server cluster, by the industry The Data Identification of business data is stored to target calamity in the correspondence subregion of database, which is the server institute for database Server cluster calamity for database;
According to the target calamity for the Data Identification in the correspondence subregion of database, by the storage number of the first server cluster It stores according to the business datum in library into the storing data library of the second server cluster.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the disclosure Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Person's adaptive change follows the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following Claim is pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the accompanying claims.

Claims (10)

1. a kind of date storage method, which is characterized in that the method is applied in first server cluster or second server collection In group on the server of any server cluster, the first server cluster and the second server cluster are located at not Same computer room, which comprises
When server storage service data in the storing data library of the first server cluster, by the business number According in the storing data library for backing up to second server cluster, the storing data library of the second server cluster is for backing up institute State the business datum in the storing data library of first server cluster;
When the server does not back up to the business datum in the storing data library of the second server cluster, by institute The Data Identification for stating business datum is stored to target calamity in the correspondence subregion of database, and the target calamity is described for database The calamity of server cluster is where server for database;
According to the target calamity for the Data Identification in the correspondence subregion of database, by the storage number of the first server cluster It stores according to the business datum in library into the storing data library of the second server cluster.
2. date storage method according to claim 1, which is characterized in that it is described in the server not by the business When data backup is into the storing data library of the second server cluster, the Data Identification of the business datum is stored to mesh Calamity is marked for including: in the correspondence subregion of database
When the server does not back up to the business datum in the storing data library of the second server cluster, according to The characteristic value of the Data Identification of the business datum determines multiple subregions of the Data Identification in the target calamity for database In correspondence subregion;
The Data Identification is stored to the target calamity in the correspondence subregion of database.
3. date storage method according to claim 2, which is characterized in that described to store the Data Identification to described Target calamity for including: in the correspondence subregion of database
Determine that the backup path of the business datum, the backup path are used to indicate the source server in backup traffic data Cluster and destination server cluster;
The Data Identification and backup path of the business datum are stored to the target calamity in the correspondence subregion of database.
4. date storage method according to claim 1, which is characterized in that it is described according to the target calamity for database Data Identification in corresponding subregion stores the business datum in the storing data library of the first server cluster to described the Include: in the storing data library of two server clusters
When the target further includes the backup path of the business datum in the correspondence subregion by database, according to the mesh Mark calamity for business datum in the correspondence subregion of database backup path, from the target calamity for database correspondence subregion it is more In a Data Identification, the target data mark that destination server cluster is server cluster where the server is filtered out;
The target data is obtained from the storing data library of the first server cluster identifies corresponding target service data, The target service data are stored into the storing data library of the second server cluster.
5. date storage method according to claim 1, which is characterized in that described by the corresponding business of the Data Identification Data are stored includes: into the storing data library of the second server cluster
When in the storing data library of the second server cluster including the Data Identification, according to the first server collection The versions of data of business datum in the storing data library of group, described in the storing data library for updating the second server cluster The corresponding business datum of Data Identification.
6. date storage method according to claim 1, which is characterized in that it is described in the server not by the business When data backup is into the storing data library of the second server cluster, the Data Identification of the business datum is stored to mesh Calamity is marked for before in the correspondence subregion of database, the method also includes:
When the business datum being stored into the available space in the storing data library of the second server cluster not successfully, or When the available space in the storing data library of the second server cluster is less than preset threshold, determine that the server will not be described Business datum backs up in the storing data library of the second server cluster.
7. date storage method according to claim 1, which is characterized in that the first server cluster is primary server Cluster, the second server cluster are from server cluster.
8. a kind of data storage device, which is characterized in that described device is applied in first server cluster or second server collection In group on the server of any server cluster, the first server cluster and the second server cluster are located at not Same computer room, described device include:
First memory module is configured as storing industry in the storing data library of the first server cluster when the server When data of being engaged in, the business datum is backed up in the storing data library of second server cluster, the second server cluster Storing data library be used to back up the business datum in the storing data library of the first server cluster;
Second memory module is configured in the server and the business datum is not backed up to the second server cluster When in storing data library, the Data Identification of the business datum is stored to target calamity in the correspondence subregion of database, it is described Target calamity is for the calamity that database is server cluster where the server for database;
Third memory module is configured as according to the target calamity for the Data Identification in the correspondence subregion of database, will be described Business datum in the storing data library of first server cluster is stored into the storing data library of the second server cluster.
9. a kind of data storage server characterized by comprising
Processor;
Memory for storage processor executable instruction;
Wherein, the data storage server is any server cluster in first server cluster or second server cluster Server, the first server cluster and the second server cluster are located at different computer rooms, and the processor is matched It is set to:
When server storage service data in the storing data library of the first server cluster, by the business number According in the storing data library for backing up to second server cluster, the storing data library of the second server cluster is for backing up institute State the business datum in the storing data library of first server cluster;
When the server does not back up to the business datum in the storing data library of the second server cluster, by institute The Data Identification for stating business datum is stored to target calamity in the correspondence subregion of database, and the target calamity is described for database The calamity of server cluster is where server for database;
According to the target calamity for the Data Identification in the correspondence subregion of database, by the storage number of the first server cluster It stores according to the business datum in library into the storing data library of the second server cluster.
10. a kind of non-transitorycomputer readable storage medium, which is characterized in that when the instruction in the storage medium is by moving When the processor of terminal executes, so that mobile terminal is able to carry out a kind of date storage method, the method is applied in the first clothes It is engaged in device cluster or second server cluster on the server of any server cluster, the first server cluster and described the Two server clusters are located at different computer rooms, which comprises
When server storage service data in the storing data library of the first server cluster, by the business number According in the storing data library for backing up to second server cluster, the storing data library of the second server cluster is for backing up institute State the business datum in the storing data library of first server cluster;
When the server does not back up to the business datum in the storing data library of the second server cluster, by institute The Data Identification for stating business datum is stored to target calamity in the correspondence subregion of database, and the target calamity is described for database The calamity of server cluster is where server for database;
According to the target calamity for the Data Identification in the correspondence subregion of database, by the storage number of the first server cluster It stores according to the business datum in library into the storing data library of the second server cluster.
CN201811519676.6A 2018-12-12 2018-12-12 Data storage method, device, server and storage medium Active CN109561151B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811519676.6A CN109561151B (en) 2018-12-12 2018-12-12 Data storage method, device, server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811519676.6A CN109561151B (en) 2018-12-12 2018-12-12 Data storage method, device, server and storage medium

Publications (2)

Publication Number Publication Date
CN109561151A true CN109561151A (en) 2019-04-02
CN109561151B CN109561151B (en) 2021-09-17

Family

ID=65869646

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811519676.6A Active CN109561151B (en) 2018-12-12 2018-12-12 Data storage method, device, server and storage medium

Country Status (1)

Country Link
CN (1) CN109561151B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111381987A (en) * 2020-03-13 2020-07-07 北京金山云网络技术有限公司 Message processing method and device, electronic equipment and medium
CN113064766A (en) * 2021-05-07 2021-07-02 数字广东网络建设有限公司 Data backup method, device, equipment and storage medium
CN113297159A (en) * 2021-02-08 2021-08-24 阿里巴巴集团控股有限公司 Data storage method and device
CN113726877A (en) * 2021-08-26 2021-11-30 湖南快乐阳光互动娱乐传媒有限公司 Method and system for storing data across machine room cluster
CN113810456A (en) * 2021-02-09 2021-12-17 京东科技信息技术有限公司 Data acquisition method, device, system, computer equipment and storage medium

Citations (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030005350A1 (en) * 2001-06-29 2003-01-02 Maarten Koning Failover management system
US20080168111A1 (en) * 2006-04-20 2008-07-10 Microsoft Corporation Multi-client cluster-based backup and restore
CN101309167A (en) * 2008-06-27 2008-11-19 华中科技大学 Disaster allowable system and method based on cluster backup
CN103064760A (en) * 2012-12-19 2013-04-24 华为技术有限公司 Backup method and backup device
CN103516667A (en) * 2012-06-20 2014-01-15 中国银联股份有限公司 System, method and apparatus used for safety information data disaster recovery backup
CN103902617A (en) * 2012-12-28 2014-07-02 华为技术有限公司 Distributed database synchronization method and system
CN103973727A (en) * 2013-01-28 2014-08-06 深圳市腾讯计算机系统有限公司 Data synchronizing method and device
CN104468548A (en) * 2014-11-28 2015-03-25 华为技术有限公司 Data verification method, disaster recovery storage and production storage
CN104503864A (en) * 2014-11-20 2015-04-08 北京世纪高蓝科技有限公司 Method and device for file backup based on local area network
CN104618127A (en) * 2013-11-01 2015-05-13 深圳市腾讯计算机系统有限公司 Master and standby storage node switching method and system
CN104935654A (en) * 2015-06-10 2015-09-23 华为技术有限公司 Caching method, write point client and read client in server cluster system
CN105187464A (en) * 2014-06-19 2015-12-23 中兴通讯股份有限公司 Data synchronization method, device and system in distributed storage system
CN105224418A (en) * 2015-09-06 2016-01-06 福建三元达通讯股份有限公司 A kind of data back up method and device
CN105282253A (en) * 2015-11-04 2016-01-27 湖南御家科技有限公司 Data document synchronization method and system
CN105302675A (en) * 2015-11-25 2016-02-03 上海爱数信息技术股份有限公司 Method and device for data backup
CN106341454A (en) * 2016-08-23 2017-01-18 世纪龙信息网络有限责任公司 Across-room multiple-active distributed database management system and across-room multiple-active distributed database management method
CN107346271A (en) * 2016-05-05 2017-11-14 华为技术有限公司 The method and calamity of Backup Data block are for end equipment
CN108228397A (en) * 2016-12-22 2018-06-29 深圳市优朋普乐传媒发展有限公司 The method and apparatus that a kind of cluster span computer room synchronizes
US20180191815A1 (en) * 2016-12-29 2018-07-05 UBTECH Robotics Corp. Data transmission method and device, distributed storage system
CN108259613A (en) * 2018-01-24 2018-07-06 平安科技(深圳)有限公司 On-line synchronous device, method and the computer readable storage medium of disaster tolerance data

Patent Citations (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030005350A1 (en) * 2001-06-29 2003-01-02 Maarten Koning Failover management system
US20080168111A1 (en) * 2006-04-20 2008-07-10 Microsoft Corporation Multi-client cluster-based backup and restore
CN101309167A (en) * 2008-06-27 2008-11-19 华中科技大学 Disaster allowable system and method based on cluster backup
CN103516667A (en) * 2012-06-20 2014-01-15 中国银联股份有限公司 System, method and apparatus used for safety information data disaster recovery backup
CN103064760A (en) * 2012-12-19 2013-04-24 华为技术有限公司 Backup method and backup device
CN103902617A (en) * 2012-12-28 2014-07-02 华为技术有限公司 Distributed database synchronization method and system
CN103973727A (en) * 2013-01-28 2014-08-06 深圳市腾讯计算机系统有限公司 Data synchronizing method and device
CN104618127A (en) * 2013-11-01 2015-05-13 深圳市腾讯计算机系统有限公司 Master and standby storage node switching method and system
CN105187464A (en) * 2014-06-19 2015-12-23 中兴通讯股份有限公司 Data synchronization method, device and system in distributed storage system
CN104503864A (en) * 2014-11-20 2015-04-08 北京世纪高蓝科技有限公司 Method and device for file backup based on local area network
CN104468548A (en) * 2014-11-28 2015-03-25 华为技术有限公司 Data verification method, disaster recovery storage and production storage
CN104935654A (en) * 2015-06-10 2015-09-23 华为技术有限公司 Caching method, write point client and read client in server cluster system
CN105224418A (en) * 2015-09-06 2016-01-06 福建三元达通讯股份有限公司 A kind of data back up method and device
CN105282253A (en) * 2015-11-04 2016-01-27 湖南御家科技有限公司 Data document synchronization method and system
CN105302675A (en) * 2015-11-25 2016-02-03 上海爱数信息技术股份有限公司 Method and device for data backup
CN107346271A (en) * 2016-05-05 2017-11-14 华为技术有限公司 The method and calamity of Backup Data block are for end equipment
CN106341454A (en) * 2016-08-23 2017-01-18 世纪龙信息网络有限责任公司 Across-room multiple-active distributed database management system and across-room multiple-active distributed database management method
CN108228397A (en) * 2016-12-22 2018-06-29 深圳市优朋普乐传媒发展有限公司 The method and apparatus that a kind of cluster span computer room synchronizes
US20180191815A1 (en) * 2016-12-29 2018-07-05 UBTECH Robotics Corp. Data transmission method and device, distributed storage system
CN108259613A (en) * 2018-01-24 2018-07-06 平安科技(深圳)有限公司 On-line synchronous device, method and the computer readable storage medium of disaster tolerance data

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111381987A (en) * 2020-03-13 2020-07-07 北京金山云网络技术有限公司 Message processing method and device, electronic equipment and medium
CN113297159A (en) * 2021-02-08 2021-08-24 阿里巴巴集团控股有限公司 Data storage method and device
CN113297159B (en) * 2021-02-08 2024-03-08 阿里巴巴集团控股有限公司 Data storage method and device
CN113810456A (en) * 2021-02-09 2021-12-17 京东科技信息技术有限公司 Data acquisition method, device, system, computer equipment and storage medium
CN113064766A (en) * 2021-05-07 2021-07-02 数字广东网络建设有限公司 Data backup method, device, equipment and storage medium
CN113726877A (en) * 2021-08-26 2021-11-30 湖南快乐阳光互动娱乐传媒有限公司 Method and system for storing data across machine room cluster

Also Published As

Publication number Publication date
CN109561151B (en) 2021-09-17

Similar Documents

Publication Publication Date Title
CN109561151A (en) Date storage method, device, server and storage medium
US9251233B2 (en) Merging an out of synchronization indicator and a change recording indicator in response to a failure in consistency group formation
CN109074362A (en) Fractionation and moving range in distributed system
CN103229171B (en) Snapshot based replication
US7693882B2 (en) Replicating data across the nodes in a cluster environment
US20090157776A1 (en) Repartitioning live data
CN113168404B (en) System and method for replicating data in a distributed database system
CN107025289B (en) A kind of method and relevant device of data processing
CN105515872B (en) The update method of configuration information, apparatus and system
JP4988370B2 (en) Method, system, and program for integrating session information for a cluster of sessions in a coupled session environment
US9547707B2 (en) Copy of replication status for synchronization
CN115599747B (en) Metadata synchronization method, system and equipment of distributed storage system
CN106605217B (en) For the method and system for being moved to another website from a website will to be applied
US10642530B2 (en) Global occupancy aggregator for global garbage collection scheduling
CN107451013A (en) Data reconstruction method, apparatus and system based on distributed system
CN107391033B (en) Data migration method and device, computing equipment and computer storage medium
US20050154786A1 (en) Ordering updates in remote copying of data
CN115048254A (en) Simulation test method, system, equipment and readable medium of data distribution strategy
CN109726211B (en) Distributed time sequence database
US20190079831A1 (en) Providing consistency in a distributed data store
CN111046004B (en) Data file storage method, device, equipment and storage medium
CN115033350A (en) Execution method and device of distributed transaction
CN114757777A (en) Optimal link selection method and device for block chain and electronic equipment
CN109376001A (en) A kind of method and apparatus of resource allocation
CN112948494A (en) Data synchronization method and device, electronic equipment and computer readable medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant