Data backup method and device, equipment, storage medium and program product

By introducing backup rule management tasks and data backup subprocesses into the data backup system, the problem of easy crash in the data backup process in the existing technology is solved, and the stability and sustainability of data backup are achieved.

CN119473717APending Publication Date: 2025-02-18INFORMATION2 SOFTWARE SHANGHAI
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411522800.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-29
Publication Date
2025-02-18

AI Technical Summary

Technical Problem

In the existing data backup methods, the resident process is prone to being stuck or crashed and restarted, resulting in interruptions in backup or recovery, causing time cost and security issues.

Method used

By detecting the data backup request sent by the scheduling server, establishing a backup rule management task, and establishing a data backup subprocess through this task, responsible for communication links and data backups with the target source platform, ensuring continuous data backup when the service crashes or restarts.

Benefits of technology

Avoid unexpected interruptions in data backup, improve the stability of data backup, and ensure continuous data backup to the source platform.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119473717A_ABST
    Figure CN119473717A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of disaster recovery, and discloses a data backup method, device and equipment, a storage medium and a program product. The method comprises the steps that when a data backup request sent by a scheduling server is detected, a backup rule management task is established, and a data backup sub-process is established through the backup rule management task; establishing a communication link with the target source platform through the data backup sub-process according to the data backup request; and performing data backup on the target source platform based on the communication link. According to the scheme of the embodiment, the data backup sub-process is established through the backup rule management task so as to be responsible for data backup of the corresponding source platform, continuous data backup of the source platform can be ensured when the service crashes or is restarted, accidental interruption of data backup can be avoided, and the stability of data backup can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of disaster recovery technology, and in particular to a data backup method, device, equipment, storage medium and program product. Background Art

[0002] Disaster recovery technology has gradually matured and can back up system data and database data on each platform. In the event of an unexpected situation, the platform system and database can be restored in a timely and correct manner to ensure the security of the platform data and ensure that the company's business will not be damaged.

[0003] At present, the existing data backup methods usually adopt host-based remote disaster recovery technology, which provides data backup, recovery and other functions by installing applications, and uses the transmission control protocol / internet protocol network to connect to the remote backup server to achieve remote data backup. However, in the existing technology, the designed data backup program is a resident process, which monitors system resources and accepts remote backup calls at any time. This process undertakes all the functions of backup and recovery, and it is easy for the program to get stuck or crash and restart, resulting in a direct interruption during backup or recovery, which brings unnecessary time costs and great security issues. Summary of the invention

[0004] The present invention provides a data backup method, device, equipment, storage medium and program product, which can avoid accidental interruption of data backup and improve the stability of data backup.

[0005] According to one aspect of the present invention, there is provided a data backup method, comprising:

[0006] When a data backup request sent by the scheduling server is detected, a backup rule management task is established, and a data backup subprocess is established through the backup rule management task;

[0007] Through the data backup subprocess, according to the data backup request, a communication link is established with the target source platform;

[0008] Data is backed up on the target source platform based on the communication link.

[0009] According to another aspect of the present invention, there is provided a data backup device, comprising:

[0010] A task establishment module, used for establishing a backup rule management task when a data backup request sent by a scheduling server is detected, and establishing a data backup subprocess through the backup rule management task;

[0011] A link establishment module, used to establish a communication link with a target source platform according to the data backup request through the data backup subprocess;

[0012] A data backup module is used to perform data backup on the target source platform based on the communication link.

[0013] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:

[0014] at least one processor; and

[0015] a memory communicatively connected to the at least one processor; wherein,

[0016] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the data backup method described in any embodiment of the present invention.

[0017] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, and the computer program is used to enable a processor to implement the data backup method described in any embodiment of the present invention when executed.

[0018] According to another aspect of the present invention, a computer program product is provided, comprising a computer program, wherein when the computer program is executed by a processor, the data backup method according to any embodiment of the present invention is implemented.

[0019] The technical solution of the embodiment of the present invention is to establish a backup rule management task when a data backup request sent by a scheduling server is detected, and to establish a data backup sub-process through the backup rule management task; to establish a communication link with the target source platform according to the data backup request through the data backup sub-process; to perform data backup on the target source platform based on the communication link, and to establish a data backup sub-process through the backup rule management task to be responsible for the data backup of the corresponding source platform, so as to ensure continuous data backup of the source platform when the service crashes or restarts, avoid accidental interruption of data backup, and improve the stability of data backup.

[0020] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0022] Figure 1 is a flow chart of a data backup method provided according to Embodiment 1 of the present invention;

[0023] Figure 2 is a structural diagram of a data backup system provided according to Embodiment 1 of the present invention;

[0024] Figure 3 This is a schematic diagram of a process of restarting a data backup service provided according to Embodiment 1 of the present invention;

[0025] Figure 4 is a structural diagram of a data backup device provided according to Embodiment 2 of the present invention;

[0026] Figure 5 It is a structural schematic diagram of an electronic device for implementing the data backup method according to an embodiment of the present invention. DETAILED DESCRIPTION

[0027] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0028] It should be noted that the terms "first", "second", "target", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0029] Embodiment 1

[0030] Figure 1A flowchart of a data backup method is provided for the first embodiment of the present invention. This embodiment is applicable to the case of performing off-site data backup of system data or database data. The method can be executed by a data backup device, which can be implemented in the form of hardware and / or software. Typically, the data backup device can be configured in an electronic device, such as a computer device or a server. Figure 1 As shown, the method includes:

[0031] S110. When a data backup request sent by a scheduling server is detected, a backup rule management task is established, and a data backup subprocess is established through the backup rule management task.

[0032] In this embodiment, the data backup system may be composed of a scheduling server, a standby server, and a source platform. The scheduling server is used to call the standby server to perform system resource information statistics, process information backup and backup recovery on the source platform when disaster recovery is required, and monitor the operation of the standby server. Typically, the user can configure the backup rule information on the scheduling server, and send the backup rule information to the standby server through the scheduling server, so that the standby server can perform data backup on the source platform based on the backup rule information.

[0033] Specifically, when the backup server receives the data backup request sent by the scheduling server, it determines that it is necessary to start off-site disaster recovery, and at this time, a backup rule management task can be established. After the backup rule management task is established, a data backup subprocess can be automatically established, and the data backup subprocess is independently responsible for data transmission between the source platform. Among them, the backup rule management task can be regarded as the parent process of the data backup subprocess, and the data backup subprocess will only stop running when it receives the shutdown command sent by the backup rule management task.

[0034] S120. Establishing a communication link with the target source platform through the data backup subprocess according to the data backup request.

[0035] Specifically, the data backup subprocess can determine the target source platform and the corresponding access address that need to perform data backup, as well as the corresponding backup rule information, based on the data backup request. For example, the backup rule identifier can be obtained according to the data backup request, and based on the backup rule identifier, the matching backup rule information can be found from the preset backup rule set. Then, the data backup subprocess can establish a communication link between the backup server and the target source platform based on the above-determined information. This embodiment does not specifically limit the communication protocol based on the communication link. Among them, the source platform can be a virtual machine platform such as VMware.

[0036] Optionally, establishing a communication link with the target source platform through the data backup subprocess according to the data backup request may include:

[0037] The data backup request is subjected to content parsing to obtain backup rule information, and a communication link with a target source platform is established through the data backup subprocess according to the backup rule information.

[0038] Specifically, after establishing the backup rule management task, the standby server can parse the data backup request through the backup rule management task to obtain the backup rule information. For example, the backup rule information may include the access address of the source platform, the type of data to be backed up, the backup data storage path, the execution cycle, etc. Then, the data backup subprocess can connect to the target source platform based on the backup rule information, transfer the data to be backed up, and write the data to be backed up to the standby server.

[0039] Optionally, after parsing the content of the data backup request to obtain backup rule information, the following may also be included:

[0040] Storing the backup rule information in a lightweight data exchange format file in a preset path;

[0041] Establishing a communication link with a target source platform through the data backup subprocess according to the backup rule information may include:

[0042] The backup rule information is read from the lightweight data exchange format file of the preset path through the data backup subprocess, and a communication link with the target source platform is established according to the backup rule information.

[0043] In a specific example, after parsing the backup rule information, the standby server can store it in a lightweight data exchange format file of a specified path, typically a Json file. After establishing a data backup subprocess, the data backup subprocess can read the backup rule information from the Json file and connect to the target source platform based on the backup rule information.

[0044] In this embodiment, by setting a separate subprocess to be responsible for the transmission and writing of backup data, the security and stability of data backup can be improved.

[0045] S130: Back up data of the target source platform based on the communication link.

[0046] Specifically, the data backup subprocess may receive the data to be backed up from the target source platform based on the established communication link, and perform backup processing on the data to be backed up, for example, the data may be stored in a designated database.

[0047] Optionally, backing up data on the target source platform based on the communication link may include:

[0048] The data to be backed up of the target source platform is acquired based on the communication link through the data backup subprocess, and the data to be backed up is written to the local disk.

[0049] The data to be backed up may include system operation data, process data, database data, etc. of the target source platform. Specifically, when the standby server backs up the data of the target source platform, it may write the data to be backed up of the target source platform to the local disk through the data backup subprocess.

[0050] In a specific implementation of this embodiment, the structure of the data backup system can be as follows: Figure 2 As shown, the VMware source platform is composed of multiple virtual machines. The scheduling server obtains the platform and virtual machine information from the VMware source platform, and sends the platform and virtual machine information and backup rule information to the standby server. After that, after receiving the information sent by the scheduling server, the data backup service in the standby server can create a backup rule management task, and the task can create a data backup subprocess, for example, a vmagent process. The scheduling server can send a request to the backup rule management task to view the relevant information of the data backup.

[0051] Furthermore, the data backup subprocess can connect to the VMware source platform based on the platform and virtual machine information and the backup rule information, and write the received data to be backed up to the local disk to implement data backup. Secondly, the data backup subprocess can periodically send the backup rule information or information path to the data backup service through the interface for receiving subprocess information pre-set in the data backup service. Among them, the data backup service is pre-deployed in the backup server and can be an application for implementing data backup.

[0052] The technical solution of the embodiment of the present invention is to establish a backup rule management task when a data backup request sent by a scheduling server is detected, and to establish a data backup sub-process through the backup rule management task; to establish a communication link with the target source platform according to the data backup request through the data backup sub-process; to perform data backup on the target source platform based on the communication link, and to establish a data backup sub-process through the backup rule management task to be responsible for the data backup of the corresponding source platform, so as to ensure continuous data backup of the source platform when the service crashes or restarts, avoid accidental interruption of data backup, and improve the stability of data backup.

[0053] Optionally, the technical solution of this embodiment may further include: in the process of data backup, regularly sending the backup rule information to the backup rule management task through the data backup subprocess;

[0054] When the data backup service is restarted, if the preset timeout period has not been reached, the data backup subprocess continues to back up the target source platform, and after the data backup service is successfully restarted, it is determined whether there is a backup rule management task that matches the data backup subprocess;

[0055] If not, rebuild the backup rule management task according to the backup rule information, and continue to monitor the data backup sub-process through the backup rule management task.

[0056] In this embodiment, during the data backup process, if the data backup service crashes or restarts, the backup rule management task will be lost, the scheduling server cannot view the data backup status, and the backup rule information, process related information (such as process identifier, etc.) and task related information sent by the data backup subprocess on a regular basis cannot be received. It should be noted that the restart of the data backup service and the loss of the backup rule management task will not affect the operation of the data backup subprocess.

[0057] Therefore, within the preset timeout period, the data backup subprocess will continue to back up data on the target source platform because it has not received the shutdown instruction of the backup rule management task. If the data backup service is successfully restarted within the preset timeout period, after receiving the backup rule information sent by the data backup subprocess, the backup rule management task corresponding to the data backup subprocess cannot be found, and the backup rule management task can be rebuilt according to the backup rule information. The rebuilt backup rule management task can continue to monitor the data backup subprocess according to the process identifier sent by the data backup subprocess until the backup or recovery is completed.

[0058] The advantage of the above settings is that the data backup subprocess does not stop the transmission of virtual machine data and writing to the local disk. Data backup will not be affected by the crash or restart of the data backup service, and the entire backup process is very stable.

[0059] Optionally, the technical solution of this embodiment may also include: when the data backup service is restarted, if the data backup service has not been successfully restarted after a preset timeout period is reached, terminating the data backup of the target source platform through the data backup sub-process.

[0060] In another case, if the data backup service still fails to restart successfully after reaching the preset timeout period, it means that there may be a fault that cannot be repaired, and the data backup subprocess can choose to automatically terminate the data backup of the target source platform. The preset timeout period can be set according to historical experience.

[0061] In a specific implementation of this embodiment, the process of restarting the data backup service can be as follows: Figure 3 As shown. When the data backup service is restarted, the backup rule management task is lost, and the data backup subprocess continues to receive the data to be backed up sent by the target source platform and writes it to the local disk. After the data backup service is restarted, if the data backup service receives the backup rule information and task-related information sent regularly by the data backup subprocess, it determines whether there is a backup rule management task corresponding to the task-related information. If it is determined that it does not exist, the backup rule management task can be rebuilt according to the task-related information, and the backup rule management task continues to monitor the operation of the data backup subprocess. The scheduling server can continuously monitor whether the data backup service has been successfully restarted within a certain period of time.

[0062] The technical solution of this embodiment uses independent sub-processes to perform backup and recovery transmission, thus avoiding the direct failure of backup rules caused by the crash or restart of the data backup service, and realizing information exchange through inter-process communication, which can realize real-time monitoring of sub-processes, so that sub-processes can feedback information such as transmission progress. Secondly, by re-starting the data backup service according to the information of the sub-process, the backup rule management task is rebuilt so that the backup process will not be interrupted. Even if the service crashes or restarts when 90% of the progress is backed up, the backup can continue normally, ensuring the stability and security of the backup software and making it more competitive. Moreover, it can support the situation where the service crashes and restarts when multiple backup rules are running at the same time. Multiple sub-processes send information to the server and all are rebuilt successfully, and the transmission of any backup rule will not be stopped. In addition to the backup and recovery rules, it can also play a role in the migration, replication and drills of virtual machines to ensure the stable operation of the rules.

[0063] Embodiment 2

[0064] Figure 4 This is a schematic diagram of the structure of a data backup device provided in Embodiment 2 of the present invention. Figure 4 As shown, the device includes: a task establishment module 210, a link establishment module 220 and a data backup module 230; wherein,

[0065] The task establishment module 210 is used to establish a backup rule management task when a data backup request sent by the scheduling server is detected, and to establish a data backup subprocess through the backup rule management task;

[0066] A link establishment module 220, configured to establish a communication link with a target source platform according to the data backup request through the data backup subprocess;

[0067] The data backup module 230 is used to perform data backup on the target source platform based on the communication link.

[0068] The technical solution of the embodiment of the present invention is to establish a backup rule management task when a data backup request sent by a scheduling server is detected, and to establish a data backup sub-process through the backup rule management task; to establish a communication link with the target source platform according to the data backup request through the data backup sub-process; to perform data backup on the target source platform based on the communication link, and to establish a data backup sub-process through the backup rule management task to be responsible for the data backup of the corresponding source platform, so as to ensure continuous data backup of the source platform when the service crashes or restarts, avoid accidental interruption of data backup, and improve the stability of data backup.

[0069] Optionally, the link establishment module 220 is specifically used to perform content analysis on the data backup request to obtain backup rule information, and establish a communication link with the target source platform through the data backup sub-process according to the backup rule information.

[0070] Optionally, the link establishment module 220 is further configured to store the backup rule information in a lightweight data exchange format file in a preset path;

[0071] The backup rule information is read from the lightweight data exchange format file of the preset path through the data backup subprocess, and a communication link with the target source platform is established according to the backup rule information.

[0072] Optionally, the data backup device further includes:

[0073] An information sending module is used to send the backup rule information to the backup rule management task regularly through the data backup subprocess during the data backup process;

[0074] A task judgment module is used to, when the data backup service is restarted, if the preset timeout period has not been reached, continue to back up the data of the target source platform through the data backup subprocess, and after the data backup service is successfully restarted, determine whether there is a backup rule management task matching the data backup subprocess;

[0075] The task reconstruction module is used to rebuild the backup rule management task according to the backup rule information if no, and continue to monitor the data backup sub-process through the backup rule management task.

[0076] Optionally, the data backup device further includes:

[0077] The backup termination module is used to terminate the data backup of the target source platform through the data backup subprocess when the data backup service is restarted, if the data backup service has not been successfully restarted after a preset timeout period is reached.

[0078] Optionally, the data backup module 230 is specifically configured to obtain the data to be backed up of the target source platform based on the communication link through the data backup subprocess, and write the data to be backed up to the local disk.

[0079] The data backup device provided in the embodiment of the present invention can execute the data backup method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0080] In the technical solution of the present disclosure, the collection, storage, use, processing, transmission, provision and disclosure of user personal information involved are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.

[0081] Embodiment 3

[0082] Figure 5 A schematic diagram of the structure of an electronic device 30 that can be used to implement an embodiment of the present invention is shown. The electronic device 30 is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device 30 can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.

[0083] like Figure 5As shown, the electronic device 30 includes at least one processor 31, and a memory connected to the at least one processor 31, such as a read-only memory (ROM) 32, a random access memory (RAM) 33, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 31 can perform various appropriate actions and processes according to the computer program stored in the read-only memory 32 or the computer program loaded from the storage unit 38 to the random access memory 33. In the RAM 33, various programs and data required for the operation of the electronic device 30 can also be stored. The processor 31, the ROM 32 and the RAM 33 are connected to each other through a bus 34. The input / output (I / O) interface 35 is also connected to the bus 34.

[0084] A number of components in the electronic device 30 are connected to the I / O interface 35, including: an input unit 36, such as a keyboard, a mouse, etc.; an output unit 37, such as various types of displays, speakers, etc.; a storage unit 38, such as a disk, an optical disk, etc.; and a communication unit 39, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 39 allows the electronic device 30 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0085] The processor 31 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 31 include, but are not limited to, a central processing unit, a graphics processing unit, various special artificial intelligence computing chips, various processors running machine learning model algorithms, digital signal processors, and any appropriate processors, controllers, microcontrollers, etc. The processor 31 executes the various methods and processes described above, such as a data backup method.

[0086] In some embodiments, the data backup method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 38. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 30 via the ROM 32 and / or the communication unit 39. When the computer program is loaded into the RAM 33 and executed by the processor 31, one or more steps of the data backup method described above may be performed. Alternatively, in other embodiments, the processor 31 may be configured to perform the data backup method in any other appropriate manner (e.g., by means of firmware).

[0087] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays, application specific integrated circuits, application specific standard products, systems on a chip, load programmable logic devices, computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0088] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0089] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, device, or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory, a read-only memory, an erasable programmable read-only memory, an optical fiber, a portable compact disk read-only memory, an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0090] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device 30 having: a display device (e.g., a cathode ray tube or a liquid crystal display) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or a trackball) through which the user can provide input to the electronic device 30. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).

[0091] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local area networks, wide area networks, blockchain networks, and the Internet.

[0092] A computing system may include clients and servers. Clients and servers are generally remote from each other and typically interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship to each other. The server may be a cloud server.

[0093] This embodiment may also include a computer program product, which includes a computer program. When the computer program is executed by a processor, it implements the data backup method provided by any embodiment of the present invention.

[0094] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0095] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A data backup method, characterized in that: include: When a data backup request sent by the scheduling server is detected, a backup rule management task is established, and a data backup subprocess is established through the backup rule management task; Through the data backup subprocess, according to the data backup request, a communication link is established with the target source platform; Data is backed up on the target source platform based on the communication link.

2. The method according to claim 1, characterized in that Establishing a communication link with the target source platform through the data backup subprocess according to the data backup request includes: The data backup request is subjected to content parsing to obtain backup rule information, and a communication link with a target source platform is established through the data backup subprocess according to the backup rule information.

3. The method according to claim 2, characterized in that After parsing the data backup request to obtain backup rule information, the method further includes: Storing the backup rule information in a lightweight data exchange format file in a preset path; By means of the data backup subprocess, a communication link with the target source platform is established according to the backup rule information, including: The backup rule information is read from the lightweight data exchange format file of the preset path through the data backup subprocess, and a communication link with the target source platform is established according to the backup rule information.

4. The method according to claim 2, characterized in that: Also includes: During the data backup process, the backup rule information is regularly sent to the backup rule management task through the data backup subprocess; When the data backup service is restarted, if the preset timeout period has not been reached, the data backup subprocess continues to back up the target source platform, and after the data backup service is successfully restarted, it is determined whether there is a backup rule management task that matches the data backup subprocess; If not, rebuild the backup rule management task according to the backup rule information, and continue to monitor the data backup sub-process through the backup rule management task.

5. The method according to claim 4, characterized in that Also includes: When the data backup service is restarted, if the data backup service is still not successfully restarted after the preset timeout period is reached, the data backup subprocess terminates the data backup of the target source platform.

6. The method according to claim 1, characterized in that Backing up data on the target source platform based on the communication link includes: The data to be backed up of the target source platform is acquired based on the communication link through the data backup subprocess, and the data to be backed up is written to the local disk.

7. A data backup device, characterized in that: include: A task establishment module, used for establishing a backup rule management task when a data backup request sent by a scheduling server is detected, and establishing a data backup subprocess through the backup rule management task; A link establishment module, used to establish a communication link with a target source platform according to the data backup request through the data backup subprocess; A data backup module is used to perform data backup on the target source platform based on the communication link.

8. An electronic device, characterized in that: The electronic device comprises: at least one processor, and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the data backup method according to any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and the computer program is used to enable a processor to implement the data backup method according to any one of claims 1 to 6 when executed.

10. A computer program product, characterized in that The invention comprises a computer program, which implements the data backup method according to any one of claims 1 to 6 when executed by a processor.