Method and system for provenance-based data backup

By designing a provenance agent and a backup agent on the client device to identify and back up input, output and resource consumption information at the mining pipeline level, the problem of temporary data collections in the data lake not participating in the backup is solved, and efficient management of big data backup is achieved. and rational utilization of resources.

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

Patent Information

Application Number
CN202010319666.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2019-05-02
Filing Date
2020-04-21
Publication Date
2024-08-23
Estimated Expiration
2040-04-21

AI Technical Summary

Technical Problem

The temporary data collection of big data generated in the existing data lake is not effectively participated in the backup process, resulting in waste of data resources and incomplete backup.

Method used

Generate and manage data provenance by designing provenance agents and backup agents on client devices, identify input, output and resource consumption information at the mining pipeline level, determine data reusability and resource costs, and automatically back up multiple workloads Data sets that are reused and have high resource costs.

Benefits of technology

It achieves efficient management of big data backup, ensures the rational utilization of data resources and backup integrity, and reduces resource consumption during the backup process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111880964B_ABST
    Figure CN111880964B_ABST
Patent Text Reader

Abstract

A method and system for provenance-based data backup. Specifically, the method and system disclosed herein entails generating and then using data provenance to filter which data sets generated by data mining of big data should be copied and stored in a backup storage device.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0001] Data mining involves processing big data to obtain useful knowledge and insights. Further, data mining may require manipulating big data through a series of processing elements (or stages), which results in the generation of a large number of temporary data sets. These temporary data sets may be generated by applying various complex, time-consuming and often resource-intensive data processing functions. Moreover, although these temporary data sets can be stored in data lakes, such data lakes are often not involved in data backup operations. BRIEF DESCRIPTION OF THE DRAWINGS

[0002] Figure 1 A system in accordance with one or more embodiments of the invention is shown.

[0003] Figure 2 A mining pipeline according to one or more embodiments of the invention is shown.

[0004] Figure 3A and Figure 3B A flow chart describing a method for generating a stage output source according to one or more embodiments of the present invention is shown.

[0005] Figure 4 A flow chart describing a method for backing up data according to one or more embodiments of the present invention is shown.

[0006] Figure 5 A computing system in accordance with one or more embodiments of the invention is shown. DETAILED DESCRIPTION

[0007] Specific embodiments of the present invention will now be described in detail with reference to the accompanying drawings. In the following detailed description of embodiments of the present invention, various specific details are set forth in order to provide a more thorough understanding of the present invention. However, it will be apparent to one of ordinary skill in the art that the present invention can be practiced without these specific details. In other cases, well-known features are not described in detail to avoid unnecessarily complicating the description.

[0008] In the right Figures 1 to 5In the following description, in various embodiments of the present invention, any component described with respect to a certain figure may be equivalent to one or more components of the same name described with respect to any other figure. For the sake of brevity, the description of these components will not be repeated with respect to each figure. Therefore, each and every embodiment of the components of each figure is incorporated by reference and is assumed to be optionally present in each other figure having one or more components of the same name. In addition, according to various embodiments of the present invention, any description of the components of a certain figure will be interpreted as an optional embodiment, which can be implemented in addition to, in combination with, or in place of the embodiments described with respect to the corresponding components of the same name in any other figure.

[0009] Throughout the application, ordinal numbers (e.g., first, second, third, etc.) may be used as adjectives for elements (i.e., any noun in the application). Unless explicitly disclosed, such as by using the terms "before," "after," "single," and other such terms, the use of ordinal numbers does not necessarily imply or create any particular order of elements, nor does it limit any element to a single element. Rather, ordinal numbers are used to distinguish between elements. For example, a first element is different from a second element, and a first element may encompass more than one element and be after (or before) a second element in the ordering of the elements.

[0010] In general, embodiments of the present invention relate to methods and systems for provenance-based data backup. Specifically, one or more embodiments of the present invention require generating and subsequently using data provenance to filter which data sets generated by data mining of big data should be copied and merged into a backup storage device. Data provenance can refer to information (e.g., inputs, processes, etc.) that describes how any given data set was generated. For example, a backup policy can be configured to automatically back up any given data set obtained through the above-mentioned data mining process, provided that: a significant amount of time has passed to generate the given data set; the given data set can be reused in multiple workloads; the given data set requires a small storage capacity to be merged; and higher resource costs may be associated with the generation of the given data set.

[0011] Figure 1 A system according to one or more embodiments of the present invention is shown. The system (100) may include a client device (106) operably connected to one or more data sources (102) and a data protection system (DPS) (116). Each of these components is described below.

[0012] In one embodiment of the present invention, the various aforementioned system (100) components may be directly or indirectly connected to each other via a network (104) (e.g., a local area network (LAN), a wide area network (WAN) such as the Internet, a mobile network, etc.). The network (104) may be implemented using any combination of wired and / or wireless connections. Further, in embodiments in which any two or more system (100) components are indirectly connected, there may be other network-supported components or systems (e.g., switches, routers, gateways, etc.) that may facilitate intercommunication between system (100) components. Moreover, the various aforementioned system (100) components may communicate with each other using any combination of wired and / or wireless communication protocols.

[0013] In one embodiment of the present invention, the client device (106) may represent any physical device or computing system designed and configured to receive, generate, process, store and / or send data. Examples of client devices (106) may include, but are not limited to, desktop computers, tablet computers, laptop computers, servers, mainframes, or similar computers. Figure 5 The exemplary computing system shown may be any other computing system. In addition, the client device (106) may include a mining pipeline (108), a provenance agent (110), a backup agent (112), and a client storage array (114). Each of these client device (106) subcomponents is described below.

[0014] In one embodiment of the present invention, a mining pipeline (108) may refer to a programmable framework for processing big data. Big data may refer to very large amounts of raw (or unprocessed) data, typically multivariate data. Examples of big data may include, but are not limited to, data sets representing: media (e.g., images, video, audio, etc.), user information and preferences, financial transactions, public Web (or Internet) information, sensor data, medical records, and any other data sets that may have been generated and recorded. Further, big data may be generated and / or aggregated at one or more data sources (102) (as described below). Processing big data through a mining pipeline (108) may result in the acquisition of knowledge. Knowledge may refer to useful information (e.g., patterns, correlations, associations, trends, and other insights) that can be extracted from a collection of data (e.g., big data). Moreover, a mining pipeline (108) may be implemented as a hardware pipeline using physical elements (e.g., computer processors, memory, and other circuit systems), a software pipeline using logical elements (e.g., processes, threads, routines, functions, etc.), or any combination thereof. About Figure 2 The excavation pipeline (108) is described in further detail.

[0015] In one embodiment of the present invention, the provenance agent (110) may refer to a computer program that can be executed on the underlying hardware of the client device (106) and can be designed and configured to generate data provenance. Data provenance may refer to information that describes how any given data was generated (e.g., input, process, etc.). In this regard, according to one or more embodiments of the present invention, the provenance agent (110) may generate data provenance, such as Figure 3A and Figure 3B As shown. One of ordinary skill will appreciate that the provenance agent (110) may perform other functions without departing from the scope of the present invention.

[0016] In one embodiment of the present invention, the backup agent (112) may refer to a computer program that can be executed on the underlying hardware of the client device (106) and can be designed and configured to manage data backup operations. In this regard, according to one or more embodiments of the present invention, the backup agent (112) can back up data, such as Figure 4 As shown. A person of ordinary skill will appreciate that the backup agent (112) may perform other functions without departing from the scope of the present invention.

[0017] In one embodiment of the present invention, the client storage array (114) may refer to a collection of one or more physical storage devices (not shown) on which various forms of information may be consolidated. Each physical storage device may encompass a non-transitory computer-readable storage medium on which information may be stored in whole or in part and temporarily or permanently. For example, each physical storage device may represent a hard disk drive (HDD), a solid-state drive (SSD), a tape storage system, or a network attached storage device (NAS). Further, in one embodiment of the present invention, a permanent (i.e., non-volatile) storage device may be used to implement the client storage array (114). Examples of permanent storage devices may include, but are not limited to, optical storage devices, magnetic storage devices, NAND flash memory, NOR flash memory, magnetic random access memory (M-RAM), spin torque magnetic RAM (ST-MRAM), phase change memory (PCM), or any other storage device defined as a non-volatile storage device class memory (SCM).

[0018] In one embodiment of the present invention, the data source (102) may represent a repository of big data (as described above). The data source (102) may be implemented using one or more servers (not shown). Each server may be a physical server that may reside in a data center, or a virtual server that may reside in a cloud computing environment. Further, in one embodiment of the present invention, the data source (102) may be implemented using a server that is similar to Figure 5The data source (102) may be implemented by one or more computing systems similar to the exemplary computing system shown. Moreover, the data source (102) may include a huge data storage capacity, in which big data may be merged. The above-mentioned data storage device may be implemented using a permanent (i.e., non-volatile) storage device, examples of which are not limited to optical storage devices, magnetic storage devices, NAND flash memory, NOR flash memory, magnetic random access memory (M-RAM), spin torque magnetic RAM (ST-MRAM), phase change memory (PCM) or any other storage device defined as a non-volatile storage device class memory (SCM). In addition, examples of the data source (102) may include, but are not limited to, social media and interactive platforms, cloud computing platforms, the World Wide Web, Internet of Things (IOT) networks, and databases.

[0019] In one embodiment of the present invention, the DPS (116) may represent a data backup, archiving, and / or disaster recovery storage system. The DPS (116) may be implemented using one or more servers (not shown). Each server may be a physical server that may reside in a data center, or a virtual server that may reside in a cloud computing environment. Further, in one embodiment of the present invention, the DPS (116) may be implemented using a server that is similar to the server that is used for storage. Figure 5 The exemplary computing system shown may be implemented with one or more computing systems similar to those shown. Furthermore, the DPS (116) may include a backup interface (118), an array manager (120), and a backup storage array (122). Each of these DPS (116) subcomponents is described below.

[0020] In one embodiment of the present invention, the backup interface (118) may refer to a set of subroutine definitions, protocols, and / or tools for implementing communications between the DPS (116) and other external entities (e.g., client devices (106)). The backup interface (118) may be implemented using DPS (118) hardware, software executed thereon, or a combination thereof. Further, the backup interface (118) may include the following functions: receiving backup data (not shown) from one or more external entities, decoding it, and providing it to the array manager (120); and, conversely, obtaining backup data from the array manager (120), encoding it, and sending it to one or more external entities. A person of ordinary skill will understand that the backup interface (118) may perform other functions without departing from the scope of the present invention. For example, the backup interface (118) may be implemented as a network application programming interface (API) that can be accessed via an assigned web address (e.g., a uniform resource locator (URL)) and a WAN (e.g., the Internet) connection.

[0021] In one embodiment of the present invention, the array manager (120) may refer to a computer program that can be executed on the underlying hardware of the DPS (116) and can be designed and configured to manage the backup storage array (122). In this regard, the array manager (120) may include the following functions: storing backup data in the backup storage array (122); organizing the merging of backup data in the backup storage array (122) through any storage mechanism (e.g., table, record, file system, etc.); and retrieving backup data from the backup storage array (122). A person of ordinary skill will understand that the array manager (120) may perform other functions without departing from the scope of the present invention.

[0022] In one embodiment of the present invention, the backup storage array (122) may refer to a collection of one or more physical storage devices (not shown) on which various forms of information may be combined (or otherwise stored). Each physical storage device may include a non-transitory computer-readable storage medium on which information may be stored in whole or in part and temporarily or permanently. For example, each physical storage device may represent a hard disk drive (HDD), a solid-state drive (SSD), a tape storage system, or a network attached storage device (NAS). Further, in one embodiment of the present invention, a permanent (i.e., non-volatile) storage device may be used to implement the backup storage array (122). Examples of permanent storage devices may include, but are not limited to, optical storage devices, magnetic storage devices, NAND flash memory, NOR flash memory, magnetic random access memory (M-RAM), spin torque magnetic RAM (ST-MRAM), phase change memory (PCM), or any other storage device defined as a non-volatile storage device class memory (SCM).

[0023] although Figure 1 A configuration of components is shown, but other system (100) configurations may be used without departing from the scope of the present invention.

[0024] Figure 2 A mining pipeline according to one or more embodiments of the present invention is shown. The mining pipeline (200) can refer to a programmable framework for processing big data (210) (described above). Further, processing big data (210) through the mining pipeline (200) can result in the acquisition of knowledge (212) (described above), although typically through the application of various complex, time-consuming and resource-intensive processes.

[0025] In one embodiment of the present invention, the mining pipeline (200) may be implemented using hardware and / or software elements that may collectively take the form of a series of data processing stages (202A-202N) (also referred to herein as mining pipeline stages). Thus, each stage (202A-202N) may process data based on their design and configuration. Specifically, each stage (202A-202N) may include the following functionality: receiving a stage input (204) representing data that the stage (202A-202N) is responsible for processing; processing the stage input (204) using one or more functions (208A-208N) (described below); and, as a result of processing the stage input (204), generating a stage output (206) representing processed (or refined) data. Furthermore, the stage output (206) of any given stage (202A-202N) may represent the stage input (204) of another stage (202A-202N), if any, that may immediately follow the given stage (202A-202N). Furthermore, the stage input (204) of the first stage (e.g., 202A) may include raw big data (210), which may be retrieved from one or more data sources (not shown) (see, e.g., Figure 1 ), and the stage output (206) of the last stage (e.g., 202N) may refer to the sought knowledge (212) that may be extracted from the big data (210) as mentioned above.

[0026] In one embodiment of the invention, the functions (208A-208N) performed at a given stage (202A-202N) may represent an algorithm, a technique, a tool, a set of instructions, logic, a circuit, a task, a decision, a lookup, or any other mechanism that is at least partially involved in producing a stage output (206) from a stage input (204) to a given stage (202A-202N). Collectively, the functions (208A-208N) of a given stage (202A-202N) may be directed to achieving a particular goal or purpose for which the given stage (202A-202N) may be designed and configured. Examples of the aforementioned objectives sought by stages (202A-202N) may include, but are not limited to: data integration (i.e., the need to retrieve and aggregate big data (210) from one or more data sources); data selection (i.e., the need for dimensionality reduction, which will omit variables that are not relevant to the overall mining pipeline (200) objectives); data cleaning (i.e., the need to eliminate noisy and / or inconsistent data); data transformation (i.e., the need to convert big data (210) into a form and / or format suitable for mining); data mining (i.e., the need to perform analysis (210) on big data to derive knowledge (212)); data validation (i.e., the need to validate any derived knowledge (212)); and data visualization (i.e., the need to interpret and represent any derived knowledge (212)).

[0027] In one embodiment of the present invention, for each stage (202A-202N) of the mining pipeline (200), a corresponding processing start timestamp and a processing completion timestamp may be recorded. From the above two timestamps, a stage processing time (214) may be derived, which may reflect the length of time that a function (208A-208N) spends processing data applied to the stage input (204) of the stage (202A-202N) to produce a stage output (206). In addition, for each stage (202A-202N) of the mining pipeline (200), a corresponding stage resource cost (216) may be tracked. The stage resource cost (216) may reflect a measurable amount of one or more computing resources (e.g., processor cores, memory, storage devices, network bandwidth, etc.) consumed by the function (208A-208N) to produce a stage output (206) by processing data applied to the stage input (204) of the stage (202A-202N).

[0028] Figure 3A and Figure 3B A flow chart describing a method for generating a level output provenance according to one or more embodiments of the present invention is shown. The various steps outlined below may be performed by a provenance agent executing on a client device (see, e.g. Figure 1 ). Further, although the various steps in the flowchart are presented and described sequentially, a person of ordinary skill will understand that some or all of the steps may be performed in a different order, may be combined or omitted, and some or all of the steps may be performed in parallel.

[0029] In one embodiment of the present invention, the various steps outlined below may be performed at each mining pipeline stage along the mining pipeline after the processing of the big data is completed (see, e.g. Figure 2 ). Therefore, go to Figure 3A In step 300, a stage input for a mining pipeline stage is identified. In one embodiment of the invention, the stage input may represent data that the mining pipeline stage may be responsible for processing. Further, the stage input may encompass any raw (or unprocessed) set of multivariate data retrieved from one or more data sources, or alternatively may encompass processed data that may have been produced by a previous mining pipeline stage.

[0030] In step 302, level input metadata is obtained. In one embodiment of the present invention, level input metadata may refer to data or information describing the level input (identified in step 300). Level input metadata may be stored in and obtained from the same data container (e.g., file, archive format, etc.) that encapsulates the level input. In addition, examples of level input metadata may include, but are not limited to: an identifier associated with a producer of the level input (e.g., a data source or a mining pipeline stage) (e.g., a data source identifier or a mining pipeline stage identifier); a creation timestamp encoding the date and / or time at which the level input was generated; a level input size indicating storage capacity that may be consumed by the level input; one or more keywords describing the context of the level input; a file extension or data type associated with the level input; a name assigned to the level input; one or more variables expressed in the level input; and any other characteristics or attributes associated with the level input.

[0031] In step 304, a level input digest is generated. In one embodiment of the present invention, the level input digest may represent a deterministic, fixed-length string that may be generated by applying a hash function to at least a portion of the level input metadata (obtained in step 302). More specifically, the level input digest may be related to information that uniquely identifies the level input metadata. Further, the hash function may refer to a data association algorithm that maps a given input (e.g., level input metadata) of arbitrary length to a given output (e.g., level input digest) from a range of possible user-predefined outputs.

[0032] In step 306, one or more functions of the mining pipeline stage are identified. In one embodiment of the present invention, a function may refer to a hardware or software element that at least partially implements the data processing performed at the mining pipeline stage. Examples of functions may include, but are not limited to, an algorithm, a technique, a tool, a set of instructions, logic, a circuit, a task, a decision, a lookup, or any other mechanism that at least partially involves implementing the above-mentioned data processing at the mining pipeline stage.

[0033] In step 308, function metadata is obtained. In one embodiment of the present invention, function metadata may refer to data or information describing the function (identified in step 306). Function metadata may be stored in and obtained from a metadata-specific database, on which various metadata describing various elements (or components) may reside. In addition, examples of function metadata may include, but are not limited to: one or more level input formats accepted by the function (i.e., level input data types or file extensions); one or more level output formats produced by the function (i.e., level output data types or file extensions); one or more keywords that collectively describe the object of the function or the specific data processing performed by the function; a name assigned to the function; and any other characteristics or attributes associated with the function.

[0034] In step 310, a level function digest is generated. In one embodiment of the present invention, the level function digest may represent a deterministic, fixed-length string that may be generated by applying a hash function to at least a portion of the function metadata (obtained in step 308). More specifically, the level function digest may be associated with information that uniquely identifies the function metadata. Further, a hash function may refer to a data association algorithm that maps a given input (e.g., function metadata) of arbitrary length to a given output (e.g., a level function digest) from a range of possible user-predefined outputs. Moreover, the hash function used to generate the level function digest may be a data association algorithm that is the same as or different from the hash function used to generate the level input digest (in step 304).

[0035] In step 312, the stage output of the mining pipeline stage is identified. In one embodiment of the invention, the stage output may represent data that the mining pipeline stage may be assigned to produce. Further, the stage output may include processed data or alternatively sought knowledge generated or derived from the stage input (identified in step 300) in conjunction with data processing performed by the function (identified in step 306).

[0036] In step 314, level output metadata is obtained. In one embodiment of the present invention, level output metadata may refer to data or information describing the level output (identified in step 312). Level output metadata may be stored in and obtained from the same data container (e.g., file, archive format, etc.) that encapsulates the level output. In addition, examples of level output metadata may include, but are not limited to: an identifier (e.g., a mining pipeline stage identifier) ​​associated with a producer of the level output (e.g., a mining pipeline stage); a creation timestamp encoding the date and / or time at which the level output was produced; a level output size indicating storage capacity that may be consumed by the level output; one or more keywords describing the context of the level output; a file extension or data type associated with the level output; a name assigned to the level output; one or more variables expressed in the level output; and any other characteristics or attributes associated with the level output.

[0037] In step 316, the level output size is identified and then extracted from the level output metadata (obtained in step 314). As described above, in one embodiment of the present invention, the level output size may represent a value or variable that indicates storage capacity that may be consumed by storage of the level output. For example, the level output size may be expressed in some factor of a data unit (i.e., a byte) (e.g., bytes, kilobytes, megabytes, gigabytes, terabytes, petabytes, etc.).

[0038] In step 318, the stage processing time for the mining pipeline stage is determined. In one embodiment of the invention, the stage processing time may reflect the length of time taken by the function (identified in step 306) to produce the stage output (identified in step 312) through data processing applied to the stage input (identified in step 300). Further, the stage processing time may be determined by recorded processing start and completion timestamps (i.e., function metadata and / or stage output metadata) associated with this particular mining pipeline stage workload (described below).

[0039] In step 320, a stage resource cost for the mining pipeline stage is determined. In one embodiment of the invention, the stage resource cost may reflect a measurable amount of one or more computing resources (e.g., processor cores, memory, storage, network bandwidth, etc.) consumed by the function (identified in step 306) to produce the stage output (identified in step 312) through data processing applied to the stage input (identified in step 300). Further, the stage resource cost may be determined by recorded resource allocation information (e.g., tracked by a resource monitoring program) associated with the particular mining pipeline stage workload (described below).

[0040] In step 322, a level output identifier (ID) is generated. In one embodiment of the present invention, the level output ID may refer to a string that uniquely identifies the level output (identified in step 312). In addition to uniquely identifying the level output, the level output ID may further uniquely identify a combination of the level input (identified in step 300) and the function that has implemented data processing applied to the level input (identified in step 306). Therefore, the level output ID may be generated using at least the level input digest (generated in step 304) and the level function digest (generated in step 310).

[0041] Go to Figure 3B , in step 340, a level output provenance is generated. In one embodiment of the invention, a level output provenance may refer to information (i.e., metadata) that describes and tracks how the level output (identified in step 312) was generated. In this regard, information that meets the criteria and is used in generating the level output provenance may include at least the level output ID (generated in step 322), the level resource cost (determined in step 320), the level processing time (determined in step 318), and the level output size (determined in step 316). In one embodiment of the invention, the level output provenance may be further generated using any subset or all of the following additional information: other level output metadata (obtained in step 314); level function summary (generated in step 310); function metadata (obtained in step 308); level input summary (generated in step 304); level input metadata (obtained in step 302); level input (identified in step 300); and any other information related to the particular mining pipeline level workload (described below).

[0042] In step 342, a level output package is generated. In one embodiment of the present invention, a level output package may represent a data container that encapsulates (or includes) information in a compressed formatted form. For example, the level output package may be represented by any data archive format file (e.g., a ZIP archive file, a tarball or TAR archive file, a 7-ZIP or 7z archive file, etc.). Further, the level output package may be generated using and thus encapsulating at least the level output (identified in step 312) and the level output source (generated in step 340).

[0043] In step 344, the level output package (generated in step 342) is merged into the client storage array on the client device (e.g., see Figure 1). Thereafter, in step 346, a lookup is performed on a level output usage table using the level output ID (generated in step 322). In one embodiment of the present invention, the level output usage table may represent a data structure maintained in a memory that tracks the reusability of unique combinations of level inputs (identified in step 300) and functions (identified in step 306) that have implemented data processing applied to the level inputs. The reusability of the aforementioned unique combination may refer to the number of times the unique combination has been reused in multiple workloads. Further, each workload corresponds to a separate processing instance that needs to generate a level output (identified in step 312) based on a unique level input and function combination.

[0044] In step 348, it is determined whether the lookup (performed in step 346) identified an existing table entry for the level output usage table. Identification of an existing table entry may require that the existing table entry specifies (or includes) a level output ID that matches the level output ID used in the lookup (generated in step 322). Thus, in one embodiment of the invention, if it is determined that the lookup identified an existing table entry for the level output usage table, the process may proceed to step 350. On the other hand, in another embodiment of the invention, if it is alternatively determined that the lookup has not identified an existing table entry for the level output usage table, the process may alternatively proceed to step 352.

[0045] In step 350, after determining (in step 348) that the lookup (performed in step 356) has identified an existing table entry of the stage output usage table, a stage output usage count further specified in the existing table entry is identified. In one embodiment of the present invention, the aforementioned stage output usage count may refer to a numerical value recording the number of workloads (above) in which the stage output (identified in step 312) has been reused. Subsequently, the stage output usage count may be increased to reflect the addition of the particular mining pipeline stage workload to the total count of workloads in which the stage output has been reused.

[0046] In step 352, after alternatively determining (in step 348) that the lookup (performed in step 356) has not identified an existing table entry for the stage output usage table, a new table entry is allocated. In one embodiment of the invention, the new table entry may then specify (or include) the stage output ID (generated in step 322) and an initial stage output usage count (i.e., a value of 1), which may reflect the accounting of this particular mining pipeline stage workload as a total count of workloads in which stage outputs have been reused.

[0047] Figure 4A flowchart describing a method for backing up data according to one or more embodiments of the present invention is shown. The various steps outlined below may be performed by a backup agent executing on a client device (see, e.g., Figure 1 ). Further, although the various steps in the flowchart are presented and described sequentially, a person of ordinary skill will understand that some or all of the steps may be performed in a different order, may be combined or omitted, and some or all of the steps may be performed in parallel.

[0048] Go to Figure 4 In step 400, a level output packet is selected and then retrieved from a client storage array on a client device (see, e.g. Figure 1 In one embodiment of the present invention, a stage output package may represent a data container that encapsulates (or includes) a stage output and a stage output destination. The stage output package and the corresponding stage output and stage output destination may be associated with a mining pipeline stage of the mining pipeline (see, e.g. Figure 2 ). Specifically, stage output may refer to processed (or refined) data produced by a mining pipeline stage, and stage output provenance may refer to information (ie, metadata) that describes and tracks how the stage output is produced.

[0049] In step 402, a level output identifier (ID), a level output size, a level processing time, and a level resource cost are extracted from the level output (included in the level output package selected in step 400). In one embodiment of the present invention, the level output ID may refer to a string that uniquely identifies the level output (included in the level output package selected in step 400). Meanwhile, the level output size may represent metadata that at least partially describes the level output; more specifically, it may refer to a value indicating the amount of storage capacity that the level output may consume. Further, the level processing time may refer to a function that implements the mining pipeline level (see, e.g., Figure 2 ) The recorded time span required to produce the level output. Moreover, the level resource cost may refer to the recorded amount corresponding to various computing resources (e.g., processor cores, memory, storage, network bandwidth, etc.) that may have been allocated and / or consumed by the aforementioned function in order to produce the level output.

[0050] In step 404, a lookup is performed on a level output usage table using the level output ID (extracted in step 402). In one embodiment of the invention, it should be recalled that the level output ID may be generated using a level input digest and a level function digest. Thus, in addition to uniquely identifying a level output (included in the level output package selected in step 400), the level output ID further identifies a unique combination of a given level input processed by a given set of functions that produced the aforementioned level output. Subsequently, the level output usage table may represent a data structure maintained in a memory that tracks the reusability of that unique combination of level input and function, or the number of times that unique combination has been reused in multiple workloads. Each workload corresponds to a separate processing instance that requires generating a level output based on a unique level input and function combination. Further, based on the lookup performed on the level output usage table, an existing table entry may be identified that may specify a level output ID (used to perform the lookup) and a level output usage count. The level output usage count may refer to a numerical value that records the number of workloads in which a level output (i.e., resulting from a unique level input and function combination) has been reused.

[0051] In step 406, it is determined whether the level output usage count (obtained in step 404) exceeds a level output usage count threshold. The level output usage count threshold may refer to a single value (or range) (representing a limit or condition) that must be satisfied in order for the process to proceed to a subsequent step in the method. Further, the level output usage count threshold may be a programmable (i.e., dynamic) setting that may be defined by a user preference. Thus, in one embodiment of the present invention, if it is determined that the level output usage count exceeds the level output usage count threshold, the process may proceed to step 408. On the other hand, in another embodiment of the present invention, if it is alternatively determined that the level output usage count does not satisfy the level output usage count threshold, the process ends.

[0052] In step 408, after determining (in step 406) that the level output usage count (obtained in step 404) exceeds the level output usage count threshold, it is determined whether the level processing time (extracted in step 402) exceeds the level processing time threshold. The level processing time threshold may refer to a single numerical value (or range) (representing a limit or condition) that must be satisfied in order for the process to continue to a subsequent step in the method. Further, the level processing time threshold may be a programmable (i.e., dynamic) setting that may be defined by a user preference. Thus, in one embodiment of the present invention, if it is determined that the level processing time exceeds the level processing time threshold, the process may proceed to step 410. On the other hand, in another embodiment of the present invention, if it is alternatively determined that the level processing time does not satisfy the level processing time threshold, the process ends.

[0053] In step 410, after determining (in step 408) that the level processing time (extracted in step 402) exceeds the level processing time threshold, it is determined whether the level output size (also extracted in step 402) falls below the level output size threshold. The level output size threshold may refer to a single value (or range) (representing a limit or condition) that must be met in order for the process to continue to a subsequent step in the method. Further, the level output size threshold may be a programmable (i.e., dynamic) setting that may be defined by a user preference. Thus, in one embodiment of the invention, if it is determined that the level output size falls below the level output size threshold, the process may proceed to step 412. On the other hand, in another embodiment of the invention, if it is alternatively determined that the level output size matches or exceeds the level output size threshold, the process ends.

[0054] In step 412, after determining (in step 410) that the level output time (extracted in step 402) falls below the level output size threshold, it is determined whether the level resource cost (also extracted in step 402) exceeds the level resource cost threshold. The level resource cost threshold may refer to a single value (or range) (representing a limit or condition) that must be met in order for the process to continue to a subsequent step in the method. Further, the level resource cost threshold may be a programmable (i.e., dynamic) setting that may be defined by user preferences. Thus, in one embodiment of the invention, if it is determined that the level resource cost exceeds the level resource cost threshold, the process may proceed to step 414. On the other hand, in another embodiment of the invention, if it is alternatively determined that the level resource cost does not meet the level resource cost threshold, the process ends.

[0055] In step 414, after determining (in step 412) that the level resource cost (extracted in step 402) exceeds the level resource cost threshold, the level output package (selected in step 400) is copied. In one embodiment of the present invention, by copying the level output package, a backup level output package can be obtained. Thereafter, in step 416, the backup level output package (obtained in step 414) is sent to a data protection system (DPS) for merging.

[0056] Figure 5A computing system according to one or more embodiments of the present invention is shown. The computing system (500) may include one or more computer processors (502), non-permanent storage devices (504) (e.g., volatile memory, such as random access memory (RAM), cache memory), permanent storage (506) (e.g., hard disk, optical drive (such as compact disk (CD) drive or digital versatile disk (DVD) drive, flash memory, etc.), communication interface (512) (e.g., Bluetooth interface, infrared interface, network interface, optical interface, etc.), input device (510), output device (508) and many other elements (not shown) and functions. Each of these components is described below.

[0057] In one embodiment of the present invention, the computer processor (502) may be an integrated circuit for processing instructions. For example, the computer processor may be one or more cores or microcores of a central processing unit (CPU) and / or a graphics processing unit (GPU). The computing system (500) may also include one or more input devices (510), such as a touch screen, a keyboard, a mouse, a microphone, a touchpad, an electronic pen, or any other type of input device. Further, the communication interface (512) may include an integrated circuit for connecting the computing system (500) to a network (not shown) (e.g., a local area network (LAN), a wide area network (WAN) such as the Internet, a mobile network, or any other type of network) and / or to another device (such as another computing device).

[0058] In one embodiment of the invention, the computing system (500) may include one or more output devices (508), such as a screen (e.g., a liquid crystal display (LCD), a plasma display, a touch screen, a cathode ray tube (CRT) display, a projector, or other display device), a printer, an external storage device, or any other output device. The one or more output devices may be the same as or different from the input devices. The input and output devices may be connected locally or remotely to the computer processor (502), the non-persistent storage device (504), and the permanent storage device (506). There are many different types of computing systems, and the aforementioned input and output devices may take other forms.

[0059] The software instructions in the form of computer-readable program code for executing the embodiments of the present invention may be stored in whole or in part, temporarily or permanently on a non-transitory computer-readable medium, such as a CD, DVD, storage device, floppy disk, tape, flash memory, physical memory, or any other computer-readable storage medium. Specifically, the software instructions may correspond to a computer-readable program code that, when executed by a processor, is configured to execute one or more embodiments of the present invention.

[0060] While the present invention has been described with respect to a limited number of embodiments, those skilled in the art having benefit of this disclosure will appreciate that other embodiments can be designed which do not depart from the scope of the invention as disclosed herein. Accordingly, the scope of the present invention should be limited only by the claims appended hereto.

Claims

1. A method for merging data, comprising: Before selecting the output package of the stage and after completing the mining pipeline stage of the mining pipeline: generating a level output identifier ID for a level output using the level input digest and the level function digest; performing a first lookup on a stage output usage table using the stage output ID; determining, based on the first search, that the stage output usage table contains the stage output ID; identifying an existing table entry of the stage output usage table based on the determining, wherein the existing table entry includes the stage output ID and a first stage output usage count, wherein the first stage output usage count specifies a value recording a number of workloads in which the stage output is repeatedly used; Increasing the first stage output usage count to obtain a second stage output usage count; selecting the stage output package including the stage output and the stage output source; extracting at least the level output ID, the level processing time, and the level output size from the level output source; performing a second lookup on the stage output usage table using the stage output ID to obtain the second stage output usage count; Based at least on the second stage output usage count, the stage processing time, and the stage output size: copying the level output to obtain a backup level output; as well as The backup level output is stored in a data protection system.

2. The method of claim 1 , wherein replicating the stage output based on at least the second stage output usage count, the stage processing time, and the stage output size comprises: making a second determination that the second level output usage count exceeds a level output usage count threshold; making a third determination that the stage processing time exceeds a stage processing time threshold; and A fourth determination is made that the stage output size has not reached the stage output size threshold.

3. The method according to claim 2, further comprising: further extracting the level resource cost from the level output, wherein replicating the stage output is further based on the stage resource cost, and further comprising: A fifth determination is made that the level resource cost exceeds a level resource cost threshold.

4. The method according to claim 1, further comprising: Before generating the stage output ID: identifying a stage input of the mining pipeline stage; obtaining level input metadata describing the level input; and The stage input digest is generated using a first hash function and the stage input metadata.

5. The method according to claim 4, further comprising: identifying at least one function that implements the mining pipeline stage, wherein the at least one function produces the stage output from the stage input; obtaining function metadata describing the at least one function; and A level function digest is generated using the second hash function and the function metadata.

6. A system comprising: Storage arrays and backup storage arrays; a computer processor operably connected to the storage array and the backup storage array; A provenance agent executing on the computer processor, programmed to: Before the backup agent selection stage outputs the packet and after the mining pipeline stage of the mining pipeline is completed: generating a level output identifier ID for the level output using the level input summary and the level function summary; performing a first lookup on a stage output usage table using the stage output ID; determining, based on the first search, that the stage output usage table contains the stage output ID; Based on the determination, identifying an existing table entry of the stage output usage table, wherein the existing table entry includes the stage output ID and a first stage output usage count, wherein the first stage output usage count specifies a value recording a number of workloads in which the stage output is repeatedly used; Increasing the first-level output usage count to obtain a second-level output usage count; as well as The backup agent, executing on the computer processor and programmed to: selecting the stage output package including the stage output and the stage output source from the storage array; extracting at least the level output ID, the level processing time, and the level output size from the level output source; performing a second lookup on the stage output usage table using the stage output ID to obtain the second stage output usage count; Based at least on the second stage output usage count, the stage processing time, and the stage output size: copying the level output to obtain a backup level output; as well as The backup level output is stored in the backup storage array.

7. The system according to claim 6, further comprising: the mining pipeline being implemented at least in part by the computer processor and comprising a plurality of mining pipeline stages, wherein the mining pipeline stage is one of the plurality of mining pipeline stages, Wherein the plurality of mining pipeline stages are connected in series to form a mining pipeline stage chain.

8. The system according to claim 7, further comprising: Client device, comprising: the computer processor, the storage array, the origin agent, and the backup agent; and The mining pipeline is implemented at least by the computer processor and represents a framework for processing big data.

9. The system according to claim 8, further comprising: A data protection system DPS includes the backup storage array and is operably connected to the client device.

10. A non-transitory computer readable medium (CRM) comprising computer readable program code that, when executed by a computer processor, enables the computer processor to: Before selecting the output package of the stage and after completing the mining pipeline stage of the mining pipeline: generating a level output identifier ID for a level output using the level input digest and the level function digest; performing a first lookup on a stage output usage table using the stage output ID; determining, based on the first search, that the stage output usage table contains the stage output ID; identifying an existing table entry of the stage output usage table based on the determining, wherein the existing table entry includes the stage output ID and a first stage output usage count, wherein the first stage output usage count specifies a value recording a number of workloads in which the stage output is repeatedly used; Increasing the first stage output usage count to obtain a second stage output usage count; selecting the stage output package including the stage output and the stage output source; extracting at least the level output ID, level processing time, and level output size from the level output source; performing a second lookup on the stage output usage table using the stage output ID to obtain the second stage output usage count; Based at least on the second stage output usage count, the stage processing time, and the stage output size: copying the level output to obtain a backup level output; as well as The backup level output is stored in a data protection system.

11. The non-transitory CRM of claim 10, further comprising computer readable program code that, when executed by the computer processor, enables the computer processor to: making a second determination that the second level output usage count exceeds a level output usage count threshold; making a third determination that the stage processing time exceeds a stage processing time threshold; as well as making a fourth determination that the stage output size has not reached a stage output size threshold; Wherein based on the second, third and fourth determinations, the stage output is copied to obtain the backup stage output.

12. The non-transitory CRM of claim 11, further comprising computer readable program code that, when executed by the computer processor, enables the computer processor to: further extracting the level resource cost from the level output, wherein replicating the stage output is further based on the stage resource cost, and further enabling the computer processor to: A fifth determination is made that the level resource cost exceeds a level resource cost threshold.

13. The non-transitory CRM of claim 10, further comprising computer readable program code that, when executed by the computer processor, enables the computer processor to: Before generating the stage output ID: identifying a stage input of the mining pipeline stage; obtaining level input metadata describing the level input; and The stage input digest is generated using a first hash function and the stage input metadata.

14. The non-transitory CRM of claim 13, further comprising computer readable program code that, when executed by the computer processor, enables the computer processor to: identifying at least one function that implements the mining pipeline stage, wherein the at least one function produces the stage output from the stage input; obtaining function metadata describing the at least one function; and A level function digest is generated using the second hash function and the function metadata.