CN109597713A - Data back up method and device - Google Patents
Data back up method and device Download PDFInfo
- Publication number
- CN109597713A CN109597713A CN201811443506.4A CN201811443506A CN109597713A CN 109597713 A CN109597713 A CN 109597713A CN 201811443506 A CN201811443506 A CN 201811443506A CN 109597713 A CN109597713 A CN 109597713A
- Authority
- CN
- China
- Prior art keywords
- data
- equipment
- backed
- memory
- identification information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1446—Point-in-time backing up or restoration of persistent data
- G06F11/1458—Management of the backup or restore process
- G06F11/1461—Backup scheduling policy
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1446—Point-in-time backing up or restoration of persistent data
- G06F11/1458—Management of the backup or restore process
- G06F11/1464—Management of the backup or restore process for networked environments
Abstract
This specification one or more embodiment discloses a kind of data back up method and device, to improve the efficiency of data backup.The method is applied to the RDMA network interface card set in the first equipment, comprising: in response to the data backup requests that the second equipment is sent, establishes the RDMA network connection relation between second equipment;Wherein, the data backup requests include the identification information of data to be backed up;Based on the RDMA network connection relation, the corresponding data to be backed up of the identification information are obtained from second equipment;The data to be backed up are transmitted to the memory of first equipment, so that data to be backed up described in the memory storage of first equipment.
Description
Technical field
This specification is related to technical field of data processing more particularly to a kind of data back up method and device.
Background technique
In the prior art, backing up distributed data scheme commonly relies on two aspects: being on the one hand using traditional network
Connection, since traditional network connection must be by CPU (Central Processing Unit, the central processing of two computers
Device) it participates in realize that data are transmitted, therefore time overhead can be significantly greatly increased, the achievable number of ability generally more than 100 microseconds
According to backup;On the other hand the backup medium for being backup machine is solid state hard disk, and the typical delay of solid state hard disk is also in 100 microsecond numbers
Magnitude.Therefore, traditional data backup mode single time-consuming takes a long time on the 100 microsecond orders of magnitude, cause efficiency compared with
It is low.
Summary of the invention
The purpose of this specification one or more embodiment is to provide a kind of data back up method and device, to improve number
According to the efficiency of backup.
In order to solve the above technical problems, this specification one or more embodiment is achieved in that
On the one hand, this specification one or more embodiment provides a kind of data back up method, is applied in the first equipment
If RDMA network interface card, comprising:
In response to the data backup requests that the second equipment is sent, the RDMA established between second equipment is connected to the network
Relationship;Wherein, the data backup requests include the identification information of data to be backed up;
Based on the RDMA network connection relation, obtained from second equipment identification information it is corresponding it is described to
Backup Data;
The data to be backed up are transmitted to the memory of first equipment, so that the memory storage institute of first equipment
State data to be backed up.
In one embodiment, the interior of first equipment saves as persistence memory.
In one embodiment, described that the corresponding number to be backed up of the identification information is obtained from second equipment
According to, comprising:
According to the identification information, the data to be backed up are searched from the memory of second equipment;
The data to be backed up found are obtained by the RDMA network connection relation.
In one embodiment, after the data to be backed up are transmitted to the memory of first equipment, further includes:
Monitor storage state of the data to be backed up in the memory of first equipment;
When the storage state is that storage is completed, generates the data to be backed up and succeed the first information backed up;
The first information is sent to second equipment.
In one embodiment, monitor the storage state of the data to be backed up in the memory of first equipment it
Before, further includes:
Receive that second equipment sends for confirming whether the data to be backed up succeed the confirmation message backed up.
On the other hand, this specification one or more embodiment provides a kind of data backup device, is applied to the first equipment
The RDMA network interface card inside set, comprising:
Module is established, the data backup requests for sending in response to the second equipment are established between second equipment
RDMA network connection relation;Wherein, the data backup requests include the identification information of data to be backed up;
Module is obtained, for being based on the RDMA network connection relation, the mark letter is obtained from second equipment
Cease the corresponding data to be backed up;
Transmission module, for the data to be backed up to be transmitted to the memory of first equipment, so that described first sets
Data to be backed up described in standby memory storage.
In one embodiment, the interior of first equipment saves as persistence memory.
In one embodiment, the acquisition module includes:
Searching unit, for searching the number to be backed up from the memory of second equipment according to the identification information
According to;
Acquiring unit, for obtaining the data to be backed up found by the RDMA network connection relation.
In one embodiment, described device further include:
Monitoring modular, for after the data to be backed up are transmitted to the memory of first equipment, described in monitoring
Storage state of the data to be backed up in the memory of first equipment;
Generation module, for generating the data to be backed up and successfully backing up when the storage state is that storage is completed
The first information;
Sending module, for the first information to be sent to second equipment.
In one embodiment, described device further include:
Receiving module, for monitor the storage state of the data to be backed up in the memory of first equipment it
Before, receive that second equipment sends for confirming whether the data to be backed up succeed the confirmation message backed up.
In another aspect, this specification one or more embodiment provides a kind of data backup device, it is applied to the first equipment
The RDMA network interface card inside set, comprising:
Processor;And
It is arranged to the memory of storage computer executable instructions, the executable instruction makes the place when executed
Manage device:
In response to the data backup requests that the second equipment is sent, the RDMA established between second equipment is connected to the network
Relationship;Wherein, the data backup requests include the identification information of data to be backed up;
Based on the RDMA network connection relation, obtained from second equipment identification information it is corresponding it is described to
Backup Data;
The data to be backed up are transmitted to the memory of first equipment, so that the memory storage institute of first equipment
State data to be backed up.
In another aspect, the embodiment of the present application provides a kind of storage medium, for storing computer executable instructions, it is described can
It executes instruction and realizes following below scheme when executed:
In response to the data backup requests that the second equipment is sent, the RDMA established between second equipment is connected to the network
Relationship;Wherein, the data backup requests include the identification information of data to be backed up;
Based on the RDMA network connection relation, obtained from second equipment identification information it is corresponding it is described to
Backup Data;
The data to be backed up are transmitted to the memory of first equipment, so that the memory storage institute of first equipment
State data to be backed up.
It is built using the technical solution of this specification one or more embodiment by the RDMA network interface card set in the first equipment
RDMA network connection relation between vertical first equipment and the second equipment, and the RDMA network connection relation is based on from the second equipment
It is middle to obtain data to be backed up, and then data to be backed up are directly transmitted to the memory of the first equipment, so that the memory of the first equipment
Store data to be backed up.As it can be seen that the technical solution in entire data backup procedure, does not need the first equipment or the second equipment
CPU participate in and (being interacted without the memory in CPU and any appliance or equipment), and only need to be using being set in the first equipment
RDMA network interface card, which directly obtains data to be backed up from the second equipment and is transmitted to memory, can be completed data backup, therefore greatly
Improve the efficiency of data backup.
Further, hard compared to traditional use solid-state due to saving as persistence memory in the first equipment
For the mode of disk Backup Data, which can be avoided solid state hard disk bring high latency problem, realize efficiently standby
The effect of part data.
Detailed description of the invention
In order to illustrate more clearly of this specification one or more embodiment or technical solution in the prior art, below will
A brief introduction will be made to the drawings that need to be used in the embodiment or the description of the prior art, it should be apparent that, it is described below
Attached drawing is only some embodiments recorded in this specification one or more embodiment, and those of ordinary skill in the art are come
It says, without any creative labor, is also possible to obtain other drawings based on these drawings.
Fig. 1 is the schematic flow chart according to a kind of data back up method of one embodiment of this specification;
Fig. 2 is the schematic block diagram according to a kind of data backup system of one embodiment of this specification;
Fig. 3 is the schematic flow chart according to a kind of data back up method of another embodiment of this specification;
Fig. 4 is the schematic block diagram according to a kind of data backup device of one embodiment of this specification;
Fig. 5 is the schematic block diagram according to a kind of data backup device of one embodiment of this specification.
Specific embodiment
This specification one or more embodiment provides a kind of data back up method and device, to improve data backup
Efficiency.
In order to make those skilled in the art more fully understand the technical solution in this specification one or more embodiment,
Below in conjunction with the attached drawing in this specification one or more embodiment, to the technology in this specification one or more embodiment
Scheme is clearly and completely described, it is clear that and described embodiment is only this specification a part of the embodiment, rather than
Whole embodiments.Based on this specification one or more embodiment, those of ordinary skill in the art are not making creativeness
The model of this specification one or more embodiment protection all should belong in every other embodiment obtained under the premise of labour
It encloses.
Fig. 1 be according to a kind of schematic flow chart of data back up method of one embodiment of this specification, as shown in Figure 1,
This method is applied to the RDMA network interface card set in the first equipment, comprising:
S102, in response to the data backup requests that the second equipment is sent, the RDMA network established between the second equipment connects
Connect relationship.
Wherein, data backup requests include the identification information of data to be backed up.
Identification information can be location information of the data to be backed up in the second equipment, and it is corresponding to be also possible to data to be backed up
For identifying the information of its particular content, such as key character, the original character of particular content.
S104 is based on RDMA network connection relation, and the corresponding data to be backed up of identification information are obtained from the second equipment.
Data to be backed up are transmitted to the memory of the first equipment by S106, so that the memory storage of the first equipment number to be backed up
According to.
It is built using the technical solution of this specification one or more embodiment by the RDMA network interface card set in the first equipment
RDMA network connection relation between vertical first equipment and the second equipment, and the RDMA network connection relation is based on from the second equipment
It is middle to obtain data to be backed up, and then data to be backed up are directly transmitted to the memory of the first equipment, so that the memory of the first equipment
Store data to be backed up.As it can be seen that the technical solution in entire data backup procedure, does not need the first equipment or the second equipment
CPU participate in and (being interacted without the memory in CPU and any appliance or equipment), and only need to be using being set in the first equipment
RDMA network interface card, which directly obtains data to be backed up from the second equipment and is transmitted to memory, can be completed data backup, therefore greatly
Improve the efficiency of data backup.
In one embodiment, the interior of the first equipment saves as persistence memory.Wherein, persistence memory not only has memory
Access characteristics, and can guarantee that its internal data stored is not lost.
In the present embodiment, due to saving as persistence memory in the first equipment, compared to traditional use solid-state
For the mode of hard disk backup data, which can be avoided solid state hard disk bring high latency and data loss problem,
Realize the effect of efficient Backup Data.
It in one embodiment, can be first according to number when obtaining the corresponding data to be backed up of identification information from the second equipment
According to the identification information of data to be backed up in backup request, data to be backed up are searched from the memory of the second equipment, and then pass through
RDMA network connection relation obtains the data to be backed up found.Wherein, identification information can be data to be backed up and set second
It is corresponding for identifying the information of its particular content to be also possible to data to be backed up for location information in standby.
In one embodiment, after data to be backed up are transmitted to the memory of the first equipment, number to be backed up can be monitored
It is generated when storage state is that storage is completed for identifying data to be backed up according to the storage state in the memory of the first equipment
Succeeded the first information backed up, and the first information is sent to the second equipment.
When storage state is storage failure, the acquisition request for reacquiring data to be backed up can be sent to the second equipment,
Data to be backed up in memory are sent to the RDMA network interface card of the first equipment according to the acquisition request by the second equipment again, so that
RDMA network interface card again stores data to be backed up into the memory of the first equipment.
In the present embodiment, by monitoring storage state of the data to be backed up in the memory of the first equipment, it can be ensured that
Backup Data successfully backs up in the first equipment, avoids the case where losing data when data storage failure to be backed up.
In one embodiment, data to be backed up are being monitored before the storage state in the memory of the first equipment, can connect
Receive the second equipment transmission for confirm data to be backed up whether succeed back up confirmation message.
In the present embodiment, the RDMA network interface card of the first equipment can be received passively by the to be backed up for confirming of the second equipment transmission
Whether data back up successful confirmation message, and then, the RDMA network interface card of the first equipment confirms in memory according to the confirmation message is
It is no successfully to store data to be backed up, if successfully storing data to be backed up in memory, generate for identifying data to be backed up
Succeeded the second information backed up, and second information is sent to the second equipment.
If storing data to be backed up in memory not successfully, the acquisition for reacquiring data to be backed up is sent to the second equipment
Data to be backed up in memory are sent to the RDMA network interface card of the first equipment according to the acquisition request by request, the second equipment again,
RDMA network interface card again stores data to be backed up into the memory of the first equipment.
Fig. 2 is the schematic block diagram according to a kind of data backup system of one embodiment of this specification.As shown in Fig. 2, number
It include the first equipment 210 and the second equipment 220 according to standby system;Wherein, the first equipment 210 includes CPU211, RDMA network interface card 212
With persistence memory 213;Second equipment 220 includes CPU221, network interface card 222 and memory 223.RDMA network interface card 212 and network interface card 222 it
Between dotted arrow indicate network connection relation between the two.
The data back up method provided in above-described embodiment is applied in data backup system shown in Fig. 3, it is specific to walk
Suddenly may include following steps shown in Fig. 3:
The CPU of S301, the second equipment send data backup requests, the data backup requests to the RDMA network interface card of the first equipment
In include data to be backed up identification information.
Wherein, identification information can be location information of the data to be backed up in the second equipment, be also possible to number to be backed up
According to corresponding for identifying the information of its particular content, such as key character, the original character of particular content.
S302 after the RDMA network interface card of the first equipment receives data backup requests, establishes RDMA network interface card and the second equipment
RDMA network connection relation between network interface card.
The RDMA network interface card of S303, the first equipment are based on RDMA network connection relation, according to the identification information of data to be backed up
It is searched from the memory of the second equipment and obtains data to be backed up.
S304, the data to be backed up that the RDMA network interface card of the first equipment will acquire are transmitted to persistence memory.
S305, the persistence memory storage data to be backed up of the first equipment.
The network interface card of S306, the second equipment are sent to the RDMA network interface card of the first equipment for confirming whether data to be backed up have become
The confirmation message of function backup.
S307, the RDMA network interface card of the first equipment according to confirmation message, monitor whether successfully stored in persistence memory to
Backup Data;If so, executing S308;If it is not, then returning to S303.
S308, the RDMA network interface card of the first equipment is generated succeed the information backed up for identifying data to be backed up, and should
Information is sent to the network interface card of the second equipment.
In the present embodiment, the RDMA between the first equipment and the second equipment is established by the RDMA network interface card set in the first equipment
Network connection relation, and data to be backed up are obtained from the second equipment based on the RDMA network connection relation, and then directly will be to
Backup Data is transmitted to the persistence memory of the first equipment, so that the persistence memory storage data to be backed up of the first equipment.It can
See, in entire data backup procedure, the CPU participation for not needing the first equipment or the second equipment (is not necessarily to the technical solution
Memory in CPU and any appliance or equipment interacts), and only need to be using the RDMA network interface card set in the first equipment directly from the
Obtaining data to be backed up in two equipment and being transmitted to persistence memory can be completed data backup, therefore greatly improve data
The efficiency of backup.Also, the characteristic that the data of its storage inside are not lost can be guaranteed based on persistence memory, the technical solution
It is also avoided that traditional solid state hard disk bring high latency and data loss problem, realizes the effect of efficient Backup Data.
To sum up, the specific embodiment of this theme is described.Other embodiments are in the appended claims
In range.In some cases, the movement recorded in detail in the claims can execute and still in a different order
Desired result may be implemented.In addition, process depicted in the drawing not necessarily requires the particular order shown or continuous suitable
Sequence, to realize desired result.In some embodiments, multitasking and parallel processing can be advantageous.
The above are the data back up method that this specification one or more embodiment provides, and are based on same thinking, this theory
Bright book one or more embodiment also provides a kind of data backup device.
Fig. 4 be according to a kind of schematic flow chart of data backup device of one embodiment of this specification, as shown in figure 4,
Data backup device 400 is applied to the RDMA network interface card set in the first equipment, comprising:
Module 410 is established, the data backup requests for sending in response to the second equipment are established between the second equipment
RDMA network connection relation;Wherein, data backup requests include the identification information of data to be backed up;
Obtain module 420, for be based on RDMA network connection relation, from the second equipment obtain identification information it is corresponding to
Backup Data;
Transmission module 430, for data to be backed up to be transmitted to the memory of the first equipment, so that the memory of the first equipment is deposited
Store up data to be backed up.
In one embodiment, the interior of the first equipment saves as persistence memory.
In one embodiment, obtaining module 420 includes:
Searching unit, for searching data to be backed up from the memory of the second equipment according to identification information;
Acquiring unit, for obtaining the data to be backed up found by RDMA network connection relation.
In one embodiment, device 400 further include:
Monitoring modular exists for after data to be backed up are transmitted to the memory of the first equipment, monitoring data to be backed up
Storage state in the memory of first equipment;
Generation module, for when storage state be storage complete when, generate data to be backed up succeed backup first believe
Breath;
Sending module, for the first information to be sent to the second equipment.
In one embodiment, device 400 further include:
Receiving module receives for monitoring data to be backed up before the storage state in the memory of the first equipment
Two equipment send for confirm data to be backed up whether succeed back up confirmation message.
Is established by the RDMA network interface card set in the first equipment using the device of this specification one or more embodiment
RDMA network connection relation between one equipment and the second equipment, and obtained from the second equipment based on the RDMA network connection relation
Data to be backed up are taken, and then data to be backed up are directly transmitted to the memory of the first equipment, so that the memory storage of the first equipment
Data to be backed up.As it can be seen that the technical solution in entire data backup procedure, does not need the first equipment or the second equipment
CPU participates in and (interacting without the memory in CPU and any appliance or equipment), and only need to be using setting in the first equipment
RDMA network interface card, which directly obtains data to be backed up from the second equipment and is transmitted to memory, can be completed data backup, therefore greatly
Improve the efficiency of data backup.
Further, hard compared to traditional use solid-state due to saving as persistence memory in the first equipment
For the mode of disk Backup Data, which can be avoided solid state hard disk bring high latency problem, realize efficient backup number
According to effect.
It should be understood that above-mentioned data backup device can be used to realize that previously described data are standby
Part method, datail description therein should be described with method part above it is similar, it is cumbersome to avoid, do not repeat separately herein.
Based on same thinking, this specification one or more embodiment also provides a kind of data backup device, such as Fig. 5 institute
Show.Data backup device can generate bigger difference because configuration or performance are different, may include one or more
Processor 501 and memory 502 can store one or more storage application programs or data in memory 502.Its
In, memory 502 can be of short duration storage or persistent storage.Be stored in memory 502 application program may include one or
More than one module (diagram is not shown), each module may include executable to the series of computation machine in data backup device
Instruction.Further, processor 501 can be set to communicate with memory 502, and memory is executed on data backup device
Series of computation machine executable instruction in 502.Data backup device can also include one or more power supplys 503, one
A or more than one wired or wireless network interface 504, one or more input/output interfaces 505, one or one with
Upper keyboard 506.
Specifically in the present embodiment, data backup device includes memory and one or more program,
In one perhaps more than one program is stored in memory and one or more than one program may include one or one
With upper module, and each module may include and being configured to the series of computation machine executable instruction in data backup device
With by one or more than one processor execute this or more than one program include can for carrying out following computer
It executes instruction:
In response to the data backup requests that the second equipment is sent, the RDMA established between second equipment is connected to the network
Relationship;Wherein, the data backup requests include the identification information of data to be backed up;
Based on the RDMA network connection relation, obtained from second equipment identification information it is corresponding it is described to
Backup Data;
The data to be backed up are transmitted to the memory of first equipment, so that the memory storage institute of first equipment
State data to be backed up.
Optionally, the interior of first equipment saves as persistence memory.
Optionally, computer executable instructions when executed, can also make the processor:
According to the identification information, the data to be backed up are searched from the memory of second equipment;
The data to be backed up found are obtained by the RDMA network connection relation.
Optionally, computer executable instructions when executed, can also make the processor:
After the data to be backed up are transmitted to the memory of first equipment, the data to be backed up are monitored in institute
State the storage state in the memory of the first equipment;
When the storage state is that storage is completed, generates the data to be backed up and succeed the first information backed up;
The first information is sent to second equipment.
Optionally, computer executable instructions when executed, can also make the processor:
The data to be backed up are being monitored before the storage state in the memory of first equipment, are receiving described second
Equipment send for confirm the data to be backed up whether succeed back up confirmation message.
This specification one or more embodiment also proposed a kind of computer readable storage medium, this is computer-readable to deposit
Storage media stores one or more programs, which includes instruction, and it is included multiple application programs which, which works as,
Electronic equipment when executing, the electronic equipment can be made to execute above-mentioned data back up method, and be specifically used for executing:
In response to the data backup requests that the second equipment is sent, the RDMA established between second equipment is connected to the network
Relationship;Wherein, the data backup requests include the identification information of data to be backed up;
Based on the RDMA network connection relation, obtained from second equipment identification information it is corresponding it is described to
Backup Data;
The data to be backed up are transmitted to the memory of first equipment, so that the memory storage institute of first equipment
State data to be backed up.
System, device, module or the unit that above-described embodiment illustrates can specifically realize by computer chip or entity,
Or it is realized by the product with certain function.It is a kind of typically to realize that equipment is computer.Specifically, computer for example may be used
Think personal computer, laptop computer, cellular phone, camera phone, smart phone, personal digital assistant, media play
It is any in device, navigation equipment, electronic mail equipment, game console, tablet computer, wearable device or these equipment
The combination of equipment.
For convenience of description, it is divided into various units when description apparatus above with function to describe respectively.Certainly, implementing this
The function of each unit can be realized in the same or multiple software and or hardware when specification one or more embodiment.
It should be understood by those skilled in the art that, this specification one or more embodiment can provide for method, system or
Computer program product.Therefore, complete hardware embodiment can be used in this specification one or more embodiment, complete software is implemented
The form of example or embodiment combining software and hardware aspects.Moreover, this specification one or more embodiment can be used one
It is a or it is multiple wherein include computer usable program code computer-usable storage medium (including but not limited to disk storage
Device, CD-ROM, optical memory etc.) on the form of computer program product implemented.
This specification one or more embodiment is referring to according to the method for the embodiment of the present application, equipment (system) and meter
The flowchart and/or the block diagram of calculation machine program product describes.It should be understood that can be realized by computer program instructions flow chart and/
Or the combination of the process and/or box in each flow and/or block and flowchart and/or the block diagram in block diagram.It can
These computer program instructions are provided at general purpose computer, special purpose computer, Embedded Processor or other programmable datas
The processor of equipment is managed to generate a machine, so that holding by the processor of computer or other programmable data processing devices
Capable instruction generates for realizing in one or more flows of the flowchart and/or one or more blocks of the block diagram
The device of specified function.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
In a typical configuration, calculating equipment includes one or more processors (CPU), input/output interface, net
Network interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/or
The forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable medium
Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves
State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable
Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM),
Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetic storage devices
Or any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, it calculates
Machine readable medium does not include temporary computer readable media (transitory media), such as the data-signal and carrier wave of modulation.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability
It include so that the process, method, commodity or the equipment that include a series of elements not only include those elements, but also to wrap
Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including described want
There is also other identical elements in the process, method of element, commodity or equipment.
This specification one or more embodiment can computer executable instructions it is general on
It hereinafter describes, such as program module.Generally, program module includes executing particular task or realization particular abstract data type
Routine, programs, objects, component, data structure etc..The application can also be practiced in a distributed computing environment, at these
In distributed computing environment, by executing task by the connected remote processing devices of communication network.In distributed computing
In environment, program module can be located in the local and remote computer storage media including 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 reality
For applying example, since it is substantially similar to the method embodiment, so being described relatively simple, related place is referring to embodiment of the method
Part explanation.
The foregoing is merely this specification one or more embodiments, are not limited to this specification.For this
For the technical staff of field, this specification one or more embodiment can have various modifications and variations.It is all in this specification one
Any modification, equivalent replacement, improvement and so within the spirit and principle of a or multiple embodiments, should be included in this explanation
Within the scope of the claims of book one or more embodiment.
Claims (12)
1. a kind of data back up method, applied to the RDMA network interface card set in the first equipment, which comprises
In response to the data backup requests that the second equipment is sent, the RDMA established between second equipment, which is connected to the network, to be closed
System;Wherein, the data backup requests include the identification information of data to be backed up;
Based on the RDMA network connection relation, it is corresponding described to be backed up that the identification information is obtained from second equipment
Data;
The data to be backed up are transmitted to the memory of first equipment so that described in the memory storage of first equipment to
Backup Data.
2. according to the method described in claim 1, the interior of first equipment saves as persistence memory.
3. according to the method described in claim 1, described, that the identification information is obtained from second equipment is corresponding described
Data to be backed up, comprising:
According to the identification information, the data to be backed up are searched from the memory of second equipment;
The data to be backed up found are obtained by the RDMA network connection relation.
4. according to the method described in claim 2, after the data to be backed up are transmitted to the memory of first equipment,
Further include:
Monitor storage state of the data to be backed up in the memory of first equipment;
When the storage state is that storage is completed, generates the data to be backed up and succeed the first information backed up;
The first information is sent to second equipment.
5. according to the method described in claim 4, monitoring data to be backed up the depositing in the memory of first equipment
Before storage state, further includes:
Receive that second equipment sends for confirming whether the data to be backed up succeed the confirmation message backed up.
6. a kind of data backup device, applied to the RDMA network interface card set in the first equipment, described device includes:
Module is established, the data backup requests for sending in response to the second equipment are established between second equipment
RDMA network connection relation;Wherein, the data backup requests include the identification information of data to be backed up;
Module is obtained, for being based on the RDMA network connection relation, obtains the identification information pair from second equipment
The data to be backed up answered;
Transmission module, for the data to be backed up to be transmitted to the memory of first equipment, so that first equipment
Data to be backed up described in memory storage.
7. device according to claim 6, the interior of first equipment saves as persistence memory.
8. device according to claim 6, the acquisition module include:
Searching unit, for searching the data to be backed up from the memory of second equipment according to the identification information;
Acquiring unit, for obtaining the data to be backed up found by the RDMA network connection relation.
9. device according to claim 7, further includes:
Monitoring modular, for after the data to be backed up are transmitted to the memory of first equipment, monitoring to be described to standby
Storage state of part data in the memory of first equipment;
Generation module succeed the backed up for when the storage state is that storage is completed, generating the data to be backed up
One information;
Sending module, for the first information to be sent to second equipment.
10. device according to claim 9, further includes:
Receiving module connects for monitoring the data to be backed up before the storage state in the memory of first equipment
Receive that second equipment sends for confirming whether the data to be backed up succeed the confirmation message backed up.
11. a kind of data backup device, applied to the RDMA network interface card set in the first equipment, comprising:
Processor;And
It is arranged to the memory of storage computer executable instructions, the executable instruction makes the processing when executed
Device:
In response to the data backup requests that the second equipment is sent, the RDMA established between second equipment, which is connected to the network, to be closed
System;Wherein, the data backup requests include the identification information of data to be backed up;
Based on the RDMA network connection relation, it is corresponding described to be backed up that the identification information is obtained from second equipment
Data;
The data to be backed up are transmitted to the memory of first equipment so that described in the memory storage of first equipment to
Backup Data.
12. a kind of storage medium, for storing computer executable instructions, the executable instruction is realized following when executed
Process:
In response to the data backup requests that the second equipment is sent, the RDMA established between second equipment, which is connected to the network, to be closed
System;Wherein, the data backup requests include the identification information of data to be backed up;
Based on the RDMA network connection relation, it is corresponding described to be backed up that the identification information is obtained from second equipment
Data;
The data to be backed up are transmitted to the memory of first equipment so that described in the memory storage of first equipment to
Backup Data.
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811443506.4A CN109597713A (en) | 2018-11-29 | 2018-11-29 | Data back up method and device |
TW108132241A TW202020661A (en) | 2018-11-29 | 2019-09-06 | Data backup method and device |
PCT/CN2019/110870 WO2020108124A1 (en) | 2018-11-29 | 2019-10-12 | Data backup method and apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811443506.4A CN109597713A (en) | 2018-11-29 | 2018-11-29 | Data back up method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109597713A true CN109597713A (en) | 2019-04-09 |
Family
ID=65960061
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811443506.4A Pending CN109597713A (en) | 2018-11-29 | 2018-11-29 | Data back up method and device |
Country Status (3)
Country | Link |
---|---|
CN (1) | CN109597713A (en) |
TW (1) | TW202020661A (en) |
WO (1) | WO2020108124A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020108124A1 (en) * | 2018-11-29 | 2020-06-04 | 阿里巴巴集团控股有限公司 | Data backup method and apparatus |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102611693A (en) * | 2011-01-21 | 2012-07-25 | 赛门铁克公司 | System and method for netbackup data decryption in a high latency low bandwidth environment |
CN103607428A (en) * | 2013-10-30 | 2014-02-26 | 华为技术有限公司 | Method of accessing shared memory and apparatus thereof |
CN105224418A (en) * | 2015-09-06 | 2016-01-06 | 福建三元达通讯股份有限公司 | A kind of data back up method and device |
CN107844386A (en) * | 2016-09-19 | 2018-03-27 | 北京金山云网络技术有限公司 | A kind of data backup, restoration methods and device |
CN108733506A (en) * | 2017-04-17 | 2018-11-02 | 伊姆西Ip控股有限责任公司 | Method, equipment and the computer-readable medium synchronized for data |
US20180322091A1 (en) * | 2013-07-02 | 2018-11-08 | International Business Machines Corporation | Using rdma for fast system recovery in virtualized environments |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7613813B2 (en) * | 2004-09-10 | 2009-11-03 | Cavium Networks, Inc. | Method and apparatus for reducing host overhead in a socket server implementation |
CN105450588B (en) * | 2014-07-31 | 2019-02-12 | 华为技术有限公司 | A kind of data transmission method and RDMA network interface card based on RDMA |
CN107025146B (en) * | 2016-01-30 | 2019-10-18 | 华为技术有限公司 | A kind of document generating method, device and system |
CN106844048B (en) * | 2017-01-13 | 2020-11-06 | 上海交通大学 | Distributed memory sharing method and system based on hardware characteristics |
CN109597713A (en) * | 2018-11-29 | 2019-04-09 | 阿里巴巴集团控股有限公司 | Data back up method and device |
-
2018
- 2018-11-29 CN CN201811443506.4A patent/CN109597713A/en active Pending
-
2019
- 2019-09-06 TW TW108132241A patent/TW202020661A/en unknown
- 2019-10-12 WO PCT/CN2019/110870 patent/WO2020108124A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102611693A (en) * | 2011-01-21 | 2012-07-25 | 赛门铁克公司 | System and method for netbackup data decryption in a high latency low bandwidth environment |
US20180322091A1 (en) * | 2013-07-02 | 2018-11-08 | International Business Machines Corporation | Using rdma for fast system recovery in virtualized environments |
CN103607428A (en) * | 2013-10-30 | 2014-02-26 | 华为技术有限公司 | Method of accessing shared memory and apparatus thereof |
CN105224418A (en) * | 2015-09-06 | 2016-01-06 | 福建三元达通讯股份有限公司 | A kind of data back up method and device |
CN107844386A (en) * | 2016-09-19 | 2018-03-27 | 北京金山云网络技术有限公司 | A kind of data backup, restoration methods and device |
CN108733506A (en) * | 2017-04-17 | 2018-11-02 | 伊姆西Ip控股有限责任公司 | Method, equipment and the computer-readable medium synchronized for data |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020108124A1 (en) * | 2018-11-29 | 2020-06-04 | 阿里巴巴集团控股有限公司 | Data backup method and apparatus |
Also Published As
Publication number | Publication date |
---|---|
WO2020108124A1 (en) | 2020-06-04 |
TW202020661A (en) | 2020-06-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP4033374A1 (en) | Method and device for synchronizing node data | |
CN110298190A (en) | Decentralization Secure data processing method, device and storage medium | |
CN109144699A (en) | Distributed task dispatching method, apparatus and system | |
CN110474820B (en) | Flow playback method and device and electronic equipment | |
CN106681867B (en) | A kind of test method and device | |
CN109561272A (en) | The display methods and device of conferencing information | |
CN107733882A (en) | SSL certificate automatically dispose method and apparatus | |
CN109032803A (en) | Data processing method and device, client | |
CN104657435A (en) | Storage management method for application data and network management system | |
CN107463422A (en) | Code dispositions method and device, electronic equipment | |
CN108334340A (en) | A kind of Cross-environment data communications method, device and system | |
CN108921553A (en) | A kind of thresholding private key generation method, method of commerce and relevant apparatus | |
CN110019502A (en) | Synchronous method, Database Systems and equipment between primary database and standby database | |
CN108694664A (en) | Checking method and device, the electronic equipment of operation system | |
CN109145053A (en) | Data processing method and device, client, server | |
CN109145625A (en) | Processing method, device and the block chain data-storage system of policy information | |
CN108829503A (en) | Method for scheduling task, device, system, medium and electronic equipment | |
CN111259066A (en) | Server cluster data synchronization method and device | |
CN109542612A (en) | A kind of hot spot keyword acquisition methods, device and server | |
CN109597713A (en) | Data back up method and device | |
CN110022327A (en) | A kind of short message certification test method and device | |
CN110022323A (en) | A kind of method and system of the cross-terminal real-time, interactive based on WebSocket and Redux | |
CN108399089A (en) | The display methods and device of view interface | |
CN110264217A (en) | A kind of information processing method, equipment and storage medium | |
CN106557530B (en) | Operation system, data recovery method and device |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190409 |