WO2021184724A1 - 一种自动调整定时备份作业发起时间的方法、装置、设备及介质 - Google Patents

一种自动调整定时备份作业发起时间的方法、装置、设备及介质 Download PDF

Info

Publication number
WO2021184724A1
WO2021184724A1 PCT/CN2020/118895 CN2020118895W WO2021184724A1 WO 2021184724 A1 WO2021184724 A1 WO 2021184724A1 CN 2020118895 W CN2020118895 W CN 2020118895W WO 2021184724 A1 WO2021184724 A1 WO 2021184724A1
Authority
WO
WIPO (PCT)
Prior art keywords
production application
production
application
data
backed
Prior art date
Application number
PCT/CN2020/118895
Other languages
English (en)
French (fr)
Inventor
梁思
Original Assignee
平安科技(深圳)有限公司
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 平安科技(深圳)有限公司 filed Critical 平安科技(深圳)有限公司
Publication of WO2021184724A1 publication Critical patent/WO2021184724A1/zh

Links

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

Definitions

  • This application relates to the technical field of backup data, and in particular to a method, device, equipment and medium for automatically adjusting the initiation time of a scheduled backup job.
  • the prior art relates to a scheduling method based on backup task running time estimation in a distributed computing big data platform, which belongs to the technical field of cloud computing platform optimization.
  • This method adopts the bandwidth perception ability of the exchange digital network, establishes the BWRE (backup task running time estimation model) backup task running time estimation model, and optimizes the backup task scheduling method based on the backup task speculative execution mechanism; by providing the node task requester TaskTracker( Task Tracker) When assigning a backup task, add the comparison between the remaining time of the slow task and the estimated running time of the pre-started backup task on the TTi (the i-th process entity TaskTracker) to increase the trustworthiness of the backup task, that is It is believed that this backup task can end earlier than the original slow task, thereby improving the efficiency of the backup task.
  • BWRE backup task running time estimation model
  • the inventor realizes that the existing products cannot determine the application status of the backup. If the application status is special or an emergency occurs, the backup will fail, the overall load of the production application will be high when the data is supplemented again, or the data has been deleted during the supplement. Data loss; existing products cannot determine the load of the current production situation.
  • the backup load will increase to the production situation at this time, the production situation exceeds the load, the backup fails or Causes abnormalities in the application; during backup, it is impossible to determine whether the size of the backup data meets the load of the current production situation, the pressure of the backup is greater than the maximum load that the current production environment can withstand, the production situation exceeds the load, the backup fails or the application is abnormal Situation:
  • the backup and production environments are two independent entities that are not related to each other. If necessary, the backup time needs to be adjusted and re-timed manually. The production environment administrator and the backup administrator need to coordinate and communicate with each other, which is time-consuming and labor-intensive.
  • the present application discloses a method and device for automatically adjusting the initiation time of a scheduled backup job, including: initiating an evaluation according to a preset backup strategy initiation time point, obtaining production application status and/or obtaining the overall load of the production application and obtaining the production environment;
  • the production application starts to back up.
  • This application also provides a device for automatically adjusting the initiation time of a scheduled backup job, including: an acquisition module, which initiates an evaluation at a preset backup strategy initiation time point, obtains the production application status and/or obtains the overall load of the production application and obtains the production environment;
  • the acquiring module includes a module for acquiring the production application status and/or a module for acquiring the overall load of the production application and a module for acquiring the production environment; the module for acquiring the status of the production application to acquire the status of the production application; the module for acquiring the overall load of the production application to acquire The overall load of the production application; said obtaining the production environment module, obtaining the production environment;
  • An evaluation module that superimposes the data to be backed up before the production application and after the data to be backed up is superimposed on the production application, the production application state and/or the overall load of the production application and the production environment are not within a preset range;
  • the evaluation module includes a first stacking module and a second stacking module; the first stacking module, the data to be backed up is stacked before the production application; the second stacking module, the data to be backed up is stacked on the After the production and application;
  • the initiation module re-initiates the evaluation
  • the production application status and/or the overall load of the production application and the production environment are within the preset range, and the production application starts to back up.
  • the present application also provides a computer device, including a processor, a memory, and a computer program stored on the memory and capable of running on the processor, and the computer program implements the following steps when executed by the processor:
  • the evaluation is initiated to obtain the status of the production application and/or the overall load of the production application and the production environment;
  • the production application starts to back up.
  • This application also provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
  • the evaluation is initiated to obtain the status of the production application and/or the overall load of the production application and the production environment;
  • the production application starts to back up.
  • FIG. 1 is a flowchart of steps of an embodiment of a method for automatically adjusting the initiation time of a scheduled backup job according to the present application;
  • FIG. 2 is a schematic structural diagram of an embodiment of an apparatus for automatically adjusting the initiation time of a scheduled backup job according to the present application
  • 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 scheduled backup job according to the present application;
  • 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 scheduled backup job according to the present application;
  • Fig. 5 is a schematic structural diagram of an embodiment of a second overlay module of an apparatus for automatically adjusting the initiation time of a scheduled backup job according to the present application.
  • the embodiments of the present application provide a method and device for automatically adjusting the initiation time of a scheduled backup job, initiate an evaluation according to a preset backup strategy initiation time point, and obtain the production application status and/or The overall load of the production application and the production environment; when the data to be backed up is superimposed before the production application and after the data to be backed up is superimposed on the production application, when the production application status and/or the overall load of the production application and the production environment are not preset Within the scope of; re-initiate the assessment. When the production application status and/or the overall load of the production application and the production environment are within a preset range, the production application starts to back up.
  • This application can automatically avoid the time when the application is not suitable for backup, such as the maintenance period and the failure period, saving the communication cost between the business administrator and the backup administrator; automatically avoiding the time when the production environment is heavily loaded, and avoiding the appearance of the application Abnormal application problems caused by backup, and the load generated by backup is simulated to avoid system crashes, improve the success rate of backup as a whole, and reduce invalid backups.
  • the preset backup strategy refers to the backup strategy preset by the client of the production application.
  • This application pre-detects the production application status and/or the overall load and production environment of the production application through the production application, such as automatically adjusting the timing of the initiation time of the scheduled backup job on the production application of the mobile phone or computer, automatically detecting the production environment status, and automatically avoiding the maintenance time It saves the communication cost between the business administrator and the backup administrator, adjusts the change sequence quickly and effectively, and avoids the workload and complexity caused by excessive manual intervention or manual adjustment.
  • it simulates the pressure of the data to be backed up to evaluate the impact of the current backup on production, effectively avoiding the impact on the performance of the production business during the backup, and ensuring the availability of production applications.
  • FIG. 1 is a flowchart of an embodiment of a method for automatically adjusting the initiation time of a scheduled backup job according to the present application, and the details are as follows:
  • Step S10 initiates an evaluation according to a preset backup strategy initiation time point, obtains the production application status and/or obtains the overall load of the production application and obtains the production environment;
  • Step S20 is to superimpose the data to be backed up before the production application and after the data to be backed up is superimposed on the production application;
  • Step S30 When the production application status and/or the overall load of the production application and the production environment are not within the preset range, re-initiate the evaluation;
  • Step S40 When the state of the production application and/or the overall load of the production application and the production environment are within the preset range, the production application starts to back up.
  • Step S10 initiates an evaluation according to the preset backup strategy initiation time point, obtains the production application status and/or the overall load of the production application and the production environment, obtains the initiation time point of the user backup strategy, detects the backup strategy configured by the user, and starts entering the user
  • the production application does not directly start backing up data, but initiates an evaluation, which can improve the success rate of the backup as a whole and reduce invalid backups.
  • the evaluation is initiated at the time when the preset backup strategy is initiated to obtain the production application status and/or the overall load and production environment of the production application, and the initiation time point obtained by obtaining the backup strategy, in which the production application status and/or production application are obtained
  • the overall load and production environment include obtaining the production application status and/or obtaining the overall load of the production application and obtaining the production environment, which may be obtaining the production application status and obtaining the production environment or obtaining the overall load of the production application and obtaining the production environment.
  • step S20 the data to be backed up is superimposed before the production application and the data to be backed up is superimposed after the production application.
  • Step S30 When the production application status and/or the overall load of the production application and the production environment are not within the preset range, prejudge whether the production application status is within the preset range before and after the backup data is superimposed on the production application , When the production application status and/or the overall load of the production application and the production environment are not within the preset range, including the data to be backed up before being superimposed on the production application, when the production application status is not in the external service status, the production application status is not in the preset range Before the backup data is superimposed on the production application, 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 within the preset range; after the backup data is superimposed on the production application, when the production environment exceeds The maximum pressure for production applications, the production application status and/or the overall load of the production application and the production environment are not within the preset range, saving communication costs between business administrators and backup administrators, quickly and effectively adjusting the sequence of changes, and avoiding The workload and complexity caused by excessive
  • the production application status is not within the preset range, that is, it is not in the external service status; the overall load of the production application is not within the preset level, and the overall load of the production application exceeds the maximum bearing load of the production application, specifically to judge the overall production application
  • the load is not at a normal level suitable for initiating a backup job until the production load drops below the maximum load of the production application.
  • the maximum bearing pressure of the backup data is superimposed on the production application, including calculation of the pressure generated when the data to be backed up is backed up; the pressure is written into the production environment program to avoid application abnormal problems caused by the backup. Specifically, it refers to combining the application access situation of the production environment and the back-end storage load situation as well as the added pressure of predictive backup, and simulation through the machine to automatically find the appropriate timing for the initiation of the backup job.
  • the production application status is not within the preset range, that is, it is not in the state of external service; the overall load of the production application is not within the preset level, and the overall load of the production application exceeds the maximum load of the production application, specifically for judging the production application
  • the overall load is not at a normal level suitable for initiating a backup job until the production load is lower than the maximum load of the production application.
  • the backup data is superimposed on the production application, including the pressure generated when the data to be backed up is calculated; the pressure is written into the production environment program to prevent the application from appearing due to backup The application is abnormal.
  • Writing stress in the production environment program refers to the evaluation of the impact of the current backup on production through the study of historical performance and the analysis of the current production business pressure, and the simulation of the load superimposed by the backup data, so as to effectively avoid the impact on the performance of the production business during the backup. , To ensure the availability of production applications.
  • the production application status and/or the overall load of the production application and the production environment include the application status to be backed up and/or the overall load of the production environment and the production environment, and obtain both the application status to be backed up, the overall load of the production environment, and the production environment, and
  • the combination of the three is preferably a combination of the three.
  • the backup data After the backup data is superimposed on the production application, it can also be that when the production application state and/or the overall load of the production application and the production environment are within a preset range, the production application starts to back up.
  • the production application status is not within the preset range, including the application status to be backed up. It is judged that the status of the application to be backed up is not the normal external service status, and the status of the application is analyzed. Whether it is under normal external service, under maintenance or failure, if it is in a state of "maintenance" or "failure" that is not suitable for consistent backup, the backup job re-initiates the evaluation process to obtain the application state to be backed up again.
  • Step S40 When the state of the production application and/or the overall load of the production application and the production environment are within the preset range, the production application starts to back up.
  • the simulation judges whether the production application after the superimposed load is in the normal use range. Specifically, according to the workload of the obtained backup data, the load generated during the current backup data workload is simulated, and the load is superimposed on the current application environment.
  • the production environment exceeds The maximum 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 within the preset range.
  • the production environment program simulates the load generated during the current backup data workload and superimposes it on the current In the overall application load, the impact of the superimposed load is re-simulated through the production environment.
  • the production environment exceeds the maximum pressure of the production application, and the production application status and/or the overall load of the production application and the production environment are not within the preset range.
  • the overall load of the production environment is obtained by querying the real-time performance data of the production environment through the monitoring system.
  • the embodiment of the application initiates an evaluation based on a preset backup strategy initiation point in time.
  • the data to be backed up is superimposed before the production application and the data to be backed up is superimposed on
  • the evaluation is initiated again. This automatically avoids the time when the application is not suitable for backup, and simulates the load generated by the backup, avoids system crashes, improves the success rate of backups as a whole, and reduces invalid backups.
  • a device for automatically adjusting the initiation time of a scheduled backup job includes an acquisition module 100, an evaluation module 200, an initiation module 300, and a backup module 400.
  • the obtaining module 100 initiates an evaluation at the time when a preset backup strategy is initiated, and obtains the production application status and/or the overall load of the production application and the production environment;
  • the evaluation module 200 superimposes the data to be backed up before the production application and after the data to be backed up is superimposed on the production application, the production application state and/or the overall load of the production application and the production environment are not within a preset range;
  • the initiation module 300 re-initiates the evaluation.
  • This application pre-detects the production application status and/or the overall load and production environment of the production application, automatically adjusts the timing of the scheduled backup job launch time, automatically detects the production environment status, and automatically avoids the maintenance time period and the failure time period, saving business administrators and The cost of communication between backup administrators can quickly and effectively adjust the sequence of changes to avoid the workload and complexity caused by excessive manual intervention or manual adjustment. It also evaluates the impact of the current backup on production through learning of historical performance and analysis of the current production business pressure, and simulating the load superimposed by the backup job, effectively avoiding the impact on the performance of the production business during the backup, and ensuring the availability of production applications.
  • the evaluation is initiated according to the preset backup strategy initiation time point, the production application status and/or the overall load of the production application and the production environment are obtained, the time point of initiation of the user backup strategy is obtained, and the backup strategy configured by the user is detected,
  • the backup software When starting to enter the backup initiation time point selected by the user, the backup software does not directly start backing up data, but initiates an evaluation process, which can improve the success rate of the backup as a whole and reduce invalid backups.
  • the evaluation is initiated at the time when the preset backup strategy is initiated to obtain the production application status and/or the overall load and production environment of the production application, and the production application status and/or the production application status and/or the initiation time obtained by obtaining the backup strategy are obtained. Or get the overall load of the production application and get the production environment. Superimpose the data to be backed up before the production application and after the data to be backed up is superimposed on the production application, and prejudge whether the production application status is within the preset range when the backup data is superimposed before and after the production application.
  • the production application state and/or the overall load of the production application and the production environment are not within the preset range, including the data to be backed up before being superimposed on the production application, when the production application state is not in the external service state, the production application state is not in the preset range Within the range; before the backup data is superimposed on the production application, 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 within the preset range; after the backup data is superimposed on the production application, when the production environment exceeds the production The maximum pressure of the application, the production environment is not within the preset range.
  • the evaluation is re-initiated.
  • the evaluation is re-initiated, and the evaluation is initiated again according to the preset backup strategy at the time point to obtain the production.
  • the application status and/or the overall load of the production application and the production environment when the data to be backed up is superimposed on the production application before and after the data to be backed up is superimposed on the production application, when the production application status and/or the overall load of the production application and The production environment is not within the preset range, and then the evaluation is initiated again until the production application status and/or the overall load of the production application and the production environment are within the preset range, and then a backup is initiated.
  • the device can save the communication cost between the business administrator and the backup administrator, quickly and effectively adjust the change sequence, and avoid the workload and complexity caused by excessive manual intervention or manual adjustment.
  • the obtaining module 100 includes a production application state obtaining module 101 and/or a production application overall load module 102 and a production environment obtaining module 103; a production application state obtaining module 101 to obtain a production application state; and a production application overall load module 102 to obtain The overall load of the production application; obtain the production environment module 103 to obtain the production environment.
  • the application state to be backed up and/or the overall load of the production environment and the production environment, the application state to be backed up, the overall load of the production environment, the production environment, and the combination of the three are obtained, preferably a combination of the three.
  • the evaluation module 200 includes a first superimposition module 201 and a second superimposition module 202; the first superimposition module 201, the backup data is superimposed before the production application; the second superimposition module 202, the backup data is superimposed after the production application.
  • the overlay of the backup data to the production application includes the overlay of the data to be backed up before the production application or the data to be backed up after the production application.
  • the production application status and/or the overall load of the production application and the production environment are within a preset range, and the production application starts to be backed up.
  • the backup data is superimposed on the production application, it can also be that when the production application state and/or the overall load of the production application and the production environment are within a preset range, the production application starts to back up.
  • the evaluation module 200 includes: a first overlay module 201, the production application status is a non-external service status; the production application status is not within a preset range. Before the backup data is superimposed on the production application and after it is superimposed on the production application, the production application status is not within the preset range, including the application status to be backed up.
  • the evaluation module 200 includes: the first superimposing 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 of the production application
  • the environment is not within the preset range.
  • the evaluation module 200 includes: a second superimposition module 202, the production environment exceeds the maximum withstand pressure of the production application; the production environment is not within the preset range. Pre-judge whether the backup data is superimposed before the production application and after it is superimposed on the production application, whether the production application status is within the preset range, including the performance of the production environment and the backup data workload, and calculate the pressure generated when the data to be backed up is backed up. Write the pressure in the production environment program. The simulation judges whether the production application after the superimposed load is in the normal use range. Specifically, according to the workload of the obtained backup data, the load generated during the current backup data workload is simulated, and the load is superimposed on the current application environment. The production environment exceeds The maximum withstand pressure of production applications, the production environment is not within the preset range.
  • the second stacking module 202 includes a stacking module 2021; a stacking module 2021, which calculates the pressure generated when the data to be backed up is generated; and the pressure is written into the production environment program. Calculate the pressure generated during the backup of the data to be backed up, and write the pressure into the production environment program.
  • the production environment program simulates the load generated during the current backup data workload and superimposes it on the current In the overall application load, the impact of the superimposed load is re-simulated through the production environment.
  • the production environment exceeds the maximum pressure of the production application, and the production environment is not within the preset range.
  • the overall load of the production environment is obtained by querying the real-time performance data of the production environment through the monitoring system.
  • the present application also provides a computer device, including a processor, a memory, and a computer program stored on the memory and capable of running on the processor, where the memory includes non-volatile and/or volatile memory.
  • the processor is used to provide computing and control capabilities and support the operation of the entire computer equipment.
  • the processor is used to provide computing and control capabilities and support the operation of the entire computer equipment.
  • the internal memory provides an environment for the operation of the computer program in the non-volatile storage medium, and when the computer program is executed by the processor, the processor can execute any location identification method based on the location service.
  • the network interface is used for network communication, such as sending assigned tasks.
  • the structure of the computer device is only a block diagram of part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied.
  • the specific computer device may include More or fewer components are shown in the figure, or some components are combined, or have different component arrangements.
  • the processor may be a central processing unit (Central Processing Unit, CPU), and the processor may also be other general-purpose processors, digital signal processors (Digital Signal Processors, DSPs), and application specific integrated circuits (Application Specific Integrated Circuits). Circuit, ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc.
  • the general-purpose processor may be a microprocessor or the processor may also be any conventional processor.
  • the evaluation is initiated to obtain the status of the production application and/or the overall load of the production application and the production environment;
  • the production application starts to back up.
  • the present application also provides a computer-readable storage medium.
  • the computer-readable storage medium may include non-volatile and/or volatile memory, and a computer program is stored on the computer-readable storage medium.
  • the processor executes the following steps:
  • the evaluation is initiated to obtain the status of the production application and/or the overall load of the production application and the production environment;
  • the production application starts to back up.
  • the embodiments of the embodiments of the present application may be provided as methods, devices, or computer program products. Therefore, the embodiments of the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the embodiments of the present application may adopt the form of computer program products implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
  • computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
  • These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing terminal equipment to work in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including the instruction device.
  • the instruction device implements the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
  • These computer program instructions can also be loaded on a computer or other programmable data processing terminal equipment, so that a series of operation steps are executed on the computer or other programmable terminal equipment to produce computer-implemented processing, so that the computer or other programmable terminal equipment
  • the instructions executed above provide steps for implementing functions specified in a flow or multiple flows in the flowchart and/or a block or multiple blocks in the block diagram.

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

一种自动调整定时备份作业发起时间的方法和装置,根据预置的备份策略发起时间点发起评估,获取生产应用状态和/或获取生产应用的整体负载和获取生产环境(S10);将待备份数据叠加到生产应用前和所述待备份数据叠加到所述生产应用后(S20);当所述生产应用状态和/或生产应用的整体负载和生产环境不在预设的范围内,重新发起所述评估(S30);当所述生产应用状态和/或生产应用的整体负载和生产环境在所述预设的范围内,所述生产应用开始备份(S40)。可以自动避开应用不适合备份的时间,如维护时间段和故障时间段,自动避开生产环境负载较大的时间,并且模拟备份产生的负载,整体提高备份的成功率,减少无效备份。

Description

一种自动调整定时备份作业发起时间的方法、装置、设备及介质
本申请要求于2020年03月20日提交中国专利局、申请号为CN202010200083.4、名称为“一种自动调整定时备份作业发起时间的方法和装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及备份数据技术领域,特别是涉及一种自动调整定时备份作业发起时间的方法、装置、设备及介质。
背景技术
随着信息时代的来临,数据安全越来越受到人们的重视,其中,数据备份可以说是保证数据安全的一种有效手段。目前,信息技术产业迅猛发展,企业、组织和个人所产生的数据量也与日俱增,我们生活在一个数据增长比以往任何时候都要快的时代。2012年,谷歌在世界范围内拥有数百万台服务器总量的数据中心,平均每天要处理33亿次的搜索请求,每月要处理的用户生成数据更是超过了400PB;同年,脸书网站公布其数据中心平均每天接收3亿张用户上传的图片,数据库中新增数据也超过了500TB。全球数据量将达到44ZB,这一数据规模是2013年的10倍之多。这些海量数据所蕴含的4V特征,即体量大,模式多,速度快,价值密度低,正是大数据管理和信息提取的困难度和复杂性所在。随着社会全面信息化,我们进入了“大数据时代”,传统数据备份存储能力显得乏力。
现有技术中,涉及一种分布式计算大数据平台中基于备份任务运行时间估计的调度方法,属于云计算平台优化技术领域。该方法采用交换数字网络带宽感知能力,建立BWRE(备份任务运行时间估计模型)备份任务运行时间估计模型,对基于备份任务推测执行机制的备份任务调度方法进行优化;通过为节点任务请求者TaskTracker(任务跟踪器)分配备份任务时加入慢任务的剩余时间与预启动备份任务在该TTi(第i个进程实体TaskTracker)上的估计运行时间之间的对比,增加此备份任务的可信赖程度,即相信这个备份任务能够比原始慢任务更早结束,从而提高备份任务的有效率。
技术问题
发明人意识到,现有产品无法判断备份的应用状态,若应用状态特殊或者出现紧急情况,则备份失败,数据再次进行补备时生产应用的整体负载较高,或者补备时数据已经删除,则导致数据丢失;现有产品无法判断当前的生产情况的负载,若在生产应用的整体负载达到最大承受值时,此时备份的负载再增加到生产情况中,生产情况超过负载,备份失败或者导致应用出现异常情况;在备份时,无法判断备份的数据大小是否符合当前的生产情况的负载,备份的压力大于当前生产环境可承受的最大负载,生产情况超过负载,备份失败或者导致应用出现异常情况;备份和生产环境为两个独立的个体,相互无联系,若有需要则需要人为调整和重新定时备份时间,需要生产环境管理员与备份管理员之间相互协调沟通,费时费力。
技术解决方案
本申请公开了一种自动调整定时备份作业发起时间的方法和装置包括,根据预置的备份策略发起时间点发起评估,获取生产应用状态和/或获取生产应用的整体负载和获取生产环境;
将待备份数据叠加到生产应用前和所述待备份数据叠加到所述生产应用后;
当所述生产应用状态和/或生产应用的整体负载和生产环境不在预设的范围内,重新发起所述评估;
当所述生产应用状态和/或生产应用的整体负载和生产环境在所述预设的范围内,所述生产应用开始备份。
本申请还提供一种自动调整定时备份作业发起时间装置,包括:获取模块,在预置的备份策略发起时间点发起评估,获取生产应用状态和/或获取生产应用的整体负载和获取生产环境;
所述获取模块包括获取生产应用状态模块和/或获取生产应用的整体负载模块和获取生产环境模块;所述获取生产应用状态模块,获取生产应用状态;所述获取生产应用的整体负载模块,获取生产应用的整体负载;所述获取生产环境模块,获取生产环境;
评估模块,将待备份数据叠加到生产应用前和所述待备份数据叠加到所述生产应用后,所述生产应用状态和/或生产应用的整体负载和生产环境不在预设的范围内;
所述评估模块包括第一叠加模块和第二叠加模块;所述第一叠加模块,所述待备份数据叠加到所述生产应用前;所述第二叠加模块,所述待备份数据叠加到所述生产应用后;
发起模块,重新发起所述评估;
备份模块,所述生产应用状态和/或生产应用的整体负载和生产环境在所述预设的范围内,所述生产应用开始备份。
本申请还提供一种计算机设备,包括处理器、存储器及存储在所述存储器上并能够在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现以下步骤:
根据预置的备份策略发起时间点发起评估,获取生产应用状态和/或获取生产应用的整体负载和获取生产环境;
将待备份数据叠加到生产应用前和所述待备份数据叠加到所述生产应用后;
当所述生产应用状态和/或生产应用的整体负载和生产环境不在预设的范围内,重新发起所述评估;
当所述生产应用状态和/或生产应用的整体负载和生产环境在所述预设的范围内,所述生产应用开始备份。
本申请还提供一种计算机可读存储介质,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现以下步骤:
根据预置的备份策略发起时间点发起评估,获取生产应用状态和/或获取生产应用的整体负载和获取生产环境;
将待备份数据叠加到生产应用前和所述待备份数据叠加到所述生产应用后;
当所述生产应用状态和/或生产应用的整体负载和生产环境不在预设的范围内,重新发起所述评估;
当所述生产应用状态和/或生产应用的整体负载和生产环境在所述预设的范围内,所述生产应用开始备份。
附图说明
图1是本申请一种自动调整定时备份作业发起时间的方法实施例的步骤流程图;
图2是本申请一种自动调整定时备份作业发起时间装置实施例的结构示意图;
图3是本申请一种自动调整定时备份作业发起时间装置获取模块的实施例结构示意图;
图4是本申请一种自动调整定时备份作业发起时间装置评估模块的实施例结构示意图;
图5是本申请一种自动调整定时备份作业发起时间装置第二叠加模块的实施例结构示意图。
本发明的实施方式
为使本申请的上述目的、特征和优点能够更加明显易懂,下面结合附图和具体实施方式对本申请作进一步详细的说明。
本申请实施例的核心构思之一在于,本申请实施例提供了一种自动调整定时备份作业发起时间的方法和装置,根据预置的备份策略发起时间点发起评估,获取生产应用状态和/或生产应用的整体负载和生产环境;将待备份数据叠加到生产应用前和所述待备份数据叠加到所述生产应用后,当生产应用状态和/或生产应用的整体负载和生产环境不在预设的范围内;重新发起评估。当生产应用状态和/或生产应用的整体负载和生产环境在预设的范围内,生产应用开始备份。本申请可以自动避开应用不适合备份的时间,如维护时间段和故障时间段,节省业务管理员和备份管理员之间的沟通成本;自动避开生产环境负载较大的时间,避免应用出现备份引起的应用异常问题,并且模拟备份产生的负载,避免系统崩溃,整体提高备份的成功率,减少无效备份。预置的备份策略是指生产应用的用户端预先设置的备份策略。
本申请通过生产应用预先检测生产应用状态和/或生产应用的整体负载和生产环境,如在手机或者电脑的生产应用上自动调整定时备份作业发起时间,自动检测生产环境状态,自动避开维护时间段和故障时间段,节省业务管理员和备份管理员之间的沟通成本,快速且有效调整变更序列,规避过多人工干涉或人为调整带来的工作量及复杂度。并通过对历史性能的学习和当前生产业务的压力分析,模拟待备份数据叠加的压力,来评估当次备份对生产的影响,有效规避备份时对生产业务的性能影响,保障生产应用的可用性。
根据图1是本申请一种自动调整定时备份作业发起时间的方法实施例的步骤流程图,具体如下:
步骤S10根据预置的备份策略发起时间点发起评估,获取生产应用状态和/或获取生产应用的整体负载和获取生产环境;
步骤S20将待备份数据叠加到生产应用前和所述待备份数据叠加到所述生产应用后;
步骤S30当所述生产应用状态和/或生产应用的整体负载和生产环境不在预设的范围内,重新发起所述评估;
步骤S40当所述生产应用状态和/或生产应用的整体负载和生产环境在所述预设的范围内,所述生产应用开始备份。
步骤S10根据预置的备份策略发起时间点发起评估,获取生产应用状态和/或生产应用的整体负载和生产环境,获取用户备份策略的发起时间点,检测用户所配置的备份策略,开始进入用户选择的备份发起时间点时,生产应用不直接开始备份数据,而是发起评估,可以整体提高备份的成功率,减少无效备份。
并在预置的备份策略发起时间点发起评估,获取生产应用状态和/或生产应用的整体负载和生产环境,通过获取备份策略而获取的发起时间点,其中获取生产应用状态和/或生产应用的整体负载和生产环境包括获取生产应用状态和/或获取生产应用的整体负载和获取生产环境,可为获取生产应用状态和获取生产环境或者是获取生产应用的整体负载和获取生产环境。
步骤S20将待备份数据叠加到生产应用前和所述待备份数据叠加到所述生产应用后。
步骤S30当生产应用状态和/或生产应用的整体负载和生产环境不在预设的范围内,预判断备份数据叠加到生产应用前以及叠加到生产应用后,生产应用状态是否在预设置的范围内,当生产应用状态和/或生产应用的整体负载和生产环境不在预设的范围内,包括待备份数据叠加到述生产应用前,当生产应用状态是不对外服务状态,生产应用状态不在预设的范围内;备份数据叠加到生产应用前,当生产应用的整体负载超过生产应用的最大承受负载,生产应用的整体负载不在预设的范围内;备份数据叠加到生产应用后,当生产环境超过生产应用的最大承受压力,生产应用状态和/或生产应用的整体负载和生产环境不在预设的范围内,节省业务管理员和备份管理员之间的沟通成本,快速且有效调整变更序列,规避过多人工干涉或人为调整带来的工作量及复杂度。
生产应用状态不在预设置的范围内,也就是不对外服务状态;生产应用的整体负载不在预设置的水平范围内,生产应用的整体负载超过生产应用的最大承受负载,具体为判断生产应用的整体负载不在适合发起备份作业的正常水平,直到生产负载降到低于生产应用的最大承受负载。
通过生产环境以及备份数据的工作,预判断备份数据叠加到生产应用后,当生产环境超过生产应用的最大承受压力,生产环境不在预设的范围内,生产环境的整体负载超过生产环境超过生产应用的最大承受压力,备份数据叠加到生产应用包括计算产生待备份数据备份时的产生的压力;压力写入生产环境程序中,避免应用出现因为备份引起的应用异常问题。具体是指结合生产环境的应用访问情况和后端存储负载情况以及预判备份新增的压力,并通过机器进行模拟,自动寻找合适的定时备份作业发起时间。
当生产应用状态和/或生产应用的整体负载和生产环境不在预设的范围内,重新发起评估,重新根据预置的备份策略发起时间点发起评估,获取生产应用状态和/或生产应用的整体负载和生产环境;将待备份数据叠加到生产应用前和所述待备份数据叠加到所述生产应用后,当生产应用状态和/或生产应用的整体负载和生产环境不在预设的范围内,再重新发起评估,直到生产应用状态和/或生产应用的整体负载和生产环境在预设范围内为止,发起备份。
获取生产应用状态和/或获取生产应用的整体负载和获取生产环境。
生产应用状态不在预设置的范围内,也就是不对外服务的状态;生产应用的整体负载不在预设置的水平范围内,生产应用的整体负载超过生产应用的最大承受负载,具体为判断生产应用的整体负载不在适合发起备份作业的正常水平,直到生产负载低于生产应用的最大承受负载。
通过生产环境以及备份数据的工作,预判断备份数据叠加到生产应用后,当生产环境超过生产应用的最大承受压力,生产应用状态和/或生产应用的整体负载和生产环境不在预设的范围内,生产环境的整体负载超过生产环境超过生产应用的最大承受压力,备份数据叠加到生产应用包括计算产生待备份数据备份时的产生的压力;压力写入生产环境程序中,避免应用出现因为备份引起的应用异常问题。压力写入生产环境程序中是指通过对历史性能的学习和当前生产业务压力分析,并模拟备份数据叠加的负载,来评估当次备份对生产的影响,有效规避备份时对生产业务的性能影响,保障生产应用的可用性。
生产应用状态和/或生产应用的整体负载和生产环境包括待备份的应用状态和/或生产环境的整体负载和生产环境,获取待备份的应用状态、生产环境的整体负载、生产环境二者以及三者的结合,优选为三者的结合。
待备份数据叠加到生产应用后,还可以是当生产应用状态和/或生产应用的整体负载和生产环境在预设的范围内,生产应用开始备份。
备份数据叠加到生产应用前以及叠加到生产应用后,生产应用状态不在预设置的范围内,包括待备份的应用状态,判断获取待备份的应用状态不是正常对外服务状态,分析应用所处的状态是正常对外服务中、正在维护中还是故障中,如果是处于正在“维护中”或者“故障中”等不适合进行一致性备份状态时,备份作业重新发起评估流程重新获取待备份的应用状态。
步骤S40当所述生产应用状态和/或生产应用的整体负载和生产环境在所述预设的范围内,所述生产应用开始备份。
备份数据叠加到生产应用前以及叠加到生产应用后,生产应用状态是否在预设置的范围内,包括获取的生产环境的整体负载,判断生产环境的整体负载超过生产应用的最大承受负载,生产应用状态和/或生产应用的整体负载和生产环境不在预设的范围内。本方案可以保证在生产应用的负载不超过最大承受负载,而避免出现生产应用异常的情况。
预判断备份数据叠加到生产应用前以及叠加到生产应用后,生产应用状态是否在预设置的范围内,包括生产环境的性能以及备份数据工作量,计算产生待备份数据备份时的产生的压力,将压力写入述生产环境程序中。模拟判断叠加负载以后的生产应用是否在正常使用范围内,具体为根据获取的备份数据的工作量,模拟出当前备份数据工作量时的产生的负载,叠加到当前的应用环境中,生产环境超过生产应用的最大承受压力,生产应用状态和/或生产应用的整体负载和生产环境不在预设的范围内。
计算产生待备份数据备份时的产生的压力,讲压力写入生产环境程序中,生产环境程序根据获取的备份数据的工作量,模拟出当前备份数据工作量时的产生的负载,叠加到当前的应用整体负载中,通过生产环境重新模拟叠加负载带来的影响,生产环境超过生产应用的最大承受压力,生产应用状态和/或生产应用的整体负载和生产环境不在预设的范围内。
生产环境的整体负载,是通过监控系统查询生产环境的实时性能数据来获取生产环境的整体负载。
本申请实施例根据预置的备份策略发起时间点发起评估,通过获取生产应用状态和/或生产应用的整体负载和生产环境,将待备份数据叠加到生产应用前和所述待备份数据叠加到所述生产应用后,当生产应用状态和/或生产应用的整体负载和生产环境不在预设的范围内,重新发起评估。从而自动避开应用不适合备份的时间,并且模拟备份产生的负载,避免系统崩溃,整体提高备份的成功率,减少无效备份。
需要说明的是,对于方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请实施例并不受所描述的动作顺序的限制,因为依据本申请实施例,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作并不一定是本申请实施例所必须的。
一种自动调整定时备份作业发起时间装置,包括获取模块100、评估模块200和发起模块300、备份模块400。
获取模块100,在预置的备份策略发起时间点发起评估,获取生产应用状态和/或生产应用的整体负载和生产环境;
评估模块200,将待备份数据叠加到生产应用前和所述待备份数据叠加到所述生产应用后,生产应用状态和/或生产应用的整体负载和生产环境不在预设的范围内;
发起模块300,重新发起评估。
本申请通过预先检测生产应用状态和/或生产应用的整体负载和生产环境,自动调整定时备份作业发起时间,自动检测生产环境状态,自动避开维护时间段和故障时间段,节省业务管理员和备份管理员之间的沟通成本,快速且有效调整变更序列,规避过多人工干涉或人为调整带来的工作量及复杂度。并通过对历史性能的学习和当前生产业务压力分析,并模拟备份作业叠加的负载,来评估当次备份对生产的影响,有效规避备份时对生产业务的性能影响,保障生产应用的可用性。
通过获取模块100,根据预置的备份策略发起时间点发起评估,获取生产应用状态和/或生产应用的整体负载和生产环境,获取用户备份策略的发起时间点,检测用户所配置的备份策略,开始进入用户选择的备份发起时间点时,备份软件不直接开始备份数据,而是发起评估流程,可以整体提高备份的成功率,减少无效备份。
通过评估模块200并在预置的备份策略发起时间点发起评估,获取生产应用状态和/或生产应用的整体负载和生产环境,通过获取备份策略而获取的发起时间点,获取生产应用状态和/或获取生产应用的整体负载和获取生产环境。将待备份数据叠加到生产应用前和所述待备份数据叠加到所述生产应用后,预判断备份数据叠加到生产应用前以及叠加到生产应用后,生产应用状态是否在预设置的范围内,当生产应用状态和/或生产应用的整体负载和生产环境不在预设的范围内,包括待备份数据叠加到述生产应用前,当生产应用状态是不对外服务状态,生产应用状态不在预设的范围内;备份数据叠加到生产应用前,当生产应用的整体负载超过生产应用的最大承受负载,生产应用的整体负载不在预设的范围内;备份数据叠加到生产应用后,当生产环境超过生产应用的最大承受压力,生产环境不在预设的范围内。
通过发起模块300,重新发起评估,当生产应用状态和/或生产应用的整体负载和生产环境不在预设的范围内,重新发起评估,重新根据预置的备份策略发起时间点发起评估,获取生产应用状态和/或生产应用的整体负载和生产环境;将待备份数据叠加到生产应用前和所述待备份数据叠加到所述生产应用后,当生产应用状态和/或生产应用的整体负载和生产环境不在预设的范围内,再重新发起评估,直到生产应用状态和/或生产应用的整体负载和生产环境在预设范围内为止,发起备份。本装置可节省业务管理员和备份管理员之间的沟通成本,快速且有效调整变更序列,规避过多人工干涉或人为调整带来的工作量及复杂度。
获取模块100包括获取生产应用状态模块101和/或获取生产应用的整体负载模块102和获取生产环境模块103;获取生产应用状态模块101,获取生产应用状态;获取生产应用的整体负载模块102,获取生产应用的整体负载;获取生产环境模块103,获取生产环境。待备份的应用状态和/或生产环境的整体负载和生产环境,获取待备份的应用状态、生产环境的整体负载、生产环境二者以及三者的结合,优选为三者的结合。
评估模块200包括第一叠加模块201和第二叠加模块202;第一叠加模块201,待备份数据叠加到生产应用前;第二叠加模块202,待备份数据叠加到生产应用后。备份数据叠加到生产应用包括待备份数据叠加到述生产应用前或待备份数据叠加到生产应用后。
备份模块400,生产应用状态和/或生产应用的整体负载和生产环境在预设的范围内,生产应用开始备份。待备份数据叠加到生产应用后,还可以是当生产应用状态和/或生产应用的整体负载和生产环境在预设的范围内,生产应用开始备份。
获取模块100为生产应用状态模块101时,评估模块200包括:第一叠加模块201,生产应用状态是不对外服务状态;生产应用状态不在预设的范围内。备份数据叠加到生产应用前以及叠加到生产应用后,生产应用状态不在预设置的范围内,包括待备份的应用状态,判断获取待备份的应用状态是不对外服务状态,分析应用所处的状态是不对外服务中、正在维护中还是故障中,如果是处于正在“维护中”或者“故障中”等不适合进行一致性备份状态时,备份作业重新发起评估流程重新获取待备份的应用状态。
获取模块100为生产应用的整体负载模块102时,评估模块200包括:第一叠加模块201,生产应用的整体负载超过生产应用的最大承受负载;生产应用状态和/或生产应用的整体负载和生产环境不在预设的范围内。备份数据叠加到生产应用前以及叠加到生产应用后,生产应用状态是否在预设置的范围内,包括获取的生产环境的整体负载,判断生产环境的整体负载超过生产应用的最大承受负载,生产应用的整体负载不在预设的范围内。
获取模块100为生产环境模块103时,评估模块200包括:第二叠加模块202,生产环境超过生产应用的最大承受压力;生产环境不在预设的范围内。预判断备份数据叠加到生产应用前以及叠加到生产应用后,生产应用状态是否在预设置的范围内,包括生产环境的性能以及备份数据工作量,计算产生待备份数据备份时的产生的压力,将压力写入述生产环境程序中。模拟判断叠加负载以后的生产应用是否在正常使用范围内,具体为根据获取的备份数据的工作量,模拟出当前备份数据工作量时的产生的负载,叠加到当前的应用环境中,生产环境超过生产应用的最大承受压力,生产环境不在预设的范围内。
第二叠加模块202包括叠加模块2021;叠加模块2021,计算产生待备份数据备份时的产生的压力;压力写入生产环境程序中。计算产生待备份数据备份时的产生的压力,讲压力写入生产环境程序中,生产环境程序根据获取的备份数据的工作量,模拟出当前备份数据工作量时的产生的负载,叠加到当前的应用整体负载中,通过生产环境重新模拟叠加负载带来的影响,生产环境超过生产应用的最大承受压力,生产环境不在预设的范围内。
生产环境的整体负载,通过监控系统查询生产环境的实时性能数据获取。
本说明书中的各个实施例均采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似的部分互相参见即可。
本申请还提供一种计算机设备,包括处理器、存储器及存储在所述存储器上并能够在所述处理器上运行的计算机程序,其中,存储器包括非易失性和/或易失性存储器。
处理器用于提供计算和控制能力,支撑整个计算机设备的运行。处理器用于提供计算和控制能力,支撑整个计算机设备的运行。
内存储器为非易失性存储介质中的计算机程序的运行提供环境,该计算机程序被处理器执行时,可使得处理器执行任意一种基于位置服务的位置识别方法。
该网络接口用于进行网络通信,如发送分配的任务等。本领域技术人员可以理解,该计算机设备的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。
应当理解的是,处理器可以是中央处理单元(Central Processing Unit,CPU),该处理器还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。其中,通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。所述计算机程序被所述处理器执行时实现以下步骤:
根据预置的备份策略发起时间点发起评估,获取生产应用状态和/或获取生产应用的整体负载和获取生产环境;
将待备份数据叠加到生产应用前和所述待备份数据叠加到所述生产应用后;
当所述生产应用状态和/或生产应用的整体负载和生产环境不在预设的范围内,重新发起所述评估;
当所述生产应用状态和/或生产应用的整体负载和生产环境在所述预设的范围内,所述生产应用开始备份。
本申请还提供一种计算机可读存储介质,所述计算机可读存储介质可包括非易失性和/或易失性存储器,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现以下步骤:
根据预置的备份策略发起时间点发起评估,获取生产应用状态和/或获取生产应用的整体负载和获取生产环境;
将待备份数据叠加到生产应用前和所述待备份数据叠加到所述生产应用后;
当所述生产应用状态和/或生产应用的整体负载和生产环境不在预设的范围内,重新发起所述评估;
当所述生产应用状态和/或生产应用的整体负载和生产环境在所述预设的范围内,所述生产应用开始备份。
本领域内的技术人员应明白,本申请实施例的实施例可提供为方法、装置、或计算机程序产品。因此,本申请实施例可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请实施例可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。
本申请实施例是参照根据本申请实施例的方法、终端设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理终端设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理终端设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理终端设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理终端设备上,使得在计算机或其他可编程终端设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程终端设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
尽管已描述了本申请实施例的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例做出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本申请实施例范围的所有变更和修改。
最后,还需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者终端设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者终端设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括要素的过程、方法、物品或者终端设备中还存在另外的相同要素。
以上对本申请所提供的一种自动调整定时备份作业发起时间的方法,进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上,本说明书内容不应理解为对本申请的限制。

Claims (20)

  1. 一种自动调整定时备份作业发起时间的方法,其中,包括:
    根据预置的备份策略发起时间点发起评估,获取生产应用状态和/或获取生产应用的整体负载和获取生产环境;
    将待备份数据叠加到生产应用前和所述待备份数据叠加到所述生产应用后;
    当所述生产应用状态和/或生产应用的整体负载和生产环境不在预设的范围内,重新发起所述评估;
    当所述生产应用状态和/或生产应用的整体负载和生产环境在所述预设的范围内,所述生产应用开始备份。
  2. 根据权利要求1所述的一种自动调整定时备份作业发起时间的方法,其中,将待备份数据叠加到生产应用前和所述待备份数据叠加到所述生产应用后,当所述生产应用状态和/或生产应用的整体负载和生产环境不在预设的范围内,重新发起所述评估,包括:
    所述待备份数据叠加到所述生产应用前;
    当所述生产应用状态是不对外服务状态;
    所述生产应用状态不在预设的范围内。
  3. 根据权利要求1所述的一种自动调整定时备份作业发起时间的方法,其中,将待备份数据叠加到生产应用前和所述待备份数据叠加到所述生产应用后,当所述生产应用状态和/或生产应用的整体负载和生产环境不在预设的范围内,重新发起所述评估,包括:
    所述备份数据叠加到所述生产应用前;
    当所述生产应用的整体负载超过所述生产应用的最大承受负载;
    所述生产应用的整体负载不在预设的范围内。
  4. 根据权利要求1所述的一种自动调整定时备份作业发起时间的方法,其中,将待备份数据叠加到生产应用前和所述待备份数据叠加到所述生产应用后,当所述生产应用状态和/或生产应用的整体负载和生产环境不在预设的范围内,重新发起所述评估,包括:
    所述备份数据叠加到所述生产应用后;
    当所述生产环境超过所述生产应用的最大承受压力;
    所述生产环境不在预设的范围内。
  5. 根据权利要求1-4任一所述的一种自动调整定时备份作业发起时间的方法,其中,所述待备份数据叠加到生产应用,包括:
    计算所述待备份数据备份时的产生的压力;
    将所述压力写入所述生产环境程序中。
  6. 一种自动调整定时备份作业发起时间装置,其中,包括:
    获取模块,在预置的备份策略发起时间点发起评估,获取生产应用状态和/或获取生产应用的整体负载和获取生产环境;
    所述获取模块包括获取生产应用状态模块和/或获取生产应用的整体负载模块和获取生产环境模块;所述获取生产应用状态模块,获取生产应用状态;所述获取生产应用的整体负载模块,获取生产应用的整体负载;所述获取生产环境模块,获取生产环境;
    评估模块,将待备份数据叠加到生产应用前和所述待备份数据叠加到所述生产应用后,所述生产应用状态和/或生产应用的整体负载和生产环境不在预设的范围内;
    所述评估模块包括第一叠加模块和第二叠加模块;所述第一叠加模块,所述待备份数据叠加到所述生产应用前;所述第二叠加模块,所述待备份数据叠加到所述生产应用后;
    发起模块,重新发起所述评估;
    备份模块,所述生产应用状态和/或生产应用的整体负载和生产环境在所述预设的范围内,所述生产应用开始备份。
  7. 根据权利要求6所述的一种自动调整定时备份作业发起时间装置,其中,所述获取模块为生产应用状态模块时,所述评估模块包括:
    所述评估模块为所述第一叠加模块,所述生产应用状态是不对外服务状态;
    所述生产应用状态不在预设的范围内。
  8. 根据权利要求6所述的一种自动调整定时备份作业发起时间装置,其中,所述获取模块为生产应用的整体负载模块时,所述评估模块包括:
    所述评估模块为所述第一叠加模块,所述生产应用的整体负载超过所述生产应用的最大承受负载;
    所述生产应用的整体负载不在预设的范围内。
  9. 根据权利要求6所述的一种自动调整定时备份作业发起时间装置,其中,所述获取模块为生产环境模块时,所述评估模块包括:
    所述评估模块为所述第二叠加模块,所述生产环境超过所述生产应用的最大承受压力;
    所述生产环境不在预设的范围内。
  10. 根据权利要求6-9任一所述的一种自动调整定时备份作业发起时间装置,其中,所述第二叠加模块包括叠加模块;
    所述叠加模块,计算产生所述待备份数据备份时的产生的压力;
    将所述压力写入所述生产环境程序中。
  11. 一种计算机设备,其中,包括处理器、存储器及存储在所述存储器上并能够在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现以下步骤:
    根据预置的备份策略发起时间点发起评估,获取生产应用状态和/或获取生产应用的整体负载和获取生产环境;
    将待备份数据叠加到生产应用前和所述待备份数据叠加到所述生产应用后;
    当所述生产应用状态和/或生产应用的整体负载和生产环境不在预设的范围内,重新发起所述评估;
    当所述生产应用状态和/或生产应用的整体负载和生产环境在所述预设的范围内,所述生产应用开始备份。
  12. 根据权利要求11所述的计算机设备,其中,将待备份数据叠加到生产应用前和所述待备份数据叠加到所述生产应用后,当所述生产应用状态和/或生产应用的整体负载和生产环境不在预设的范围内,重新发起所述评估,包括:
    所述待备份数据叠加到所述生产应用前;
    当所述生产应用状态是不对外服务状态;
    所述生产应用状态不在预设的范围内。
  13. 根据权利要求11所述的计算机设备,其中,将待备份数据叠加到生产应用前和所述待备份数据叠加到所述生产应用后,当所述生产应用状态和/或生产应用的整体负载和生产环境不在预设的范围内,重新发起所述评估,包括:
    所述备份数据叠加到所述生产应用前;
    当所述生产应用的整体负载超过所述生产应用的最大承受负载;
    所述生产应用的整体负载不在预设的范围内。
  14. 根据权利要求11所述的计算机设备,其中,将待备份数据叠加到生产应用前和所述待备份数据叠加到所述生产应用后,当所述生产应用状态和/或生产应用的整体负载和生产环境不在预设的范围内,重新发起所述评估,包括:
    所述备份数据叠加到所述生产应用后;
    当所述生产环境超过所述生产应用的最大承受压力;
    所述生产环境不在预设的范围内。
  15. 根据权利要求11-14任一所述的计算机设备,其中,所述待备份数据叠加到生产应用,包括:
    计算所述待备份数据备份时的产生的压力;
    将所述压力写入所述生产环境程序中。
  16. 一种计算机可读存储介质,其中,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现以下步骤:
    根据预置的备份策略发起时间点发起评估,获取生产应用状态和/或获取生产应用的整体负载和获取生产环境;
    将待备份数据叠加到生产应用前和所述待备份数据叠加到所述生产应用后;
    当所述生产应用状态和/或生产应用的整体负载和生产环境不在预设的范围内,重新发起所述评估;
    当所述生产应用状态和/或生产应用的整体负载和生产环境在所述预设的范围内,所述生产应用开始备份。
  17. 根据权利要求16所述的计算机可读存储介质,其中,将待备份数据叠加到生产应用前和所述待备份数据叠加到所述生产应用后,当所述生产应用状态和/或生产应用的整体负载和生产环境不在预设的范围内,重新发起所述评估,包括:
    所述待备份数据叠加到所述生产应用前;
    当所述生产应用状态是不对外服务状态;
    所述生产应用状态不在预设的范围内。
  18. 根据权利要求16所述的计算机可读存储介质,其中,将待备份数据叠加到生产应用前和所述待备份数据叠加到所述生产应用后,当所述生产应用状态和/或生产应用的整体负载和生产环境不在预设的范围内,重新发起所述评估,包括:
    所述备份数据叠加到所述生产应用前;
    当所述生产应用的整体负载超过所述生产应用的最大承受负载;
    所述生产应用的整体负载不在预设的范围内。
  19. 根据权利要求16所述的计算机可读存储介质,其中,将待备份数据叠加到生产应用前和所述待备份数据叠加到所述生产应用后,当所述生产应用状态和/或生产应用的整体负载和生产环境不在预设的范围内,重新发起所述评估,包括:
    所述备份数据叠加到所述生产应用后;
    当所述生产环境超过所述生产应用的最大承受压力;
    所述生产环境不在预设的范围内。
  20. 根据权利要求16-19任一所述的计算机可读存储介质,其中,所述待备份数据叠加到生产应用,包括:
    计算所述待备份数据备份时的产生的压力;
    将所述压力写入所述生产环境程序中。
PCT/CN2020/118895 2020-03-20 2020-09-29 一种自动调整定时备份作业发起时间的方法、装置、设备及介质 WO2021184724A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010200083.4 2020-03-20
CN202010200083.4A CN111382013A (zh) 2020-03-20 2020-03-20 一种自动调整定时备份作业发起时间的方法和装置

Publications (1)

Publication Number Publication Date
WO2021184724A1 true WO2021184724A1 (zh) 2021-09-23

Family

ID=71217315

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/118895 WO2021184724A1 (zh) 2020-03-20 2020-09-29 一种自动调整定时备份作业发起时间的方法、装置、设备及介质

Country Status (2)

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

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111382013A (zh) * 2020-03-20 2020-07-07 平安科技(深圳)有限公司 一种自动调整定时备份作业发起时间的方法和装置
CN114546714B (zh) * 2020-11-27 2023-07-21 中国移动通信集团四川有限公司 一种数据备份方法、系统、装置以及存储介质
CN112286735B (zh) * 2020-12-24 2021-04-09 深圳市科力锐科技有限公司 备份成功率确定方法、装置、设备及存储介质
CN112306758B (zh) * 2020-12-24 2021-04-02 深圳市科力锐科技有限公司 备份成功率预测方法、装置、设备及存储介质
CN112968970B (zh) * 2021-02-26 2023-04-07 杭州迪普信息技术有限公司 配置信息备份方法、装置及网络设备

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102902606A (zh) * 2012-10-11 2013-01-30 珠海金山办公软件有限公司 一种数据备份方法及装置
CN103617098A (zh) * 2013-12-03 2014-03-05 上海爱数软件有限公司 基于数据变化的智能备份方法及智能备份系统
CN105611034A (zh) * 2014-11-25 2016-05-25 中兴通讯股份有限公司 一种备份还原手机中用户数据的方法和相应的手机
CN106168912A (zh) * 2016-07-28 2016-11-30 重庆邮电大学 一种Hadoop大数据平台中基于备份任务运行时间估计的调度方法
CN110221909A (zh) * 2019-06-13 2019-09-10 东北大学 一种基于负载预测的Hadoop计算任务推测执行方法
CN110321253A (zh) * 2019-07-09 2019-10-11 北京百度网讯科技有限公司 用于备份数据的方法和装置
US20190354443A1 (en) * 2018-05-16 2019-11-21 International Business Machines Corporation Adjusting backup data in response to an abnormality detection
CN111382013A (zh) * 2020-03-20 2020-07-07 平安科技(深圳)有限公司 一种自动调整定时备份作业发起时间的方法和装置

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102902606A (zh) * 2012-10-11 2013-01-30 珠海金山办公软件有限公司 一种数据备份方法及装置
CN103617098A (zh) * 2013-12-03 2014-03-05 上海爱数软件有限公司 基于数据变化的智能备份方法及智能备份系统
CN105611034A (zh) * 2014-11-25 2016-05-25 中兴通讯股份有限公司 一种备份还原手机中用户数据的方法和相应的手机
CN106168912A (zh) * 2016-07-28 2016-11-30 重庆邮电大学 一种Hadoop大数据平台中基于备份任务运行时间估计的调度方法
US20190354443A1 (en) * 2018-05-16 2019-11-21 International Business Machines Corporation Adjusting backup data in response to an abnormality detection
CN110221909A (zh) * 2019-06-13 2019-09-10 东北大学 一种基于负载预测的Hadoop计算任务推测执行方法
CN110321253A (zh) * 2019-07-09 2019-10-11 北京百度网讯科技有限公司 用于备份数据的方法和装置
CN111382013A (zh) * 2020-03-20 2020-07-07 平安科技(深圳)有限公司 一种自动调整定时备份作业发起时间的方法和装置

Also Published As

Publication number Publication date
CN111382013A (zh) 2020-07-07

Similar Documents

Publication Publication Date Title
WO2021184724A1 (zh) 一种自动调整定时备份作业发起时间的方法、装置、设备及介质
WO2017028697A1 (zh) 计算机集群的扩容和缩容方法及设备
CN112988398B (zh) 一种微服务动态伸缩及迁移方法和装置
US8782215B2 (en) Performance testing in a cloud environment
US10783002B1 (en) Cost determination of a service call
WO2018184420A1 (zh) 软件测试方法、装置、电子设备及介质
US20160269319A1 (en) Intelligent Placement within a Data Center
US11579933B2 (en) Method for establishing system resource prediction and resource management model through multi-layer correlations
US20070271207A1 (en) Determining Compliance Rates for Probabilistic Requests
WO2016107610A1 (zh) 一种数据库集群的资源协调方法、装置及系统
JP2018532172A (ja) リソーススケジューリングのための方法およびシステム
WO2018086467A1 (zh) 一种云环境下应用集群资源分配的方法、装置和系统
US20230144100A1 (en) Method and apparatus for managing and controlling resource, device and storage medium
CN111682981B (zh) 一种基于云平台性能的检查点间隔设置方法及装置
US20150006451A1 (en) Document classification system with user-defined rules
WO2020134364A1 (zh) 一种虚拟机迁移方法、云计算管理平台和存储介质
CN106789141A (zh) 一种网关设备故障处理方法及装置
CN109254922A (zh) 一种服务器BMC Redfish功能的自动化测试方法及装置
WO2019153502A1 (zh) 一种点击事件响应方法、可读存储介质、终端设备及装置
CN107402863B (zh) 一种用于通过日志系统处理业务系统的日志的方法与设备
WO2020220437A1 (zh) 一种基于AdaBoost-Elman的虚拟机软件老化预测方法
US11831706B1 (en) System and method for distributed management of storage systems based on intent
CN112333282A (zh) 一种基于混合云的服务提供方法、装置、介质及电子设备
US9501321B1 (en) Weighted service requests throttling
CN111159038A (zh) 一种模拟cpu负载的方法及电子设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20925138

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20925138

Country of ref document: EP

Kind code of ref document: A1