Method, apparatus and computer program product for data simulation
By obtaining the operating mode information of real data in the data protection system and using the generative adversarial network to generate simulation data patterns, the problem of lack of real data pattern characteristics of simulation data in the existing technology is solved, and efficient simulation data generation is achieved, which is suitable for data protection. System performance optimization and competitive product analysis.
Patent Information
- Application Number
- CN201911286175.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-12-13
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2039-12-13
AI Technical Summary
Existing technology is difficult to generate simulation data that reflects real data patterns, especially when users are unwilling to share their sensitive data or the amount of data is too large. Simulation data generated by existing tools lacks the characteristics of user data patterns and cannot meet the needs of data protection. System stress testing and competitive product comparison requirements.
By obtaining data pattern information associated with operations performed on real data in the data protection system, simulation data pattern information is generated, and a generative adversarial network is used to generate simulation data with similar data patterns for the data protection system to perform corresponding operations.
Without using real data, reliable simulation data reflecting real data patterns is generated, helping to optimize the performance of the data protection system, and is suitable for stress testing and competitive product analysis, avoiding manual intervention and data sensitivity issues.
Smart Images

Figure CN112989364B
Abstract
Description
Technical Field
[0001] Embodiments of the present disclosure generally relate to computer technology, and more particularly to methods, devices, and computer program products for data simulation. Background Art
[0002] Data patterns are critical to data protection systems. Data patterns reflect the operations performed on data in a data protection system. For example, in stress testing, the quality assurance team needs data patterns similar to user scenarios to verify the performance of the data protection system. In addition, support or sales teams need data patterns to compare their data protection systems with those of competitors to prove the superiority of their data protection systems. Therefore, data patterns need to be obtained efficiently and reliably. Summary of the invention
[0003] Embodiments of the present disclosure provide methods, devices, and computer program products for data simulation.
[0004] In a first aspect of the present disclosure, a method for data simulation is provided. The method includes: obtaining first data pattern information, the first data pattern information being associated with a first set of operations performed on real data in a data protection system; generating second data pattern information based on the first data pattern information, the second data pattern information being associated with a second set of operations executable by the data protection system; and generating simulation data different from the real data based on the second data pattern information, so that the data protection system performs the second set of operations on the simulation data.
[0005] In a second aspect of the present disclosure, an electronic device is provided. The device includes at least one processing unit and at least one memory. The at least one memory is coupled to the at least one processing unit and stores instructions for execution by the at least one processing unit. The instructions, when executed by the at least one processing unit, cause the device to perform an action, the action comprising: obtaining first data pattern information, the first data pattern information being associated with a first set of operations performed on real data in a data protection system; based on the first data pattern information, generating second data pattern information, the second data pattern information being associated with a second set of operations executable by the data protection system; and based on the second data pattern information, generating simulated data different from the real data, for the data protection system to perform a second set of operations on the simulated data.
[0006] In a third aspect of the present disclosure, a computer program product is provided, which is tangibly stored on a non-transitory computer-readable medium and includes machine-executable instructions, which, when executed, cause a machine to implement any step of the method described in the first aspect of the present disclosure.
[0007] This Summary is provided to introduce a selection of concepts in a simplified form that are further described below in the Detailed Description. This Summary is not intended to identify key features or essential features of the present disclosure, nor is it intended to limit the scope of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0008] 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 components throughout the exemplary embodiments of the present disclosure.
[0009] Figure 1 A schematic diagram showing an example of a simulation environment according to some embodiments of the present disclosure;
[0010] Figure 2 A flowchart of a method for simulation according to some embodiments of the present disclosure is shown;
[0011] Figure 3 A schematic diagram showing a set of operations sorted by execution time according to some embodiments of the present disclosure;
[0012] Figure 4 A schematic diagram showing a visual representation of a write operation according to some embodiments of the present disclosure;
[0013] Figure 5 A schematic diagram showing a visual representation of a composition operation according to some embodiments of the present disclosure;
[0014] Figure 6 A schematic diagram showing an example of training a generative adversarial network according to some embodiments of the present disclosure;
[0015] Figure 7 A schematic diagram showing an example of a generator using a generative adversarial network according to some embodiments of the present disclosure; and
[0016] Figure 8 A schematic block diagram of an example device that may be used to implement embodiments of the present disclosure is shown.
[0017] In the various drawings, the same or corresponding reference numerals represent the same or corresponding parts. DETAILED DESCRIPTION
[0018] The preferred embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the preferred 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.
[0019] 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. Other explicit and implicit definitions may also be included below.
[0020] As mentioned above, data patterns are critical to data protection systems. However, in some cases, users (especially those with sensitive data such as banks and governments) do not want their data to be shared. Even if users allow certain data to be shared (for example, certain data related to performance improvement), the amount of data shared may not be sufficient to reflect the underlying data patterns. Therefore, it is difficult to test data protection systems.
[0021] If the data pattern is randomly generated, it is useless because the data pattern of all users has different characteristics depending on the industry. Even in the same industry, the data pattern has different characteristics depending on the company, time, and location. For example, the data pattern of a bank database is completely different from the data pattern of a university office document in terms of size, change rate, deduplication rate, shard size, etc.
[0022] To this end, it is necessary to obtain simulation data with the characteristics of the user's data pattern. Traditionally, simulation data can be obtained in two ways. On the one hand, data can be obtained directly from the user. Such data can well reflect the characteristics of the user's data pattern. However, as mentioned above, the user does not want to share his data due to the sensitivity of his data, or the amount of data he shares is not enough to reflect the data pattern of the underlying data.
[0023] On the other hand, existing tools can generate simulation data with predictable change rates by specifying parameters such as data size, data change rate, changed block size, etc. However, these parameters must be manually entered by engineers, wasting a lot of human resources. In addition, these parameters depend largely on the experience of engineers, while there is often a huge difference between actual user scenarios and engineers' views. Therefore, such simulation data often lacks the characteristics of the user's data pattern. As a result, the simulation data generated by existing tools is more suitable for functional verification of data protection systems, but not for stress testing or comparison with competitors' data protection systems. Obviously, such simulation data is not ideal.
[0024] Furthermore, with the rapid growth of data volume, the complexity of data patterns will also grow rapidly, making the above two traditional methods unsuitable for modern data protection systems. In many cases, users are reluctant to share their data, not only because the data is sensitive, but also because the data volume is too large. In addition, since existing tools require engineers to manually input parameters when generating simulation data, the rapid growth of the complexity of data patterns also makes it difficult to manually input parameters that reflect the data patterns, making it impossible for existing tools to generate simulation data that reflects real user or industry scenarios.
[0025] According to an example embodiment of the present disclosure, an improved scheme for data simulation is proposed. In the scheme, first data pattern information can be obtained, the first data pattern information is associated with a first set of operations performed on real data in a data protection system, and based on the first data pattern information, second data pattern information is generated, the second data pattern information is associated with a second set of operations that can be performed by the data protection system. Thus, based on the second data pattern information, simulation data different from the real data can be generated, so that the data protection system can perform the second set of operations on the simulation data.
[0026] In this way, even if the user does not share their real data or only shares a small amount of real data, the data pattern information of the real data can be obtained to generate simulation data pattern information that well reflects the data pattern of the real data. Furthermore, the simulation data pattern information can also be converted into simulation data with the discovered data pattern to meet the needs of engineering, support and sales teams.
[0027] In the following, we will combine Figure 1-Figure 8 A specific example of the present scheme is described in more detail. Figure 1 A schematic diagram of an example of a simulation environment 100 according to some embodiments of the present disclosure is shown. The simulation environment 100 includes a data protection system 110 and a computing device 120. The data protection system 110 can be used to protect data, such as backup, restore, and copy. According to an embodiment of the present disclosure, the data protection system 110 can record operations involved in protecting data that affect the performance of the data protection system 110 (especially the performance of backup, restore, and copy, etc.), such as deduplication operations, write operations, and synthesis operations. These statistical information can be used as the first data pattern information 130.
[0028] The computing device 120 may include, but is not limited to, any device with computing capabilities, such as a cloud computing device, a mainframe computer, a personal computer, a desktop computer, a laptop computer, a tablet computer, and a personal digital assistant. According to an embodiment of the present disclosure, the computing device 120 is configured to obtain the first data pattern information 130 and generate the second data pattern information 140 that simulates the first data pattern information 130. The second data pattern information 140 may reflect the data pattern of the underlying data, so the computing device 120 may generate simulation data for the data protection system 110 having a data pattern similar to the real data based on the second data pattern information 140. The engineering team may use the simulation data to perform stress testing on the data protection system 110, and the sales or support team may use the simulation data to perform competitive product analysis on the data protection system 110.
[0029] In this way, the solution can easily set up an environment with a data pattern similar to that of the user without using real data that is sensitive to the user, by collecting data pattern information of the real data instead of the real data itself, thereby helping to optimize the performance of the data protection system with reliable simulation data. The generation of such simulation data is helpful in setting up a test environment for the engineering team and a competitive product analysis environment for the sales or support team.
[0030] In the following, we will combine Figure 2-Figure 7 The data pattern and the simulation of the data are described in more detail. Figure 2 FIG. 2 is a flow chart of a method 200 for simulation according to some embodiments of the present disclosure. The method 200 may be performed by, for example, Figure 1 The computing device 120 shown is implemented. For ease of discussion, the following will refer to Figure 1 The method 200 is described. It should be understood that the method 200 may further include additional steps not shown and / or may omit the steps shown, and the scope of the present disclosure is not limited in this respect.
[0031] At 210, the computing device 120 obtains first data pattern information 130. The first data pattern information 130 is associated with a first set of operations performed on real data in the data protection system 110, and reflects the data pattern of the real data. Under the same hardware environment, the data pattern is crucial. Regardless of the type of real data (for example, a video file, a database file, or a text file), it is all data in the eyes of the data protection system 110. Therefore, as long as the real data have similar data patterns, they can have similar performance to some extent. Although sometimes some data from a specific plug-in can take advantage of optimization from the plug-in side, the original data retained in the data protection system 110 still has certain data patterns after optimization.
[0032] In some embodiments, the first group of operations may include operations that affect the performance of the data protection system 110 when the data protection system 110 protects data, such as deduplication operations, write operations, and synthesis operations. The principle is that the data protection system 110 can use deduplication technology. In deduplication technology, there are two main factors: deduplication rate and throughput rate. These two factors can affect the performance of the data protection system, and the operations involving these two factors are operations such as deduplication operations, write operations, and synthesis operations.
[0033] Hereinafter, how the first data pattern information 130 is generated will be described in detail. In some embodiments, the computing device 120 may obtain the values of the operation parameters applied in the first set of operations, and based on the values of the operation parameters, generate the first data pattern information 130. Alternatively, in the case where the computing device 120 directly obtains the first data pattern information 130 from the data protection system 110, the generation of the first data pattern information 130 is performed by the data protection system 110.
[0034] The selection of operating parameters needs to meet the following two conditions: On the one hand, as described above, since the first group of operations are operations that can affect the performance of the data protection system 110, the operating parameters used in the first group of operations should also be operating parameters that can affect the performance of the data protection system 110.
[0035] On the other hand, the values of these operation parameters should be able to be collected during the data processing performed by the data protection system 110 (for example, during the execution of backup, restoration and replication, etc.) without incurring additional costs to the performance of the data protection system 110, just like log information. For example, as an inline data protection system 110 using deduplication technology, all operations involved in protecting data and affecting the performance of the data protection system 110 are processed by the data protection system 110, so the data protection system 110 can collect the values of the operation parameters without touching sensitive real data. For each operation, operation parameters such as offset, length, time, etc. can be recorded in the statistical file as the first data pattern information 130. The size of the first data pattern information 130 is independent of the size of the real data, but mainly depends on the complexity of the data pattern, for example, from a few kilobytes to several megabytes.
[0036] In view of this, one or more operating parameters that are involved in protecting data, affect the performance of the data protection system 110 and do not cause additional burden may include but are not limited to: pre-deduplication size, post-deduplication size, pre-compression size, post-compression size, number of shards, and network bytes for deduplication operations; number of write requests, write size, number of write areas, write area status, write offset, and write bytes per second for write operations; and number of synthesis requests, synthesis size, number of synthesis areas, synthesis area status, synthesis offset, and synthesis bytes per second for synthesis operations.
[0037] Specifically, the pre-deduplicated size, post-deduplicated size, pre-compression size, post-compression size, number of fragments and network bytes can respectively represent the size of the pre-deduplicated data volume, the post-deduplicated data volume, the size of the data volume before compression, the size of the data volume after compression, the number of data fragments and the number of bytes of data transmitted on the network when performing the deduplication operation.
[0038] The number of write requests, write size, number of write areas, write area status, write offset and bytes written per second can respectively indicate the number of write requests received when performing a write operation, the amount of data written, the number of areas to be written, the status of the areas to be written, the offset of the written data, and the number of bytes of data written per second.
[0039] The number of synthesis requests, synthesis size, number of synthesis areas, synthesis area status, synthesis offset and synthesis bytes per second can respectively represent the number of synthesis requests received when performing the synthesis operation, the size of the synthesized data, the number of areas to be synthesized, the status of the areas to be synthesized, the offset of the synthesized data, and the number of bytes of the synthesized data per second.
[0040] Furthermore, each operation in the first set of operations may be recorded sequentially according to, for example, a backup, restore, or copy process, thereby reconstructing simulation data having a similar data pattern. To this end, in some embodiments, the computing device 120 may sort each operation in the first set of operations by execution time, and obtain the value of the operation parameter for each operation in the sorted first set of operations. For example, Figure 3 A schematic diagram 300 is shown of a set of operations ordered by execution time according to some embodiments of the present disclosure. Figure 3 , some example operations are shown arranged by execution time, and the values of the operation parameters corresponding to each operation are also listed.
[0041] Optionally, the computing device 120 may also represent the first data pattern information 130 or a portion thereof in a visual manner, which helps engineering, sales, and support teams to better understand the data pattern behind the real data. Figure 4 and Figure 5 Schematic diagrams 400 and 500 respectively show visual representations of a write operation and a composition operation according to some embodiments of the present disclosure, wherein the horizontal axis represents time and the vertical axis represents the data volume of the write operation and the composition operation, respectively.
[0042] It should be understood that Figure 3 A list of operations given in Figure 4 and Figure 5 The visualization methods given in are only examples. The execution time of the operation and the values of the operation parameters and their visualization representations can be changed according to the specific circumstances of the operation performed to appropriately represent the operation. The scope of the embodiments of the present disclosure is not limited in this respect.
[0043] Continue to refer back Figure 2 At 220, the computing device 120 generates second data pattern information 140 based on the first data pattern information 130. The second data pattern information 140 simulates the first data pattern information 130 and is associated with a second set of operations executable by the data protection system 110. Since the second data pattern information 140 is a simulation of the first data pattern information 130, the second set of operations is similar to the first set of operations and may also include operations such as deduplication operations, write operations, and synthesis operations that are involved in protecting data and affect the performance of the data protection system 110.
[0044] The computing device 120 can generate the data pattern information 140 in a variety of ways. In some embodiments, in order to generate the second data pattern information 140, the computing device 120 can use a neural network, such as a generative adversarial network (GAN). The generative adversarial network has two competing neural networks: a generator and a discriminator. The generator obtains random noise and attempts to generate simulated data similar to the input real data. The discriminator obtains real data and simulated data generated from the generator, and attempts to distinguish between real data and simulated data. Therefore, during the learning process, the generator becomes better at generating simulated data, and the discriminator becomes better at distinguishing between real data and simulated data sets.
[0045] In order to better understand the generative adversarial network, the following will briefly introduce the training of the generative adversarial network. Figure 6 A schematic diagram of an example of training a generative adversarial network 600 according to some embodiments of the present disclosure is shown. The training of the generative adversarial network 600 may be performed by an external computing device, a server, an edge computing node, etc., or may be performed by the computing device 120. In the following, for discussion purposes only, the training of the generative adversarial network 600 is described as being performed by the computing device 120.
[0046] like Figure 6As shown, the computing device 120 may apply a random vector 640 to a generator 610 to generate candidate data pattern information with a first label. The first label indicates that the candidate data pattern information is simulated. In addition, the computing device 120 may apply historical data pattern information 630 with a second label and the candidate data pattern information with the first label to an identifier 620 for identification. The second label indicates that the historical data pattern information 630 is real. The historical data pattern information 630 is associated with a set of historical operations performed on real data in the data protection system 110. Similar to the first data pattern information 130, the historical data pattern information may include operations involved in the data protection system 110 when protecting data that affect the performance of the data protection system 110, such as deduplication operations, write operations, and synthesis operations.
[0047] The reason why the data pattern information is labeled is that the data pattern information 630 of the real data and the candidate data pattern information generated by the generator 610 are mixed together and fed into the discriminator 620. In this case, the problem solved by the discriminator 620 is a standard binary classification problem. To this end, the historical data pattern information 630 can be labeled with a second label (e.g., 1) indicating that it is real, and the candidate data pattern information can be labeled with a first label (e.g., 0) indicating that it is simulated, to help train the discriminator 620.
[0048] The computing device 120 can update the generator 610 and the discriminator 620 based on the results of the identification performed by the discriminator 620, so that the candidate data pattern information generated by the updated generator 610 is more authentic and the identification ability of the updated discriminator 620 is stronger, until the discriminator 620 cannot determine the authenticity of the candidate data pattern information.
[0049] After training is completed, the generator 610 in the generative adversarial network 600 can be deployed to the computing device 120 and used by the computing device 120 for data generation. Figure 7 Schematic diagram 700 showing an example of using generator 610 according to some embodiments of the present disclosure. Figure 7 As shown, the computing device 120 may apply the first data pattern information 130 to the trained generator 610 to generate the second data pattern information 140. Since the data pattern information generated by the trained generator 610 reaches a level where its authenticity cannot be determined, the second data pattern information 140 achieves a high degree of simulation of the first data pattern information 130.
[0050] In some embodiments, the computing device 120 may also classify the first data pattern information 130 based on a specified classification criterion, and generate second data pattern information from the first data pattern information 130 based on the classification result of the first data pattern information 130. For example, the computing device 120 may classify the first data pattern information 130 according to the user's industry and the process of protecting data (e.g., backup, restore, and copy processes) to divide it into several groups, and each group may be used to generate a single training of the adversarial network 600.
[0051] Continue to refer back Figure 2 . After generating the second data pattern information 140, at 230, the computing device 120 generates simulation data 150 different from the real data based on the second data pattern information 140, so that the data protection system 110 can perform a second set of operations on the simulation data 150. The simulation data 150 may be partially or completely different from the content of the real data, but have a similar data pattern, and therefore can be used for some relevant analyses of the data protection system 110, such as stress testing or competitive product analysis. In this way, the present solution can significantly improve the generation of simulation data. As described above, traditionally, the input parameters of the data generation tool depend on the experience of the engineer and are manually input by the engineer, and therefore have the disadvantages of inaccuracy and time-consuming. The second data pattern information 140 is automatically generated by the adversarial generative network after a lot of learning, and therefore is accurate and intelligent.
[0052] In this case, the collection of data pattern information of real data is integrated into the daily backup, recovery and replication of the data protection system, thereby avoiding the touching of sensitive data of users. This solution also uses a generative adversarial network to train the collected data pattern information to obtain typical data patterns for different industries, different users, etc., thereby avoiding manual intervention. It can be seen that this solution is inline, automatic and intelligent, so it can provide a large amount of accurate simulation data for performance optimization and comparison of data protection systems.
[0053] Figure 8 8 is a schematic block diagram of an example device 800 that can be used to implement an embodiment of the present disclosure. Figure 1The computing device 120 shown can be implemented by the device 800. As shown, the device 800 includes a central processing unit (CPU) 810, which can perform various appropriate actions and processes according to computer program instructions stored in a read-only memory (ROM) 820 or loaded from a storage unit 880 to a random access memory (RAM) 830. In the RAM 830, various programs and data required for the operation of the device 800 can also be stored. The CPU 810, the ROM 820, and the RAM 830 are connected to each other via a bus 840. An input / output (I / O) interface 850 is also connected to the bus 840.
[0054] A number of components in the device 800 are connected to the I / O interface 850, including: an input unit 860, such as a keyboard, a mouse, etc.; an output unit 870, such as various types of displays, speakers, etc.; a storage unit 880, such as a disk, an optical disk, etc.; and a communication unit 890, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 890 allows the device 800 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0055] The various processes and processing described above, such as method 200, may be performed by processing unit 810. For example, in some embodiments, method 200 may be implemented as a computer software program that is tangibly contained in a machine-readable medium, such as storage unit 880. In some embodiments, part or all of the computer program may be loaded and / or installed on device 800 via ROM 820 and / or communication unit 890. When the computer program is loaded into RAM 830 and executed by CPU 810, one or more actions of method 200 described above may be performed.
[0056] The present disclosure may be a method, an apparatus, a system and / or 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.
[0057] A computer-readable storage medium may be a tangible device that can hold and store instructions used by an instruction execution device. A computer-readable storage medium may 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 of the foregoing. More specific examples of computer-readable storage media (a non-exhaustive list) 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, such as a punch card or a raised structure in a groove on which instructions are stored, and any suitable combination of the foregoing. As used herein, a computer-readable storage medium is not to be interpreted as a transient signal per se, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (e.g., a light pulse through a fiber optic cable), or an electrical signal transmitted through a wire.
[0058] 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.
[0059] The computer program instructions for performing the operation of the present disclosure may be assembly 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, such as Smalltalk, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. Computer-readable program instructions may be executed completely on a user's computer, partially on a user's computer, 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., using an Internet service provider to connect via the Internet). In some embodiments, an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), may be customized by utilizing the state information of the computer-readable program instructions, and the electronic circuit may execute the computer-readable program instructions, thereby realizing various aspects of the present disclosure.
[0060] Various aspects of the present disclosure are described herein with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products according to the embodiments of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer-readable program instructions.
[0061] 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 boxes 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 boxes in the flowchart and / or block diagram.
[0062] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operating 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 boxes in the flowchart and / or block diagram.
[0063] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to multiple embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a part of a module, program segment or instruction, and a part of the module, program segment or instruction includes one or more executable instructions for realizing the specified logical function. In some alternative implementations, the function marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous square boxes can actually be executed substantially in parallel, and they can sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or action, or can be implemented with a combination of special hardware and computer instructions.
[0064] 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 variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection 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 data simulation, include: Acquire first data pattern information, the first data pattern information being associated with a first set of operations that have been performed on real data in a data protection system, wherein acquiring the first data pattern information comprises acquiring a value of an operation parameter applied in the first set of operations, and wherein acquiring the value of the operation parameter comprises: sorting each operation in the first set of operations by execution time, and obtaining a value of the operation parameter for each operation in the first ordered set of operations; Based on the first data pattern information, generating second data pattern information, the second data pattern information being associated with a second set of operations executable by the data protection system; and Based on the second data pattern information, simulation data different from the real data is generated, so that the data protection system can perform the second set of operations on the simulation data.
2. The method according to claim 1, wherein the first set of operations and the second set of operations respectively include at least one of the following: Deduplication operation; Write operations; and Synthesis operation.
3. The method according to claim 1, wherein obtaining the first data mode information further comprises: include: The first data pattern information is generated based on the value of the operating parameter.
4. The method according to claim 1, wherein obtaining the value of the operating parameter includes obtaining the value of at least one of the following: pre-decompression size, post-decompression size, pre-compression size, post-compression size, number of shards, network bytes, number of write requests, write size, number of write regions, write region status, write offset, write bytes per second, number of synthetic requests, synthetic size, number of synthetic regions, synthetic region status, synthetic offset, and synthetic bytes per second.
5. The method according to claim 1, wherein the second data pattern information is generated include: The first data pattern information is applied to a generator of a generative adversarial network to generate the second data pattern information.
6. The method according to claim 1, wherein the second data pattern information is generated include: performing classification on the first data pattern information based on a specified classification criterion; as well as Based on the classification result of the first data pattern information, the second data pattern information is generated from the first data pattern information.
7. An electronic device, include: at least one processing unit; at least one memory coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit, the instructions, when executed by the at least one processing unit, causing the apparatus to perform actions comprising: Acquire first data pattern information, the first data pattern information being associated with a first set of operations that have been performed on real data in a data protection system, wherein acquiring the first data pattern information comprises acquiring a value of an operation parameter applied in the first set of operations, and wherein acquiring the value of the operation parameter comprises: sorting each operation in the first set of operations by execution time, and obtaining a value of the operation parameter for each operation in the first ordered set of operations; Based on the first data pattern information, generating second data pattern information, the second data pattern information being associated with a second set of operations executable by the data protection system; and Based on the second data pattern information, simulation data different from the real data is generated, so that the data protection system can perform the second set of operations on the simulation data.
8. The apparatus of claim 7, wherein the first set of operations and the second set of operations each include at least one of the following: Deduplication operation; Write operations; and Synthesis operation.
9. The device according to claim 7, wherein obtaining the first data mode information further comprises: include: The first data pattern information is generated based on the value of the operating parameter.
10. The apparatus of claim 7, wherein obtaining the value of the operating parameter comprises obtaining the value of at least one of: pre-decompression size, post-decompression size, pre-compression size, post-compression size, number of shards, network bytes, number of write requests, write size, number of write regions, write region status, write offset, write bytes per second, number of synthetic requests, synthetic size, number of synthetic regions, synthetic region status, synthetic offset, and synthetic bytes per second.
11. The apparatus according to claim 7, wherein the second data pattern information is generated include: The first data pattern information is applied to a generator of a generative adversarial network to generate the second data pattern information.
12. The apparatus according to claim 7, wherein the second data pattern information is generated include: performing classification on the first data pattern information based on a specified classification criterion; as well as Based on the classification result of the first data pattern information, the second data pattern information is generated from the first data pattern information.
13. A computer program product tangibly stored on a non-transitory computer readable medium and comprising machine executable instructions which, when executed by a machine, cause the machine to perform actions, the actions include: Acquire first data pattern information, the first data pattern information being associated with a first set of operations that have been performed on real data in a data protection system, wherein acquiring the first data pattern information comprises acquiring a value of an operation parameter applied in the first set of operations, and wherein acquiring the value of the operation parameter comprises: sorting each operation in the first set of operations by execution time, and obtaining a value of the operation parameter for each operation in the first ordered set of operations; Based on the first data pattern information, generating second data pattern information, the second data pattern information being associated with a second set of operations executable by the data protection system; and Based on the second data pattern information, simulation data different from the real data is generated, so that the data protection system can perform the second set of operations on the simulation data.
14. The computer program product of claim 13, wherein the first set of operations and the second set of operations each include at least one of the following: Deduplication operation; Write operations; and Synthesis operation.
15. The computer program product according to claim 13, wherein obtaining the first data pattern information further comprises: include: The first data pattern information is generated based on the value of the operating parameter.
16. A computer program product according to claim 13, wherein obtaining the value of the operating parameter includes obtaining the value of at least one of the following: pre-decompression size, post-decompression size, pre-compression size, post-compression size, number of shards, network bytes, number of write requests, write size, number of write regions, write region status, write offset, write bytes per second, number of synthetic requests, synthetic size, number of synthetic regions, synthetic region status, synthetic offset, and synthetic bytes per second.
17. The computer program product of claim 13, wherein the second data pattern information is generated include: The first data pattern information is applied to a generator of a generative adversarial network to generate the second data pattern information.
18. The computer program product of claim 13, wherein the second data pattern information is generated include: performing classification on the first data pattern information based on a specified classification criterion; as well as Based on the classification result of the first data pattern information, the second data pattern information is generated from the first data pattern information.
