CN105183582A - Data backup method and device - Google Patents

Data backup method and device Download PDF

Info

Publication number
CN105183582A
CN105183582A CN201510461408.3A CN201510461408A CN105183582A CN 105183582 A CN105183582 A CN 105183582A CN 201510461408 A CN201510461408 A CN 201510461408A CN 105183582 A CN105183582 A CN 105183582A
Authority
CN
China
Prior art keywords
backup
traffic
service platform
time period
time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510461408.3A
Other languages
Chinese (zh)
Other versions
CN105183582B (en
Inventor
张平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201510461408.3A priority Critical patent/CN105183582B/en
Publication of CN105183582A publication Critical patent/CN105183582A/en
Application granted granted Critical
Publication of CN105183582B publication Critical patent/CN105183582B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides a data backup method and device. The method is applied to a service platform which supports multiple businesses and comprises the following steps: selecting a backup time quantum of the service platform; obtaining a backup booking log which records the backup business information in the backup time quantum; carrying out balanced arrangement on each backup business according to the backup business information recorded in the backup booking log so as to obtain a backup starting time of each backup business; and starting data backup for corresponding backup business according to each backup starting time. By adopting the data backup method and device provided by the invention, enough resource support can be provided for the data backup and backup termination or failure due to resource lack is not caused.

Description

Data back up method and device
Technical field
The present invention relates to field of computer technology, particularly relate to a kind of data back up method and device.
Background technology
Service platform can provide resource support for multinomial business, building database in service platform, the data needed for the business that stores in database performs.For the database of service platform, comprise the foundation of database, use, also comprise the backup of database.
Backup mode conventional is at present backed up by the time that data base administration person's subjectivity selection database is notr busy.Such as, the common general not busy time period, 2:00 AM is to 4 this time periods, and the crowd that this time period each business uses is less, and enough resource supports can be had to back up.
But this backup mode subjectivity is strong, if all business all select this time period, and all backs up from 2 o'clock, still can not ensure that there are enough resources the backup period, really likely because inadequate resource causes backup failure.
Summary of the invention
In view of the above problems, the present invention is proposed to provide a kind of overcoming the problems referred to above or the data back up method solved the problem at least in part and corresponding device.
According to an aspect of the present invention, embodiments provide a kind of data back up method, be applied to and support multiple services service platform, comprising:
Select the BACKUP TIME section of described service platform;
Obtain the backup traffic information backup reservation daily record of recording in described BACKUP TIME section;
According to each backup traffic information recorded in described backup reservation daily record, traffic balancing arrangement is carried out to each backup traffic, obtains the backup start-up time of each backup traffic;
According to each backup start-up time to the data backup of respective backup initiation of services.
Alternatively, described BACKUP TIME section is selected as follows:
The business that service platform is supported according to each time period, calculates the load state of service platform described in each time period;
The load state of service platform according to each time period calculated, determines that remaining load can support at least one time period of backup traffic; And
A time period is selected, as described BACKUP TIME section at least one time period described.
Alternatively, the business that service platform is supported according to each time period determined, calculates the load state of service platform described in each time period, comprising:
For any time period,
Obtain the single load information of each business that described service platform in this time period is supported;
According to the single load information of the comprehensive each business of set algorithm, calculate the load state of described service platform in this time period.
Alternatively, the load state of service platform according to each time period calculated, determine that remaining load can support at least one time period of backup traffic, comprising:
For any time period, utilize in the total capability for load of described service platform the load state removing the described service platform calculated, obtain remaining load; And the backup load demand of remaining load described in comparison and described backup traffic, wherein, can support described backup traffic when described remaining load is not less than described backup load demand;
Determine that remaining load is not less than at least one time period of described backup load demand.
Alternatively, the service appointment daily record of the business that described in each time period, service platform is supported historically described service platform service appointment time is determined.
Alternatively, according to each backup traffic information recorded in described backup reservation daily record, traffic balancing arrangement is carried out to each backup traffic, comprising:
According to the charge capacity of each backup traffic recorded in described backup reservation daily record, and the charge capacity of described service platform, traffic balancing arrangement is carried out to each backup traffic.
Alternatively, according to the charge capacity of each backup traffic recorded in described backup reservation daily record, and the charge capacity of described service platform, after traffic balancing arrangement is carried out to each backup traffic, also comprise:
According to the result that described traffic balancing arranges, each backup traffic is divided into multiple business cluster, for carrying out data backup in batches.
Alternatively, according to the result that described traffic balancing arranges, each backup traffic is divided into multiple business cluster, comprises:
According to the backup speed of described service platform, obtain the charge capacity that in the unit interval, described service platform can back up, in order to determine the rated weight capacity of each business cluster;
According to the charge capacity of each backup traffic, be respectively allocated to each business cluster.
Alternatively, described traffic balancing arrangement is carried out to each backup traffic, obtains the backup start-up time of each backup traffic, comprising:
Traffic balancing arrangement is carried out to each backup traffic, and determines at backup start-up time of first backup traffic and backup duration;
On the basis of backup start-up time of first backup traffic, add its backup duration described, obtain the backup start-up time in rear backup traffic.
According to another aspect of the present invention, embodiments provide a kind of data backup device, be applied to and support multiple services service platform, comprising:
Select module, be suitable for the BACKUP TIME section selecting described service platform;
Acquisition module, is suitable for obtaining the backup traffic information backup reservation daily record of recording in described BACKUP TIME section;
Traffic balancing module, is suitable for, according to each backup traffic information recorded in described backup reservation daily record, carrying out traffic balancing arrangement, obtain the backup start-up time of each backup traffic to each backup traffic;
Backup module, is suitable for according to each backup start-up time the data backup of respective backup initiation of services.
Alternatively, described selection module is also suitable for:
The business that service platform is supported according to each time period, calculates the load state of service platform described in each time period;
The load state of service platform according to each time period calculated, determines that remaining load can support at least one time period of backup traffic; And
A time period is selected, as described BACKUP TIME section at least one time period described.
Alternatively, described selection module is also suitable for:
For any time period,
Obtain the single load information of each business that described service platform in this time period is supported;
According to the single load information of the comprehensive each business of set algorithm, calculate the load state of described service platform in this time period.
Alternatively, described selection module is also suitable for:
For any time period, utilize in the total capability for load of described service platform the load state removing the described service platform calculated, obtain remaining load; And the backup load demand of remaining load described in comparison and described backup traffic, wherein, can support described backup traffic when described remaining load is not less than described backup load demand;
Determine that remaining load is not less than at least one time period of described backup load demand.
Alternatively, the service appointment daily record of the business that described in each time period, service platform is supported historically described service platform service appointment time is determined.
Alternatively, described traffic balancing module is also suitable for:
According to the charge capacity of each backup traffic recorded in described backup reservation daily record, and the charge capacity of described service platform, traffic balancing arrangement is carried out to each backup traffic.
Alternatively, described traffic balancing module is also suitable for:
According to the result that described traffic balancing arranges, each backup traffic is divided into multiple business cluster, for carrying out data backup in batches.
Alternatively, described traffic balancing module is also suitable for:
According to the backup speed of described service platform, obtain the charge capacity that in the unit interval, described service platform can back up, in order to determine the rated weight capacity of each business cluster;
According to the charge capacity of each backup traffic, be respectively allocated to each business cluster.
Alternatively, described traffic balancing module is also suitable for:
Traffic balancing arrangement is carried out to each backup traffic, and determines at backup start-up time of first backup traffic and backup duration;
On the basis of backup start-up time of first backup traffic, add its backup duration described, obtain the backup start-up time in rear backup traffic.
In embodiments of the present invention, after selecting the BACKUP TIME section of service platform, not all backup traffic is all back up from the start-up time of BACKUP TIME section, but go to obtain record backup traffic information backup reservation daily record, according to each backup traffic information, traffic balancing arrangement is carried out to backup traffic, give different backup start-up times by different backup traffic according to load, and then start the data backup operation of respective backup business start-up time according to each backup.Namely, in embodiments of the present invention, consider the equilibrium of backup traffic, each backup traffic is sorted in chronological order, realize backup operation in an orderly manner successively, avoid all business all to back up from start-up time, cause service platform load too high, the excessive situation even causing service platform to block or collapse of pressure, ensure that the order of backup traffic is carried out.And, sequence in chronological order in the present invention considers that each backup traffic information obtains, the information such as charge capacity, backup duration of such as backup traffic, ensure that the feasibility of time sequencing, also the large backup traffic of charge capacity can be avoided to concentrate on the same time period, thus making the resource backup of service platform can obtain utilizing more fully, the order further ensuring backup traffic is carried out.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to technological means of the present invention can be better understood, and can be implemented according to the content of instructions, and can become apparent, below especially exemplified by the specific embodiment of the present invention to allow above and other objects of the present invention, feature and advantage.
According to hereafter by reference to the accompanying drawings to the detailed description of the specific embodiment of the invention, those skilled in the art will understand above-mentioned and other objects, advantage and feature of the present invention more.
Accompanying drawing explanation
By reading hereafter detailed description of the preferred embodiment, various other advantage and benefit will become cheer and bright for those of ordinary skill in the art.Accompanying drawing only for illustrating the object of preferred implementation, and does not think limitation of the present invention.And in whole accompanying drawing, represent identical parts by identical reference symbol.In the accompanying drawings:
Fig. 1 shows the processing flow chart of data back up method according to an embodiment of the invention;
Fig. 2 shows the processing flow chart of BACKUP TIME section Dynamic calculation method according to an embodiment of the invention; And
Fig. 3 shows the structural representation of data backup device according to an embodiment of the invention.
Embodiment
Below with reference to accompanying drawings exemplary embodiment of the present disclosure is described in more detail.Although show exemplary embodiment of the present disclosure in accompanying drawing, however should be appreciated that can realize the disclosure in a variety of manners and not should limit by the embodiment set forth here.On the contrary, provide these embodiments to be in order to more thoroughly the disclosure can be understood, and complete for the scope of the present disclosure can be conveyed to those skilled in the art.
For solving the problems of the technologies described above, embodiments providing a kind of data back up method, being applied to and supporting multiple services service platform.It should be noted that, service platform is not the server of a platform independent, but is combined the server cluster formed by multiple servers, data volume is large, can support a large number of services, and certain relevance may be there is in each business, especially be applicable to the enterprises service that diversity business is provided.
Fig. 1 shows the processing flow chart of data back up method according to an embodiment of the invention.See Fig. 1, this data back up method at least comprises step S102 to step S108:
The BACKUP TIME section of step S102, selection service platform;
Step S104, the backup traffic information backup reservation daily record obtained in record BACKUP TIME section;
Step S106, according to each backup traffic information of recording in backup reservation daily record, traffic balancing arrangement is carried out to each backup traffic, obtains the backup start-up time of each backup traffic; And
Step S108, according to each backup start-up time to the data backup of respective backup initiation of services.
In embodiments of the present invention, after selecting the BACKUP TIME section of service platform, not all backup traffic is all back up from the start-up time of BACKUP TIME section, but go to obtain record backup traffic information backup reservation daily record, according to each backup traffic information, traffic balancing arrangement is carried out to backup traffic, give different backup start-up times by different backup traffic according to load, and then start the data backup operation of respective backup business start-up time according to each backup.Namely, in embodiments of the present invention, consider the equilibrium of backup traffic, each backup traffic is sorted in chronological order, realize backup operation in an orderly manner successively, avoid all business all to back up from start-up time, cause service platform load too high, the excessive situation even causing service platform to block or collapse of pressure, ensure that the order of backup traffic is carried out.And, sequence in chronological order in the present invention considers that each backup traffic information obtains, the information such as charge capacity, backup duration of such as backup traffic, ensure that the feasibility of time sequencing, also the large backup traffic of charge capacity can be avoided to concentrate on the same time period, thus making the resource backup of service platform can obtain utilizing more fully, the order further ensuring backup traffic is carried out.
Wherein, the selection of the BACKUP TIME section mentioned in step S102 can have numerous embodiments.Be be described a time period with every two hours in this example, such as, can randomness select 2:00-4:00 as BACKUP TIME section, also can be fixed on 4:00-6:00 as BACKUP TIME section, dynamic calculation can also go out optimal BACKUP TIME section.Now the mode of dynamic calculation is described in detail.Fig. 2 shows the processing flow chart of BACKUP TIME section Dynamic calculation method according to an embodiment of the invention.See Fig. 2, this data back up method at least comprises step S202 to step S206:
Step S202, the business supported according to each time period service platform, calculate the load state of each time period service platform;
The load state of each time period service platform that step S204, basis calculate, determines that remaining load can support at least one time period of backup traffic; And
Step S206, at least one time period, select a time period, as BACKUP TIME section.
In embodiments of the present invention, add up the business that each time period service platform is supported, calculate the real time load situation of each time period service platform.Subsequently, determine that remaining load can support at least one time period of backup traffic, and then select a time period to carry out data backup wherein.Namely, the embodiment of the present invention can determine the remaining load that each time period is real-time, and then the time period wherein can supporting backup traffic is selected in comparison, this makes the time period selected guarantee as data backup provides enough resource supports, backup will be caused to stop or failure because of inadequate resource.
Further, the embodiment of the present invention can time period that preferably remaining load is higher, except ensureing enough resource supports, can also idling-resource be fully made to be fully used, balance the total traffic of each time period, the service platform system overload avoiding wherein some time section to cause because of overload or collapse, ensure the synchronous operation of backup traffic and other original business.
See Fig. 2, step S202, when performing, needs the business supported according to each time period service platform determined, calculates the load state of each time period service platform.Wherein, the service appointment daily record of the business supported of each time period service platform historically service platform service appointment time is determined.Each business can in advance to service platform reserve resource, such as, business A needs load 10M, start to perform about 10 in advance, therefore, the service appointment daily record at service platform place can record all subscription informations, when needing the load state calculating each time period service platform, to the subscription information of inquiry business reservation daily record corresponding time period.
Particularly, for any time period, the single load information of each business that service platform is supported in this time period first to be obtained.
Such as, 8 o'clock to 10 o'clock these time periods, service platform supporting business A, business B and business C, wherein, the load of business A is 10M, and the execution time is 2 hours, and the load of business B is 100M, execution time is 2 hours, and the load of business C is 30M, and the execution time is 2 hours.It should be noted that, load information not only comprises charge capacity and execution time, also comprise many key elements that the start-up time of business, end time, operating rate, repercussion duration etc. can affect load, example is only used for exemplifying above, does not cause any restriction to business and load information itself.
Secondly, according to the single load information of the comprehensive each business of set algorithm, the load state of service platform in this time period is calculated.Mention above, the information such as start time, end time, duration, repercussion duration, charge capacity of different business is all not identical, therefore, should possess different algorithms for different situations, with the single load information of comprehensive each business, calculate the load state of service platform in this time period.Still for business A, B, C, suppose that the business start time is 8 points, and adopt the simplest superposition algorithm, so, at 8 o'clock to 10 o'clock, the charge capacity of service platform is 140M.In this embodiment, the execution time information of business A-C is identical, if different, such as A business only performs 1 hour, then need the weights determining business A-C, carries out use weights integrated approach, to calculate the load state of this time period service platform.
Further, according to the load state of each time period service platform calculated in step S202, determine that remaining load can support at least one time period of backup traffic.Particularly, for any time period, the total capability for load of utilization service platform removes the load state of the service platform calculated, and obtains remaining load; And the backup load demand of comparison remaining load and backup traffic, wherein, can support backup traffic when remaining load is not less than backup load demand.Subsequently, determine that remaining load is not less than at least one time period of backup load demand.If backup traffic needs 100M, then remaining load must be not less than 100M and can realize backup operation, if be less than, then can cause and backup to half and cannot complete, lose non-Backup Data easily, heavy then whole backup operation is all wiped free of, and even may have influence on the stability of system, causes cannot performing of other business.
The each backup traffic information according to recording in backup reservation daily record is mentioned in step S106, traffic balancing arrangement is carried out to each backup traffic, particularly, the embodiment of the present invention can according to the charge capacity of each backup traffic recorded in backup reservation daily record, and the charge capacity of service platform, traffic balancing arrangement is carried out to each backup traffic.Such as, the charge capacity of service platform is 1G, and the charge capacity sum of so simultaneously carrying out backup traffic just can not more than 1G.If for the sake of security, for the charge capacity of service platform, a threshold exponent can be set, such as 0.8, so, when the charge capacity sum of backup traffic reaches 0.8G, just cannot increase other business again, ensure the stability of traffic load balance and service platform.
In embodiments of the present invention, preferably, after the result obtaining traffic balancing arrangement, each backup traffic can be divided into multiple business cluster according to this result, for carrying out data backup in batches.Particularly, according to the charge capacity of the backup speed of service platform and each backup traffic, multiple backup traffic can be divided into multiple business cluster, and then in batches each business cluster be backed up.When implementing, preferably, can according to the backup speed of service platform, obtain the charge capacity that in the unit interval, service platform can back up, in order to determine the rated weight capacity of each business cluster, subsequently, according to the charge capacity of each backup traffic, be respectively allocated to each business cluster.That is, can classify to backup traffic, several less for charge capacity backup traffic are classified as a class, synchronously perform, by backup traffic larger for charge capacity can single or a few be classified as a class, synchronously perform.The classification manner of execution of backup traffic can make the data volume often criticizing backup traffic remain in a controlled range, and make backup operation smooth and easy, BACKUP TIME is controlled, synchronously can not perform cause traffic congestion because of all backup traffic.Such as, have ten little business, the Backup Data of each business is only tens of K, also possesses a moderate traffic, the Backup Data of this business is 20M, have the business that large in addition, Backup Data is 1G, so considers the backup speed of service platform, ten little business can be divided into one group, synchronous execution, and moderate traffic and large business are classified as one group respectively, perform respectively.Citing herein, only for exemplifying the backup traffic of different stage, does not all cause any restriction for the data volume of practical business, the backup speed etc. of service platform.
In addition, it should be noted that, in embodiments of the present invention, step S106 is after obtaining backup start-up time of each backup traffic, backup can be notified concrete user place start-up time, inform that the time of specifying in certain starts to back up by its business of user.Wherein, the determination of backup start-up time relies at backup start-up time of first backup traffic and backup duration, if first backup traffic, do not exist in first backup traffic, then only calculate backup duration, and for second batch backup traffic, the basis that its backup equals backup start-up time of first backup traffic start-up time adds the backup duration of first backup traffic, the 3rd batch of backup traffic then adds the backup duration of second batch backup traffic on the basis of backup start-up time of second batch backup traffic, by that analogy.Such as, using 2:00-4:00 as BACKUP TIME section, business A, B, C tri-business are backed up successively, the BACKUP TIME of business A is 20 minutes, so its BACKUP TIME is the BACKUP TIME of 2:00-2:20, business B is 40 minutes, and so its BACKUP TIME is 2:20-3:00, the BACKUP TIME of business C is 30 minutes, and so its BACKUP TIME is 3:00-3:30.As can be seen here, adopt the embodiment of the present invention different business can be carried out traffic balancing in BACKUP TIME section, stagger BACKUP TIME, ensures carrying out smoothly of backup traffic.
In addition, the notification means for user can have multiple, such as mail notification, SMS notification, system message prompting etc.User can understand the BACKUP TIME of business intuitively and accurately, can select to avoid BACKUP TIME as far as possible and carry out business operation, further ensure the smooth and easy of business itself.
Based on same inventive concept, the embodiment of the present invention additionally provides a kind of data backup device, is applied to and supports multiple services service platform.Fig. 3 shows the structural representation of data backup device according to an embodiment of the invention.See Fig. 3, this data backup device at least comprises:
Select module 310, be suitable for the BACKUP TIME section selecting service platform;
Acquisition module 320, is coupled with selection module 310, is suitable for the backup traffic information backup reservation daily record obtained in record BACKUP TIME section;
Traffic balancing module 330, is coupled with acquisition module 320, is suitable for, according to each backup traffic information recorded in backup reservation daily record, carrying out traffic balancing arrangement, obtain the backup start-up time of each backup traffic to each backup traffic;
Backup module 340, is coupled with traffic balancing module 330, is suitable for according to each backup start-up time the data backup of respective backup initiation of services.
In a preferred embodiment, module 310 is selected also to be suitable for:
According to the business that each time period service platform is supported, calculate the load state of each time period service platform;
According to the load state of each time period service platform calculated, determine that remaining load can support at least one time period of backup traffic; And
A time period is selected, as BACKUP TIME section at least one time period.
In a preferred embodiment, module 310 is selected also to be suitable for:
For any time period,
Obtain the single load information of each business that service platform in this time period is supported;
According to the single load information of the comprehensive each business of set algorithm, calculate the load state of service platform in this time period.
In a preferred embodiment, module 310 is selected also to be suitable for:
For any time period, remove the load state of the service platform calculated in the total capability for load of utilization service platform, obtain remaining load; And the backup load demand of comparison remaining load and backup traffic, wherein, can support backup traffic when remaining load is not less than backup load demand;
Determine that remaining load is not less than at least one time period of backup load demand.
In a preferred embodiment, the service appointment daily record of the business supported of each time period service platform historically service platform service appointment time is determined.
In a preferred embodiment, traffic balancing module 330 is also suitable for:
According to the charge capacity of each backup traffic recorded in backup reservation daily record, and the charge capacity of service platform, traffic balancing arrangement is carried out to each backup traffic.
In a preferred embodiment, traffic balancing module 330 is also suitable for:
According to the result that traffic balancing arranges, each backup traffic is divided into multiple business cluster, for carrying out data backup in batches.
In a preferred embodiment, traffic balancing module 330 is also suitable for:
According to the backup speed of service platform, obtain the charge capacity that in the unit interval, service platform can back up, in order to determine the rated weight capacity of each business cluster;
According to the charge capacity of each backup traffic, be respectively allocated to each business cluster.
In a preferred embodiment, traffic balancing module 330 is also suitable for:
Traffic balancing arrangement is carried out to each backup traffic, and determines at backup start-up time of first backup traffic and backup duration;
Adding its backup duration on the basis of backup start-up time of first backup traffic, obtain the backup start-up time in rear backup traffic.
The data back up method adopting the embodiment of the present invention to provide and device can reach following beneficial effect:
In embodiments of the present invention, after selecting the BACKUP TIME section of service platform, not all backup traffic is all back up from the start-up time of BACKUP TIME section, but go to obtain record backup traffic information backup reservation daily record, according to each backup traffic information, traffic balancing arrangement is carried out to backup traffic, give different backup start-up times by different backup traffic according to load, and then start the data backup operation of respective backup business start-up time according to each backup.Namely, in embodiments of the present invention, consider the equilibrium of backup traffic, each backup traffic is sorted in chronological order, realize backup operation in an orderly manner successively, avoid all business all to back up from start-up time, cause service platform load too high, the excessive situation even causing service platform to block or collapse of pressure, ensure that the order of backup traffic is carried out.And, sequence in chronological order in the present invention considers that each backup traffic information obtains, the information such as charge capacity, backup duration of such as backup traffic, ensure that the feasibility of time sequencing, also the large backup traffic of charge capacity can be avoided to concentrate on the same time period, thus making the resource backup of service platform can obtain utilizing more fully, the order further ensuring backup traffic is carried out.
In instructions provided herein, describe a large amount of detail.But can understand, embodiments of the invention can be put into practice when not having these details.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand in each inventive aspect one or more, in the description above to exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or the description to it sometimes.But, the method for the disclosure should be construed to the following intention of reflection: namely the present invention for required protection requires feature more more than the feature clearly recorded in each claim.Or rather, as claims below reflect, all features of disclosed single embodiment before inventive aspect is to be less than.Therefore, the claims following embodiment are incorporated to this embodiment thus clearly, and wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and adaptively can change the module in the equipment in embodiment and they are arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and multiple submodule or subelement or sub-component can be put them in addition.Except at least some in such feature and/or process or unit be mutually repel except, any combination can be adopted to combine all processes of all features disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) and so disclosed any method or equipment or unit.Unless expressly stated otherwise, each feature disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) can by providing identical, alternative features that is equivalent or similar object replaces.
In addition, those skilled in the art can understand, although embodiments more described herein to comprise in other embodiment some included feature instead of further feature, the combination of the feature of different embodiment means and to be within scope of the present invention and to form different embodiments.Such as, in detail in the claims, the one of any of embodiment required for protection can use with arbitrary array mode.
All parts embodiment of the present invention with hardware implementing, or can realize with the software module run on one or more processor, or realizes with their combination.It will be understood by those of skill in the art that the some or all functions that microprocessor or digital signal processor (DSP) can be used in practice to realize according to the some or all parts in the data backup device of the embodiment of the present invention.The present invention can also be embodied as part or all equipment for performing method as described herein or device program (such as, computer program and computer program).Realizing program of the present invention and can store on a computer-readable medium like this, or the form of one or more signal can be had.Such signal can be downloaded from internet website and obtain, or provides on carrier signal, or provides with any other form.
The present invention will be described instead of limit the invention to it should be noted above-described embodiment, and those skilled in the art can design alternative embodiment when not departing from the scope of claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and does not arrange element in the claims or step.Word "a" or "an" before being positioned at element is not got rid of and be there is multiple such element.The present invention can by means of including the hardware of some different elements and realizing by means of the computing machine of suitably programming.In the unit claim listing some devices, several in these devices can be carry out imbody by same hardware branch.Word first, second and third-class use do not represent any order.Can be title by these word explanations.
So far, those skilled in the art will recognize that, although multiple exemplary embodiment of the present invention is illustrate and described herein detailed, but, without departing from the spirit and scope of the present invention, still can directly determine or derive other modification many or amendment of meeting the principle of the invention according to content disclosed by the invention.Therefore, scope of the present invention should be understood and regard as and cover all these other modification or amendments.
Based on one aspect of the present invention, the invention discloses A1, a kind of data back up method, be applied to and support multiple services service platform, comprising:
Select the BACKUP TIME section of described service platform;
Obtain the backup traffic information backup reservation daily record of recording in described BACKUP TIME section;
According to each backup traffic information recorded in described backup reservation daily record, traffic balancing arrangement is carried out to each backup traffic, obtains the backup start-up time of each backup traffic;
According to each backup start-up time to the data backup of respective backup initiation of services.
A2, method according to A1, wherein, described BACKUP TIME section is selected as follows:
The business that service platform is supported according to each time period, calculates the load state of service platform described in each time period;
The load state of service platform according to each time period calculated, determines that remaining load can support at least one time period of backup traffic; And
A time period is selected, as described BACKUP TIME section at least one time period described.
A3, method according to A2, wherein, the business that service platform is supported according to each time period determined, calculates the load state of service platform described in each time period, comprising:
For any time period,
Obtain the single load information of each business that described service platform in this time period is supported;
According to the single load information of the comprehensive each business of set algorithm, calculate the load state of described service platform in this time period.
A4, method according to A2 or A3, wherein, the load state of service platform according to each time period calculated, determine that remaining load can support at least one time period of backup traffic, comprising:
For any time period, utilize in the total capability for load of described service platform the load state removing the described service platform calculated, obtain remaining load; And the backup load demand of remaining load described in comparison and described backup traffic, wherein, can support described backup traffic when described remaining load is not less than described backup load demand;
Determine that remaining load is not less than at least one time period of described backup load demand.
A5, method according to any one of A2 to A4, wherein, the service appointment daily record of the business that described in each time period, service platform is supported historically described service platform service appointment time is determined.
A6, method according to any one of A1 to A5, wherein, according to each backup traffic information recorded in described backup reservation daily record, traffic balancing arrangement is carried out to each backup traffic, comprising:
According to the charge capacity of each backup traffic recorded in described backup reservation daily record, and the charge capacity of described service platform, traffic balancing arrangement is carried out to each backup traffic.
A7, method according to A6, wherein, according to the charge capacity of each backup traffic recorded in described backup reservation daily record, and the charge capacity of described service platform, after traffic balancing arrangement is carried out to each backup traffic, also comprise:
According to the result that described traffic balancing arranges, each backup traffic is divided into multiple business cluster, for carrying out data backup in batches.
A8, method according to A7, wherein, according to the result that described traffic balancing arranges, be divided into multiple business cluster by each backup traffic, comprise:
According to the backup speed of described service platform, obtain the charge capacity that in the unit interval, described service platform can back up, in order to determine the rated weight capacity of each business cluster;
According to the charge capacity of each backup traffic, be respectively allocated to each business cluster.
A9, method according to any one of A1 to A8, wherein, described traffic balancing arrangement is carried out to each backup traffic, obtain the backup start-up time of each backup traffic, comprising:
Traffic balancing arrangement is carried out to each backup traffic, and determines at backup start-up time of first backup traffic and backup duration;
On the basis of backup start-up time of first backup traffic, add its backup duration described, obtain the backup start-up time in rear backup traffic.
Based on another aspect of the present invention, the invention also discloses B10, a kind of data backup device, be applied to and support multiple services service platform, comprising:
Select module, be suitable for the BACKUP TIME section selecting described service platform;
Acquisition module, is suitable for obtaining the backup traffic information backup reservation daily record of recording in described BACKUP TIME section;
Traffic balancing module, is suitable for, according to each backup traffic information recorded in described backup reservation daily record, carrying out traffic balancing arrangement, obtain the backup start-up time of each backup traffic to each backup traffic;
Backup module, is suitable for according to each backup start-up time the data backup of respective backup initiation of services.
B11, device according to B10, wherein, described selection module is also suitable for:
The business that service platform is supported according to each time period, calculates the load state of service platform described in each time period;
The load state of service platform according to each time period calculated, determines that remaining load can support at least one time period of backup traffic; And
A time period is selected, as described BACKUP TIME section at least one time period described.
B12, device according to B11, wherein, described selection module is also suitable for:
For any time period,
Obtain the single load information of each business that described service platform in this time period is supported;
According to the single load information of the comprehensive each business of set algorithm, calculate the load state of described service platform in this time period.
B13, device according to B11 or B12, wherein, described selection module is also suitable for:
For any time period, utilize in the total capability for load of described service platform the load state removing the described service platform calculated, obtain remaining load; And the backup load demand of remaining load described in comparison and described backup traffic, wherein, can support described backup traffic when described remaining load is not less than described backup load demand;
Determine that remaining load is not less than at least one time period of described backup load demand.
B14, device according to any one of B11 to B13, wherein, the service appointment daily record of the business that described in each time period, service platform is supported historically described service platform service appointment time is determined.
B15, device according to any one of B10 to B14, wherein, described traffic balancing module is also suitable for:
According to the charge capacity of each backup traffic recorded in described backup reservation daily record, and the charge capacity of described service platform, traffic balancing arrangement is carried out to each backup traffic.
B16, device according to B15, wherein, described traffic balancing module is also suitable for:
According to the result that described traffic balancing arranges, each backup traffic is divided into multiple business cluster, for carrying out data backup in batches.
B17, device according to B16, wherein, described traffic balancing module is also suitable for:
According to the backup speed of described service platform, obtain the charge capacity that in the unit interval, described service platform can back up, in order to determine the rated weight capacity of each business cluster;
According to the charge capacity of each backup traffic, be respectively allocated to each business cluster.
B18, method according to any one of B10 to B17, wherein, described traffic balancing module is also suitable for:
Traffic balancing arrangement is carried out to each backup traffic, and determines at backup start-up time of first backup traffic and backup duration;
On the basis of backup start-up time of first backup traffic, add its backup duration described, obtain the backup start-up time in rear backup traffic.

Claims (10)

1. a data back up method, is applied to and supports multiple services service platform, comprising:
Select the BACKUP TIME section of described service platform;
Obtain the backup traffic information backup reservation daily record of recording in described BACKUP TIME section;
According to each backup traffic information recorded in described backup reservation daily record, traffic balancing arrangement is carried out to each backup traffic, obtains the backup start-up time of each backup traffic;
According to each backup start-up time to the data backup of respective backup initiation of services.
2. method according to claim 1, wherein, described BACKUP TIME section is selected as follows:
The business that service platform is supported according to each time period, calculates the load state of service platform described in each time period;
The load state of service platform according to each time period calculated, determines that remaining load can support at least one time period of backup traffic; And
A time period is selected, as described BACKUP TIME section at least one time period described.
3. method according to claim 2, wherein, the business that service platform is supported according to each time period determined, calculates the load state of service platform described in each time period, comprising:
For any time period,
Obtain the single load information of each business that described service platform in this time period is supported;
According to the single load information of the comprehensive each business of set algorithm, calculate the load state of described service platform in this time period.
4. according to the method in claim 2 or 3, wherein, the load state of service platform according to each time period calculated, determine that remaining load can support at least one time period of backup traffic, comprising:
For any time period, utilize in the total capability for load of described service platform the load state removing the described service platform calculated, obtain remaining load; And the backup load demand of remaining load described in comparison and described backup traffic, wherein, can support described backup traffic when described remaining load is not less than described backup load demand;
Determine that remaining load is not less than at least one time period of described backup load demand.
5. the method according to any one of claim 2 to 4, wherein, the service appointment daily record of the business that described in each time period, service platform is supported historically described service platform service appointment time is determined.
6. the method according to any one of claim 1 to 5, wherein, according to each backup traffic information recorded in described backup reservation daily record, traffic balancing arrangement is carried out to each backup traffic, comprising:
According to the charge capacity of each backup traffic recorded in described backup reservation daily record, and the charge capacity of described service platform, traffic balancing arrangement is carried out to each backup traffic.
7. method according to claim 6, wherein, according to the charge capacity of each backup traffic recorded in described backup reservation daily record, and the charge capacity of described service platform, after traffic balancing arrangement is carried out to each backup traffic, also comprise:
According to the result that described traffic balancing arranges, each backup traffic is divided into multiple business cluster, for carrying out data backup in batches.
8. method according to claim 7, wherein, according to the result that described traffic balancing arranges, is divided into multiple business cluster by each backup traffic, comprises:
According to the backup speed of described service platform, obtain the charge capacity that in the unit interval, described service platform can back up, in order to determine the rated weight capacity of each business cluster;
According to the charge capacity of each backup traffic, be respectively allocated to each business cluster.
9. the method according to any one of claim 1 to 8, wherein, described traffic balancing arrangement is carried out to each backup traffic, obtain the backup start-up time of each backup traffic, comprising:
Traffic balancing arrangement is carried out to each backup traffic, and determines at backup start-up time of first backup traffic and backup duration;
On the basis of backup start-up time of first backup traffic, add its backup duration described, obtain the backup start-up time in rear backup traffic.
10. a data backup device, is applied to and supports multiple services service platform, comprising:
Select module, be suitable for the BACKUP TIME section selecting described service platform;
Acquisition module, is suitable for obtaining the backup traffic information backup reservation daily record of recording in described BACKUP TIME section;
Traffic balancing module, is suitable for, according to each backup traffic information recorded in described backup reservation daily record, carrying out traffic balancing arrangement, obtain the backup start-up time of each backup traffic to each backup traffic;
Backup module, is suitable for according to each backup start-up time the data backup of respective backup initiation of services.
CN201510461408.3A 2015-07-30 2015-07-30 Data back up method and device Active CN105183582B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510461408.3A CN105183582B (en) 2015-07-30 2015-07-30 Data back up method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510461408.3A CN105183582B (en) 2015-07-30 2015-07-30 Data back up method and device

Publications (2)

Publication Number Publication Date
CN105183582A true CN105183582A (en) 2015-12-23
CN105183582B CN105183582B (en) 2019-03-08

Family

ID=54905676

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510461408.3A Active CN105183582B (en) 2015-07-30 2015-07-30 Data back up method and device

Country Status (1)

Country Link
CN (1) CN105183582B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107851052A (en) * 2016-07-12 2018-03-27 华为技术有限公司 A kind of apparatus and method for being used for the data of computing device in backup computer network
CN111008188A (en) * 2019-10-29 2020-04-14 平安科技(深圳)有限公司 Data migration method and device, computer equipment and storage medium
CN113778649A (en) * 2021-09-14 2021-12-10 杭州沃趣科技股份有限公司 Multi-backup task dynamic scheduling method, device, equipment and medium
CN114138554A (en) * 2021-11-22 2022-03-04 深圳市远飞网络科技有限公司 Wireless AP configuration information backup and system recovery control system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030229653A1 (en) * 2002-06-06 2003-12-11 Masashi Nakanishi System and method for data backup
CN101582818A (en) * 2008-05-12 2009-11-18 株式会社Ntt都科摩 Method and device for reducing spending of control signal in mixed wireless network
CN104778080A (en) * 2014-01-14 2015-07-15 中兴通讯股份有限公司 Job scheduling processing method and device based on coprocessor

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030229653A1 (en) * 2002-06-06 2003-12-11 Masashi Nakanishi System and method for data backup
CN101582818A (en) * 2008-05-12 2009-11-18 株式会社Ntt都科摩 Method and device for reducing spending of control signal in mixed wireless network
CN104778080A (en) * 2014-01-14 2015-07-15 中兴通讯股份有限公司 Job scheduling processing method and device based on coprocessor

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107851052A (en) * 2016-07-12 2018-03-27 华为技术有限公司 A kind of apparatus and method for being used for the data of computing device in backup computer network
CN111008188A (en) * 2019-10-29 2020-04-14 平安科技(深圳)有限公司 Data migration method and device, computer equipment and storage medium
CN111008188B (en) * 2019-10-29 2023-08-15 平安科技(深圳)有限公司 Data migration method, device, computer equipment and storage medium
CN113778649A (en) * 2021-09-14 2021-12-10 杭州沃趣科技股份有限公司 Multi-backup task dynamic scheduling method, device, equipment and medium
CN114138554A (en) * 2021-11-22 2022-03-04 深圳市远飞网络科技有限公司 Wireless AP configuration information backup and system recovery control system

Also Published As

Publication number Publication date
CN105183582B (en) 2019-03-08

Similar Documents

Publication Publication Date Title
CN107391142B (en) Application splitting method and device
CN105183582A (en) Data backup method and device
CN103838867A (en) Log processing method and device
CN102682059A (en) Method and system for distributing users to clusters
CN101937474A (en) Mass data query method and device
CN103678408A (en) Method and device for inquiring data
CN104572727A (en) Data querying method and device
CN106055630A (en) Log storage method and device
CN110233741B (en) Service charging method, device, equipment and storage medium
CN104866556A (en) Database fault handling method and apparatus, and database system
CN102129425A (en) Method and device for accessing large-object set table in data warehouse
CN109634951B (en) Big data acquisition method, device, computer equipment and storage medium
CN104408640A (en) Application software recommending method and apparatus
CN105528454A (en) Log treatment method and distributed cluster computing device
CN105814864B (en) A kind of input and output I/O request processing method and file server
CN106649602A (en) Way, device and server of processing business object data
CN106254443A (en) Information push method and device
CN111585798A (en) Network resource parameter configuration method, device and computer readable storage medium
CN110519317B (en) Data transmission method and equipment
CN104063374A (en) Data deduplication method and equipment
CN103810296A (en) Information management method, information management device and electronic equipment
CN111625561A (en) Data query method and device
CN111382155B (en) Data processing method of data warehouse, electronic equipment and medium
CN110008398B (en) Data classification management recommendation method and device
CN115422169B (en) Data warehouse construction method and device based on commercial advertisement scene

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
TR01 Transfer of patent right

Effective date of registration: 20220718

Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.

TR01 Transfer of patent right