CN106815091A - Synchronous continuous transmission method, from end equipment and system - Google Patents
Synchronous continuous transmission method, from end equipment and system Download PDFInfo
- Publication number
- CN106815091A CN106815091A CN201510849526.1A CN201510849526A CN106815091A CN 106815091 A CN106815091 A CN 106815091A CN 201510849526 A CN201510849526 A CN 201510849526A CN 106815091 A CN106815091 A CN 106815091A
- Authority
- CN
- China
- Prior art keywords
- data
- end equipment
- snapshot
- equipment
- call
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
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/1464—Management of the backup or restore process for networked environments
-
- 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
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Telephonic Communication Services (AREA)
- Retry When Errors Occur (AREA)
Abstract
The embodiment of the present invention provides synchronous continuous transmission method, from end equipment and system, with least solve existing synchronization resume the synchronized data after snapshot rollback will be capped, so as to cause the problem of whole lock in time extension.Method includes:The data full dose that will make a call to the first snapshot from end equipment acquisition main side equipment is synchronized to from after end equipment the data that the second snapshot is made a call to from end equipment;When equipment will be made a call to the data increment of the 3rd snapshot and is synchronized to from end equipment in main side, the division data of synchronizing time point are recorded in Preset Time point from end equipment, wherein, division data are the data for making a call to after the 4th snapshot the data of this increment synchronization from end equipment;When write-protect is set from end equipment, the data and division data of the second snapshot are made a call to from end equipment rollback;It is subsynchronous when resuming again, obtain main side equipment from end equipment and will make a call to the data increment of the 3rd snapshot and be synchronized to remaining data during from end equipment in addition to the data of this increment synchronization.The present invention is applied to technical field of memory.
Description
Technical field
The present invention relates to technical field of memory, more particularly to synchronous continuous transmission method, from end equipment and system.
Background technology
Fig. 1 resumes FB(flow block) for existing synchronization.As shown in figure 1, the data of main side need backup
To from end, remote copy is created (English:Pair) configure, when starting synchronous, will be beaten soon in main side
According to (English:Snap) 01, then will beat the corresponding data full dose of snapshot 01 be synchronized to from end, obtain
To data (English:Data) 01 ', and then beating snapshot 01 ' from end.
Pair configure during increment synchronization, snapshot 02 will be beaten in main side, then will beat snapshot 02
Corresponding data increment is synchronized to from end, obtains data 02 '.When switching principal and subordinate's end business is wished,
Pair will be divided by user command to configure, cancelled and being set from end write-protect, and then triggered from end rollback
To the data 01 ' of previous consistency point snapshot, wish to continue to synchronous not needing master-slave swap
In the case of, will be once again set up from end write-protect, so as to trigger again from end roll back to previous uniformity
The data 01 ' of point snapshot.However, after snapshot rollback, pair increment synchronizations start to division Pair to match somebody with somebody
Data during putting will be snapshotted data cover, when being again started up synchronous, beat snapshot 02 corresponding
Data need to be from 0 to 100% increment synchronization to from end, and this will cause the time lengthening of whole synchronization, from
And reduce the synchronous efficiency for resuming.
The content of the invention
The embodiment of the present invention provides synchronous continuous transmission method, from end equipment and system, it is existing at least to solve
Synchronization resume after snapshot rollback synchronized data will be capped, so as to cause whole lock in time to prolong
Problem long.
To reach above-mentioned purpose, the embodiment of the present invention provides following technical scheme:
First aspect, there is provided a kind of synchronous continuous transmission method, the method includes:
The data full dose that will make a call to the first snapshot from end equipment acquisition main side equipment is synchronized to slave end equipment
Slave end equipment makes a call to the data of the second snapshot afterwards;
When the data increment that will make a call to the 3rd snapshot in the main side equipment is synchronized to slave end equipment, slave end
Equipment records the division data of synchronizing time point in Preset Time point, wherein, the division data are should
From the data that end equipment makes a call to after the 4th snapshot the data of this increment synchronization;
Slave end equipment set write-protect when, slave end equipment rollback make the second snapshot data and score
Split data;
Subsynchronous when resuming again, slave end equipment obtains the main side equipment will make a call to the data of the 3rd snapshot and increases
Measure the remaining data in addition to the data of this increment synchronization when being synchronized to slave end equipment.
Will not be as prior art, synchronized data will be capped after snapshot rollback, so as to cause
Whole lock in time extension.By the above method, synchronize resume when, can be increased according to last time
The part of the only synchronous non-increment synchronization of synchronous data volume is measured, so as to reduce whole lock in time, is carried
The synchronous efficiency for resuming high.
Second aspect, there is provided a kind of from end equipment, it is characterised in that slave end equipment includes:
Acquiring unit, the data full dose that the first snapshot will be made a call to for obtaining main side equipment is synchronized to slave end
Slave end equipment makes a call to the data of the second snapshot after equipment;
Recording unit, the data increment for will make a call to the 3rd snapshot in the main side equipment is synchronized to slave end
During equipment, the division data of synchronizing time point are recorded in Preset Time point, wherein, the division data
For the data that slave end equipment makes a call to after the 4th snapshot the data of this increment synchronization;
Setting unit, for setting write-protect;
Rollback unit, for when setting unit sets write-protect, rollback make a call to the data of the second snapshot with
Division data;
Acquiring unit, when being additionally operable to again subsynchronous resuming, obtaining the main side equipment will make a call to the 3rd snapshot
Remaining data of data increment when being synchronized to slave end equipment in addition to the data of this increment synchronization.
Due to the side that can be used for performing above-mentioned first aspect from end equipment provided in an embodiment of the present invention
Method, therefore, it can be obtained technique effect and may be referred to be performed from end equipment in above-mentioned first aspect
Synchronous continuous transmission method technique effect, here is omitted.
Optionally, in above-mentioned first aspect or second aspect, in a kind of possible implementation, institute
When corresponding when stating Preset Time point including the determination division remote copy Pair configurations from end equipment
Between point.
Optionally, in above-mentioned first aspect or second aspect, in alternatively possible implementation,
The Preset Time point includes preset timer then corresponding time point after the link down of principal and subordinate end.
It should be noted that above-mentioned is only the reality of the possible Preset Time point of two kinds of exemplary offer
Existing, certainly, in the embodiment of the present invention, Preset Time point is also possible to be other, the embodiment of the present invention pair
This is not especially limited.
The third aspect, there is provided from end equipment, slave end equipment includes one kind:Processor, memory,
Bus and communication interface;
Memory is used to store computer executed instructions, and processor is connected with memory by bus, when
When being run from end equipment, the computer executed instructions of computing device memory storage, so as to be set from end
Synchronization described in standby any one optional mode performed such as above-mentioned first aspect or first aspect
Continuous transmission method.
Due to it is provided in an embodiment of the present invention from end equipment can be used for performing above-mentioned first aspect or
Synchronous continuous transmission method described in the optional mode of any one of first aspect, therefore, it can be obtained
Technique effect may be referred to the technique effect of the synchronous continuous transmission method described in above-mentioned first aspect, herein
Repeat no more.
Fourth aspect, there is provided a kind of computer-readable recording medium, including computer executed instructions, when from end equipment
During the computing device computer executed instructions, slave end equipment is performed such as above-mentioned first aspect or the
Synchronous continuous transmission method described in the optional mode of any one of one side.
5th aspect, there is provided a kind of synchronously to resume system, the synchronization resumes system to be included:Main side equipment
With described in any one the optional mode such as above-mentioned second aspect or second aspect from end equipment;
Or, the synchronization resumes system to be included:Main side equipment and as described in the above-mentioned third aspect from end
Equipment.
Include such as above-mentioned second aspect or the because synchronization provided in an embodiment of the present invention resumes system
Two aspect any one optional mode described in from end equipment, slave end equipment can be used for perform
Synchronous continuous transmission method described in any one optional mode of above-mentioned first aspect or first aspect,
Therefore, it can be obtained the synchronous continuous transmission method that technique effect may be referred to described in above-mentioned first aspect
Technique effect, here is omitted.
Wherein, the aspects of the invention or other aspects can be simpler in the following description
It is bright understandable.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be right
The accompanying drawing to be used needed for embodiment or description of the prior art is briefly described, it should be apparent that,
Drawings in the following description are only some embodiments of the present invention, for those of ordinary skill in the art
For, on the premise of not paying creative work, can also obtain other attached according to these accompanying drawings
Figure.
Fig. 1 resumes FB(flow block) for existing synchronization;
Fig. 2 resumes FB(flow block) one for synchronization provided in an embodiment of the present invention;
Fig. 3 resumes interactive schematic diagram one for synchronization provided in an embodiment of the present invention;
Fig. 4 resumes FB(flow block) two for synchronization provided in an embodiment of the present invention;
Fig. 5 resumes interactive schematic diagram two for synchronization provided in an embodiment of the present invention;
Fig. 6 is synchronous continuous transmission method schematic flow sheet provided in an embodiment of the present invention;
Fig. 7 is the structural representation one from end equipment provided in an embodiment of the present invention;
Fig. 8 is the structural representation two from end equipment provided in an embodiment of the present invention;
Fig. 9 resumes system structure diagram for synchronization provided in an embodiment of the present invention.
Specific embodiment
In order to the description of following each embodiments is clearly succinct, the brief introduction of related notion is given first:
Beat snapshot:Specifically refer to the data of quick backup portion particular point in time.
Beat baseline snapshot:Specifically refer to beat snapshot for the first time.
Rollback:The data for specifically referring to beat snapshot back up again.
Full dose synchronization and increment synchronization:Full dose is synchronously two kinds of sides of database synchronization with increment synchronization
Formula.The synchronous disposable synchronization total data of full dose;Increment synchronization once only synchronous two differences of database
Heteromerism evidence, that is, part only different in synchronous two databases.
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is entered
Row is clearly and completely described.
As used in this application, term " component ", " module ", " system " etc. are intended to refer to
For computer related entity, the computer related entity can be hardware, firmware, hardware and software
With reference to, software or operating software.For example, component may be, but not limited to, being:In treatment
On device run treatment, processor, object, executable file, executory thread, program and/
Or computer.As an example, the application for running on the computing device and the computing device can be groups
Part.One or more assemblies may reside in executory process and/or thread, and component can be with
In a computer and/or it is distributed between two or more computers.Additionally, these
Component can be performed from having the various computer-readable mediums of various data structures thereon.These
Component can have one or more packets (for example, from a number for component by such as basis
According to the component is interacted and/or with signal with another component in local system, distributed system
Mode interacted by the network of such as internet etc and other systems) signal, with local and
/ or the mode of remote process communicated.
The application will be around may include the system of multiple equipment, component, module etc. present various aspects,
Embodiment or feature.It is to be understood and appreciated that, each system can include other equipment, group
Part, module etc., and/or all devices, component, the mould that are discussed with reference to accompanying drawing can not included
Block etc..Further, it is also possible to use the combination of these schemes.
In addition, in embodiments of the present invention, " example " one word is made example, illustration or is said for expression
It is bright.Any embodiment or design described herein as " example " are not necessarily to be construed as than it
Its embodiment or design more preferably or more advantage.Specifically, it is intended to using a word of example
Concept is presented in a concrete fashion.
The scene of embodiment of the present invention description is to more clearly illustrate the skill of the embodiment of the present invention
Art scheme, does not constitute the restriction for technical scheme provided in an embodiment of the present invention, and this area is common
Technical staff understands that, with the appearance of new scene, technical scheme provided in an embodiment of the present invention is for class
As technical problem, it is equally applicable.
Fig. 6 is a kind of synchronous continuous transmission method schematic flow sheet provided in an embodiment of the present invention, including step
S601-S604:
S601, the data full dose that will make a call to the first snapshot from end equipment acquisition main side equipment are synchronized to from end and set
The data of the second snapshot are made a call to after standby from end equipment.
When S602, the data increment that will make a call to the 3rd snapshot in main side equipment are synchronized to from end equipment, from end
Equipment records the division data of synchronizing time point in Preset Time point, wherein, the division data be from
The data that end equipment makes a call to after the 4th snapshot the data of this increment synchronization.
S603, when write-protect is set from end equipment, from end equipment rollback make a call to the data of the second snapshot with
Division data.
It is S604, subsynchronous when resuming again, obtain the data that main side equipment will make a call to the 3rd snapshot from end equipment
Increment synchronization to from end equipment when remaining data in addition to the data of this increment synchronization.
Will not be as prior art, synchronized data will be capped after snapshot rollback, so as to cause
Whole lock in time extension.Based on synchronous continuous transmission method provided in an embodiment of the present invention, it can be seen that
In the embodiment of the present invention, synchronize resume when, can be according to the data volume of last time increment synchronization only
The part of synchronous non-increment synchronization, so as to reduce whole lock in time, improves the synchronous effect for resuming
Rate.
Wherein, in embodiment of the present invention step S602:
In a kind of possible implementation, the Preset Time point includes determining division Pair from end equipment
Corresponding time point during configuration.
In alternatively possible implementation, the Preset Time point is including pre- after the link down of principal and subordinate end
If timer then corresponding time point.
The synchronization shown in Fig. 6 is resumed below in conjunction with both possible implementations corresponding scene
Method carries out expansion explanation.
Scene one:Fig. 2 is a kind of FB(flow block) of synchronous continuous transmission method provided in an embodiment of the present invention.
As shown in Fig. 2 the data of main side need to backup to from end, Pair configurations are created, when starting synchronous,
The first snapshot will be made a call in main side (to be designated as:Beat snapshot 01), then will beat the corresponding data of snapshot 01
Full dose is synchronized to from end, obtains data 01 ', and then (be designated as the second snapshot is made a call to from end:Beat snapshot
01’).Pair is configured during increment synchronization, will be made a call to the 3rd snapshot in main side and (is designated as:Beat fast
According to 02), then will beat the corresponding data division increment synchronization of snapshot 02 to from end, obtain data 02 '.
If beating the corresponding data division increment synchronization of snapshot 02 to during the end, it is desirable to switch
During the business of principal and subordinate end, main side will by user command divide Pair configure, and then from end cancel set from
End write-protect, rollback is beaten the data of snapshot 01 ' from end, obtains data 01 '.Remember from end simultaneously
Record the division data (English of synchronizing time point:SplitData) (it is designated as:Division data 02 '),
The division data 02 ' are the data for making a call to after the 4th snapshot the data 02 ' of this increment synchronization from end.
In the case of wishing to continue to synchronization, will be once again set up writing guarantor from end not needing master-slave swap
Shield, so as to the data and division data 02 ' that snapshot 01 ' is beaten from end rollback will be triggered, obtains data 01 '
With data 02 '.When synchronous resuming is again started up, acquisition main side will be beaten the number of snapshot 02 from end
(it is designated as according to increment synchronization to remaining data when holding in addition to data 02 ':Data 03 '), than
(it is designated as remaining data being synchronized to from end on the basis of 50% in Fig. 2, and making a call to the 5th snapshot:
Beat snapshot 02 ').
It should be noted that illustrated with the data instance of first time increment synchronization 50% in Fig. 2,
Certainly, the numerical value is merely illustrative, or 20%, 30% etc. any 0% to 100%
Between data, the embodiment of the present invention is not especially limited to this.
Below by the FB(flow block) based on the synchronous continuous transmission method shown in Fig. 2, the embodiment of the present invention is given
The interactive schematic diagram of the method that the synchronization of offer is resumed, by main side equipment with from as a example by the interacting of end equipment
Illustrate, as shown in figure 3, including step S301-S313:
S301, main side equipment need backup directory A, beat snapshot 01.
The data full dose that S302, main side equipment will beat snapshot 01 is synchronized to from end equipment.
S303, data 01 ' are obtained from end equipment, beat snapshot 01 '.
S304, main side equipment are synchronously resumed, and beat snapshot 02.
S305, main side equipment will beat the data division increment synchronization of snapshot 02 extremely from end equipment.
S306, the data 02 ' from end equipment fetching portion increment synchronization.
S307, main side equipment divide Pair and configure by user command.
S308, division Pair is determined from end equipment with postponing, the division number of record synchronizing time point
According to 02 '.
Wherein, division data 02 ' are that the data 02 ' of this increment synchronization are made a call into the 4th from end equipment is fast
Data according to after.
When S309, cancellation set write-protect, the data of snapshot 01 ' are beaten from end equipment rollback, obtain number
According to 01 '.
S310, when need not carry out master-slave swap, set during from end write-protect from end equipment, rollback is beaten
The data and division data 02 ' of snapshot 01 ', obtain data 01 ' and data 02 '.
S311, main side equipment are synchronously resumed, and beat snapshot 02.
The remaining data that S312, main side equipment will beat in the data of snapshot 02 in addition to data 02 ' increases
Amount is synchronized to from end equipment.
S313, the data 03 ' from end equipment acquisition increment synchronization, and beat snapshot 02 '.
So far, entirely synchronously process is resumed to terminate.
Will not be as prior art, synchronized data will be capped after snapshot rollback, so as to cause
Whole lock in time extension.Based on synchronous continuous transmission method provided in an embodiment of the present invention, it can be seen that
In the embodiment of the present invention, after main side equipment divides Pair configurations by user command, carrying out together
When step is resumed, can be according to the last time increment synchronization recorded when determining division Pair configurations from end equipment
The part of the only synchronous non-increment synchronization of data volume, so as to reduce whole lock in time, improves synchronization
The efficiency for resuming.
Scene two:Fig. 4 is the FB(flow block) of another synchronization continuous transmission method provided in an embodiment of the present invention.
As shown in figure 4, the data of main side need to backup to from end, Pair configurations are created, when starting synchronous,
The first snapshot will be made a call in main side (to be designated as:Beat snapshot 01), then will beat the corresponding data of snapshot 01
Full dose is synchronized to from end, obtains data 01 ', and then (be designated as the second snapshot is made a call to from end:Beat snapshot
01’).Pair is configured during increment synchronization, will be made a call to the 3rd snapshot in main side and (is designated as:Beat fast
According to 02), then will beat the corresponding data division increment synchronization of snapshot 02 to from end, obtain data 02 '.
If beating the corresponding data division increment synchronization of snapshot 02 to during the end, principal and subordinate end chain
Road disconnect, now will be unable to perceive main side situation from end, from end can preset timer then after
The division data 02 ' of synchronizing time point are recorded, the division data 02 ' are from holding that this increment is same
The data that the data 02 ' of step are made a call to after the 4th snapshot.
When cancel set from end write-protect when, in order to be able in principal and subordinate end link disconnection to from pipe nipple
Business, rollback is beaten the data of snapshot 01 ' from end, obtains data 01 '.
If now principal and subordinate end link-recovery, main side may need to continue by data syn-chronization to from end, now
To be once again set up from end write-protect from end, thus trigger again from end rollback beat the data of snapshot 01 ' with
Division data 02 ', obtain data 01 ' and data 02 '.When synchronous resuming is again started up, from end
The data increment that snapshot 02 will be beaten in acquisition main side is synchronized to residue when holding in addition to data 02 '
Data (are designated as:Data 03 '), such as remaining data is synchronized on the basis of 50% in Fig. 4
From end, and make a call to the 5th snapshot and (be designated as:Beat snapshot 02 ').
It should be noted that illustrated with the data instance of first time increment synchronization 50% in Fig. 4,
Certainly, the numerical value is merely illustrative, or 20%, 30% etc. any 0% to 100%
Between data, the embodiment of the present invention is not especially limited to this.
Below by the FB(flow block) based on the synchronous continuous transmission method shown in Fig. 4, the embodiment of the present invention is given
The interactive schematic diagram of the method that the synchronization of offer is resumed, by main side equipment with from as a example by the interacting of end equipment
Illustrate, as shown in figure 5, including step S501-S514:
S501, main side equipment need backup directory A, beat snapshot 01.
The data full dose that S502, main side equipment will beat snapshot 01 is synchronized to from end equipment.
S503, data 01 ' are obtained from end equipment, beat snapshot 01 '.
S504, main side equipment are synchronously resumed, and beat snapshot 02.
S505, main side equipment will beat the data division increment synchronization of snapshot 02 extremely from end equipment.
S506, the data 02 ' from end equipment fetching portion increment synchronization.
S507, principal and subordinate end link disconnect.
S508, the division data 02 ' for then recording synchronizing time point afterwards in preset timer from end.
Wherein, division data 02 ' are that the data 02 ' of this increment synchronization are made a call into the 4th from end equipment is fast
Data according to after.
When S509, cancellation set write-protect, the data of snapshot 01 ' are beaten from end equipment rollback, obtain number
According to 01 '.
S510, principal and subordinate's link-recovery.
S511, from end equipment set from end write-protect when, the data and division number of snapshot 01 ' are beaten in rollback
According to 02 ', data 01 ' and data 02 ' are obtained.
S512, main side equipment are synchronously resumed, and beat snapshot 02.
The remaining data that S513, main side equipment will beat in the data of snapshot 02 in addition to data 02 ' increases
Amount is synchronized to from end equipment.
S514, the data 03 ' from end equipment acquisition increment synchronization, and beat snapshot 02 '.
So far, entirely synchronously process is resumed to terminate.
Will not be as prior art, synchronized data will be capped after snapshot rollback, so as to cause
Whole lock in time extension.Based on synchronous continuous transmission method provided in an embodiment of the present invention, it can be seen that
In the embodiment of the present invention, principal and subordinate end link disconnection after, synchronize resume when, can be according to pre-
If the part of the only synchronous non-increment synchronization of the data volume of the last time increment synchronization that timer is then recorded afterwards,
So as to reduce whole lock in time, the synchronous efficiency for resuming is improve.
As shown in fig. 7, the embodiment of the present invention provides a kind of from end equipment 70, for perform figure 3 above,
Step in synchronous continuous transmission method shown in Fig. 5 or Fig. 6 performed by end equipment.Slave end equipment
70 can include the unit corresponding to corresponding steps, example, can include:
Acquiring unit 701, will be made a call to for obtaining main side equipment the first snapshot data full dose be synchronized to from
The data of the second snapshot are made a call to after end equipment 70 from end equipment 70.
Recording unit 702, the data increment for will make a call to the 3rd snapshot in main side equipment is synchronized to from end
During equipment 70, the division data of synchronizing time point are recorded in Preset Time point, wherein, described point
It is the data for making a call to after the 4th snapshot the data of this increment synchronization from end equipment 70 to split data.
Setting unit 703, for setting write-protect.
Rollback unit 704, for when setting unit 703 sets write-protect, the second snapshot to be made a call in rollback
Data and division data;
Acquiring unit 701, when being additionally operable to again subsynchronous resuming, obtain main side equipment will make a call to the 3rd snapshot
Data increment be synchronized to from end equipment 70 when remainder in addition to the data of this increment synchronization
According to.
Optionally, in a kind of possible implementation, the Preset Time point is included from end equipment 70
It is determined that corresponding time point when division Pair is configured.
Optionally, in alternatively possible implementation, the Preset Time point includes principal and subordinate end link
Preset timer then corresponding time point after interruption.
It should be noted that acquiring unit 701, recording unit 702, setting in the present embodiment are single
Unit 703 and rollback unit 704 are specifically as follows the individually processor set up, it is also possible to be integrated in from
Realized in some processor of end equipment 70, in addition it is also possible to be stored in the form of program code
In from the memory of end equipment 70, by calling from some processor of end equipment 70 and perform with
The function of upper acquiring unit 701, recording unit 702, setting unit 703 and rollback unit 704.
Processor described here can be a central processing unit (English full name:central processing
Unit, english abbreviation:CPU), can also be other general processors, digital signal processor (English
Literary full name:Digital signal processing, english abbreviation:DSP), application specific integrated circuit (English
Literary full name:Application specific integrated circuit, english abbreviation:ASIC it is), existing
Field programmable gate array (English full name:Field-programmable gate array, english abbreviation:
FPGA it is) or other PLDs, discrete gate or transistor logic, discrete hard
Part component etc..General processor can be microprocessor or the processor can also be any conventional
Processor etc..In addition, the processor can also be application specific processor, the application specific processor can include
At least one of baseband processing chip, radio frequency processing chip etc..Further, the application specific processor
The chip for having from other dedicated processes functions of end equipment 70 can also be included.
It is appreciated that the embodiment of the present invention from end equipment 70 may correspond to above-mentioned Fig. 3, Fig. 5 or
In synchronous continuous transmission method shown in Fig. 6 from end equipment, and the embodiment of the present invention from end equipment
The division of the unit in 70 and/or function etc. are for realizing above-mentioned Fig. 3, Fig. 5 or Fig. 6
Shown synchronous continuous transmission method flow, for sake of simplicity, will not be repeated here.
Can be used for from end equipment 70 in due to the embodiment of the present invention performs above method flow, because
This, it can be obtained technique effect and also refers to above method embodiment, and the embodiment of the present invention is herein
Repeat no more.
As shown in figure 8, the embodiment of the present invention provides one kind from end equipment 80, including:Processor 801,
Memory 802, bus 803 and communication interface 804.
Memory 802 is used to store computer executed instructions, and processor 801 leads to memory 802
Cross bus 803 to connect, when being run from end equipment 80, processor 801 performs memory 802 and deposits
The computer executed instructions of storage, so as to be performed as shown in Fig. 3, Fig. 5 or Fig. 6 from end equipment 80
Synchronous continuous transmission method.Specific synchronization continuous transmission method can be found in above-mentioned such as Fig. 3, Fig. 5 or Fig. 6 institute
Associated description in the embodiment shown, here is omitted.
Wherein, the processor 801 in the embodiment of the present invention can be CPU, or other general places
Reason device, DSP, ASIC, FPGA or other PLDs, discrete gate or transistor
Logical device, discrete hardware components etc..General processor can be microprocessor or the processor
It can be any conventional processor etc..
Processor 801 can also be application specific processor, and the application specific processor can include Base-Band Processing core
At least one of piece, radio frequency processing chip etc..Further, the application specific processor can also include
With the chip from other dedicated processes functions of end equipment 80.
Memory 802 can include volatile memory (English:Volatile memory), for example
Random access memory (English full name:Random-access memory, english abbreviation:RAM);
Memory 802 can also include nonvolatile memory (English:Non-volatile memory),
Such as read-only storage (English full name:Read-only memory, english abbreviation:ROM),
Flash memory (English:Flash memory), hard disk (English full name:Hard disk drive,
English abbreviation:) or solid state hard disc (English full name HDD:Solid-state drive, english abbreviation:
SSD);In addition, memory 802 can also include the combination of the memory of mentioned kind.
Bus 803 can be including data/address bus, power bus, controlling bus and signal condition bus etc..
For clear explanation in the present embodiment, various buses are all illustrated as bus 803 in fig. 8.
Communication interface 804 can be specifically the transceiver from end equipment 80.The transceiver can be
Wireless transceiver.For example, wireless transceiver can be from antenna of end equipment 80 etc..Processor 801
By communication interface 804 and other equipment, such as the transmitting-receiving of data is carried out between main side equipment.
During implementing, in the above-mentioned method flow as shown in Fig. 3, Fig. 5 or Fig. 6
Each step can perform the software shape stored in memory 802 by the processor 801 of example, in hardware
The computer executed instructions of formula are realized.To avoid repeating, here is omitted.
Can be used to perform above method flow from end equipment 80 due to provided in an embodiment of the present invention, because
This its can be obtained technique effect and refer to above method embodiment, here is omitted.
Optionally, the embodiment of the present invention also provides a kind of computer-readable recording medium, including computer executed instructions,
When the computer executed instructions of the computing device from end equipment, slave end equipment can be performed such as figure
3rd, the synchronous continuous transmission method shown in Fig. 5 or Fig. 6.Specific synchronization continuous transmission method can be found in above-mentioned
The associated description in embodiment as shown in Fig. 3, Fig. 5 or Fig. 6, here is omitted.
The embodiment of the present invention also provides one kind and synchronously resumes system 90, as shown in figure 9, this is synchronously continuous
Biography system 90 includes:Main side equipment 901 and set from end with what main side equipment 901 can be in communication with each other
Standby 902.The main side equipment 901 can be the main side equipment in Fig. 3 or Fig. 5;Slave end equipment
902 can be from end equipment in Fig. 3 or Fig. 5.Wherein, the description for main side equipment 901 has
To the associated description of main side equipment in the embodiment that body refers to shown in above-mentioned Fig. 3 or Fig. 5;For from
To from end equipment in the embodiment that the description of end equipment 902 specifically refers to shown in above-mentioned Fig. 3 or Fig. 5
Associated description, here is omitted.
Synchronization provided in an embodiment of the present invention is resumed in system 90, and main side equipment 901 is by performing such as
Corresponding steps in method flow shown in Fig. 3 or Fig. 5 complete the synchronization side of resuming of the embodiment of the present invention
Method;Accordingly, the phase in the method flow from end equipment 902 by execution as shown in Fig. 3 or Fig. 5
Step is answered to complete the synchronous continuous transmission method of the embodiment of the present invention.
Main side equipment 901 in system 90 is resumed and from end due to synchronization provided in an embodiment of the present invention
Equipment 902 can be used to perform the method flow as shown in Fig. 3 or Fig. 5, therefore it can be obtained skill
Art effect refers to the description in above method embodiment, and the embodiment of the present invention will not be repeated here.
It is apparent to those skilled in the art that, it is for convenience and simplicity of description, above-mentioned
The device of description, is only carried out for example, in practical application with the division of above-mentioned each functional module, can
To be completed by different functional module as needed and by above-mentioned functions distribution, will device internal junction
Structure is divided into different functional modules, to complete all or part of function described above.It is above-mentioned to retouch
The specific work process of system, device and the unit stated, it is right in preceding method embodiment to may be referred to
Process is answered, be will not be repeated here.
In several embodiments provided herein, it should be understood that disclosed system, device
And method, can realize by another way.For example, device embodiment described above is only
It is schematical, for example, the division of the module or unit, only a kind of division of logic function,
There can be other dividing mode when actually realizing, such as multiple units or component can combine or can
To be integrated into another system, or some features can be ignored, or not perform.It is another, it is shown
Or the coupling each other that discusses or direct-coupling or communication connection can be by some interfaces, dress
Put or unit INDIRECT COUPLING or communication connection, can be electrical, mechanical or other forms.
It is described as separating component illustrate unit can be or may not be it is physically separate,
The part shown as unit can be or may not be physical location, you can with positioned at a ground
Side, or can also be distributed on multiple NEs.Can according to the actual needs select therein
Some or all of unit realizes the purpose of this embodiment scheme.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit
In, or unit be individually physically present, it is also possible to two or more units are integrated in
In one unit.Above-mentioned integrated unit can both be realized in the form of hardware, it would however also be possible to employ soft
The form of part functional unit is realized.
If the integrated unit is to realize in the form of SFU software functional unit and as independent product
When selling or using, can store in a computer read/write memory medium.Based on such reason
Solution, part or the skill that technical scheme substantially contributes to prior art in other words
The all or part of art scheme can be embodied in the form of software product, the computer software product
Storage is in a storage medium, including some instructions are used to so that a computer equipment (can be
Personal computer, server, or network equipment etc.) or processor (processor) perform sheet
Invent all or part of step of each embodiment methods described.And foregoing storage medium includes:U
Disk, mobile hard disk, ROM, RAM), magnetic disc or CD etc. are various can be with store program codes
Medium.
The above, specific embodiment only of the invention, but protection scope of the present invention not office
Be limited to this, any one skilled in the art the invention discloses technical scope in, can
Change or replacement are readily occurred in, should be all included within the scope of the present invention.Therefore, the present invention
Protection domain should be based on the protection scope of the described claims.
Claims (9)
1. a kind of synchronous continuous transmission method, it is characterised in that methods described includes:
The data full dose that will make a call to the first snapshot from end equipment acquisition main side equipment is synchronized to described from end equipment
Data that the second snapshot is made a call to from end equipment afterwards;
The data increment that will make a call to the 3rd snapshot in the main side equipment be synchronized to it is described from end equipment when, it is described
The division data of synchronizing time point are recorded in Preset Time point from end equipment, wherein, the division data
It is the data for making a call to after the 4th snapshot the data of this increment synchronization from end equipment;
It is described from the number that the second snapshot is made a call to described in end equipment rollback in the setting write-protect from end equipment
According to the division data;
It is subsynchronous when resuming again, it is described to obtain the main side equipment by the 3rd snapshot of making a call to from end equipment
Data increment be synchronized to it is described from end equipment when remainder in addition to the data of this increment synchronization
According to.
2. method according to claim 1, it is characterised in that the Preset Time point includes institute
State and determine to divide when remote copy Pair is configured corresponding time point from end equipment.
3. method according to claim 1, it is characterised in that the Preset Time point includes master
From preset timer then corresponding time point after the link down of end.
4. one kind is from end equipment, it is characterised in that described to include from end equipment:
Acquiring unit, will be made a call to for obtaining main side equipment the first snapshot data full dose be synchronized to it is described from end
The data that the second snapshot is made a call to from end equipment after equipment;
Recording unit, the data increment for the 3rd snapshot will to be made a call in the main side equipment be synchronized to it is described from
During end equipment, the division data of synchronizing time point are recorded in Preset Time point, wherein, the division number
According to being the data for making a call to after the 4th snapshot the data of this increment synchronization from end equipment;
Setting unit, for setting write-protect;
Rollback unit, for when the setting unit sets write-protect, the second snapshot being made a call to described in rollback
Data and the division data;
The acquiring unit, when being additionally operable to again subsynchronous resuming, obtain the main side equipment will described in make a call to the
The data increment of three snapshots be synchronized to it is described from end equipment when in addition to the data of this increment synchronization
Remaining data.
5. it is according to claim 4 from end equipment, it is characterised in that the Preset Time point bag
Corresponding time point when including the determination division remote copy Pair configurations from end equipment.
6. it is according to claim 4 from end equipment, it is characterised in that the Preset Time point bag
Include after the link down of principal and subordinate end preset timer then corresponding time point.
7. one kind is from end equipment, it is characterised in that described to include from end equipment:Processor, memory,
Bus and communication interface;
The memory is used to store computer executed instructions, and the processor passes through institute with the memory
State bus connection, when it is described run from end equipment when, the institute of memory storage described in the computing device
Computer executed instructions are stated, so that described same as described in claim any one of 1-3 from end equipment execution
Step continuous transmission method.
8. a kind of computer-readable recording medium, including computer executed instructions, when the computing device from end equipment should
During computer executed instructions, the synchronization performed as described in claim any one of 1-3 from end equipment continues
Transmission method.
9. it is a kind of synchronously to resume system, it is characterised in that the synchronization resumes system to be included:Main side sets
It is standby and as described in claim any one of 4-6 from end equipment;Or,
The synchronization resumes system to be included:Main side equipment is with as claimed in claim 7 from end equipment.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510849526.1A CN106815091B (en) | 2015-11-27 | 2015-11-27 | Synchronous continuous transmission method, slave end equipment and system |
PCT/CN2016/087914 WO2017088476A1 (en) | 2015-11-27 | 2016-06-30 | Method for synchronization and resumed transfer, slave end device, and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510849526.1A CN106815091B (en) | 2015-11-27 | 2015-11-27 | Synchronous continuous transmission method, slave end equipment and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106815091A true CN106815091A (en) | 2017-06-09 |
CN106815091B CN106815091B (en) | 2020-02-14 |
Family
ID=58762960
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510849526.1A Active CN106815091B (en) | 2015-11-27 | 2015-11-27 | Synchronous continuous transmission method, slave end equipment and system |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106815091B (en) |
WO (1) | WO2017088476A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111209343A (en) * | 2020-01-22 | 2020-05-29 | 腾讯科技(深圳)有限公司 | Node data synchronization method, device, equipment and storage medium |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108322533B (en) * | 2018-01-31 | 2019-02-19 | 广州鼎甲计算机科技有限公司 | Configuration and synchronization method between distributed type assemblies node based on operation log |
CN112272196A (en) * | 2020-03-09 | 2021-01-26 | 上海曼恒数字技术股份有限公司 | Method and system for removing server by system |
CN111625605B (en) * | 2020-06-02 | 2024-05-10 | 北京金堤科技有限公司 | Information synchronization method and device, storage medium and electronic equipment |
CN117596256B (en) * | 2024-01-19 | 2024-03-22 | 济南浪潮数据技术有限公司 | Data synchronization method, device, system, electronic equipment and readable storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2002073410A2 (en) * | 2001-03-14 | 2002-09-19 | Storage Technology Corporation | System and method for synchronizing a data copy using an accumulation remote copy trio |
CN100456255C (en) * | 2007-04-29 | 2009-01-28 | 华为技术有限公司 | Device and method for fetching snapshot data |
US7596713B2 (en) * | 2002-11-20 | 2009-09-29 | Intranational Business Machines Corporation | Fast backup storage and fast recovery of data (FBSRD) |
CN102801754A (en) * | 2011-05-24 | 2012-11-28 | 英业达集团(天津)电子技术有限公司 | Method and system for breakpoint transmission |
CN102999400A (en) * | 2012-11-22 | 2013-03-27 | 中国电信股份有限公司云计算分公司 | Data backup method and device of cloud storage system |
CN104484242A (en) * | 2014-12-10 | 2015-04-01 | 上海爱数软件有限公司 | Method for breaking-point transmission in copy-on-write snapshot backup process |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7330997B1 (en) * | 2004-06-03 | 2008-02-12 | Gary Odom | Selective reciprocal backup |
CN101419564B (en) * | 2008-12-11 | 2010-08-25 | 杭州华三通信技术有限公司 | Method and device for recovering data by employing snapshot |
CN103645967B (en) * | 2013-11-26 | 2016-06-22 | 华为技术有限公司 | A kind of read-only materialized view rollback method and device |
-
2015
- 2015-11-27 CN CN201510849526.1A patent/CN106815091B/en active Active
-
2016
- 2016-06-30 WO PCT/CN2016/087914 patent/WO2017088476A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2002073410A2 (en) * | 2001-03-14 | 2002-09-19 | Storage Technology Corporation | System and method for synchronizing a data copy using an accumulation remote copy trio |
US7596713B2 (en) * | 2002-11-20 | 2009-09-29 | Intranational Business Machines Corporation | Fast backup storage and fast recovery of data (FBSRD) |
CN100456255C (en) * | 2007-04-29 | 2009-01-28 | 华为技术有限公司 | Device and method for fetching snapshot data |
CN102801754A (en) * | 2011-05-24 | 2012-11-28 | 英业达集团(天津)电子技术有限公司 | Method and system for breakpoint transmission |
CN102999400A (en) * | 2012-11-22 | 2013-03-27 | 中国电信股份有限公司云计算分公司 | Data backup method and device of cloud storage system |
CN104484242A (en) * | 2014-12-10 | 2015-04-01 | 上海爱数软件有限公司 | Method for breaking-point transmission in copy-on-write snapshot backup process |
Non-Patent Citations (1)
Title |
---|
戴浩;: "基于FTP的文件定时传输软件的设计与实现", 《计算机应用与软件》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111209343A (en) * | 2020-01-22 | 2020-05-29 | 腾讯科技(深圳)有限公司 | Node data synchronization method, device, equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN106815091B (en) | 2020-02-14 |
WO2017088476A1 (en) | 2017-06-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106815091A (en) | Synchronous continuous transmission method, from end equipment and system | |
EP3493471B1 (en) | Data disaster recovery method, apparatus and system | |
CN106331098B (en) | Server cluster system | |
CN103019875B (en) | The method of the two main transformation of a kind of fulfillment database and device | |
CN103473277B (en) | The Snapshot Method and device of file system | |
CN103580915B (en) | Method and device for determining main control node of trunking system | |
EP3185125B1 (en) | Data backup method, system, node and computer storage media | |
CN105187464B (en) | Method of data synchronization, apparatus and system in a kind of distributed memory system | |
CN103491192B (en) | The Namenode changing method of a kind of distributed system and system | |
CN103164295B (en) | Enterprise information technology (IT) business virtualization disaster recovery method based on zettabyte file system (ZFS) and kernel-based virtual machine (KVM) kernel virtual underlying system | |
CN103684375B (en) | A kind of clock division switching circuit and clock chip | |
CN105242990A (en) | Cloud platform based data backup method and apparatus | |
CN105357042A (en) | High-availability cluster system, master node and slave node | |
CN104503868B (en) | Method of data synchronization, device and system | |
CN108289232B (en) | Control method of playing device, terminal device and storage medium | |
CN106231094A (en) | application program freezing method and system | |
US20140164591A1 (en) | Synchronization Of A Virtual Machine Across Mobile Devices | |
US9871863B2 (en) | Managing network attached storage | |
CN107621994B (en) | Method and device for creating data snapshot | |
CN107786650A (en) | A kind of synchronous method, the apparatus and system of storage medium and management strategy | |
CN108762988B (en) | Data processing method and related equipment | |
CN106874150A (en) | A kind of virtual machine High Availabitity disaster recovery method and its system | |
CN105868052A (en) | Remote disaster recovery backup processing method and device | |
CN109376037A (en) | A kind of data back up method and relevant apparatus | |
CN109471679A (en) | The method that a kind of pair of PCIE exchange chip configuration file is configured |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |