Method, apparatus and computer program product for backing up data

The optimization parameters of streaming backup are automatically configured through the decision tree model, which solves the problem of inaccurate configuration of optimization parameters and inability to adjust in real time in traditional data backup, improves the efficiency and stability of streaming backup, and reduces labor costs.

CN112650618BActive Publication Date: 2024-08-23EMC IP HLDG CO LLC
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN201910967192.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-10-12
Publication Date
2024-08-23
Estimated Expiration
2039-10-12

AI Technical Summary

Technical Problem

The optimization parameter configuration in traditional data backup is not accurate enough and cannot be adjusted in real time, resulting in streaming backup being inefficient and labor-intensive, and unable to adapt to diverse and complex backup scenarios.

Method used

Use the decision tree model combined with artificial intelligence and machine learning technology to automatically configure the optimization parameters of streaming backup, including the number of concurrency and data parsing concurrency, and adjust it in real time according to data attributes, resource usage and network conditions, reducing labor costs and improving backup efficiency.

Benefits of technology

It realizes the automation of streaming backup and real-time optimization parameter adjustment, improves backup efficiency, reduces labor costs, and improves the stability and performance of the backup system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112650618B
    Figure CN112650618B
Patent Text Reader

Abstract

Embodiments of the present disclosure relate to a method, device and computer program product for backing up data. The method includes obtaining data attributes of specific data to be backed up from a client to a server, resource usage at the client, and network conditions between the client and the server, and then automatically setting multiple optimization parameters for performing streaming backup based on the obtained data attributes, resource usage, and network conditions, wherein the multiple optimization parameters at least include the concurrency of streaming transmission and the concurrency of data parsing. The method also includes parsing specific data and backing up the specific data from the client to the server according to the set multiple optimization parameters. In the process of performing streaming backup, the embodiments of the present disclosure can automatically and intelligently configure the optimization parameters of streaming backup according to the actual environment of streaming backup, thereby reducing labor costs, and can achieve real-time adjustment of optimization parameters, thereby improving the execution efficiency of streaming backup.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present disclosure generally relate to the field of data storage, and more particularly to methods, devices, and computer program products for backing up data. Background Art

[0002] In order to avoid data loss, users usually store files and data in backup systems, which can usually store large amounts of data. When data failure or disaster occurs, data can be restored through the backup system to avoid unnecessary losses. Data backup can be divided into full backup, incremental backup, differential backup, and selective backup. Data backup can be divided into hot backup and cold backup depending on whether the system is in normal operation.

[0003] Streaming is a technology that transmits data in the form of a stable and continuous stream. It can increase the transmission speed through parallel data transmission. Parallel data transmission refers to making full use of network bandwidth, dividing the data to be transmitted into several slices, and establishing multiple streams to transmit these slices in parallel. Streaming backup refers to backing up data from the backup client to the backup server through streaming transmission. Generally speaking, parallel streaming backup can increase the speed of data backup. Summary of the invention

[0004] The embodiments of the present disclosure provide a method, device and computer program product for backing up data, which can automatically and intelligently configure the optimization parameters of streaming backup according to the actual environment of streaming backup, reduce labor costs, and can realize real-time adjustment of optimization parameters, thereby improving the execution efficiency of streaming backup.

[0005] In one aspect of the present disclosure, a method for backing up data is provided. The method includes: obtaining data attributes of specific data to be backed up from a client to a server, resource usage at the client, and network conditions between the client and the server; setting multiple parameters for performing streaming backup based on the data attributes, resource usage, and network conditions, wherein the multiple parameters at least include a concurrency number of streaming transmission and a concurrency number of data parsing; and parsing the specific data and backing up the specific data from the client to the server according to the set multiple parameters.

[0006] In another aspect of the present disclosure, a device for backing up data is provided. The device includes a processing unit and a memory, wherein the memory is coupled to the processing unit and stores instructions. When the instructions are executed by the processing unit, the following actions are performed: obtaining data attributes of specific data to be backed up from a client to a server, resource usage at the client, and network conditions between the client and the server; based on the data attributes, resource usage, and network conditions, setting multiple parameters for performing streaming backup, wherein the multiple parameters at least include a concurrent number of streaming transmission and a concurrent number of data parsing; and parsing the specific data and backing up the specific data from the client to the server according to the set multiple parameters.

[0007] In yet another aspect of the present disclosure, a computer program product is provided, which is tangibly stored on a non-transitory computer-readable medium and includes computer-executable instructions, which, when executed, cause a computer to perform a method or process according to an embodiment of the present disclosure.

[0008] This summary is provided to introduce a selection of concepts in a simplified form, which are further described in the detailed description below. This summary is not intended to identify key features or essential features of the disclosure, nor is it intended to limit the scope of the various embodiments of the disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] The above and other objects, features and advantages of the present disclosure will become more apparent through a more detailed description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, wherein like reference numerals generally represent like elements throughout the exemplary embodiments of the present disclosure.

[0010] Figure 1 A schematic diagram showing an example architecture of an example backup system according to an embodiment of the present disclosure;

[0011] Figure 2 A flow chart of a method for backing up data according to an embodiment of the present disclosure is shown;

[0012] Figure 3 A schematic diagram showing an example environment for automatically configuring optimization parameters of streaming backup through a decision tree model according to an embodiment of the present disclosure;

[0013] Figure 4 A flowchart of a method for training a decision tree model according to an embodiment of the present disclosure is shown;

[0014] Figure 5 A schematic diagram showing a portion of an example decision tree model according to an embodiment of the present disclosure; and

[0015] Figure 6A schematic block diagram of a device that can be used to implement an embodiment of the present disclosure is shown. Specific embodiments

[0016] The preferred embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although some specific embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to make the present disclosure more thorough and complete, and to fully convey the scope of the present disclosure to those skilled in the art.

[0017] As used herein, the term "including" and its variations mean open inclusion, i.e., "including but not limited to". Unless otherwise stated, the term "or" means "and / or". The term "based on" means "based at least in part on". The terms "an example embodiment" and "an embodiment" mean "at least one example embodiment". The term "another embodiment" means "at least one additional embodiment". The terms "first", "second", etc. may refer to different or the same objects, unless explicitly indicated to be different.

[0018] In the scenario of data backup, in order to improve the efficiency of data backup, some optimization parameters, such as the number of concurrency, can be configured. Traditionally, there are two ways to configure the optimization parameters. One way is to set the same optimization parameters for all scenarios. However, due to the different actual environmental factors of each data backup scenario, the same optimization parameters cannot be suitable for a variety of actual scenarios. Another way is to manually configure the optimization parameters. Since the parameter configuration of streaming backup is very professional, users usually cannot complete it alone, so sales technical support personnel or even R&D personnel (when technical support personnel cannot solve it either) are required to participate in the configuration, which has a high labor cost. In addition, due to the diversity and complexity of backup scenarios, the optimization parameters may need to be adjusted continuously, and the manual configuration method cannot complete such adjustments in real time. Therefore, the optimization parameter configuration of traditional data backup is either not accurate and appropriate, or the labor cost is high and cannot be adjusted in real time, which affects the execution efficiency of streaming backup.

[0019] To this end, the embodiments of the present disclosure propose a new solution for automatically configuring the optimization parameters of streaming backup. In the process of performing streaming backup, the embodiments of the present disclosure can automatically and intelligently configure the optimization parameters of streaming backup according to the actual environment of streaming backup, thereby reducing labor costs and being able to adjust the optimization parameters in real time, thereby improving the execution efficiency of streaming backup. In addition, according to some embodiments of the present disclosure, a decision tree model can be trained based on artificial intelligence and machine learning technology, and then the optimization parameters of streaming backup can be automatically determined through the decision tree model.

[0020] The following references Figures 1 to 6It should be understood that these exemplary embodiments are provided only to enable those skilled in the art to better understand and implement the embodiments of the present disclosure, and are not intended to limit the scope of the present disclosure in any way.

[0021] Figure 1 FIG. 1 is a schematic diagram showing the architecture of an exemplary backup system 100 according to an embodiment of the present disclosure. Figure 1 As shown, the backup system 100 includes a backup client 110 and a backup server 120. The backup client 110 can back up the data therein to the backup server 120 in real time, periodically or aperiodically to ensure the security of the data. According to the embodiment of the present disclosure, the backup client 110 can be a client installed on some specific machines. It should be understood that although Figure 1 Only one backup client and one backup server are shown in FIG. 1 , however, the backup system 100 may include more backup clients and / or more backup servers.

[0022] In addition to being used to back up files in ordinary file systems, the backup client 110 can also be used to back up some specific types of data, such as databases, virtual machine files (such as Hyper-v, vCenter), email files (such as Exchange), etc. In these specific types of specific data, a small change in one of them will lead to a large change in the entire file. For example, inserting a new piece of data in the database will lead to a large change in the entire database file. If the entire database file is directly backed up to the backup server, it will result in a huge amount of data backup and a very low deduplication rate. Therefore, for these specific types of specific data, the specific data needs to be parsed in the backup client before performing data backup.

[0023] like Figure 1 As shown, the backup client 110 includes a data parsing module 108, which can parse the specific data 105 of a specific type to extract the changed data, as shown by arrow 106, and then only some of the changed data can be backed up. Then, the data parsing module 108 streams the data to be backed up to the backup server 120, as shown by arrow 115. In this way, the specific data can be parsed into a stream format with corresponding rules, thereby achieving a higher deduplication rate. In general, for various types of specific data, corresponding data parsing modules need to be adapted respectively.

[0024] Streaming backup brings a higher deduplication rate, but makes the backup client 110 more complex, and thus the performance and stability of each backup task cannot be guaranteed. Therefore, for specific backup clients and / or backup scenarios, it is necessary to configure optimization parameters to optimize the execution performance of streaming backup. Figure 1 As shown by arrow 106, the concurrency of data parsing can be set to speed up the data parsing. Similarly, as shown by arrow 115, the concurrency of streaming transmission can be set to speed up the data transmission. However, too many concurrency numbers or inappropriate concurrency numbers may cause preemption between resources, affect the processing speed, and even cause the backup task to be unable to complete. Therefore, it is necessary to accurately and intelligently determine the appropriate optimization parameters for various backup scenarios.

[0025] In general, data deduplication and virtual synthesis technologies can improve the efficiency of data transmission. With data deduplication technology, the original data is divided into fixed or variable blocks represented by hash values, and the block algorithm ensures that the same data block always generates the same hash value. If the same data block has been transmitted and stored, there is no need to transmit the data block, thus saving data transmitted over the network and reducing the capacity consumed by storage.

[0026] Figure 2 FIG. 2 is a flowchart of a method 200 for backing up data according to an embodiment of the present disclosure. Figure 1 The backup system 100 described herein will be described together.

[0027] At 202, data attributes of specific data to be backed up from the client to the server, resource usage at the client, and network conditions between the client and the server are obtained. For example, when a streaming backup of specific data is required, environmental parameters in the streaming backup scenario are obtained. These specific data may be databases, virtual machine files, or email files, etc. The inventors of the present application have found that there are many factors that affect the performance of streaming backup, mainly including the attributes of the data to be backed up, the usage of hardware resources, and the network conditions. Therefore, the embodiments of the present disclosure automatically determine and select appropriate optimization parameters based on these factors.

[0028] In some embodiments, these influencing factors may specifically include the type of specific data, the size of specific data, the proportion of new bytes in the specific data, the processing resource usage rate at the client, the storage resource usage rate at the client, and the input and output resource usage rate at the client. Optionally, the influencing factors may also include the duration of obtaining the last data backup, and the network bandwidth and network delay between the client and the server.

[0029] At 204, based on data attributes, resource utilization, and network conditions, multiple parameters for performing streaming backup are set, wherein the multiple parameters include at least the concurrency of streaming transmission and the concurrency of data parsing. The inventors have found that by setting certain parameters, the execution efficiency of streaming backup can be improved. Therefore, an embodiment of the present disclosure automatically configures some optimization parameters according to the values ​​of multiple influencing factors. In some embodiments, in addition to the concurrency of streaming transmission and the concurrency of data parsing, the optimization parameters may also include the size of a buffer for storing parsed data (which may be set in the data parsing module 108) and the block size of streaming transmission (i.e., the size of the data slice).

[0030] At 206, according to the set multiple parameters, the specific data is parsed and backed up from the client to the server. Figure 1 The described data parsing module 108 parses the specific data 105 in parallel according to the concurrency of data parsing (for example, 3 concurrencies), and the backup client 110 transmits the data to the backup server 120 in parallel according to the concurrency of streaming transmission (for example, 4 concurrencies).

[0031] Therefore, in the process of executing streaming backup, the embodiments of the present disclosure can automatically and intelligently configure the optimization parameters of streaming backup according to the actual environment of streaming backup, thereby reducing labor costs, and can also adjust the optimization parameters in real time, thereby improving the execution efficiency of streaming backup.

[0032] Figure 3 FIG. 3 is a schematic diagram of an example environment 300 for automatically configuring optimization parameters of streaming backup using a decision tree model according to an embodiment of the present disclosure. Figure 1 compared to, Figure 3 Further included is a decision tree model 330 according to an embodiment of the present disclosure.

[0033] like Figure 3 As shown, the decision tree model 330 may include a collector 331 and a processor 332, wherein the collector 331 is used to collect backup history data and client statistics from each backup client as training data, and then transmit the training data to the processor 332 for machine learning, wherein each record in the training data includes at least data attributes, resource usage, network status, and corresponding optimization parameters. The processor 332 performs training based on the historical data and statistical data received from the collector 331, thereby constructing the decision tree model 330.

[0034] Continue to refer Figure 3When it is necessary to perform streaming backup, the backup client 110 collects influencing factors 310 that affect the performance of streaming backup, which may include data attributes of specific data to be backed up, hardware resource usage at the client, and network conditions between the client and the server, etc., and sends the influencing factors 310 to the trained decision tree model 330. The decision tree model 330 can determine suitable optimization parameters 320 based on the received influencing factors 310, and send the optimization parameters 320 to the backup client 110. The backup client 110 then configures the streaming backup process based on the received optimization parameters 320, thereby improving the efficiency of the streaming backup.

[0035] In some embodiments of the present disclosure, the machine learning model used is a decision tree model. A decision tree is a flowchart-like structure in which each internal node represents a "test" of an attribute, each branch represents the result of the test, and each leaf node represents a class label (a decision made after calculating all attributes). The path from the root to the leaf represents the classification rule. In decision analysis, decision trees and closely related influence diagrams are used as visual and analytical decision support tools. Decision trees are often used in decision analysis to help determine the strategy that is most likely to achieve a goal and are also popular tools in machine learning.

[0036] The ID3 algorithm is a decision tree algorithm. Each training instance is described as a list of attribute-value pairs, which constitute a joint description of the instance. The instance is labeled with the name of the class to which it belongs. To simplify the discussion, assume that the instance belongs to one of two classes: a positive instance, which is an example of the concept to be learned (target concept); and a negative instance, which is a counterexample of the target concept. The ID3 algorithm can be applied to more than two classes in a straightforward way. In addition, it is assumed that the attributes have discrete values. ID3 is a useful concept learning algorithm because it can effectively construct a decision tree that generalizes well. For non-incremental learning tasks, the ID3 algorithm is often a good choice for building classification rules.

[0037] However, for incremental learning tasks, it is better to accept instances gradually without building a new decision tree each time. The ID4 algorithm is a step-by-step learning decision tree that supports incremental learning. Here, the mechanism in the ID4 algorithm for determining when to change the attribute test at a node is included in a new algorithm, ID5R, which guarantees that the same decision tree is built as the ID3 algorithm for a given set of training instances. However, like the ID4 algorithm, ID5R cannot handle numeric attributes and more than two valued attributes.

[0038] In some embodiments of the present disclosure, the decision tree model 330 may be a Very Fast Decision Tree (VFDT) model, which may be generated by using the Hoeffding boundary as a splitting condition. VFDT is a decision tree learning system based on the Hoeffding tree. The Hoeffding tree may be learned at a constant time per instance, and the storage limitations of traditional decision tree learners (such as ID3, C4.5, and SLIQ) may be overcome by using the Hoeffding boundary. The boundary is used to determine how many instances are required for each internal node of the decision tree in order to make statistically significant decisions on how to split the node. A good feature of the Hoeffding boundary is that it is independent of the probability distribution of the original data set, which in turn means that more observations are required to reach the same conclusions as distribution-dependent methods. The key feature of the Hoeffding boundary is that it ensures that the selected attributes have a high probability, the same as the attributes selected using an infinite number of instances. VFDT is capable of processing tens of thousands of instances per second using readily available hardware. Therefore, an embodiment of the present disclosure uses a VFDT algorithm to train a Hoeffding tree for use as a decision tree model.

[0039] It should be understood that any known or future improved VFDT algorithm or Hoeffding tree correlation algorithm may be used in conjunction with the embodiments of the present disclosure.

[0040] Figure 4 FIG. 4 is a flowchart of a method 400 for training a decision tree model according to an embodiment of the present disclosure. Figure 4 As shown, at 402, historical data and statistical data are obtained as a training data set, and then the training data set is used to train the decision tree model at 404. This stage can be called model training before delivery. The training data set may include the client's historical status and the corresponding optimization parameters to help classify new data as prior knowledge. After the training of the decision tree is completed, the trained decision tree model is deployed on the backup system at the user at 406 (for example, the decision tree model according to the embodiment of the present disclosure is pre-deployed before the device leaves the factory), and then appropriate optimization parameters are provided to the user during the streaming backup of the backup system at 408.

[0041] At 410, new training data is obtained. Due to the limitations of historical data and statistical data, it may not be suitable for all real scenarios. Although the decision tree model can generate an optimal solution for various scenarios due to its generalization ability, the recommended solution may not be the real optimal solution. Therefore, in the actual streaming backup process, if the user chooses a solution different from the solution recommended by the decision tree model (a solution intervened by the user) for some reason, and the solution selected by the user is better (for example, the processing speed is faster), the data of the solution selected by the user can be collected and used as new training data. Then, at 404, the decision tree model is incrementally trained (without complete repeated training), that is, the solution data intervened by the user is used as a new learning sample to participate in the next round of decision tree model training. In some embodiments, the Hoeffding tree suitable for big data incremental learning can be used as the decision tree model in the embodiments of the present disclosure. In this way, the accuracy of the trained decision tree model can be further improved.

[0042] Figure 5 FIG. 5 is a schematic diagram showing a portion of an exemplary decision tree model 500 according to an embodiment of the present disclosure. For example, the decision tree model 500 may be a classification model automatically learned and generated based on a test data set using a VFDT algorithm. Figure 5 In the example, the root node 510 is, for example, "specific data type". If the specific data type to be backed up is VMDK, it is connected to the leaf node 520 "CPU usage" through an edge; if the specific data type to be backed up is Oracle, it is connected to the leaf node 530 "New Bytes" through an edge; if the specific data type to be backed up is Hyper-V, it is connected to the leaf node 540 "Memory Usage" through an edge.

[0043] Next, at leaf node 520, if the CPU usage is less than or equal to 80%, the optimization parameters of the second method are selected, as shown in 521; if the CPU usage is greater than 80%, the optimization parameters of the first method are selected, as shown in 522. The optimization parameters of each method can be pre-set by technical R&D personnel. In this way, one of several predetermined optimization parameters can be selected, thereby generating a more appropriate combination of optimization parameters than methods such as neural networks. For example, the optimization parameters of the first method can be: the number of concurrent data parsing is 2, the size of the buffer for storing parsed data is 1MB, the number of concurrent streaming is 2, and the block size of streaming is 8KB. The optimization parameters of the second method can be: the number of concurrent data parsing is 4, the size of the buffer for storing parsed data is 512KB, the number of concurrent streaming is 2, and the block size of streaming is 4KB. The optimization parameters of the third method can be: the number of concurrent data parsing is 16, the size of the buffer for storing parsed data is 512KB, the number of concurrent streaming is 2, and the block size of streaming is 4KB. The optimization parameters of the fourth method can be: the number of concurrent data parsing is 32, the size of the buffer for storing parsed data is 2MB, the number of concurrent streaming is 4, and the block size of streaming is 64KB. It should be understood that although Figure 5 Only four example optimizations are shown, however, many more optimizations may be included.

[0044] Similarly, at leaf node 530, if the proportion of new bytes in the specific data to be backed up is less than 10%, the optimization parameters of the first method are selected, as shown in 531. At leaf node 540, if the memory usage is less than or equal to 50%, the optimization parameters of the third method are selected, as shown in 541; if the memory usage is greater than 50% but less than 80%, the optimization parameters of the second method are selected, as shown in 542; if the memory usage is greater than 80%, the optimization parameters of the first method are selected, as shown in 543.

[0045] Continue to refer Figure 5 , data 550 may be training data for training decision tree model 500, such as historical usage data. It should be understood that the training data may include a large number of data items. As shown by dotted line 561, in the case where the proportion of new bytes of the Oracle data type is less than 10%, the optimization parameters of the first method will be selected, as indicated by dotted line 562. It should be understood that Figure 5 Only a part of the example decision tree model is shown in FIG. 1 , and the actual decision tree model may include more nodes and edges or different nodes and edges. Figure 5 This is merely an example of a decision tree model and is not intended to limit the scope of the present disclosure.

[0046] After training and generating the decision tree model 500, for a new streaming backup scenario, the decision tree model 500 can automatically determine and recommend appropriate optimization parameters based on the values ​​of the influencing factors obtained (even if they are new data that have not appeared in the training data). In addition, since the decision tree model of the embodiment of the present disclosure is trained using a large amount of training data, it can achieve higher accuracy than manually setting the optimization parameters.

[0047] After self-learning historical data, a Hoeffding-based tree is constructed. Some data of the backup client can be collected regularly and the average of these data can be calculated. Several methods for obtaining the average can be selected, such as the geometric mean, the harmonic mean, the weighted mean, and the quadratic mean. The regular average data of the backup client will be input into the processor for incremental training to enrich the current decision tree model. For example, when a backup client needs to be adjusted, which means that its data set or I / O usage has changed over a period of time, the system can determine its new streaming backup optimization method accordingly, so as to protect its data more safely and effectively.

[0048] In some embodiments, if the user selects one or more backup clients that do not require dynamic streaming backup optimization, the statistical data of these backup clients may not be collected periodically, thus not affecting the streaming backup optimization mode.

[0049] Figure 6 1 shows a schematic block diagram of a device 600 that can be used to implement an embodiment of the present disclosure. The device 600 may be a device or apparatus described in an embodiment of the present disclosure. Figure 6 As shown, the device 600 includes a central processing unit (CPU) 601, which can perform various appropriate actions and processes according to computer program instructions stored in a read-only memory (ROM) 602 or loaded from a storage unit 608 into a random access memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the device 600 can also be stored. The CPU 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.

[0050] A number of components in the device 600 are connected to the I / O interface 605, including: an input unit 606, such as a keyboard, a mouse, etc.; an output unit 607, such as various types of displays, speakers, etc.; a storage unit 608, such as a disk, an optical disk, etc.; and a communication unit 609, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 609 allows the device 600 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0051] The various methods or processes described above may be performed by the processing unit 601. For example, in some embodiments, the methods may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as the storage unit 608. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 600 via the ROM 602 and / or the communication unit 609. When the computer program is loaded into the RAM 603 and executed by the CPU 601, one or more steps or actions in the methods or processes described above may be performed.

[0052] In some embodiments, the methods and processes described above may be implemented as a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for executing various aspects of the present disclosure.

[0053] Computer readable storage medium can be a tangible device that can hold and store instructions used by an instruction execution device. Computer readable storage medium can be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination thereof. More specific examples (non-exhaustive list) of computer readable storage medium include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, for example, a punch card or a convex structure in a groove on which instructions are stored, and any suitable combination thereof. The computer readable storage medium used here is not interpreted as a transient signal itself, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagated by a waveguide or other transmission medium (for example, a light pulse by an optical fiber cable), or an electrical signal transmitted by a wire.

[0054] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.

[0055] The computer program instructions for performing the disclosed operation may be assembler instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages, and conventional procedural programming languages. Computer-readable program instructions may be executed completely on a user's computer, partially on a user's computer, executed as an independent software package, partially on a user's computer, partially on a remote computer, or completely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., utilizing an Internet service provider to connect via the Internet). In certain embodiments, by utilizing the state information of a computer-readable program instruction to customize an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), the electronic circuit may execute a computer-readable program instruction, thereby realizing various aspects of the present disclosure.

[0056] These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processing unit of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more blocks in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more blocks in the flowchart and / or block diagram.

[0057] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operational steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more blocks in the flowchart and / or block diagram.

[0058] The flow charts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the equipment, methods and computer program products according to multiple embodiments of the present disclosure. In this regard, each block in the flow chart or block diagram can represent a part of a module, a program segment or an instruction, and a part of the module, a program segment or an instruction includes one or more executable instructions for realizing the specified logical function. In some alternative implementations, the functions marked in the blocks can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous blocks can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each block in the block diagram and / or flow chart, and the combination of the blocks in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.

[0059] The embodiments of the present disclosure have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The choice of terms used herein is intended to best explain the principles of the embodiments, practical applications, or technical improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.

Claims

1. A method for backing up data, comprising: Obtaining data attributes of specific data to be backed up from a client to a server, resource usage at the client, and network conditions between the client and the server; Based on the data attributes, the resource usage rate, and the network status, multiple parameters for performing streaming backup are set, the multiple parameters at least including the concurrency of streaming transmission and the concurrency of data parsing, wherein setting the multiple parameters includes: sending the data attributes, the resource usage rate, and the network status to a trained decision tree model; and receiving, from the trained decision tree model, the concurrency of the data parsing, the size of a buffer for storing parsed data, the concurrency of the streaming, and a block size of the streaming; and According to the plurality of parameters, the specific data is parsed and backed up from the client to the server.

2. The method according to claim 1, further comprising: Collecting historical data related to streaming backup as a training data set, each record in the training data set at least includes the data attribute, the resource usage rate, the network status and the corresponding optimization parameter; as well as The decision tree model is trained using the collected training data set to obtain the trained decision tree model.

3. The method according to claim 2, wherein using the collected training data set to train the decision tree model comprises: A fast decision tree VFDT model is constructed by using the Hoeffding boundary as the splitting condition.

4. The method according to claim 3, further comprising: Deploying the constructed VFDT model in a backup system; During the period when the user uses the backup system, collecting the optimization parameters configured by the user as new training data; as well as The VFDT model is incrementally trained using the new training data.

5. The method according to claim 1, wherein obtaining the data attribute and the resource usage rate comprises: Obtain the type of the specific data, the size of the specific data, the proportion of new bytes in the specific data, the processing resource utilization at the client, the storage resource utilization at the client, and the input and output I / O resource utilization at the client.

6. The method according to claim 5, wherein obtaining the network status comprises: The duration of the last data backup, and the network bandwidth and network delay between the client and the server are obtained. 7 . The method according to claim 5 , wherein the type of the specific data is any one of the following: a database, a virtual machine file, and an email file.

8. An electronic device comprising: Processing unit; as well as A memory coupled to the processing unit and storing instructions, which, when executed by the processing unit, cause the electronic device to perform a method, the method comprising: Obtaining data attributes of specific data to be backed up from a client to a server, resource usage at the client, and network conditions between the client and the server; Based on the data attributes, the resource usage rate, and the network status, multiple parameters for performing streaming backup are set, the multiple parameters at least including the concurrency of streaming transmission and the concurrency of data parsing, wherein setting the multiple parameters includes: sending the data attributes, the resource usage rate, and the network status to a trained decision tree model; and receiving, from the trained decision tree model, the concurrency of the data parsing, the size of a buffer for storing parsed data, the concurrency of the streaming, and a block size of the streaming; and According to the plurality of parameters, the specific data is parsed and backed up from the client to the server.

9. The electronic device according to claim 8, the method further comprising: Collecting historical data related to streaming backup as a training data set, each record in the training data set at least includes the data attribute, the resource usage rate, the network status and the corresponding optimization parameter; as well as The decision tree model is trained using the collected training data set to obtain the trained decision tree model.

10. The electronic device of claim 9, wherein using the collected training data set to train the decision tree model comprises: A fast decision tree VFDT model is constructed by using the Hoeffding boundary as the splitting condition.

11. The electronic device of claim 10, wherein the method further comprises: Deploying the constructed VFDT model in a backup system; During the period when the user uses the backup system, collecting the optimization parameters configured by the user as new training data; as well as The VFDT model is incrementally trained using the new training data.

12. The electronic device according to claim 8, wherein obtaining the data attribute and the resource usage rate comprises: Obtain the type of the specific data, the size of the specific data, the proportion of new bytes in the specific data, the processing resource utilization at the client, the storage resource utilization at the client, and the input and output I / O resource utilization at the client.

13. The electronic device according to claim 12, wherein obtaining the network status comprises: The duration of the last data backup, and the network bandwidth and network delay between the client and the server are obtained. 14 . The electronic device according to claim 12 , wherein the type of the specific data is any one of the following: a database, a virtual machine file, and an email file.

15. A computer program product tangibly stored on a non-transitory computer readable medium and comprising computer executable instructions which, when executed, cause a computer to perform a method comprising: Obtaining data attributes of specific data to be backed up from a client to a server, resource usage at the client, and network conditions between the client and the server; Based on the data attributes, the resource usage rate, and the network status, multiple parameters for performing streaming backup are set, the multiple parameters at least including the concurrency of streaming transmission and the concurrency of data parsing, wherein setting the multiple parameters includes: sending the data attributes, the resource usage rate, and the network status to a trained decision tree model; and receiving, from the trained decision tree model, the concurrency of the data parsing, the size of a buffer for storing parsed data, the concurrency of the streaming, and a block size of the streaming; and According to the plurality of parameters, the specific data is parsed and backed up from the client to the server.

16. The computer program product of claim 15, further comprising: Collecting historical data related to streaming backup as a training data set, each record in the training data set at least includes the data attribute, the resource usage rate, the network status and the corresponding optimization parameter; as well as The decision tree model is trained using the collected training data set to obtain the trained decision tree model.

17. The computer program product of claim 16, wherein using the collected training data set to train the decision tree model comprises: A fast decision tree VFDT model is constructed by using the Hoeffding boundary as the splitting condition.

Citation Information

Patent Citations

  • Method and system for controlling data backup

    CN108733508A

  • Dynamic parallel save streams for block level backups

    US10069909B1

  • Analytics-based backup system for determining optimum backup methods and predicting backup windows

    US10083095B1

  • Learning admission policy for optimizing quality of service of computing resources networks

    US20130031035A1

  • Optimized training of linear machine learning models

    US20160078361A1