CN110377455A - Data back up method, apparatus and system - Google Patents

Data back up method, apparatus and system Download PDF

Info

Publication number
CN110377455A
CN110377455A CN201910561746.2A CN201910561746A CN110377455A CN 110377455 A CN110377455 A CN 110377455A CN 201910561746 A CN201910561746 A CN 201910561746A CN 110377455 A CN110377455 A CN 110377455A
Authority
CN
China
Prior art keywords
communication data
storage equipment
data
equipment
new
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
Application number
CN201910561746.2A
Other languages
Chinese (zh)
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.)
Suzhou Wave Intelligent Technology Co Ltd
Original Assignee
Suzhou Wave Intelligent 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 Suzhou Wave Intelligent Technology Co Ltd filed Critical Suzhou Wave Intelligent Technology Co Ltd
Priority to CN201910561746.2A priority Critical patent/CN110377455A/en
Publication of CN110377455A publication Critical patent/CN110377455A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1448Management of the data involved in backup or backup restore
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1479Generic software techniques for error detection or fault masking

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The present invention provides a kind of data back up method, comprising: saves the communication data communicated between initiating equipment and target device by the first storage equipment, and synchronous save to preset second of the communication data of preservation is stored in equipment, to avoid loss of data;According to the preset time, communication data is compressed in timing, and the communication data of compression is sent to preset strange land storage equipment and is saved, timing carries out snapshot processing to communication data, obtain snapshot communication data, snapshot communication data is sent to network storage equipment to save, completes network backup;Method provided by the invention mostly is backed up by carrying out, and when first storage device failure, second storage equipment can be used as the first new storage equipment and work, avoid the loss of the communication data in channel between initiating equipment and target device, by carrying out compress backup and snapshot, the diversity for realizing backup improves the stability and reliability of data-storage system.

Description

Data back up method, apparatus and system
Technical field
The present invention relates to cloud computing data technique field, in particular to a kind of data back up method and device, system.
Background technique
In cloud computing era, mass data needs to store and read, and the importance of data is being continuously improved, and people are to data Security requirement be also continuously improved, how backup disaster tolerance is carried out to the data of storage, ensure data safety become work as The research direction of modern field of storage hot topic.
Existing backup disaster tolerance is that the data for taking backup software to communicate initiating equipment and target device synchronize Or asynchronous replication, logical data backup too much improves the modes such as serious forgiveness and carries out, for local area network, data Storage area network (StorageAreaNetwork, SAN) is divided into two kinds according to transport protocol, and one is be based on Internet Protocol The IP-SAN of (InternetProtocol, IP);Another kind is the FC-SAN based on optical-fibre channel (FibreChannel, FC), The storage environment of both data only backs up data in the storage equipment of local area network, and data backup means are single, The Information Security and stability of whole network data-storage system are extremely low.
Summary of the invention
In view of this, can data be carried out with the backup of multiple types, improved the present invention provides a kind of data back up method The safety and stability of data in data-storage system, to support application of the present invention in various types of systems, this hair It is bright to additionally provide a kind of data backup system.
The present invention also provides a kind of data backup devices, to guarantee the realization and application of the above method in practice.
To achieve the above object, the invention provides the following technical scheme:
A kind of data back up method is applied to the first storage equipment, comprising:
When initiating equipment is communicated with target device, obtains the initiating equipment and communicated with the target device Communication data;
The communication data is saved to database, and adds the verification information being obtained ahead of time in the communication data, New communication data is obtained, while sending the new communication data to preset second storage equipment, and trigger described second Storage equipment is verified and is saved to the new communication data, and the second storage equipment is used to set in first storage When standby failure, work as the first new storage equipment;
The communication data in the database is compressed in timing, and the compressed communication data is sent to Preset strange land storage equipment is saved, and remote backup is completed;
Timing carries out data snapshot processing to the communication data in the database, obtains snapshot communication data, and The snapshot communication data is sent to preset network storage equipment to save, completes network backup.
Above-mentioned method, it is optionally, described that the verification information being obtained ahead of time is added in the communication data, it obtains new Communication data, comprising:
The communication data is parsed, the parameters in the communication data are obtained;
According to the parameters, verification information corresponding with the communication data is generated;
The verification information is added in the communication data, new communication data is generated.
Above-mentioned method, optionally, the communication number for obtaining the initiating equipment and being communicated with the target device According to, comprising:
The communication instruction that the initiating equipment is sent is received, the communication instruction is parsed, communication data is obtained;
It determines the target device communicated with the initiating equipment, and the communication data is sent to the mesh Marking device.
Above-mentioned method, optionally, triggering the second storage equipment verify the new communication data And preservation, comprising:
It triggers the second storage equipment to parse the new communication data, obtains the verification information, and according to Consistency checking is carried out to the new communication data according to the verification information, is verified result;
Receive the verification result of the second storage equipment feedback, if the verification result be it is inconsistent, to described the Two storage equipment retransmit the new communication data.
A kind of data backup device, comprising:
Acquiring unit, for obtaining the initiating equipment and the mesh when initiating equipment is communicated with target device The communication data that marking device is communicated;
Transmission unit for saving the communication data to database, and is added in the communication data and is obtained in advance The verification information obtained obtains new communication data, while sending the new communication data to preset second storage equipment, and It triggers the second storage equipment the new communication data is verified and saved, the second storage equipment is used in institute When stating the first storage device failure, work as the first new storage equipment;
Compression unit compresses the communication data in the database for timing, will be compressed described Communication data is sent to preset strange land storage equipment and is saved, and completes remote backup;
Snapshot unit carries out data snapshot processing to the communication data in the database for timing, obtains fast According to communication data, and the snapshot communication data is sent to preset network storage equipment and is saved, completes network backup.
Above-mentioned device, optionally, the transmission unit, comprising:
Parsing subunit obtains the parameters in the communication data for parsing to the communication data;
Subelement is generated, for generating verification information corresponding with the communication data according to the parameters;
It adds subelement and generates new communication data for the verification information to be added in the communication data.
Above-mentioned device, optionally, the acquiring unit, comprising:
Receiving subelement, the communication instruction sent for receiving the initiating equipment, parses the communication instruction, Obtain communication data;
Subelement is determined, for determining the target device that is communicated with the initiating equipment, and by the communication Data are sent to the target device.
Above-mentioned device, optionally, the transmission unit, comprising:
Subelement is triggered, the new communication data is parsed for triggering the second storage equipment, obtains institute Verification information is stated, and consistency checking is carried out to the new communication data according to the verification information, is verified result;
Transmission sub-unit, for receiving the verification result of the second storage equipment feedback, if the verification result is not Unanimously, then the new communication data is retransmitted to the second storage equipment.
A kind of data backup system, comprising:
First storage equipment, the second storage equipment, strange land storage equipment, network storage equipment, multiple initiating equipments and more A target device;
Data backup device as described above is provided in the first storage equipment;
Strange land storage equipment stores equipment with described first by network and is connected, for receiving and saving described the One storage equipment carries out the compressed communication data;
The network storage equipment is connected by network with the first storage equipment, for receiving first storage After equipment carries out data snapshot processing to the communication data of preservation, obtained snapshot communication data, and the snapshot is led to Letter data is saved.
Compared with prior art, the invention has the following advantages that
The communication data communicated between initiating equipment and target device is saved by the first storage equipment, and will be protected The communication data deposited is synchronous to be saved into preset second storage equipment, to avoid loss of data;According to preset time, timing The communication data is compressed, and the communication data of compression is sent to preset strange land storage equipment and is saved, it is fixed When to the communication data carry out snapshot processing, obtain snapshot communication data, the snapshot communication data be sent to network and is deposited It stores up equipment to save, completes network backup;Method provided by the invention is logical to be backed up too much, and when first storage is set When standby failure, the second storage equipment can be used as the first new storage equipment and work, and avoid initiating equipment and target device Between channel communication data loss, ensure that the integrality and safety of the communication data of preservation;It is standby by compress Part and snapshot, realize the diversity of backup, improve the stability and reliability of data-storage system.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of method flow diagram of data back up method provided in an embodiment of the present invention;
Fig. 2 is a kind of another method flow chart of data back up method provided in an embodiment of the present invention;
Fig. 3 is a kind of system construction drawing of data backup system provided in an embodiment of the present invention;
Fig. 4 is a kind of structure drawing of device of data backup device provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
In this application, the terms "include", "comprise" or any other variant thereof is intended to cover non-exclusive inclusion, So that the process, method, article or equipment for including a series of elements not only includes those elements, but also including not having The other element being expressly recited, or further include for elements inherent to such a process, method, article, or device.Do not having There is the element limited in the case where more limiting by sentence "including a ...", it is not excluded that in the mistake including the element There is also other identical elements in journey, method, article or equipment.
By applying method provided in an embodiment of the present invention, data fusion by all kinds of means can be carried out in a local network and with a variety of Mode carries out data backup, improves the reliability and safety of data backup, the method for method provided in an embodiment of the present invention Flow chart is as shown in Figure 1, detailed process is as described below:
S101, when initiating equipment is communicated with target device, obtain the initiating equipment and the target device into The communication data of row communication.
Method provided in an embodiment of the present invention can be applied to the local area network that various terminal equipment is built or corresponding calculating In machine server, the executing subject of method provided in an embodiment of the present invention can be the storage equipment in various computers, described Storage equipment can store equipment for the fusion in local area network and need when the equipment in local area network is communicated by equipment Between the communication data that is communicated saved;It is set it should be noted that the equipment in the local area network can be divided into initiation Standby and target device, the initiating equipment and the target device can be the smart machines such as mobile terminal, computer, IPAD; In method provided in an embodiment of the present invention, executing subject can be the first storage equipment in local area network, first storage Equipment can obtain the initiating equipment and target when initiating equipment and target device are communicated for fusion storage equipment The communication data communicated between equipment.
S102, the communication data is saved to database, and adds the verifying being obtained ahead of time in the communication data Information, obtains new communication data, while sending the new communication data to preset second storage equipment, triggers described the Two storage equipment are verified and are saved to the new communication data, and the second storage equipment is used in second storage When equipment fault, work as the first new storage equipment.
In method provided in an embodiment of the present invention, the communication data that will acquire is saved to the first storage equipment In database, the verification information of the communication data is obtained, the verification information can be verifying field;When the communication data When for one section of field, the verifying field is added at the end of the field, the verifying field is for verifying the field The property completed and correctness etc., the second storage equipment can be fusion storage alternate device, the second storage equipment and institute Stating the first storage equipment is same type of equipment, and the second storage equipment is saved for backing up in the first storage equipment Communication data;The communication data can be the data such as voice, picture and file;
It should be noted that when first storage device failure, the second storage equipment can be used as new the One storage equipment works, and loses to avoid the communication data communicated between equipment.
S103, periodically the communication data in the database compressed, by the compressed communication data It is sent to preset strange land storage equipment to be saved, completes remote backup.
In method provided in an embodiment of the present invention, described first stores the communication data that equipment timing will save in database It is compressed, and compressed communication data is sent to preset strange land storage equipment and is saved;It should be noted that fixed When being compressed to the communication data in database, can be at the time of preset, for example, it may be daily morning 9 Point, at 3 points in afternoon and at 10 points in evening compress the communication data in database, when being compressed, can be compression number According to communication data whole in library, it is also possible to compress the communication data in a period of time, such as the time of last compression is At 3 points in afternoon, time of current compression are 7 points at night, then compress the communication saved at 3 points in afternoon to 7 points of this periods at night Data;Timing compression can also be that the compartment time is just compressed, such as be set as every two hours just to communication data into Row compression, the time point compressed for the first time can be with 1:00 AM clocks, then after two hours, i.e., 3:00 AM is to logical in database Letter data is compressed, and when being compressed, be can be 1:00 AM to the communication data between 3:00 AM and is compressed;It will compression Communication data be sent to strange land storage equipment saved, complete remote backup.
S104, data snapshot processing periodically is carried out to the communication data in the database, obtains snapshot communication number According to, and the snapshot communication data is sent to preset network storage equipment and is saved, complete network backup.
In method provided in an embodiment of the present invention, the first storage equipment timing uses preset data snapshot technology, Snapshot processing is carried out to the communication data saved in the database of the first storage equipment, obtains snapshot communication data;It needs Illustrate, the snapshot communication data is equivalent to the index list list of the communication data currently saved in the database; It should be noted that can be set according to practical situations at the time of data snapshot processing, such as in 5:00 AM 38 Decilog carries out snapshot processing according to the communication data that saves in library, be also possible at night 11 points to the communication data in database into The frequency for carrying out data snapshot, such as 5 times/day can also be set according to actual conditions in the processing of row snapshot;It is being set for data When the time of snapshot processing, the communication peak period of user can be avoided, to reduce the workload of the first storage equipment;It will be to data The snapshot communication data that communication data in library obtain after snapshot processing is sent to preset network storage equipment and is protected It deposits, completes network backup.
In method provided in an embodiment of the present invention, it will be communicated between initiating equipment and target device by the first storage equipment Communication data saved, and save the communication data of preservation is synchronous into preset second storage equipment, to avoid number According to loss;According to the preset time, periodically the communication data is compressed, and the communication data of compression is sent to default Strange land storage equipment saved, snapshot processing periodically is carried out to the communication data, obtains snapshot communication data, will be described Snapshot communication data is sent to network storage equipment preservation, completes network backup;Method provided in an embodiment of the present invention passes through more Ground is backed up, and when first storage device failure, the second storage equipment can be used as new first storage equipment into Row work avoids the loss of the communication data in channel between initiating equipment and target device, ensure that the communication data of preservation Integrality and safety;By carrying out compress backup and snapshot, the diversity of backup is realized, data storage is improved The stability and reliability of system.
In method provided in an embodiment of the present invention, by the second storage equipment to the communication number in the first storage equipment According to being backed up, the consistency of communication data between both sides is realized, ensure that the synchronism in both data library, described in guaranteeing The consistency of the communication data saved between first storage equipment and the second storage equipment, is sent to second for communication data After storing equipment, triggers the second storage equipment and consistency checking, the detailed process of verifying are carried out to the communication data As shown in Fig. 2, being described as follows described:
S201, the communication data is parsed, obtains the parameters in the communication data.
In method provided in an embodiment of the present invention, the first storage equipment is getting the initiating equipment and target is set After standby communication data, the communication data is parsed, obtains the parameters of the communication data, such as described logical Size of data and data type of letter data etc..
S202, according to the parameters, generate verification information corresponding with the communication data.
In method provided in an embodiment of the present invention, according to the parameters, test corresponding with the communication data is generated Information is demonstrate,proved, includes the parameters in the verification information, the verification information can be verifying field.
S203, the verification information is added in the communication data, generates new communication data.
In method provided in an embodiment of the present invention, by the way that the verification information to be added in the communication data, generate It include the new communication data of verification information, it should be noted that when the communication data is data flow, the verifying letter When breath is verifying field, the verifying field can be added to the end of the data flow.
In method provided in an embodiment of the present invention, by adding verification information in the communication data, it is ensured that second deposits The new communication data that storage equipment is saved and the communication data saved in the first storage equipment are consistent, it is ensured that The integrality for the communication data that second storage equipment saves;When trigger it is described second storage equipment to the new communication data into When row verifying, details are provided below:
It triggers the second storage equipment to parse the new communication data, obtains the verification information, and according to Consistency checking is carried out to the new communication data according to the verification information, is verified result;
In method provided in an embodiment of the present invention, after the second storage equipment receives the new communication data, The new communication data is parsed, the verification information in the new communication data is obtained, obtains the verification information In include parameters, according to the parameters, judge parameters in new communication data whether with the verifying Parameters in information are consistent, if the parameters in the new communication data and each ginseng in the verification information Number is consistent, then verification result is consistent;Conversely, then verification result be it is inconsistent, the second storage equipment is to described first Store equipment feedback validation result.Such as memory size of one of parameter about communication data in verification information, such as Size type is 1M;Data type of another parameter about communication data, such as data type are video;Second storage After equipment parses the new communication data, the memory size parameter for obtaining the new communication data is 984K, Data type is video;Because the memory size that memory size and the parsing of the communication data in verification information obtain is not identical, therefore Verification result is inconsistent.
Receive the verification result of the second storage equipment feedback, if the verification result be it is inconsistent, to described the Two storage equipment retransmit the new communication data;
In method provided in an embodiment of the present invention, the first storage equipment receives the verifying of the second storage equipment feedback As a result, when the verification result be it is inconsistent when, it is described first storage equipment to it is described second storage equipment send again described in New communication data, to guarantee the communication data that saves in the second storage equipment and be saved in first storing data Communication data is consistent.
In method provided in an embodiment of the present invention, when the initiating equipment is communicated with the target device, it can be One initiating equipment is communicated with multiple target devices, is also possible to an initiating equipment and is led to a target device Letter solves the communication instruction when the first storage equipment receives the communication instruction that the initiating equipment is sent Analysis, obtains the device id for the target device that the initiating equipment is communicated, and determines according to the device id Target device, and communication data is sent to corresponding target device, with complete the initiating equipment and the target device it Between communication, meanwhile, the initiating equipment and the target device are carried out current communication data by the first storage equipment It is saved, for example, initiating equipment A sends data d to target device B and C, then the first storage equipment saves two communications Data are that initiating equipment A sends data d and initiating equipment A to target device B and sends data d to target device C respectively;Or Person only saves a data, i.e. initiating equipment A sends data d to target device B and C;It can be according to actual needs to described first The mode for storing the preservation communication data of equipment is set.
The derivatization process of above-mentioned each concrete implementation mode and each implementation, all falls in the scope of protection of the present invention.
In method provided in an embodiment of the present invention, communication data is saved by a variety of methods, data is improved and deposits The stability and reliability of storage system, the embodiment of the invention also provides a kind of data backup systems, for supporting this method to exist Application in all kinds of storage systems, system construction drawing provided in an embodiment of the present invention is as shown in figure 3, be described as follows described:
A kind of data backup system, comprising: multiple initiating equipments 301, multiple target devices 302, first store equipment 303, the second storage equipment 304, strange land storage equipment 305 and network storage equipment 306;
It is described first storage equipment 303 by network communication protocol (InternetProtccol, IP) respectively with multiple institutes It states initiating equipment 301 to be connected with multiple target devices 302, it should be noted that the initiating equipment and the target Equipment is the terminal that can be communicated in local area network, such as computer;Lead between the initiating equipment and the target device It crosses IP agreement to be attached, and is communicated in setting up the local area network completed, the first storage equipment is initiated for saving The communication data that equipment is communicated with target device.
The second storage equipment is connected by optical fiber with the first storage equipment, and the second storage equipment is used for The new communication data received is saved, and consistency checking, Xiang Suoshu first are carried out to the new communication data Store equipment feedback validation result;When the second storage equipment breaks down for the first storage equipment, as new First storage equipment works.When the first storage equipment breaks down, the second storage equipment is as the newly One storage equipment works, then the first new storage equipment by IP agreement respectively with target device and initiating equipment phase Connection stores the communication data between the target device and initiating equipment, and the first new storage equipment passes through net Network is connected with network storage equipment and strange land storage equipment respectively, periodically stores equipment to the network storage equipment and strange land Corresponding data are sent, are saved.
It should be noted that the first storage equipment is saving the communication number between initiating equipment and the target device According to when, while the communication data being sent in the second storage equipment and is saved, completed local backup, and guarantee institute It is consistent with the data in the first storage equipment to state the communication data saved in the second storage equipment;It should be noted that The first storage equipment failure, which can be, to carry out IP connection with the initiating equipment or target device, either First storage equipment is destroyed, and work can not be normally carried out.
It should be noted that the first storage equipment, the second storage equipment, multiple initiating equipments and multiple target devices composition Local backup system, the data transfer mode between the initiating equipment and the target device are IP-SAN transmission method, institute State the first storage equipment and it is described second storage equipment between data transmission method be FC-SAN, it is described first storage equipment and Master-slave swap formula is formed between the second storage equipment and stores equipment, and the first storage equipment is main storage device, described Second storage equipment be from storage equipment, such as can not be with the initiating equipment or target when main storage device breaks down Equipment connection;It is then described to work from storage equipment as new main storage device, i.e., it is described to be assisted from storage equipment by IP View is attached with the initiating equipment and the target device, and will be communicated between the initiating equipment and the target device Communication data saved, and the communication data is sent to new from storage equipment, it should be noted that herein new Can break down for before from storage equipment, but the main storage device that can work normally.
Strange land storage equipment stores equipment with described first by network and is connected, for receiving and saving described the One storage equipment carries out the compressed communication data;
The network storage equipment is connected by network with the first storage equipment, for receiving first storage After equipment carries out data snapshot processing to the communication data of preservation, obtained snapshot communication data, and the snapshot is led to Letter data is saved;
It should be noted that the first storage equipment stores equipment and the network storage with strange land respectively by dredging collateral Equipment is connected, and is built into a network storage subsystem, when carrying out network backup, by the first storage equipment Communication data by index worked upon data snapshot backup mode carry out network backup, such as first storage equipment at 3 20 communication datas have coexisted, has needed to carry out network backup at 3, is then backed up using the mode of data snapshot, then when It include the information of 20 communication datas in the first storage equipment, the hair for example including every communication data in preceding snapshot data Send the information such as equipment and the size of the respective facility information of target device, call duration time, communication data.
In system provided in an embodiment of the present invention, by constructing a data backup system, by the communication number in local area network It is stored in equipment and network storage equipment according to saving to strange land, it is therefore prevented that when large area occurs in the terminal device in local area network Failure or when facing force majeure factor, the case where communication data loss occur, and database can not be rebuild, work as local area When the failure in big face occurs in terminal device in net, it can be stored in equipment and network storage equipment by being stored in the strange land Communication data rebuild database, ensure that the safety and reliability of data in data-storage system, improve data backup and The performance of recovery.
Corresponding with Fig. 1, the embodiment of the invention also provides a kind of data backup device, the data backup device is set It is placed in the first storage equipment, because the second storage equipment and the second storage equipment belong to equipment of the same race, therefore described the It is again provided with data backup device in two storage equipment, the data backup device is for supporting method of the invention in reality In application, described device can be applied in various storage systems or computer equipment, the structure chart of described device such as Fig. 4 institute Show, be described in detail below:
Acquiring unit 401, for when initiating equipment is communicated with target device, obtain the initiating equipment with it is described The communication data that target device is communicated;
Transmission unit 402 adds in advance for saving the communication data to database, and in the communication data The verification information of acquisition obtains new communication data, while sending the new communication data to preset second storage equipment, And trigger the second storage equipment and the new communication data is verified and saved, the second storage equipment is used for When first storage device failure, work as the first new storage equipment;
Compression unit 403 compresses the communication data in the database for timing, by compressed institute It states communication data and is sent to preset strange land storage equipment and saved, complete remote backup;
Snapshot unit 404 carries out data snapshot processing to the communication data in the database for timing, obtains Snapshot communication data, and the snapshot communication data is sent to preset network storage equipment and is saved, it is standby to complete network Part.
In device provided in an embodiment of the present invention, the communication that is communicated by the initiating equipment and target device that will acquire Data are saved, and simultaneously back up to the communication data in preset second storage equipment;Periodically by the communication number According to being compressed, compressed communication data is saved into strange land equipment, completes remote backup;Periodically by the communication data Data snapshot processing is carried out, obtains snapshot communication data, and the snapshot communication data is sent to network storage equipment and is carried out It saves, completes network backup;The communication data is saved in several ways, further ensures the data in system A possibility that recovery, improves the safety and stability of data-storage system.
In device provided in an embodiment of the present invention, it is based on aforementioned schemes, the transmission unit 402, comprising:
Parsing subunit obtains the parameters in the communication data for parsing to the communication data;
Subelement is generated, for generating verification information corresponding with the communication data according to the parameters;
It adds subelement and generates new communication data for the verification information to be added in the communication data.
In device provided in an embodiment of the present invention, it is based on aforementioned schemes, the acquiring unit, comprising:
Receiving subelement, the communication instruction sent for receiving the initiating equipment, parses the communication instruction, Obtain communication data;
Subelement is determined, for determining the target device that is communicated with the initiating equipment, and by the communication Data are sent to the target device.
In device provided in an embodiment of the present invention, it is based on aforementioned schemes, the transmission unit, comprising:
Subelement is triggered, the new communication data is parsed for triggering the second storage equipment, obtains institute Verification information is stated, and consistency checking is carried out to the new communication data according to the verification information, is verified result;
Receiving subelement, for receiving the verification result of the second storage equipment feedback, if the verification result is not Unanimously, then the new communication data is retransmitted to the second storage equipment.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for system or For system embodiment, since it is substantially similar to the method embodiment, so describing fairly simple, related place is referring to method The part of embodiment illustrates.System and system embodiment described above is only schematical, wherein the conduct The unit of separate part description may or may not be physically separated, component shown as a unit can be or Person may not be physical unit, it can and it is in one place, or may be distributed over multiple network units.It can root According to actual need that some or all of the modules therein is selected to achieve the purpose of the solution of this embodiment.Ordinary skill Personnel can understand and implement without creative efforts.
Professional further appreciates that, unit described in conjunction with the examples disclosed in the embodiments of the present disclosure And algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware and The interchangeability of software generally describes each exemplary composition and step according to function in the above description.These Function is implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Profession Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered Think beyond the scope of this invention.
The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the invention It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one The widest scope of cause.

Claims (9)

1. a kind of data back up method, which is characterized in that be applied to the first storage equipment, comprising:
When initiating equipment is communicated with target device, obtain that the initiating equipment communicated with the target device is logical Letter data;
The communication data is saved to database, and adds the verification information being obtained ahead of time in the communication data, is obtained New communication data, while the new communication data is sent to preset second storage equipment, and trigger second storage Equipment is verified and is saved to the new communication data, and the second storage equipment is used in the first storage equipment event When barrier, work as the first new storage equipment;
The communication data in the database is compressed in timing, the compressed communication data is sent to default Strange land storage equipment saved, complete remote backup;
Timing carries out data snapshot processing to the communication data in the database, obtains snapshot communication data, and by institute It states snapshot communication data and is sent to preset network storage equipment and saved, complete network backup.
2. the method according to claim 1, wherein it is described in the communication data addition be obtained ahead of time test Information is demonstrate,proved, new communication data is obtained, comprising:
The communication data is parsed, the parameters in the communication data are obtained;
According to the parameters, verification information corresponding with the communication data is generated;
The verification information is added in the communication data, new communication data is generated.
3. the method according to claim 1, wherein it is described obtain the initiating equipment and the target device into The communication data of row communication, comprising:
The communication instruction that the initiating equipment is sent is received, the communication instruction is parsed, communication data is obtained;
It determines the target device communicated with the initiating equipment, and the communication data is sent to the target and is set It is standby.
4. the method according to claim 1, wherein the triggering second storage equipment leads to described new Letter data is verified and is saved, comprising:
It triggers the second storage equipment to parse the new communication data, obtains the verification information, and according to institute It states verification information and consistency checking is carried out to the new communication data, be verified result;
Receive it is described second storage equipment feedback verification result, if the verification result be it is inconsistent, deposited to described second Storage equipment retransmits the new communication data.
5. a kind of data backup device characterized by comprising
Acquiring unit is set for when initiating equipment is communicated with target device, obtaining the initiating equipment with the target The standby communication data communicated;
Transmission unit, for saving the communication data to database, and in the communication data, addition is obtained ahead of time Verification information obtains new communication data, while sending the new communication data to preset second storage equipment, and trigger The second storage equipment is verified and is saved to the new communication data, and the second storage equipment is used for described the When one storage device failure, work as the first new storage equipment;
Compression unit compresses the communication data in the database for timing, by the compressed communication Data are sent to preset strange land storage equipment and are saved, and complete remote backup;
Snapshot unit carries out data snapshot processing to the communication data in the database for timing, it is logical to obtain snapshot Letter data, and the snapshot communication data is sent to preset network storage equipment and is saved, complete network backup.
6. according to right want 5 described in device, which is characterized in that the transmission unit, comprising:
Parsing subunit obtains the parameters in the communication data for parsing to the communication data;
Subelement is generated, for generating verification information corresponding with the communication data according to the parameters;
It adds subelement and generates new communication data for the verification information to be added in the communication data.
7. device according to claim 5, which is characterized in that the acquiring unit, comprising:
Receiving subelement, the communication instruction sent for receiving the initiating equipment, parses the communication instruction, obtains Communication data;
Subelement is determined, for determining the target device that is communicated with the initiating equipment, and by the communication data It is sent to the target device.
8. device according to claim 5, which is characterized in that the transmission unit, comprising:
Subelement is triggered, the new communication data is parsed for triggering the second storage equipment, obtains described test Information is demonstrate,proved, and consistency checking is carried out to the new communication data according to the verification information, is verified result;
Transmission sub-unit, for receive it is described second storage equipment feedback verification result, if the verification result be it is inconsistent, Then the new communication data is retransmitted to the second storage equipment.
9. a kind of data backup system characterized by comprising
First storage equipment, the second storage equipment, strange land storage equipment, network storage equipment, multiple initiating equipments and multiple mesh Marking device;
It is arranged in the first storage equipment just like data backup device described in claim 5~8 any one;
The strange land storage equipment is connected by network with the first storage equipment, is deposited for receiving and saving described first It stores up equipment and carries out the compressed communication data;
The network storage equipment is connected by network with the first storage equipment, for receiving the first storage equipment After carrying out data snapshot processing to the communication data of preservation, obtained snapshot communication data, and the snapshot is communicated into number According to being saved.
CN201910561746.2A 2019-06-26 2019-06-26 Data back up method, apparatus and system Pending CN110377455A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910561746.2A CN110377455A (en) 2019-06-26 2019-06-26 Data back up method, apparatus and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910561746.2A CN110377455A (en) 2019-06-26 2019-06-26 Data back up method, apparatus and system

Publications (1)

Publication Number Publication Date
CN110377455A true CN110377455A (en) 2019-10-25

Family

ID=68249492

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910561746.2A Pending CN110377455A (en) 2019-06-26 2019-06-26 Data back up method, apparatus and system

Country Status (1)

Country Link
CN (1) CN110377455A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111324487A (en) * 2020-01-21 2020-06-23 北京市天元网络技术股份有限公司 Method and device for copying communication guarantee data

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102236588A (en) * 2010-04-23 2011-11-09 阿里巴巴集团控股有限公司 Remote data backup method, equipment and system
CN103530203A (en) * 2013-10-12 2014-01-22 中国科学院对地观测与数字地球科学中心 System and method for remote backups of remote sensing satellite data
CN105786642A (en) * 2014-12-22 2016-07-20 华为技术有限公司 Production site, disaster backup site, and remote disaster recovery method based on snapshot
CN106502883A (en) * 2016-10-09 2017-03-15 武汉斗鱼网络科技有限公司 The database synchronization method and system of client and service end during automatic test
CN106776126A (en) * 2016-11-30 2017-05-31 郑州云海信息技术有限公司 A kind of disaster tolerance system and method
CN107590030A (en) * 2017-09-29 2018-01-16 郑州云海信息技术有限公司 A kind of method, apparatus and system of data recording on tape backup
US20190065326A1 (en) * 2017-08-31 2019-02-28 International Business Machines Corporation Backup optimization in hybrid storage environment
CN109460323A (en) * 2018-11-14 2019-03-12 郑州云海信息技术有限公司 A kind of method and apparatus that data generate cloud backup

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102236588A (en) * 2010-04-23 2011-11-09 阿里巴巴集团控股有限公司 Remote data backup method, equipment and system
CN103530203A (en) * 2013-10-12 2014-01-22 中国科学院对地观测与数字地球科学中心 System and method for remote backups of remote sensing satellite data
CN105786642A (en) * 2014-12-22 2016-07-20 华为技术有限公司 Production site, disaster backup site, and remote disaster recovery method based on snapshot
CN106502883A (en) * 2016-10-09 2017-03-15 武汉斗鱼网络科技有限公司 The database synchronization method and system of client and service end during automatic test
CN106776126A (en) * 2016-11-30 2017-05-31 郑州云海信息技术有限公司 A kind of disaster tolerance system and method
US20190065326A1 (en) * 2017-08-31 2019-02-28 International Business Machines Corporation Backup optimization in hybrid storage environment
CN107590030A (en) * 2017-09-29 2018-01-16 郑州云海信息技术有限公司 A kind of method, apparatus and system of data recording on tape backup
CN109460323A (en) * 2018-11-14 2019-03-12 郑州云海信息技术有限公司 A kind of method and apparatus that data generate cloud backup

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111324487A (en) * 2020-01-21 2020-06-23 北京市天元网络技术股份有限公司 Method and device for copying communication guarantee data

Similar Documents

Publication Publication Date Title
CN108255641B (en) CDP disaster recovery method based on cloud platform
US10073747B2 (en) Reducing recovery time in disaster recovery/replication setup with multitier backend storage
CN105262831B (en) The method, apparatus and synchronization system of synchrodata between a kind of storage system
CN103207867B (en) It handles the method for data block, initiate the method and node of recovery operation
CN106302806B (en) A kind of method of data synchronization, system, synchronous obtaining method and relevant apparatus
EP1680742A2 (en) Hybrid real-time data replication
CN100461708C (en) Alarm synchronization method
EP3447631B1 (en) Writing trajectory synchronization method and system for multiple clients
CN110188000A (en) Application disaster recovery method and system based on virtualization and iSCSI or FC
CN105677673B (en) Method for processing business, apparatus and system
CN105786642B (en) Produce the remote disaster tolerance method of website, calamity for website and based on snapshot
CN110659158A (en) Influx DB data backup method based on dual-computer hot standby environment
CN103346960A (en) Recognizable figure-based data transmission method across networks
CN113505354B (en) Data processing method, device and storage medium
CN104572355A (en) Asynchronous remote data copying method and device
CN101771548A (en) File synchronizing method and system
CN108762982B (en) A kind of database restoring method, apparatus and system
CN106603635B (en) A kind of platform data remote backup method
CN109597716A (en) A kind of asynchronous remote copying method and system
CN110377455A (en) Data back up method, apparatus and system
Neves et al. Coordinated checkpointing without direct coordination
CN102110029A (en) System backup and restoration method
CN107168642B (en) Data storage method and system
CN109726083A (en) Operating status management method, system, device and the readable storage medium storing program for executing of cabinet
CN109491980A (en) A kind of remote replication method of file system, device, equipment and storage 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20191025

RJ01 Rejection of invention patent application after publication