CN103856536A - Synchronous control method and synchronous control device - Google Patents
Synchronous control method and synchronous control device Download PDFInfo
- Publication number
- CN103856536A CN103856536A CN201210517937.7A CN201210517937A CN103856536A CN 103856536 A CN103856536 A CN 103856536A CN 201210517937 A CN201210517937 A CN 201210517937A CN 103856536 A CN103856536 A CN 103856536A
- Authority
- CN
- China
- Prior art keywords
- equipment
- backed
- quota value
- data
- main equipment
- 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
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention relates to a synchronous control method and a synchronous control device. The synchronous control method comprises the steps of setting a total quota value of a main device in synchronous time and quota values of one or more auxiliary devices in synchronous time, acquiring data to be backed-up of the main device and acquiring the auxiliary devices corresponding to the data to be backed-up from one or more auxiliary devices according to the data to be backed-up; under the condition that both the total quota value and the quota values of the acquired auxiliary devices are larger than zero, sending the data to be backed-up in the main device to the auxiliary devices with the quota values larger than zero to perform back up, and modifying the total quota value and the quota values of the acquired auxiliary devices. By means of the synchronous control method, synchronous speed can be controlled evenly, and stable operation of the system is ensured.
Description
Technical field
The present invention relates to simultaneous techniques field, relate in particular to synchronisation control means and sync control device.
Background technology
In order to ensure safe operation, disparate networks system at present, for example UGC system day by day emerges, and has caused the extensive concern of industry.UGC(User Generated Content, the original content of user) be the new mode that a kind of user uses the Internet, become download and upload and lay equal stress on taking download as main transformer by original.Community network, video sharing network, blog etc. are all the main application forms of UGC.These systems can be introduced Disaster Tolerant Scheme in the time of design, Disaster Tolerant Scheme requires system to have two parts of available full backup data at least, each Backup Data is separate on disposing, and can provide the real time service of full dose, the equipment of wherein storing a certain Backup Data is main equipment, the Backup Data of main equipment is all only upgraded in all write operations, and then the Backup Data real-time synchronization of main equipment is arrived to other from equipment, thereby ensure that each Backup Data can both independently provide real time access service.This piece of data of will asking for perfection not only needs to be synchronized to each from equipment fast in real time, and will ensure that main equipment can not consume too much resource because of being synchronized to from the operation of equipment.It is by detecting main equipment and whether variant from the Backup Data between equipment, if variant, difference part being sent to immediately from equipment that the Backup Data of existing main equipment is synchronized to from the method for equipment.
But there is following shortcoming in existing this synchronous method: first, because each network bandwidth from equipment may exist larger difference, therefore cannot formulate each from equipment no-load speed separately according to actual conditions.Secondly, as long as main equipment detects and there are differences and will send Backup Data to from equipment from the Backup Data between equipment, when main equipment occurs writing peak or main equipment and when there is larger data difference between equipment, in synchronizing process, a large amount of system resource can be taken, synchronous service can not be normally carried out thereby cause.In addition, same main equipment may move multiple synchronized process simultaneously, there is no mutual communication between each synchronized process, the preempting resources of all can doing the best separately, after closing a synchronized process, corresponding resource can be seized rapidly by other process, thereby makes the load of main equipment be not easy regulation and control.Moreover when main equipment and when large from the Backup Data difference between equipment, no-load speed can be very fast, and main equipment and from the Backup Data difference hour between equipment, no-load speed is very slow, and synchronous like this rate fluctuation is larger, thereby makes the fluctuation of service of system.
Summary of the invention
Therefore, the invention provides synchronisation control means and sync control device, can ensure that no-load speed is controlled, main equipment can be synchronized to data to be backed up accordingly from equipment equably.
Particularly, a kind of synchronisation control means that the embodiment of the present invention proposes, comprise step: arrange the total quota value of main equipment within a lock in time and at least one from equipment the quota value within lock in time, obtain the data to be backed up of main equipment and according to data to be backed up from least one from equipment, obtain corresponding with data to be backed up each from equipment; And be greater than zero in total quota value and the quota value from equipment obtained, the data to be backed up in main equipment are sent to quota value and are greater than zero back up the quota value from equipment of revising total quota value and obtaining from equipment.
In addition, a kind of sync control device that the embodiment of the present invention proposes, comprise that quota arranges module, acquisition module and judge module, quota arranges module, for arrange the total quota value of main equipment within a lock in time and at least one from equipment the quota value within lock in time.Acquisition module, for obtain the data to be backed up of main equipment and according to data to be backed up from least one obtain from equipment corresponding with data to be backed up each from equipment.Judge module, for being greater than zero in total quota value and the quota value from equipment obtained, the data to be backed up in main equipment are sent to quota value and are greater than zero back up the quota value from equipment of revising total quota value and obtaining from equipment.
From above-described embodiment, the present invention by arrange the total quota value of main equipment within a lock in time and at least one from equipment the quota value within a lock in time, be greater than zero in total quota value and the quota value from equipment obtained, the data to be backed up in main equipment are sent to quota value and are greater than zero back up the quota value from equipment of revising total quota value and obtaining from equipment.Like this, be eachly provided with a quota from equipment, can carry out the configuration of differentiation according to each difference from equipment and bandwidth situation, the utilization of resource can be maximized.Total quota of main equipment and from the use of equipment quota, can at utmost ensure that the no-load speed of system is controlled.While differing greatly when main equipment and from the Backup Data between equipment, can, by quota restrictions, main equipment can be synchronized to data to be backed up accordingly from equipment equably.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to better understand technological means of the present invention, and can be implemented according to the content of specification, and for above and other object of the present invention, feature and advantage can be become apparent, below especially exemplified by preferred embodiment, and coordinate accompanying drawing, be described in detail as follows.
Brief description of the drawings
Fig. 1 is the flow chart of steps of the synchronisation control means of embodiment of the present invention proposition;
Fig. 2 is the flow chart of steps of the synchronisation control means of another embodiment of the present invention proposition;
Fig. 3 is the main equipment of embodiment of the present invention proposition and the schematic diagram from equipment;
Fig. 4 is the main block architecture diagram of the sync control device of embodiment of the present invention proposition.
Embodiment
Technological means and effect of taking for reaching predetermined goal of the invention for further setting forth the present invention, below in conjunction with accompanying drawing and preferred embodiment, to synchronisation control means and its embodiment of sync control device, structure, feature and effect of proposing according to the present invention, be described in detail as follows.
Relevant aforementioned and other technology contents of the present invention, Characteristic, can clearly present in following cooperation in describing in detail with reference to graphic preferred embodiment.By the explanation of embodiment, when being able to more deeply and concrete understanding for technological means and effect of reaching predetermined object and taking the present invention, but appended graphic be only to provide with reference to the use of explanation, be not used for the present invention to be limited.
Fig. 1 is the flow chart of steps of the synchronisation control means of embodiment of the present invention proposition.Fig. 3 is the main equipment of embodiment of the present invention proposition and the schematic diagram from equipment.See also Fig. 1 and Fig. 3, the synchronisation control means of the embodiment of the present invention can comprise the following steps S101-S103:
Step S101: arrange the total quota value of main equipment within a lock in time and at least one from equipment the quota value within a lock in time, obtain the data to be backed up of main equipment and according to data to be backed up from least one from equipment, obtain corresponding with data to be backed up each from equipment.
In this step, the data to be backed up from equipment (as shown in Figure 3 from equipment 301, from equipment 302, from equipment 303 etc.) for storage in backup master (main equipment 310 as shown in Figure 3).Can export according to main equipment the ability of data, for example, according to the bandwidth of main equipment, the total quota of main equipment within a lock in time is set.Can be according to each ability from equipment receiving data, for example according to each bandwidth from equipment arrange each from equipment the quota value within a lock in time.Quota value can be according to each main equipment, carry out the configuration of differentiation from difference and the bandwidth situation of equipment, and the utilization of resource can be maximized.The length of a lock in time can be carried out respective settings according to actual needs, and can be set to a unit interval for example lock in time.Total quota value and quota value can be for being greater than zero integer or other any number.If in the time of initial synchronization, the numbering size from equipment that can receive as required data to be backed up while obtaining from equipment is selected successively.Can the pre-stored numbering from equipment in main equipment.Data to be backed up also can set in advance according to actual needs, and will to backup at least one one or more from equipment be that at least one one or more and data to be backed up from equipment are corresponding.If from the numbering of equipment since 1, data in advance setting current to be backed up in main equipment to backup to be numbered 1,3,5 from equipment, in this step, can obtain be successively numbered 1,3,5 from equipment as need to receive data to be backed up from equipment.Synchronized process in Fig. 3 can carry out backup operation simultaneously.
Step S103: be greater than zero in total quota value and the quota value from equipment obtained, the data to be backed up in main equipment are sent to quota value and are greater than zero back up the quota value from equipment of revising total quota value and obtaining from equipment.
In this step, describe as an example of Fig. 3 example, if obtain from equipment for from equipment 301,302 and 303, whether the quota value from equipment 301,302 and 303 that judgement is obtained is successively greater than zero.At this, can often send according to actual needs after a Backup Data, the quota value from equipment of just revising total quota value and obtaining, for example, can deduct respectively a set point by total quota value and the quota value from equipment of obtaining.
In embodiments of the present invention, the present invention by arrange the total quota value of main equipment within a lock in time and at least one from equipment the quota value within a lock in time, be greater than zero in total quota value and the quota value from equipment obtained, the data to be backed up in main equipment are sent to quota value and are greater than zero back up the quota value from equipment of revising total quota value and obtaining from equipment.Like this, be eachly provided with a quota from equipment, can carry out the configuration of differentiation according to each difference from equipment and bandwidth situation, the utilization of resource can be maximized.Total quota of main equipment and from the use of equipment quota, can at utmost ensure that the no-load speed of system is controlled.While differing greatly when main equipment and from the Backup Data between equipment, can, by quota restrictions, main equipment can be synchronized to data to be backed up accordingly from equipment equably.In addition, main equipment can also move multiple synchronized process simultaneously, and each synchronized process is shared a quota of main equipment, thereby controlled can be synchronous in main equipment lock in time maximum amount of data, ensure the stable operation of business process, in the time closing certain synchronized process of main equipment, can revise quota, for example deduct a certain amount of quota of main equipment, and can't affect the synchronous of other main equipment processes.
Fig. 2 is the flow chart of steps of the synchronisation control means that provides of the embodiment of the present invention.Fig. 2 improves on the basis of Fig. 1.See also Fig. 2 and Fig. 3, the synchronisation control means of the embodiment of the present invention can comprise the following steps S200-S220:
Step S200: in the time that arrive in lock in time, arrange the total quota value of main equipment within a lock in time and at least one from equipment the quota value within a lock in time.
In this step, the data to be backed up from equipment (as shown in Figure 3 from equipment 301, from equipment 302, from equipment 303 etc.) for storage in backup master (main equipment 310 as shown in Figure 3).Can export according to main equipment the ability of data, for example, according to the bandwidth of main equipment, the total quota of main equipment within a lock in time is set.Can be according to each ability from equipment receiving data, for example according to each bandwidth from equipment arrange each from equipment the quota value within a lock in time.Quota value can be according to each main equipment, carry out the configuration of differentiation from difference and the bandwidth situation of equipment, and the utilization of resource can be maximized.The length of a lock in time can be carried out respective settings according to actual needs, and can be set to a unit interval for example lock in time.Total quota value and quota value can be for being greater than zero integer or other any number.
Step S201: judge in main equipment whether store available number section, if having, carry out step S202, if not, proceed step S201.
In this step, number section (number section 1 as shown in Figure 3, number section 2, number section N an etc.) continuous user's of ordinary representation ID scope, is to dispose or the base unit of migration.As every 100,000 continuous ID can be used as section one number.If the information that main equipment storage user uploads, number section of storing in main equipment is the continuous user's of the information of uploading ID scope.Judging while whether storing available number section in main equipment, first obtain alls sections of storing in main equipment, recirculation checks whether each's section can be used, if be set to can not be synchronous for certain number section, represents that this number section is unavailable.Can be synchronous if certain number section is set to, represent that this number section is available.
Step S202: obtain an available number section.
In this step, can from the available number section of main equipment storage, obtain an available number section.When initial synchronization, can select successively according to the numbering size of available number section.
Step S203: whether have available data to be backed up in number section that judgement is obtained.If have, carry out step S205, if nothing is carried out step S204.
In this step, in number section that circular test obtains, whether each data to be backed up can be used, if be set to can not be synchronous for some data to be backed up, represent that these data to be backed up are unavailable.Can be synchronous if some data to be backed up is set to, represent that these data to be backed up can use.For example the ID scope of the number of obtaining section be 1 to 100, within the scope of this ID of circular test, whether have available data to be backed up successively.
Step S204: obtain next available number section, and carry out step S203.
Step S205: according to available data to be backed up from least one from equipment, obtain one need to receive data to be backed up from equipment.
In this step, if in the time of initial synchronization, the numbering size from equipment that can receive as required data to be backed up while obtaining from equipment is selected successively.Can the pre-stored numbering from equipment in main equipment.Data to be backed up also can set in advance according to actual needs and will backup at least one one or more from equipment.If from the numbering of equipment since 1, the data in advance setting current to be backed up in main equipment to backup to be numbered 1,3,5 from equipment, in this step, can first obtain be numbered 1 data to be backed up that receive as needs from equipment from equipment.
Step S206: whether the total quota value that judges main equipment is greater than zero, if so, carries out step S207, if not, carries out step S217.
Step S207: whether the quota value from equipment that judgement is obtained is greater than zero, if so, carries out step S208, if not, carries out step S211.
Step S208: choose available data to be backed up from obtained number section, the data to be backed up of choosing are sent to obtained backing up from equipment.The quota value from equipment of revising total quota value and obtaining.
In this step, the quota value from equipment that can revise according to actual needs total quota value and obtain, for example, can deduct respectively a set point by total quota value and the quota value from equipment of obtaining.
Step S210: in number section that judgement is obtained, whether data to be backed up are all sent, and if so, carry out step S211, if not, carry out step S206.
Step S211: judge whether to also have need to receive data to be backed up in number section obtained from equipment, if having, carry out step S212.If not, carry out step S201.
Step S212: obtain the next one need to receive data to be backed up from equipment, carry out step S206.
In this step, if from the numbering of equipment since 1, data in advance setting current to be backed up in main equipment to backup to be numbered 1,3,5 from equipment, in this step, if be numbered 1 received data to be backed up from equipment, can obtain be numbered 3 or 5 from equipment as needs receive data to be backed up from equipment.
Step S217: end current data to be backed up in number section that simultaneous operation record obtain, number section obtained and obtain from equipment.
In this step, if total quota value is less than zero, end simultaneous operation, and number section obtained while ending simultaneous operation of record, while ending simultaneous operation current data to be backed up and obtain while ending simultaneous operation from equipment.If by second data to be backed up in number section 1 when being numbered 9 send from equipment, simultaneous operation is ended, in this step, the section of checking the number respectively 1, second data to be backed up and be numbered 9 record so that next simultaneous operation while starting, starts synchronously from synchronous termination from equipment.
Step S218: make main equipment wait for next lock in time, and judge whether arrive next lock in time, if so, carry out step S219, proceed if not step S218.
Step S219: arrange the total quota value of main equipment within this next lock in time and at least one from equipment the quota value within this next lock in time.
In this step, in the time that arrive in next lock in time, reset again the total quota value of main equipment within this lock in time and each from equipment the quota value within this lock in time.Its set-up mode is similar to the set-up mode in step S200, repeats no more herein.Also can be according to actual needs in the time that arrive in each lock in time, from equipment, the quota value within a lock in time automatically restores to an initial value with each to make total quota value of main equipment within a lock in time by setting.
Step S220: judge in number section recording whether record current data to be backed up, if nothing is carried out step S204, if having, carry out step S206.
In this step, if record current data to be backed up, the data current to be backed up of the recording mechanism section during from termination simultaneous operation start to back up, if do not record current data to be backed up, start backup from the data to be backed up of next one section.
In an embodiment of the present invention, the present invention by arrange the total quota value of main equipment within a lock in time and at least one from equipment the quota value within a lock in time, then by judging whether total quota value of main equipment and each quota value from equipment that judgement is obtained are successively greater than zero.If total quota value and the quota value from equipment obtained are greater than zero, the data to be backed up in main equipment are sent to successively to quota value and are greater than zero back up the quota value from equipment of revising total quota value and obtaining from equipment.If be also less than at 1 o'clock by total quota value of judgement main equipment, end simultaneous operation, and in number section obtained of record, number section obtained current data to be backed up and obtain from equipment, make main equipment wait for next lock in time, and in the time that arrive in next lock in time, arrange the total quota value of main equipment within this next lock in time and at least one from equipment the quota value within this next lock in time.The data current to be backed up of the recording mechanism section during again from termination simultaneous operation start to back up.Like this, be eachly provided with a quota from equipment, can carry out the configuration of differentiation according to each difference from equipment and bandwidth situation, the utilization of resource can be maximized.Total quota of main equipment and from the use of equipment quota, can at utmost ensure that the no-load speed of system is controlled.While differing greatly when main equipment and from the Backup Data between equipment, can, by quota restrictions, main equipment can be synchronized to data to be backed up accordingly from equipment equably.In addition, main equipment can also move multiple synchronized process simultaneously, and each synchronized process is shared a quota of main equipment, thereby controlled can be synchronous in main equipment lock in time maximum amount of data, ensure the stable operation of business process, in the time closing certain synchronized process of main equipment, can revise quota, for example deduct a certain amount of quota of main equipment, and can't affect the synchronous of other main equipment processes.And the present invention also can realize efficient recovery in the time ending simultaneous operation.
Fig. 4 is the main block architecture diagram of the sync control device of embodiment of the present invention proposition.Refer to Fig. 3, sync control device comprises: quota arranges module 401, acquisition module 403 and judge module 405.
More specifically, quota arranges module 401, arrange the total quota value of main equipment within a lock in time and at least one from equipment the quota value within lock in time.
In addition, judge module 405, also for judging whether data to be backed up are all sent; If so, judge whether need to receive in addition data to be backed up from equipment; If not, judge whether total quota value of main equipment and each quota value from equipment that judgement is obtained are successively greater than zero.
In addition, sync control device can also comprise: number section detection module 407 and replacement module 409.
Number section detection module 407, for judging whether main equipment stores available number section, if so, obtains an available number section, more whether has available data to be backed up in number section obtained of judgement; If have, carry out acquisition module 403.
In addition, number section detection module 407, if also for judging that main equipment does not store available number section, continues to judge in main equipment, whether to store available number section; If there is no available data to be backed up in selected section, obtain next available number section, then judge in number section of obtaining whether have available data to be backed up.
In addition, judge module 405, if also for judgement have need to receive data to be backed up from equipment, obtain the next one need to receive data to be backed up from equipment, then carry out judge whether total quota value of main equipment and the quota value from equipment that judgement is obtained are greater than zero.If judgement do not need to receive data to be backed up from equipment, whether judging in execution section detection module 407 stores available number section in main equipment.
In embodiments of the present invention, the present invention by arrange the total quota value of main equipment within a lock in time and at least one from equipment the quota value within a lock in time, then by judging whether total quota value of main equipment and each quota value from equipment that judgement is obtained are successively greater than zero.If total quota value and the quota value from equipment obtained are greater than zero, the data to be backed up in main equipment are sent to successively to quota value and are greater than zero back up the quota value from equipment of revising total quota value and obtaining from equipment.If be also less than at 1 o'clock by total quota value of judgement main equipment, end simultaneous operation, and in number section obtained of record, number section obtained current data to be backed up and obtain from equipment, make main equipment wait for next lock in time, and in the time that arrive in next lock in time, arrange the total quota value of main equipment within this next lock in time and at least one from equipment the quota value within this next lock in time.The data current to be backed up of the recording mechanism section during again from termination simultaneous operation start to back up.Like this, be eachly provided with a quota from equipment, can carry out the configuration of differentiation according to each difference from equipment and bandwidth situation, the utilization of resource can be maximized.Total quota of main equipment and from the use of equipment quota, can at utmost ensure that the no-load speed of system is controlled.While differing greatly when main equipment and from the Backup Data between equipment, can, by quota restrictions, main equipment can be synchronized to data to be backed up accordingly from equipment equably.In addition, main equipment can also move multiple synchronized process simultaneously, and each synchronized process is shared a quota of main equipment, thereby controlled can be synchronous in main equipment lock in time maximum amount of data, ensure the stable operation of business process, in the time closing certain synchronized process of main equipment, can revise quota, for example deduct a certain amount of quota of main equipment, and can't affect the synchronous of other main equipment processes.And the present invention also can realize efficient recovery in the time ending simultaneous operation.
One of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method, can control relevant hardware by computer program to complete, described program can be stored in a computer read/write memory medium, this program, in the time carrying out, can comprise as the flow process of the embodiment of above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
The above, it is only preferred embodiment of the present invention, not the present invention is done to any pro forma restriction, although the present invention discloses as above with preferred embodiment, but not in order to limit the present invention, any those skilled in the art, do not departing within the scope of technical solution of the present invention, when can utilizing the technology contents of above-mentioned announcement to make a little change or being modified to the equivalent embodiment of equivalent variations, in every case be not depart from technical solution of the present invention content, any simple modification of above embodiment being done according to technical spirit of the present invention, equivalent variations and modification, all still belong in the scope of technical solution of the present invention.
Claims (10)
1. a synchronisation control means, is characterized in that: comprise step:
Arrange the total quota value of main equipment within a lock in time and at least one from equipment the quota value within this lock in time, obtain the data to be backed up of this main equipment and according to these data to be backed up from this at least one from equipment, obtain corresponding with these data to be backed up each from equipment; And
Be greater than zero in total quota value and this quota value from equipment of obtaining, the data to be backed up in this main equipment be sent to quota value and be greater than zero back up from equipment, and revise this total quota value and this quota value from equipment of obtaining.
2. synchronisation control means according to claim 1, is characterized in that: the data to be backed up in this main equipment are sent to quota value and are greater than in zero back up from equipment carrying out, also comprise step:
Judge whether these data to be backed up are all sent;
If so, judge whether need to receive in addition these data to be backed up from equipment; And
If not, judge whether total quota value of this main equipment and each quota value from equipment that judgement is obtained are successively greater than zero.
3. synchronisation control means according to claim 1, is characterized in that: the total quota value of main equipment within a lock in time is set and at least onely the step of the quota value within this lock in time, also comprises step from equipment in execution:
Judge in this main equipment whether store available number section, if so, obtain an available number section; And
Judge in this number section of obtaining and whether have available data to be backed up; If have, carry out and obtain the data to be backed up of main equipment and at least one from equipment, obtain the each step from equipment corresponding with these data to be backed up according to these data to be backed up from this.
4. synchronisation control means according to claim 3, is characterized in that: also comprise step:
If do not store available number section in this main equipment, continue to carry out to judge the step that whether stores available number section in this main equipment; And
If there is no available data to be backed up in selected section, obtain next available number section, then execution judges the step that whether has available data to be backed up in this number section of obtaining.
5. synchronisation control means according to claim 3, is characterized in that: to be greater than zero situation in total quota value and this quota value from equipment of obtaining lower carrying out, and also comprises step:
Judge whether total quota value of this main equipment and each quota value from equipment that judgement is obtained are successively greater than zero;
If total quota value of main equipment is less than zero, end that current data to be backed up in number section that simultaneous operation record obtain, number section that this obtains and this obtain from equipment, make this main equipment wait for next lock in time, and judge whether this next one arrives lock in time;
If this next one arrives lock in time, arrange the total quota value of this main equipment within this next one lock in time and at least one from equipment the quota value within this next one lock in time; And
Judge in number section recording whether record current data to be backed up, if having, judge whether total quota value of this main equipment and each quota value from equipment that judgement is obtained are successively greater than zero step.
6. a sync control device, is characterized in that, it comprises:
Quota arranges module, for arrange the total quota value of main equipment within a lock in time and at least one from equipment the quota value within this lock in time;
Acquisition module, for obtain the data to be backed up of this main equipment and according to these data to be backed up from this at least one obtain from equipment corresponding with these data to be backed up each from equipment; And
Judge module, for being greater than zero in this total quota value and this quota value from equipment of obtaining, the data to be backed up in this main equipment are sent to quota value and are greater than zero back up from equipment, and revise this total quota value and this quota value from equipment of obtaining.
7. sync control device according to claim 6, is characterized in that, this judge module, also for judging whether these data to be backed up are all sent; If so, judge whether need to receive in addition these data to be backed up from equipment; If not, judge whether total quota value of this main equipment and each quota value from equipment that judgement is obtained are successively greater than zero.
8. sync control device according to claim 7, is characterized in that, it further comprises:
Number section detection module, for judging whether this main equipment stores available number section, if so, obtains an available number section, then judges in this number section of obtaining whether have available data to be backed up; If have, carry out this acquisition module.
9. sync control device according to claim 8, is characterized in that, this number section detection module, if if also do not store available number section for this main equipment of judgement, continue to judge whether store available number section in this main equipment; If there is no available data to be backed up in selected section, obtain next available number section, then judge in this number section of obtaining whether have available data to be backed up.
10. sync control device according to claim 9, is characterized in that, it further comprises:
Replacement module, if for judging that total quota value of main equipment is less than zero, end that current data to be backed up in number section that simultaneous operation record obtain, number section that this obtains and this obtain from equipment, make this main equipment wait for next lock in time, and judge whether this next one arrives lock in time; If this next one arrives lock in time, arrange the total quota value of this main equipment within this next one lock in time and at least one from equipment the quota value within this next one lock in time; Judge in number section recording whether record current data to be backed up, if having, carry out the total quota value that judges this main equipment in this judge module and judge successively whether each quota value from equipment of obtaining is greater than zero.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210517937.7A CN103856536B (en) | 2012-12-05 | 2012-12-05 | Synchronisation control means and sync control device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210517937.7A CN103856536B (en) | 2012-12-05 | 2012-12-05 | Synchronisation control means and sync control device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103856536A true CN103856536A (en) | 2014-06-11 |
CN103856536B CN103856536B (en) | 2018-01-09 |
Family
ID=50863743
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210517937.7A Active CN103856536B (en) | 2012-12-05 | 2012-12-05 | Synchronisation control means and sync control device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103856536B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111181791A (en) * | 2019-12-31 | 2020-05-19 | 浪潮电子信息产业股份有限公司 | Quota management method, device, equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1863008A (en) * | 2006-06-20 | 2006-11-15 | 杭州华为三康技术有限公司 | Method and apparatus for implementing data resources synchronization in distributed system |
US20070038697A1 (en) * | 2005-08-03 | 2007-02-15 | Eyal Zimran | Multi-protocol namespace server |
CN101036358A (en) * | 2004-08-27 | 2007-09-12 | 诺基亚公司 | System for selecting data from a data store based on utility of the data |
CN102447736A (en) * | 2011-11-17 | 2012-05-09 | 华中科技大学 | Management and control method for user quota in multi-network storage system |
-
2012
- 2012-12-05 CN CN201210517937.7A patent/CN103856536B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101036358A (en) * | 2004-08-27 | 2007-09-12 | 诺基亚公司 | System for selecting data from a data store based on utility of the data |
US20070038697A1 (en) * | 2005-08-03 | 2007-02-15 | Eyal Zimran | Multi-protocol namespace server |
CN1863008A (en) * | 2006-06-20 | 2006-11-15 | 杭州华为三康技术有限公司 | Method and apparatus for implementing data resources synchronization in distributed system |
CN102447736A (en) * | 2011-11-17 | 2012-05-09 | 华中科技大学 | Management and control method for user quota in multi-network storage system |
Non-Patent Citations (1)
Title |
---|
杜勇: "基于HDFS的云数据备份系统的设计与实现", 《中国优秀硕士学位论文全文数据库信息科技辑》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111181791A (en) * | 2019-12-31 | 2020-05-19 | 浪潮电子信息产业股份有限公司 | Quota management method, device, equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN103856536B (en) | 2018-01-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111124277B (en) | Deep learning data set caching method, system, terminal and storage medium | |
CN106354583B (en) | A kind of heat backup method and system of MySQL database | |
CN105187464B (en) | Method of data synchronization, apparatus and system in a kind of distributed memory system | |
CN109739929A (en) | Method of data synchronization, apparatus and system | |
CN106445414B (en) | Method and system for expanding available storage space of terminal equipment | |
EP2728471B1 (en) | Method and terminal for managing application | |
CN104468521B (en) | Online moving method, device and system | |
CN110334070A (en) | Data processing method, system, equipment and storage medium | |
CN107729515B (en) | Data synchronization method, device and storage medium | |
CN111651275A (en) | MySQL cluster automatic deployment system and method | |
CN105989139A (en) | Affair synchronization method and equipment | |
CN107704550A (en) | File migration method, apparatus and computer-readable recording medium | |
CN104348793A (en) | Storage server system and storage method for data information | |
CN106202082A (en) | The method and device of built-up foundation data buffer storage | |
CN105719414A (en) | POS terminal invoicing method and device, and invoicing server terminal | |
US10684875B2 (en) | Synchronization of a virtual machine across mobile devices | |
CN111459416B (en) | Distributed storage-based thermal migration system and migration method thereof | |
CN113296904A (en) | Distributed lock scheduling method and device in distributed system | |
CN112835862B (en) | Data synchronization method, device, system and storage medium | |
CN103856536A (en) | Synchronous control method and synchronous control device | |
US9286365B2 (en) | Data synchronizing system and method thereof | |
CN110825758B (en) | Transaction processing method and device | |
CN110019527A (en) | From library read method, relevant apparatus and equipment | |
CN105450679A (en) | Method and system for performing data cloud storage | |
CN111147226A (en) | Data storage method, device and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |