CN111382013A - Method and device for automatically adjusting initiation time of timing backup operation - Google Patents

Method and device for automatically adjusting initiation time of timing backup operation Download PDF

Info

Publication number
CN111382013A
CN111382013A CN202010200083.4A CN202010200083A CN111382013A CN 111382013 A CN111382013 A CN 111382013A CN 202010200083 A CN202010200083 A CN 202010200083A CN 111382013 A CN111382013 A CN 111382013A
Authority
CN
China
Prior art keywords
production application
production
module
application
backup
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010200083.4A
Other languages
Chinese (zh)
Inventor
梁思
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen 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 Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN202010200083.4A priority Critical patent/CN111382013A/en
Publication of CN111382013A publication Critical patent/CN111382013A/en
Priority to PCT/CN2020/118895 priority patent/WO2021184724A1/en
Pending legal-status Critical Current

Links

Images

Classifications

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the invention provides a method and a device for automatically adjusting the initiation time of a timing backup operation, wherein evaluation is initiated according to a preset initiation time point of a backup strategy to acquire a production application state and/or acquire the whole load of a production application and acquire a production environment; superposing data to be backed up to the front of a production application and superposing the data to be backed up to the back of the production application; when the production application state and/or the overall load and the production environment of the production application are not within a preset range, reinitiating the evaluation; and when the state of the production application and/or the overall load and the production environment of the production application are within the preset range, the production application starts to backup. The invention can automatically avoid the time which is not suitable for backup, such as maintenance time period and fault time period, automatically avoid the time with larger load of production environment, simulate the load generated by backup, integrally improve the success rate of backup and reduce ineffective backup.

Description

Method and device for automatically adjusting initiation time of timing backup operation
Technical Field
The invention relates to the technical field of backup data, in particular to a method and a device for automatically adjusting the initiation time of a timing backup operation.
Background
With the advent of the information age, data security is more and more emphasized by people, wherein data backup can be an effective means for ensuring data security. At present, the information technology industry is rapidly developed, the data volume generated by enterprises, organizations and individuals is increased day by day, and people live in an era with data growth faster than ever before. In 2012, google has a data center with the total amount of millions of servers worldwide, 33 hundred million search requests are processed each day on average, and user-generated data to be processed each month exceeds 400 PB; in the same year, the facebook website publishes that the data center thereof receives 3 hundred million pictures uploaded by users on average every day, and the newly added data in the database also exceeds 500 TB. The global data volume will reach 44ZB, which is 10 times as large as 2013. The 4V characteristics contained in the massive data, namely large volume, multiple modes, high speed and low value density, are the difficulties and the complexities of large data management and information extraction. With the comprehensive informatization of the society, the society enters a big data era, and the traditional data backup and storage capacity is weak.
In the prior art, a scheduling method based on backup task running time estimation in a distributed computing big data platform is related, and belongs to the technical field of cloud computing platform optimization. The method adopts the bandwidth sensing capability of a switched digital network, establishes a BWRE (backup task running time estimation model) backup task running time estimation model, and optimizes a backup task scheduling method based on a backup task speculative execution mechanism; by comparing the remaining time of adding the slow task when the task tracker allocates the backup task for the node task requester TaskTracker with the estimated running time of the pre-started backup task on the TTi (the ith process entity TaskTracker), the credibility of the backup task is increased, namely the backup task is believed to be finished earlier than the original slow task, so that the efficiency of the backup task is improved.
The existing product cannot judge the application state of backup, if the application state is special or an emergency occurs, the backup fails, the overall load of production application is higher when the data is supplemented again, or the data is deleted during the supplement, so that the data is lost; the existing product cannot judge the load of the current production condition, if the whole load of the production application reaches the maximum bearing value, the backup load is added to the production condition again, the production condition exceeds the load, the backup fails or the application is caused to have abnormal condition; during backup, whether the size of the backed-up data meets the load of the current production condition or not cannot be judged, the pressure of the backup is greater than the maximum load which can be borne by the current production environment, the production condition exceeds the load, the backup fails or the abnormal condition of the application is caused; the backup and production environments are two independent individuals and are not connected with each other, if necessary, manual adjustment and timing backup time resetting are needed, and a production environment manager and a backup manager need to be coordinated and communicated with each other, so that time and labor are wasted.
Disclosure of Invention
In view of the above problems, embodiments of the present invention are proposed to provide a method and apparatus for automatically adjusting the initiation time of a timed backup job, which overcome or at least partially solve the above problems.
In order to solve the problems, the invention discloses a method and a device for automatically adjusting the initiation time of timing backup operation, which comprises the steps of initiating evaluation according to a preset initiation time point of a backup strategy, and acquiring the state of a production application and/or acquiring the integral load of the production application and acquiring the production environment;
superposing data to be backed up to the front of a production application and superposing the data to be backed up to the back of the production application;
when the production application state and/or the overall load and the production environment of the production application are not within a preset range, reinitiating the evaluation;
and when the state of the production application and/or the overall load and the production environment of the production application are within the preset range, the production application starts to backup.
Preferably, the restarting the evaluation when the state of the production application and/or the overall load and the production environment of the production application are not within a preset range after the data to be backed up is overlaid to the production application and before the data to be backed up is overlaid to the production application, includes:
the data to be backed up is superposed to the front of the production application;
when the production application state is a non-external service state;
the production application state is not within a preset range.
Preferably, the restarting the evaluation when the state of the production application and/or the overall load and the production environment of the production application are not within a preset range after the data to be backed up is overlaid to the production application and before the data to be backed up is overlaid to the production application, includes:
the backup data is superposed to the front of the production application;
when the overall load of the production application exceeds the maximum load bearing of the production application;
the overall load of the production application is not within a preset range.
Preferably, the restarting the evaluation when the state of the production application and/or the overall load and the production environment of the production application are not within a preset range after the data to be backed up is overlaid to the production application and before the data to be backed up is overlaid to the production application, includes:
the backup data is superposed to the production application;
when the production environment exceeds the maximum withstand pressure of the production application;
the production environment is not within a preset range.
Preferably, the overlaying of the data to be backed up to the production application includes: calculating the pressure generated when the data to be backed up is backed up; writing the pressure to the production environment program.
In addition, to achieve the above object, the present invention further provides an apparatus for automatically adjusting the initiation time of a timed backup job, including: the acquisition module is used for starting evaluation at a preset backup strategy initiation time point, acquiring the state of the production application and/or acquiring the whole load of the production application and acquiring the production environment;
the acquisition module comprises a production application state acquisition module and/or a production application acquisition integral load module and a production environment acquisition module; the module for acquiring the production application state acquires the production application state; the module for acquiring the integral load of the production application acquires the integral load of the production application; the production environment obtaining module is used for obtaining a production environment;
the evaluation module is used for overlaying data to be backed up to the production application before and after the data to be backed up is overlaid to the production application, and the state of the production application and/or the overall load and the production environment of the production application are not in a preset range;
the evaluation module comprises a first superposition module and a second superposition module; the first superposition module superposes the data to be backed up to the front of the production application; the second superposition module superposes the data to be backed up to the production application;
an initiating module to reinitiate the evaluation;
and the backup module is used for starting backup of the production application when the state of the production application and/or the overall load and the production environment of the production application are within the preset range.
Preferably, when the obtaining module is a production application state module, the evaluating module includes:
the evaluation module is the first overlay module, and the production application state is a non-external service state;
the production application state is not within a preset range.
Preferably, when the obtaining module is an overall load module of a production application, the evaluating module includes:
the evaluation module is the first stacking module, and the overall load of the production application exceeds the maximum bearing load of the production application;
the overall load of the production application is not within a preset range.
Preferably, when the obtaining module is a production environment module, the evaluating module includes:
the evaluation module is the second superposition module, and the production environment exceeds the maximum bearing pressure of the production application;
the production environment is not within a preset range.
Preferably, the second superimposing module includes a superimposing module; the superposition module is used for calculating the pressure generated when the data to be backed up is backed up; the pressure is written into the production environment program.
The embodiment of the invention starts evaluation according to the preset backup strategy starting time point, and by acquiring the production application state and/or the whole load and the production environment of the production application, the data to be backed up is superposed before the production application and after the data to be backed up is superposed on the production application, and when the production application state and/or the whole load and the production environment of the production application are not in the preset range, the evaluation is restarted. Therefore, the time that the application is not suitable for backup is automatically avoided, the load generated by backup is simulated, the system breakdown is avoided, the success rate of backup is integrally improved, and the invalid backup is reduced.
Drawings
FIG. 1 is a flowchart illustrating steps of an embodiment of a method for automatically adjusting the initiation time of a timed backup job in accordance with the present invention;
FIG. 2 is a schematic structural diagram of an embodiment of an apparatus for automatically adjusting the initiation time of a timed backup job according to the present invention;
FIG. 3 is a schematic structural diagram of an embodiment of an acquisition module of a device for automatically adjusting the initiation time of a timed backup job according to the present invention;
FIG. 4 is a schematic structural diagram of an embodiment of an evaluation module of a device for automatically adjusting the initiation time of a timed backup job according to the present invention;
fig. 5 is a schematic structural diagram of a second overlay module of an apparatus for automatically adjusting a timing backup job initiation time according to an embodiment of the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
One of the core concepts of the embodiments of the present invention is that the embodiments of the present invention provide a method and an apparatus for automatically adjusting the initiation time of a timed backup job, which initiate an evaluation according to a preset initiation time point of a backup policy, and obtain a state of a production application and/or an overall load and a production environment of the production application; the method comprises the steps that data to be backed up are superposed to a production application before the data to be backed up are superposed to the production application, and when the state of the production application and/or the overall load and the production environment of the production application are not in a preset range; the evaluation is reinitiated. When the production application state and/or the overall load and production environment of the production application are within a preset range, the production application starts to backup. The invention can automatically avoid the time which is not suitable for backup, such as maintenance time period and fault time period, and save the communication cost between the service manager and the backup manager; the time of large load of the production environment is automatically avoided, the problem of abnormal application caused by backup of the application is avoided, the load generated by the backup is simulated, the system breakdown is avoided, the success rate of the backup is integrally improved, and the invalid backup is reduced. The preset backup strategy refers to a backup strategy preset by a user side of the production application.
The invention detects the production application state and/or the whole load and production environment of the production application in advance through the production application, for example, the starting time of the timing backup operation is automatically adjusted on the production application of a mobile phone or a computer, the production environment state is automatically detected, the maintenance time period and the fault time period are automatically avoided, the communication cost between a service manager and a backup manager is saved, the change sequence is quickly and effectively adjusted, and the workload and the complexity caused by excessive manual interference or manual adjustment are avoided. And through the learning of historical performance and the pressure analysis of the current production service, the pressure of data to be backed up is simulated to evaluate the influence of the current backup on the production, thereby effectively avoiding the performance influence on the production service during the backup and ensuring the availability of the production application.
Fig. 1 is a flowchart illustrating steps of an embodiment of a method for automatically adjusting initiation time of a timed backup job according to the present invention, which includes the following steps:
step S10, according to the preset backup strategy initiating time point, initiating evaluation to obtain the production application state and/or obtain the whole load of the production application and obtain the production environment;
step S20, overlapping the data to be backed up to the front of the production application and overlapping the data to be backed up to the back of the production application;
step S30, when the state of the production application and/or the overall load and production environment of the production application are not in the preset range, the evaluation is reinitiated;
step S40, when the status of the production application and/or the overall load and production environment of the production application are within the preset range, the production application starts to backup.
Step S10 is to initiate an evaluation according to a preset backup policy initiation time point, obtain a production application state and/or an overall load and a production environment of a production application, obtain an initiation time point of a user backup policy, detect a backup policy configured by a user, and initiate an evaluation when starting to enter a backup initiation time point selected by the user, instead of directly starting to backup data, the production application may integrally improve a success rate of backup and reduce invalid backups.
And starting evaluation at a preset backup strategy initiating time point to acquire a production application state and/or a whole load and a production environment of the production application, and acquiring the initiating time point acquired by acquiring the backup strategy, wherein acquiring the production application state and/or the whole load and the production environment of the production application comprises acquiring the production application state and/or the whole load and the production environment of the production application, and can be acquiring the production application state and acquiring the production environment or acquiring the whole load and the production environment of the production application.
Step S20 superimposes the data to be backed up on the production application before the production application and superimposes the data to be backed up on the production application.
Step S30, when the production application state and/or the whole load of the production application and the production environment are not in the preset range, pre-judging whether the production application state is in the preset range before the backup data is superposed on the production application and after the backup data is superposed on the production application, and when the production application state and/or the whole load of the production application and the production environment are not in the preset range, including the data to be backed up is superposed on the production application, and when the production application state is not the external service state, the production application state is not in the preset range; the method comprises the steps that backup data are superposed to a production application, and when the overall load of the production application exceeds the maximum bearing load of the production application, the overall load of the production application is not in a preset range; after the backup data is superposed on the production application, when the production environment exceeds the maximum bearing pressure of the production application, the production application state and/or the whole load of the production application and the production environment are not in a preset range, the communication cost between a service manager and a backup manager is saved, the change sequence is quickly and effectively adjusted, and the workload and the complexity caused by excessive manual interference or manual adjustment are avoided.
The production application state is not in a preset range, namely the external service state is not generated; the method comprises the steps of judging whether the overall load of the production application is within a preset level range or not, and if so, judging whether the overall load of the production application is within a preset level range or not.
Through the work of the production environment and the backup data, after the backup data is pre-judged to be superposed on the production application, when the production environment exceeds the maximum bearing pressure of the production application and is not in a preset range, the overall load of the production environment exceeds the maximum bearing pressure of the production application and the backup data is superposed on the production application, wherein the step of superposing the backup data on the production application comprises the step of calculating the pressure generated when the backup of the data to be backed up is generated; and the pressure is written into a production environment program, so that the problem of application abnormity caused by backup of the application is avoided. Specifically, the method combines the application access condition of the production environment, the rear-end storage load condition and the newly increased pressure of the pre-judged backup, and automatically searches for the appropriate time backup operation initiation time through machine simulation.
When the production application state and/or the whole load and the production environment of the production application are not in the preset range, restarting the evaluation according to the preset backup strategy starting time point, and acquiring the production application state and/or the whole load and the production environment of the production application; and after the data to be backed up is superposed to the production application and before the data to be backed up is superposed to the production application, when the production application state and/or the overall load and the production environment of the production application are not in the preset range, the evaluation is restarted until the production application state and/or the overall load and the production environment of the production application are in the preset range, and backup is started.
Obtaining the state of the production application and/or obtaining the overall load of the production application and obtaining the production environment.
The production application state is not in a preset range, namely the state of not serving externally; the overall load of the production application is not within the preset level range, and exceeds the maximum bearing load of the production application, specifically, the overall load of the production application is judged not to be at the normal level suitable for initiating the backup operation until the production load is lower than the maximum bearing load of the production application.
The method comprises the steps that after the backup data are pre-judged to be superposed to the production application through the work of the production environment and the backup data, when the production environment exceeds the maximum bearing pressure of the production application, the state of the production application and/or the overall load of the production application and the production environment are not in a preset range, the overall load of the production environment exceeds the maximum bearing pressure of the production application, and the superposition of the backup data to the production application comprises the step of calculating the pressure generated when the backup of the data to be backed up is generated; and the pressure is written into a production environment program, so that the problem of application abnormity caused by backup of the application is avoided. The pressure writing into the production environment program means that the influence of the current backup on production is evaluated by learning the historical performance and analyzing the pressure of the current production service and simulating the load of the backup data superposition, so that the performance influence on the production service during the backup is effectively avoided, and the availability of production application is guaranteed.
The production application state and/or the overall load of the production application and the production environment comprise the application state to be backed up and/or the overall load of the production environment and the production environment, and the application state to be backed up, the overall load of the production environment and the production environment are acquired and combined, preferably combined.
After the data to be backed up is overlaid to the production application, the production application can start to back up when the state of the production application and/or the overall load and production environment of the production application are within a preset range.
The backup data is superposed before the production application and after the backup data is superposed to the production application, the state of the production application is not in a preset range and comprises the state of the application to be backed up, the state of the application to be backed up is judged to be not a normal external service state, the state of the application is analyzed to be in a normal external service, maintenance or failure, and if the state of the application is in a maintenance or failure state which is not suitable for consistency backup, the backup operation initiates an evaluation process again to obtain the state of the application to be backed up again.
Step S40, when the status of the production application and/or the overall load and production environment of the production application are within the preset range, the production application starts to backup.
And (3) whether the production application state is in a preset range or not including the acquired whole load of the production environment before the backup data is overlaid to the production application and after the backup data is overlaid to the production application, judging that the whole load of the production environment exceeds the maximum bearing load of the production application, and judging that the production application state and/or the whole load of the production application and the production environment are not in the preset range. The scheme can ensure that the load in production application does not exceed the maximum bearing load, and avoid the abnormal condition of production application.
And pre-judging whether the state of the production application is in a preset range including the performance of the production environment and the workload of the backup data before and after the backup data is overlaid to the production application, calculating the pressure generated when the backup of the data to be backed up is generated, and writing the pressure into the program of the production environment. And simulating and judging whether the production application after the load superposition is in a normal use range, specifically simulating the load generated when the workload of the current backup data is obtained according to the workload of the obtained backup data, superposing the load to the current application environment, wherein the production environment exceeds the maximum bearing pressure of the production application, and the production application state and/or the overall load and the production environment of the production application are not in a preset range.
Calculating the pressure generated when the data to be backed up is backed up, writing the pressure into a production environment program, simulating the load generated when the current backup data is in workload according to the workload of the acquired backup data by the production environment program, superposing the load to the current application overall load, and simulating the influence brought by the superposed load again through the production environment, wherein the production environment exceeds the maximum bearing pressure of the production application, and the production application state and/or the overall load of the production application and the production environment are not in a preset range.
The overall load of the production environment is obtained by inquiring real-time performance data of the production environment through the monitoring system.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
An apparatus for automatically adjusting the initiation time of a timed backup job comprises an acquisition module 100, an evaluation module 200, an initiation module 300, and a backup module 400.
The acquisition module 100 starts evaluation at a preset backup strategy initiation time point, and acquires a production application state and/or an overall load and a production environment of a production application;
the evaluation module 200 is used for overlaying the data to be backed up to the production application before and after the data to be backed up is overlaid to the production application, and the state of the production application and/or the overall load and the production environment of the production application are not in a preset range;
the initiating module 300 re-initiates the evaluation.
The invention automatically adjusts the starting time of the timing backup operation and automatically detects the state of the production environment by detecting the state of the production application and/or the whole load and the production environment of the production application in advance, automatically avoids the maintenance time period and the fault time period, saves the communication cost between a service manager and a backup manager, quickly and effectively adjusts the change sequence, and avoids the workload and the complexity caused by excessive manual interference or manual adjustment. And through the learning of historical performance and the pressure analysis of the current production service, and the simulation of the load superposed by backup operation, the influence of the current backup on the production is evaluated, the performance influence on the production service during the backup is effectively avoided, and the availability of the production application is ensured.
By the obtaining module 100, according to a preset backup strategy initiating time point, an evaluation is initiated, a production application state and/or an overall load and a production environment of a production application are obtained, an initiating time point of a user backup strategy is obtained, a backup strategy configured by a user is detected, and when a backup initiating time point selected by the user is started, backup software does not directly start to backup data but initiates an evaluation flow, so that a backup success rate can be integrally improved, and invalid backups are reduced.
Through the evaluation module 200 and at the preset backup strategy initiation time point, the state of the production application and/or the overall load and the production environment of the production application are/is acquired, and through the initiation time point acquired by acquiring the backup strategy, the state of the production application and/or the overall load and the production environment of the production application are/is acquired. The method comprises the steps that data to be backed up are superposed before production application and after the data to be backed up are superposed on the production application, whether the production application state is in a preset range or not is judged in advance before the data to be backed up are superposed on the production application and after the data to be backed up are superposed on the production application, and when the production application state and/or the overall load and the production environment of the production application are not in the preset range, the data to be backed up are superposed on the production application, and when the production application state is not in an external service state, the production application state is not in the preset range; the method comprises the steps that backup data are superposed to a production application, and when the overall load of the production application exceeds the maximum bearing load of the production application, the overall load of the production application is not in a preset range; and after the backup data is superposed to the production application, when the production environment exceeds the maximum bearing pressure of the production application, the production environment is not in a preset range.
Through the initiation module 300, the evaluation is initiated again, when the production application state and/or the overall load and the production environment of the production application are not within the preset range, the evaluation is initiated again according to the preset backup strategy initiation time point, and the production application state and/or the overall load and the production environment of the production application are obtained; and after the data to be backed up is superposed to the production application and before the data to be backed up is superposed to the production application, when the production application state and/or the overall load and the production environment of the production application are not in the preset range, the evaluation is restarted until the production application state and/or the overall load and the production environment of the production application are in the preset range, and backup is started. The device can save the communication cost between a service manager and a backup manager, quickly and effectively adjust the change sequence, and avoid the workload and complexity caused by excessive manual interference or manual adjustment.
The obtaining module 100 comprises a obtaining production application state module 101 and/or a obtaining production application overall load module 102 and a obtaining production environment module 103; a production application state obtaining module 101 for obtaining a production application state; acquiring an overall load module 102 of the production application, and acquiring an overall load of the production application; and a production environment obtaining module 103 for obtaining a production environment. And acquiring the application state to be backed up, the overall load of the production environment and the production environment, and the combination of the application state to be backed up, the overall load of the production environment and the production environment, preferably the combination of the three.
The evaluation module 200 comprises a first overlay module 201 and a second overlay module 202; a first overlay module 201, overlaying data to be backed up to the front of the production application; and a second overlaying module 202 for overlaying the data to be backed up to the production application. The step of overlaying the backup data to the production application comprises the step of overlaying the data to be backed up to the production application or the step of overlaying the data to be backed up to the production application.
The backup module 400, the production application state and/or the overall load and production environment of the production application are within a preset range, and the production application starts to backup. After the data to be backed up is overlaid to the production application, the production application can start to back up when the state of the production application and/or the overall load and production environment of the production application are within a preset range.
When the obtaining module 100 is the application state generating module 101, the evaluating module 200 includes: a first overlay module 201, wherein the production application state is a non-external service state; the production application state is not within the preset range. The backup data is superposed before the production application and after the backup data is superposed to the production application, the state of the production application is not in a preset range and comprises the state of the application to be backed up, whether the state of the application to be backed up is an external service state or not is judged, whether the state of the application is in an external service state, a maintenance state or a fault state is analyzed, and if the state is in a maintenance state or a fault state which is not suitable for consistency backup, the backup operation initiates an evaluation process again to obtain the state of the application to be backed up again.
When the obtaining module 100 is the overall load module 102 of the production application, the evaluating module 200 includes: a first stacking module 201, the overall load of the production application exceeds the maximum bearing load of the production application; the production application status and/or the overall load and production environment of the production application are not within preset ranges. And (3) whether the production application state is in a preset range or not including the acquired whole load of the production environment before the backup data is overlaid to the production application and after the backup data is overlaid to the production application, and judging that the whole load of the production environment exceeds the maximum bearing load of the production application and the whole load of the production application is not in the preset range.
When the obtaining module 100 is the production environment module 103, the evaluating module 200 includes: a second overlay module 202, the production environment exceeding the maximum withstand pressure of the production application; the production environment is not within a preset range. And pre-judging whether the state of the production application is in a preset range including the performance of the production environment and the workload of the backup data before and after the backup data is overlaid to the production application, calculating the pressure generated when the backup of the data to be backed up is generated, and writing the pressure into the program of the production environment. And simulating and judging whether the production application after the load is superposed is in a normal use range, specifically simulating the load generated when the workload of the current backup data is obtained according to the workload of the obtained backup data, superposing the load to the current application environment, wherein the production environment exceeds the maximum bearing pressure of the production application, and is not in a preset range.
The second overlay module 202 includes an overlay module 2021; the superposition module 2021 calculates the pressure generated when the data to be backed up is backed up; the pressure is written into the production environment program. Calculating the pressure generated when the data to be backed up is backed up, writing the pressure into a production environment program, simulating the load generated when the current backup data is in workload according to the workload of the acquired backup data by the production environment program, superposing the load to the current application overall load, and simulating the influence brought by the superposed load again through the production environment, wherein the production environment exceeds the maximum bearing pressure of the production application, and the production environment is not in a preset range.
And the monitoring system is used for inquiring the real-time performance data of the production environment to obtain the overall load of the production environment.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or terminal equipment comprising the element.
The method for automatically adjusting the initiation time of the timed backup operation provided by the invention is described in detail, a specific example is applied in the method to explain the principle and the implementation mode of the invention, and the description of the embodiment is only used for helping to understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A method for automatically adjusting the initiation time of a timed backup job, comprising:
according to a preset backup strategy initiating time point, initiating evaluation, and acquiring a production application state and/or acquiring the whole load of the production application and acquiring a production environment;
superposing data to be backed up to the front of a production application and superposing the data to be backed up to the back of the production application;
when the production application state and/or the overall load and the production environment of the production application are not within a preset range, reinitiating the evaluation;
and when the state of the production application and/or the overall load and the production environment of the production application are within the preset range, the production application starts to backup.
2. The method according to claim 1, wherein the step of restarting the evaluation when the status of the production application and/or the overall load and production environment of the production application are not within a preset range comprises:
the data to be backed up is superposed to the front of the production application;
when the production application state is a non-external service state;
the production application state is not within a preset range.
3. The method according to claim 1, wherein the step of restarting the evaluation when the status of the production application and/or the overall load and production environment of the production application are not within a preset range comprises:
the backup data is superposed to the front of the production application;
when the overall load of the production application exceeds the maximum load bearing of the production application;
the overall load of the production application is not within a preset range.
4. The method according to claim 1, wherein the step of restarting the evaluation when the status of the production application and/or the overall load and production environment of the production application are not within a preset range comprises:
the backup data is superposed to the production application;
when the production environment exceeds the maximum withstand pressure of the production application;
the production environment is not within a preset range.
5. The method for automatically adjusting the initiation time of the timed backup operation according to any one of claims 1 to 4, wherein the overlaying of the data to be backed up to the production application comprises:
calculating the pressure generated when the data to be backed up is backed up;
writing the pressure to the production environment program.
6. An apparatus for automatically adjusting the initiation time of a timed backup job, comprising:
the acquisition module is used for starting evaluation at a preset backup strategy initiation time point, acquiring the state of the production application and/or acquiring the whole load of the production application and acquiring the production environment;
the acquisition module comprises a production application state acquisition module and/or a production application acquisition integral load module and a production environment acquisition module; the module for acquiring the production application state acquires the production application state; the module for acquiring the integral load of the production application acquires the integral load of the production application; the production environment obtaining module is used for obtaining a production environment;
the evaluation module is used for overlaying data to be backed up to the production application before and after the data to be backed up is overlaid to the production application, and the state of the production application and/or the overall load and the production environment of the production application are not in a preset range;
the evaluation module comprises a first superposition module and a second superposition module; the first superposition module superposes the data to be backed up to the front of the production application; the second superposition module superposes the data to be backed up to the production application;
an initiating module to reinitiate the evaluation;
and the backup module is used for starting backup of the production application when the state of the production application and/or the overall load and the production environment of the production application are within the preset range.
7. The apparatus of claim 6, wherein when the obtaining module is a production application state module, the evaluating module comprises:
the evaluation module is the first overlay module, and the production application state is a non-external service state;
the production application state is not within a preset range.
8. The apparatus of claim 6, wherein when the obtaining module is an overall load module of a production application, the evaluating module comprises:
the evaluation module is the first stacking module, and the overall load of the production application exceeds the maximum bearing load of the production application;
the overall load of the production application is not within a preset range.
9. The apparatus of claim 6, wherein when the obtaining module is a production environment module, the evaluating module comprises:
the evaluation module is the second superposition module, and the production environment exceeds the maximum bearing pressure of the production application;
the production environment is not within a preset range.
10. The apparatus according to any of claims 6-9, wherein said second overlay module comprises an overlay module;
the superposition module is used for calculating the pressure generated when the data to be backed up is backed up;
the pressure is written into the production environment program.
CN202010200083.4A 2020-03-20 2020-03-20 Method and device for automatically adjusting initiation time of timing backup operation Pending CN111382013A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010200083.4A CN111382013A (en) 2020-03-20 2020-03-20 Method and device for automatically adjusting initiation time of timing backup operation
PCT/CN2020/118895 WO2021184724A1 (en) 2020-03-20 2020-09-29 Method and apparatus and device for automatically adjusting timing backup operation initiation time, and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010200083.4A CN111382013A (en) 2020-03-20 2020-03-20 Method and device for automatically adjusting initiation time of timing backup operation

Publications (1)

Publication Number Publication Date
CN111382013A true CN111382013A (en) 2020-07-07

Family

ID=71217315

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010200083.4A Pending CN111382013A (en) 2020-03-20 2020-03-20 Method and device for automatically adjusting initiation time of timing backup operation

Country Status (2)

Country Link
CN (1) CN111382013A (en)
WO (1) WO2021184724A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112286735A (en) * 2020-12-24 2021-01-29 深圳市科力锐科技有限公司 Backup success rate determining method, device, equipment and storage medium
CN112306758A (en) * 2020-12-24 2021-02-02 深圳市科力锐科技有限公司 Backup success rate prediction method, device, equipment and storage medium
CN112968970A (en) * 2021-02-26 2021-06-15 杭州迪普信息技术有限公司 Configuration information backup method and device and network equipment
WO2021184724A1 (en) * 2020-03-20 2021-09-23 平安科技(深圳)有限公司 Method and apparatus and device for automatically adjusting timing backup operation initiation time, and medium
CN114546714A (en) * 2020-11-27 2022-05-27 中国移动通信集团四川有限公司 Data backup method, system, device and storage medium

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102902606B (en) * 2012-10-11 2016-04-06 珠海金山办公软件有限公司 A kind of data back up method and device
CN103617098B (en) * 2013-12-03 2017-06-16 上海爱数信息技术股份有限公司 Intelligent backup method and intelligent backup system based on data variation
CN105611034B (en) * 2014-11-25 2019-05-10 中兴通讯股份有限公司 The method of user data and corresponding mobile phone in a kind of backup and reduction mobile phone
CN106168912B (en) * 2016-07-28 2019-04-16 重庆邮电大学 A kind of dispatching method based on the estimation of backup tasks runing time in Hadoop big data platform
US11080147B2 (en) * 2018-05-16 2021-08-03 International Business Machines Corporation Adjusting backup data in response to an abnormality detection
CN110221909B (en) * 2019-06-13 2023-01-17 东北大学 Hadoop calculation task speculative execution method based on load prediction
CN110321253A (en) * 2019-07-09 2019-10-11 北京百度网讯科技有限公司 Method and apparatus for Backup Data
CN111382013A (en) * 2020-03-20 2020-07-07 平安科技(深圳)有限公司 Method and device for automatically adjusting initiation time of timing backup operation

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021184724A1 (en) * 2020-03-20 2021-09-23 平安科技(深圳)有限公司 Method and apparatus and device for automatically adjusting timing backup operation initiation time, and medium
CN114546714A (en) * 2020-11-27 2022-05-27 中国移动通信集团四川有限公司 Data backup method, system, device and storage medium
CN114546714B (en) * 2020-11-27 2023-07-21 中国移动通信集团四川有限公司 Data backup method, system, device and storage medium
CN112286735A (en) * 2020-12-24 2021-01-29 深圳市科力锐科技有限公司 Backup success rate determining method, device, equipment and storage medium
CN112306758A (en) * 2020-12-24 2021-02-02 深圳市科力锐科技有限公司 Backup success rate prediction method, device, equipment and storage medium
CN112306758B (en) * 2020-12-24 2021-04-02 深圳市科力锐科技有限公司 Backup success rate prediction method, device, equipment and storage medium
CN112286735B (en) * 2020-12-24 2021-04-09 深圳市科力锐科技有限公司 Backup success rate determining method, device, equipment and storage medium
CN112968970A (en) * 2021-02-26 2021-06-15 杭州迪普信息技术有限公司 Configuration information backup method and device and network equipment
CN112968970B (en) * 2021-02-26 2023-04-07 杭州迪普信息技术有限公司 Configuration information backup method and device and network equipment

Also Published As

Publication number Publication date
WO2021184724A1 (en) 2021-09-23

Similar Documents

Publication Publication Date Title
CN111382013A (en) Method and device for automatically adjusting initiation time of timing backup operation
CN109151045B (en) Distributed cloud system and monitoring method
WO2017028697A1 (en) Method and device for growing or shrinking computer cluster
CN107273182B (en) Method and system for dynamically expanding virtual machine resources
CN104717236A (en) Equipment performance test method and device
CN114466027B (en) Cloud primary database service providing method, system, equipment and medium
CN109446094B (en) Stuck detection method and device, electronic equipment and storage medium
CN114356558B (en) Capacity reduction processing method and device based on cluster
CN106789141A (en) A kind of gateway device failure processing method and processing device
CN111666266A (en) Data migration method and related equipment
CN106569917B (en) Data backup method and mobile terminal
CN111682981A (en) Check point interval setting method and device based on cloud platform performance
CN111583251A (en) Video image analysis method and device and electronic equipment
CN110955544A (en) Method, device and system for detecting usability of web system
CN109558209B (en) Monitoring method for virtual machine
CN109426438B (en) Real-time big data mirror image storage method and device
CN108810992B (en) Resource control method and device for network slice
CN113407340A (en) Service control system, gateway service method, service request forwarding method and device
CN111324485A (en) Data information backup method, device, equipment and storage medium of data table
US8798982B2 (en) Information processing device, information processing method, and program
WO2018001114A1 (en) Method and device for processing data
CN111198986A (en) Information sending method and device, electronic equipment and storage medium
CN113867923B (en) Method and device for migrating container application across CPU (Central processing Unit) architecture
CN111258710B (en) System maintenance method and device
CN110362422A (en) A kind of data back up method, apparatus and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination