Data reduction method and device, computer equipment, storage medium and program product

By scheduling processing units and dynamically adjusting levels according to the attribute information of the data to be processed, the problem of high delay in the data reduction process is solved and the system efficiency and adaptability are improved.

CN118535306APending Publication Date: 2024-08-23DAWNING INFORMATION IND (BEIJING) CO LTD +2
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410711097.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-03
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

During the data reduction process, existing technologies lead to high system latency and affect system efficiency, especially in business scenarios with high latency requirements.

Method used

By scheduling processing units of matching levels according to the attribute information of the data to be processed for data reduction processing, and dynamically adjusting the levels of processing units to optimize resource usage and reduce time.

Benefits of technology

It reduces the system delay in the data reduction process, improves the work efficiency and overall efficiency of the data reduction system, and adapts to different data loads and needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118535306A
    Figure CN118535306A
Patent Text Reader

Abstract

The invention relates to a data reduction method and device, computer equipment, a storage medium and a program product. The method comprises the steps of obtaining to-be-processed data of a target application system; and according to the attribute information of the to-be-processed data, scheduling a processing unit of a corresponding level from the target application system to perform data reduction processing on the to-be-processed data. According to the embodiment of the invention, the grade of the processing unit matched with the attribute information of the to-be-processed data can be determined according to the attribute information of the to-be-processed data, and the processing unit corresponding to the grade is scheduled from the data reduction system to carry out data reduction processing on the to-be-processed data; according to the data reduction processing method and device, the processing unit of the proper grade is selected to perform data reduction processing on the to-be-processed data, so that the time spent on data compression processing can be shortened, the time delay of the data reduction system can be reduced, and the working efficiency of the data reduction system can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and in particular to a data reduction method, apparatus, computer equipment, storage medium and program product. Background Art

[0002] As the amount of data continues to grow, the storage space required to store large amounts of data is getting larger and larger. Therefore, in order to reduce the space required to store large amounts of data, data reduction technology can be used to compress and deduplicate the data before storing the data to reduce the amount of data that needs to be stored.

[0003] However, since the data compression and deduplication processes take a certain amount of time when applying data reduction technology, for some systems with high latency requirements, the use of data reduction technology will result in high system latency, thereby affecting the system's work efficiency.

[0004] Based on this, how to reduce the impact on system latency during data reduction has become a technical problem that needs to be urgently solved in the field of data processing technology. Summary of the invention

[0005] Based on this, it is necessary to provide a data reduction method, apparatus, computer device, storage medium and program product that can reduce the impact on system latency during data reduction in order to address the above technical issues.

[0006] In a first aspect, the present application provides a data reduction method, the method comprising:

[0007] Obtain the data to be processed from the target application system;

[0008] According to the attribute information of the data to be processed, a processing unit of a corresponding level is dispatched from the target application system to perform data reduction processing on the data to be processed.

[0009] In the above-mentioned data reduction method, since the embodiment of the present application can determine the level of the processing unit that matches the attribute information of the data to be processed based on the attribute information of the data to be processed, and schedule the processing unit corresponding to the level from the data reduction system to perform data reduction processing on the data to be processed, it is realized that the processing unit that matches the data to be processed is selected for data reduction processing, and then the selected processing unit can perform data reduction on the data to be processed based on the shortest time. In this way, the time spent on data compression processing can be reduced, the delay of the data reduction system can be reduced, and the working efficiency of the data reduction system can be improved.

[0010] In one embodiment, the method further comprises:

[0011] According to the resource occupation of each processing unit, the level of each processing unit is adjusted to obtain each processing unit with an adjusted level; each processing unit with an adjusted level is used to schedule and process the next data to be processed.

[0012] In this embodiment, the level of each processing unit can be adjusted according to the resource occupancy of each processing unit to obtain each processing unit with an adjusted level. In this way, the level of each processing unit can be dynamically adjusted according to the resource occupancy of each processing unit, and the resources of the next data to be processed can be more reasonably scheduled according to the adjusted level. In this way, each time the data reduction is processed, the processing unit of the most suitable level can be flexibly selected to perform data reduction processing, thereby being able to balance the overall data reduction efficiency of the data reduction system and the latency requirements of the business.

[0013] In one embodiment, adjusting the level of each processing unit according to the resource occupation of each processing unit to obtain each processing unit after the adjusted level includes:

[0014] If all the processing units meet the preset processing requirements, the level of each processing unit is adjusted according to the first adjustment strategy to obtain each processing unit after the adjustment level; wherein the preset processing requirements include that the number of target processing units in all the processing units is greater than a preset number threshold, and the resource utilization rate of the target processing unit is higher than a preset utilization rate threshold;

[0015] If all the processing units do not meet the preset processing requirements, the level of each processing unit is adjusted according to a second adjustment strategy to obtain each processing unit after the adjustment level.

[0016] In this embodiment, whether all processing units meet the preset processing requirements can be determined based on the number of target processing units whose resource utilization rate is higher than the preset utilization rate threshold, thereby determining a first adjustment strategy when the preset processing requirements are met and a second adjustment strategy when the preset processing requirements are not met. Furthermore, the level of each processing unit can be adjusted according to the corresponding adjustment strategy, and the dynamically adjusted level of each processing unit and each processing unit after the adjustment of the level can be accurately obtained.

[0017] In one embodiment, the step of scheduling a processing unit of a corresponding level from the target application system to perform data reduction processing on the data to be processed according to the attribute information of the data to be processed includes:

[0018] Determine whether the data to be processed meets the preset division requirements according to the attribute information of the data to be processed, and obtain a determination result;

[0019] According to the determination result, a processing unit of a corresponding level is dispatched from the target application system to perform data reduction processing on the data to be processed.

[0020] In this embodiment, it can be determined whether the data to be processed meets the preset division requirements based on the attribute information of the data to be processed, and a judgment result can be obtained. Then, according to the judgment result, a processing unit of a corresponding level can be dispatched from the target application system to perform data reduction processing on the data to be processed. In this way, according to the judgment result, the data to be processed that requires a large amount of resources can be first split, deduplicated, and other processing processes can be performed, and then multiple processing units can be dispatched to perform data reduction processing on the processed data to be processed. It can flexibly adapt to the workload and processing requirements of different data to be processed, so as to perform scheduling and data reduction processing more flexibly and intelligently, ensuring that the data reduction system can maintain an efficient and stable operating state under various circumstances.

[0021] In one embodiment, the attribute information includes the data volume and / or type of the data to be processed, and determining whether the data to be processed meets the preset division requirements according to the attribute information of the data to be processed to obtain the determination result includes:

[0022] If the amount of the data to be processed is greater than a preset data amount threshold, or the type of the data to be processed is a preset type, determining that the data to be processed meets the preset division requirement;

[0023] If the data volume of the data to be processed is less than or equal to the preset data volume threshold, and the type of the data to be processed is not the preset type, it is determined that the data to be processed does not meet the preset division requirement.

[0024] In this embodiment, it is possible to accurately determine whether the data to be processed meets the preset segmentation requirements based on whether the data volume of the data to be processed is greater than the preset data volume threshold and whether the type of the data to be processed is a preset type, thereby accurately finding the data to be processed that meets the preset segmentation requirements, that is, the data that requires a large amount of resources to process.

[0025] In one embodiment, the step of dispatching a processing unit of a corresponding level from the target application system to perform data reduction processing on the to-be-processed data according to the determination result includes:

[0026] If the determination result indicates that the data to be processed meets the preset segmentation requirement, the data to be processed is segmented to obtain a plurality of data blocks to be processed, and a processing unit of a level corresponding to each of the data blocks to be processed is scheduled to perform data reduction processing;

[0027] If the determination result indicates that the data to be processed does not meet the preset segmentation requirement, a processing unit of a level corresponding to the data to be processed is scheduled to perform data reduction processing.

[0028] In this embodiment, it can be determined based on the judgment result whether the data to be processed meets the preset segmentation requirements, so as to find the data to be processed that meets the preset segmentation requirements, that is, the data to be processed that requires the use of a large amount of resources, and the data to be processed that requires the use of a large amount of resources can be segmented first, and then multiple processing units of corresponding levels can be scheduled to perform data reduction processing. It can flexibly adapt to the workload and processing requirements of different data to be processed, so as to perform scheduling and data reduction processing more flexibly and intelligently.

[0029] In one embodiment, the method further comprises:

[0030] Determining a processing unit of a level corresponding to each of the to-be-processed data blocks according to a first correspondence between preset attribute information and the level of the processing unit;

[0031] According to the second corresponding relationship between the preset attribute information and the level of the processing unit, a processing unit of a level corresponding to the data to be processed is determined.

[0032] In this embodiment, the processing unit of the level corresponding to each data block to be processed can be determined according to the first correspondence between the preset attribute information and the level of the processing unit, and the processing unit of the level corresponding to the data to be processed can be determined according to the second correspondence between the preset attribute information and the level of the processing unit. In this way, the level corresponding to the data to be processed with different workloads and processing requirements can be accurately determined according to the first correspondence applicable to the case where the preset segmentation requirements are met, and the second correspondence applicable to the case where the preset segmentation requirements are not met, and the processing unit of the level corresponding to the different data to be processed can be accurately determined.

[0033] In a second aspect, the present application further provides a data reduction system, the system comprising: a resource management module, a resource scheduling module and a data reduction module;

[0034] Wherein, the resource management module is used to obtain the data to be processed by the data reduction system;

[0035] The resource scheduling module and the data reduction module are used to schedule a processing unit of a corresponding level from the data reduction system to perform data reduction processing on the data to be processed according to the attribute information of the data to be processed.

[0036] In one of the embodiments, the resource management module is also used to adjust the level of each processing unit according to the resource occupancy of each processing unit to obtain each processing unit with an adjusted level; each processing unit with an adjusted level is used to schedule and process the next data to be processed.

[0037] In one embodiment, the resource management module is specifically used to:

[0038] If all the processing units meet the preset processing requirements, the level of each processing unit is adjusted according to the first adjustment strategy to obtain each processing unit after the adjustment level; wherein the preset processing requirements include that the number of target processing units in all the processing units is greater than a preset number threshold, and the resource utilization rate of the target processing unit is higher than a preset utilization rate threshold;

[0039] If all the processing units do not meet the preset processing requirements, the level of each processing unit is adjusted according to a second adjustment strategy to obtain each processing unit after the adjustment level.

[0040] In one of the embodiments, the system further includes: a resource status monitoring module;

[0041] The resource status monitoring module is used to determine whether the data to be processed meets the preset division requirements according to the attribute information of the data to be processed, and obtain a determination result;

[0042] The resource scheduling module and the data reduction module are specifically used to schedule a processing unit of a corresponding level from the data reduction system to perform data reduction processing on the data to be processed according to the determination result.

[0043] In one embodiment, the resource status monitoring module is specifically used to:

[0044] If the amount of the data to be processed is greater than a preset data amount threshold, or the type of the data to be processed is a preset type, determining that the data to be processed meets the preset division requirement;

[0045] If the data volume of the data to be processed is less than or equal to the preset data volume threshold, and the type of the data to be processed is not the preset type, it is determined that the data to be processed does not meet the preset division requirement.

[0046] In one embodiment, the resource scheduling module and the data reduction module are specifically used to:

[0047] If the determination result indicates that the data to be processed meets the preset segmentation requirement, the data to be processed is segmented to obtain a plurality of data blocks to be processed, and a processing unit of a level corresponding to each of the data blocks to be processed is scheduled to perform data reduction processing;

[0048] If the determination result indicates that the data to be processed does not meet the preset segmentation requirement, a processing unit of a level corresponding to the data to be processed is scheduled to perform data reduction processing.

[0049] In one embodiment, the resource management module is further used to:

[0050] Determining a processing unit of a level corresponding to each of the to-be-processed data blocks according to a first correspondence between preset attribute information and the level of the processing unit;

[0051] According to the second corresponding relationship between the preset attribute information and the level of the processing unit, a processing unit of a level corresponding to the data to be processed is determined.

[0052] In a third aspect, the present application further provides a data reduction device, comprising:

[0053] An acquisition module is used to acquire the data to be processed by the target application system;

[0054] The data reduction module is used to dispatch a processing unit of a corresponding level from the target application system to perform data reduction processing on the data to be processed according to the attribute information of the data to be processed.

[0055] In a fourth aspect, the present application further provides a computer device, wherein the computer device comprises a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of the method in any one of the embodiments of the first aspect are implemented.

[0056] In a fifth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the method in any one of the embodiments of the first aspect are implemented.

[0057] In a sixth aspect, the present application further provides a computer program product, wherein the computer program product comprises a computer program, and when the computer program is executed by a processor, the steps of the method in any one of the embodiments of the first aspect are implemented.

[0058] The above-mentioned data reduction method, device, computer equipment, storage medium and program product obtain the data to be processed of the target application system, and then according to the attribute information of the data to be processed, dispatch the processing unit of the corresponding level from the target application system to perform data reduction processing on the data to be processed. Since the embodiment of the present application can determine the level of the processing unit that matches the attribute information of the data to be processed according to the attribute information of the data to be processed, and dispatch the processing unit corresponding to the level from the data reduction system to perform data reduction processing on the data to be processed, it is realized that the processing unit matching the data to be processed is selected to perform data reduction processing on the data to be processed, and then the selected processing unit can perform data reduction on the data to be processed based on the minimum time, so that the time spent on data compression processing can be reduced, the delay of the data reduction system can be reduced, and the working efficiency of the data reduction system can be improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0059] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0060] Figure 1 A diagram of an application environment of a data reduction method in an embodiment;

[0061] Figure 2 is a flow chart of a data reduction method in one embodiment;

[0062] Figure 3 A schematic diagram of a flow chart of a level adjustment step in an embodiment;

[0063] Figure 4 is a flowchart of a data reduction processing step in one embodiment;

[0064] Figure 5 A schematic diagram of a flow chart of data reduction processing steps performed by a scheduling processing unit in one embodiment;

[0065] Figure 6 is a flow chart of a data reduction method in an optional embodiment;

[0066] Figure 7 It is a flowchart of performing data reduction processing by monitoring the total data throughput in one embodiment;

[0067] Figure 8 A schematic diagram of resource scheduling in one embodiment;

[0068] Fig. 9 is a structural block diagram of a data reduction device in one embodiment;

[0069] Fig.10 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0070] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0071] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by technicians in the technical field to which this application belongs; the terms used herein are only for the purpose of describing specific embodiments and are not intended to limit this application; the terms "including" and "having" in the specification and claims of this application and the above-mentioned figure descriptions and any variations thereof are intended to cover non-exclusive inclusions.

[0072] In the description of the embodiments of the present application, the technical terms "first", "second", etc. are only used to distinguish different objects, and cannot be understood as indicating or implying relative importance or implicitly indicating the number, specific order or primary and secondary relationship of the indicated technical features. In the description of the embodiments of the present application, the meaning of "multiple" is more than two, unless otherwise clearly and specifically defined.

[0073] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0074] As the amount of data continues to grow, the storage space required to store large amounts of data is getting larger and larger. Therefore, in order to reduce the space required to store large amounts of data, data reduction technology can be used to compress and deduplicate the data before storing it, so as to reduce the amount of data that needs to be stored, effectively utilize storage resources, and reduce computing and storage costs. Among them, data reduction technology includes data compression technology and deduplication technology.

[0075] Data compression technology is a technology that uses compression algorithms to convert data into a smaller representation. Data compression technology is widely used in data transmission, storage and processing to save bandwidth, reduce storage space and increase data transmission speed. Data compression technology can be divided into lossless compression and lossy compression. In lossless compression, the compressed and decompressed data are exactly the same, without any information loss. Common lossless compression algorithms may include but are not limited to RLE (run-length encoding) algorithm, LZW (Lempel-Ziv-Welch Encoding) algorithm, etc.; in lossy compression, the compressed and decompressed data may have slight information loss, but this information loss is usually imperceptible to humans. Common lossy compression algorithms may include but are not limited to JPGE (Joint Photographic Experts Group) compression algorithm, MP3 (MPEG Audio Layer3) compression algorithm, etc.

[0076] Deduplication technologies include online deduplication technology and post-process deduplication technology. Online deduplication technology is the process of detecting and processing data for duplication before writing it to disk. By detecting and deduplicating data in real time, online deduplication technology can timely reduce data redundancy and improve data reduction ratio. The advantage of online deduplication technology is that it can directly delete duplicate data before writing data, effectively reducing storage space usage; post-process deduplication technology is the process of reading and detecting duplication of data after it is written to disk. Compared with online deduplication, since post-process deduplication technology writes data to disk before processing, it will not have a significant impact on system performance and can maintain a high system response speed.

[0077] However, when using data compression technology to process data, compression and decompression may take a long time and may introduce delays, which will have a certain impact on system performance. Since online deduplication technology requires duplicate judgment and processing before data is written, online deduplication technology may increase the burden on the system and cause a certain degree of performance degradation. Especially when processing large amounts of data or high-concurrency writes, online deduplication technology will significantly increase the response time of the system and affect the overall performance. Since background deduplication technology needs to write data to disk before deduplication, background deduplication technology may cause some duplicate data to be deleted after being stored for a period of time. That is, background deduplication technology cannot guarantee timely data processing and cannot immediately release storage space, affecting the real-time nature of the deduplication effect. If background deduplication is blocked, system latency may increase, which in turn affects latency-sensitive businesses.

[0078] Therefore, when applying data reduction technology, the process of data compression and deleting duplicate data takes a certain amount of time, especially data reduction technology with a high reduction rate usually takes a long time, which will cause a very high load on the system and affect the system performance. Therefore, for some systems with high latency requirements, that is, low-latency systems that require very low latency for data operations and access, the use of data reduction technology will cause high system latency, thereby affecting the system's work efficiency. Based on this, how to reduce the impact on system latency during data reduction has become a technical problem that needs to be solved urgently in the field of data processing technology.

[0079] After introducing the background technology of the data reduction method provided by the embodiment of the present application, the implementation environment involved in the data reduction method provided by the embodiment of the present application will be briefly described below. The data reduction method provided by the embodiment of the present application can be applied to Figure 1 The data reduction system shown in FIG. 1 includes a resource management module, a resource scheduling module, a resource status monitoring module and a data reduction module, and the resource management module, the resource scheduling module, the resource status monitoring module and the data reduction module can transmit information and / or data to each other. The data reduction module includes multiple data reduction processing units, such as Figure 1The data reduction processing unit 1, data reduction processing unit 2, data reduction processing unit 3, ..., data reduction processing unit n in the data reduction system. The resource management module is used to determine and adjust the level of each data reduction processing unit, and determine the data reduction processing unit of the corresponding level of the original data input into the data reduction system. The resource scheduling module is used to schedule the computing resources of each data reduction processing unit and the task amount of the data reduction task. The resource status monitoring module is used to monitor the resource occupancy of each data reduction processing unit. Each data reduction processing unit in the data reduction module is used to execute the data reduction task, so as to output the original data after data reduction.

[0080] Those skilled in the art will understand that Figure 1 The structure shown in the figure is only a block diagram of a part of the structure related to the scheme of the present application, and does not constitute a limitation on the computer device to which the scheme of the present application is applied. The specific terminal may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.

[0081] In one embodiment, Figure 2 As shown, a data reduction method is provided, which is applied to Figure 1 The data reduction system in FIG. 1 is taken as an example to illustrate the method, which includes the following steps:

[0082] S201, obtaining the data to be processed of the target application system.

[0083] The target application system may be the above-mentioned data reduction system, and generally, the target application system is a low-latency system, that is, the target application system in the embodiment of the present application has a high latency requirement for tasks such as data reduction. The data to be processed refers to data that needs to be processed for data reduction.

[0084] In the embodiment of the present application, optionally, a plurality of raw data may be pre-stored in a preset database, and the plurality of raw data may include the data to be processed, so that the resource management module in the data reduction system may obtain the data to be processed that needs to be processed for data reduction from the preset database in the data reduction system. Alternatively, the resource management module in the data reduction system may also receive raw data sent by other systems or other devices, and extract the data to be processed that needs to be processed for data reduction from the raw data. Of course, the embodiment of the present application does not limit the specific implementation method for obtaining the data to be processed.

[0085] S202 , according to the attribute information of the data to be processed, dispatching a processing unit of a corresponding level from the target application system to perform data reduction processing on the data to be processed.

[0086] Among them, the attribute information of the data to be processed may include but is not limited to at least one of the data type, data volume, space occupied by the data and other information of the data to be processed. The processing unit refers to the data reduction processing unit in the data reduction system, and the embodiment of the present application sets a corresponding level for each processing unit, and the corresponding level of the processing unit is used to characterize the busyness of the processing unit.

[0087] In the embodiment of the present application, optionally, the resource management module in the data reduction system can directly determine the level of the processing unit that matches the attribute information of the data to be processed according to the attribute information of the data to be processed, so that the resource scheduling module in the data reduction system can schedule the processing unit corresponding to the level that matches the attribute information from the data reduction system, and then the data reduction module in the data reduction system can use the scheduled processing unit to perform data reduction processing on the data to be processed. Alternatively, the resource management module in the data reduction system can also determine whether it is necessary to perform processing processes such as segmentation and deduplication on the data to be processed according to the attribute information of the data to be processed. If it is determined that the data to be processed needs to be processed, the resource management module in the data reduction system can determine the level of the processing unit that matches the attribute information of the processed data to be processed according to the attribute information of the processed data to be processed, so that the resource scheduling module in the data reduction system can schedule the processing unit corresponding to the level from the data reduction system, and then the data reduction module in the data reduction system can use the scheduled processing unit to perform data reduction processing on the processed data to be processed. Of course, the embodiment of the present application does not limit the specific implementation method of scheduling the processing unit of the corresponding level to perform data reduction processing.

[0088] In the above data reduction method, the data to be processed of the target application system is obtained, and then according to the attribute information of the data to be processed, the processing unit of the corresponding level is dispatched from the target application system to perform data reduction processing on the data to be processed. Since the embodiment of the present application can determine the level of the processing unit that matches the attribute information of the data to be processed according to the attribute information of the data to be processed, and dispatch the processing unit corresponding to the level from the data reduction system to perform data reduction processing on the data to be processed, it is realized that the processing unit matching the data to be processed is selected for data reduction processing, and then the selected processing unit can perform data reduction on the data to be processed based on the minimum time, so that the time spent on data compression processing can be reduced, the delay of the data reduction system can be reduced, and the working efficiency of the data reduction system can be improved.

[0089] In the above embodiment, a method for scheduling a processing unit of a corresponding level to perform data reduction processing is provided, namely: Figure 2 The data reduction method of the embodiment, such as Figure 3 As shown, it also includes:

[0090] S203, adjusting the level of each processing unit according to the resource occupation of each processing unit to obtain each processing unit after the adjustment of the level; each processing unit after the adjustment of the level is used to schedule the next data to be processed.

[0091] Among them, the resource occupancy of the processing unit may include but is not limited to the occupancy ratio of the computing resources in the processing unit, the available space in the processing unit, the resource utilization rate in the processing unit, etc. The resource occupancy of the processing unit is used to characterize the busyness of the processing unit. Generally, if the occupancy ratio of the computing resources in the processing unit is larger, the processing unit is busier; if the available space in the processing unit is larger, the processing unit is less busy; if the resource utilization rate in the processing unit is larger, the processing unit is busier.

[0092] In the embodiment of the present application, the resource management module in the data reduction system pre-sets the level corresponding to each processing unit, and the resource status monitoring module in the data reduction system can monitor the resource occupancy of each processing unit in real time or periodically, and send the resource occupancy of each processing unit to the resource management module in the data reduction system. Therefore, the resource management module can adjust the level of each processing unit pre-set according to the resource occupancy of each processing unit to obtain each processing unit after the adjustment level. Afterwards, when a new batch of data to be processed (i.e., the next batch of data to be processed) needs to be processed for data reduction processing next time, the resource management module in the data reduction system can determine the adjusted level matching the attribute information of the new batch of data to be processed according to the attribute information of the new batch of data to be processed, so that the resource scheduling module in the data reduction system can schedule the processing unit corresponding to the adjusted level matching the attribute information from the data reduction system, and then the data reduction module in the data reduction system can use the processing unit scheduled this time to perform data reduction processing on the data to be processed.

[0093] In this embodiment, the level of each processing unit can be adjusted according to the resource occupancy of each processing unit to obtain each processing unit with an adjusted level. In this way, the level of each processing unit can be dynamically adjusted according to the resource occupancy of each processing unit, and the resources of the next data to be processed can be more reasonably scheduled according to the adjusted level. In this way, each time the data reduction is processed, the processing unit of the most suitable level can be flexibly selected to perform data reduction processing, thereby being able to balance the overall data reduction efficiency of the data reduction system and the latency requirements of the business.

[0094] In one embodiment, a method for adjusting the level of each processing unit is provided, that is, the step of “adjusting the level of each processing unit according to the resource occupation of each processing unit to obtain each processing unit with an adjusted level” in S203 above, including:

[0095] If all processing units meet the preset processing requirements, the level of each processing unit is adjusted according to the first adjustment strategy to obtain each processing unit with an adjusted level; wherein the preset processing requirements include that the number of target processing units among all processing units is greater than a preset number threshold, and the resource utilization rate of the target processing unit is higher than a preset utilization rate threshold.

[0096] If all processing units do not meet the preset processing requirements, the level of each processing unit is adjusted according to the second adjustment strategy to obtain each processing unit after the adjustment level.

[0097] In the embodiment of the present application, since the resource occupancy may include resource utilization, the preset processing requirements include that the number of target processing units in all processing units is greater than the preset number threshold, and the resource utilization of the target processing unit is higher than the preset utilization threshold, then the resource status monitoring module in the data reduction system can monitor in real time or regularly whether the resource utilization of each processing unit is higher than the preset utilization threshold, and can determine whether all processing units meet the preset processing requirements according to the monitoring results, that is, it can be understood that the resource status monitoring module can first determine the target processing unit whose resource utilization is higher than the preset utilization threshold from all processing units, and then determine whether the number of target processing units in all processing units is greater than the preset number threshold. Among them, the specific values ​​of the preset number threshold and the preset utilization threshold can be set according to the actual situation of each processing unit, and the embodiment of the present application does not limit the specific values ​​of the preset number threshold and the preset utilization threshold. Exemplarily, if a processing unit does not perform any data reduction task, it can be determined that the resource occupancy of the processing unit is 0; on the contrary, if all resources of a processing unit are used to perform data reduction tasks, it can be determined that the resource occupancy of the processing unit is 100.

[0098] If the resource status monitoring module determines that all processing units meet the preset processing requirements, that is, the number of target processing units in all processing units is greater than the preset number threshold, the resource status monitoring module can collect the resource utilization rate of each processing unit and send the resource utilization rate of each processing unit to the resource management module. Thus, the resource management module can determine the first adjustment strategy according to the resource utilization rate of each processing unit, and adjust the level of each processing unit according to the first adjustment strategy to obtain each processing unit after the adjustment level.

[0099] Exemplarily, if all processing units meet the preset processing requirements, the corresponding first adjustment strategy may include a low load level, a medium load level, and a high load level. At this time, if the resource utilization rate of the processing unit is less than the first utilization rate threshold, the resource management module may adjust the level of the processing unit to a low load level. The low load level is used to indicate that the processing unit only needs to process a very small number of tasks most of the time, and the performance of the processing unit cannot be fully utilized. Therefore, the processing unit currently has a very high execution efficiency for the data reduction task; if the resource utilization rate of the processing unit is greater than or equal to the first utilization rate threshold and less than the second utilization rate threshold, the resource management module may adjust the level of the processing unit to a low load level. The resource management module can adjust the level of the processing unit to a medium load level, which is used to indicate that the processing unit needs to process a certain number of tasks, and the processing unit still has certain idle resources available, so the processing unit currently has a high efficiency in reducing the data to be processed; if the resource utilization rate of the processing unit is greater than or equal to the second utilization rate threshold, the resource management module can adjust the level of the processing unit to a high load level, which is used to indicate that the processing unit needs to process a large number of tasks, and the processing unit has almost no idle resources, and even has resources to wait, so the processing unit currently has a low efficiency in reducing the data to be processed. Among them, the first utilization rate threshold is less than the second utilization rate threshold. Of course, the specific values ​​of the first utilization rate threshold and the second utilization rate threshold can be set according to the actual situation of each processing unit and the delay sensitivity of the data reduction system. The embodiment of the present application does not limit the specific values ​​of the first utilization rate threshold and the second utilization rate threshold.

[0100] If the resource status monitoring module determines that all processing units do not meet the preset processing requirements, that is, the number of target processing units in all processing units is less than or equal to the preset number threshold, which means that only the resource utilization rate of individual processing units is higher than the preset utilization rate threshold, the resource status monitoring module can collect the resource utilization rate of each processing unit and send the resource utilization rate of each processing unit to the resource management module. Thus, the resource management module can determine the second adjustment strategy according to the resource utilization rate of each processing unit, and adjust the level of each processing unit according to the second adjustment strategy to obtain each processing unit after the adjustment level.

[0101] Exemplarily, if all processing units do not meet the preset processing requirements, the corresponding second adjustment strategy may include at least a more fine-grained first load level, a second load level, a third load level and a fourth load level. At this time, if the resource utilization rate of the processing unit is less than the third utilization rate threshold, the resource management module may adjust the level of the processing unit to the first load level; if the resource utilization rate of the processing unit is greater than or equal to the third utilization rate threshold and less than the fourth utilization rate threshold, the resource management module may adjust the level of the processing unit to the second load level; if the resource utilization rate of the processing unit is greater than or equal to the fourth utilization rate threshold and less than the fifth utilization rate threshold, the resource management module may adjust the level of the processing unit to the third load level; if the resource utilization rate of the processing unit is greater than or equal to the fifth utilization rate threshold, the resource management module may adjust the level of the processing unit to the fourth load level. Among them, the third usage rate threshold is less than the fourth usage rate threshold, and the fourth usage rate threshold is less than the fifth usage rate threshold. Of course, the specific values ​​of the third usage rate threshold, the fourth usage rate threshold and the fifth usage rate threshold can be set according to the actual situation of each processing unit and the delay sensitivity of the data reduction system. The embodiment of the present application does not limit the specific values ​​of the third usage rate threshold, the fourth usage rate threshold and the fifth usage rate threshold. In this way, the operating status of each processing unit can be monitored more frequently and more finely, the level of each processing unit can be adjusted, and the data reduction tasks can be scheduled more finely, so that the data reduction system can be applicable to high-latency data reduction scenarios, thereby further reducing the overall delay of the data reduction task.

[0102] In this embodiment, whether all processing units meet the preset processing requirements can be determined based on the number of target processing units whose resource utilization rate is higher than the preset utilization rate threshold, thereby determining a first adjustment strategy when the preset processing requirements are met and a second adjustment strategy when the preset processing requirements are not met. Furthermore, the level of each processing unit can be adjusted according to the corresponding adjustment strategy, and the dynamically adjusted level of each processing unit and each processing unit after the adjustment of the level can be accurately obtained.

[0103] In one embodiment, a method for implementing data reduction processing on the data to be processed is provided, namely, in the above S202, "according to the attribute information of the data to be processed, scheduling a processing unit of a corresponding level from the target application system to perform data reduction processing on the data to be processed", such as Figure 4 As shown, including:

[0104] S301, determining whether the data to be processed meets the preset division requirements according to the attribute information of the data to be processed, and obtaining a determination result.

[0105] In the embodiment of the present application, the resource management module in the data reduction system can determine whether the data to be processed meets the preset partitioning requirements based on the attribute information of the data to be processed, that is, determine whether it is necessary to partition the data to be processed, thereby obtaining a determination result. Among them, the preset partitioning requirements may include but are not limited to at least one of the data volume of the data to be processed being greater than the preset data volume threshold, the type of the data to be processed being a preset type, and the space occupied by the data being greater than the preset volume threshold, etc. Of course, the embodiment of the present application does not limit the specific values ​​of the preset data volume threshold, the preset type, and the preset volume threshold. The determination result is used to characterize whether it is necessary to partition the data to be processed.

[0106] Optionally, the resource management module in the data reduction system can determine whether the data volume of the data to be processed is greater than a preset data volume threshold, whether the type of the data to be processed is a preset type, and whether the space occupied by the data of the data to be processed is greater than a preset volume threshold. If it is determined that the data to be processed meets at least one of the following preset division requirements: the data volume of the data to be processed is greater than the preset data volume threshold, the type of the data to be processed is a preset type, and the space occupied by the data of the data to be processed is greater than the preset volume threshold, then the resource management module can determine that the determination result is used to indicate that the data to be processed needs to be divided; if it is determined that the data to be processed does not meet at least one of the above preset division requirements, then the resource management module can determine that the determination result is used to indicate that the data to be processed does not need to be divided.

[0107] S302, dispatching a processing unit of a corresponding level from the target application system to perform data reduction processing on the data to be processed according to the determination result.

[0108] In the embodiment of the present application, since the judgment result is used to characterize whether the data to be processed needs to be segmented, the resource management module in the data reduction system can determine whether the data to be processed needs to be segmented. If it is determined that the data to be processed needs to be segmented, the resource management module can first segment and deduplicate the data to be processed, and then determine the level of the processing unit that matches the attribute information of the processed data to be processed based on the attribute information of the processed data to be processed, so that the resource scheduling module in the data reduction system can schedule the processing unit corresponding to the level from the data reduction system, and then the data reduction module in the data reduction system can use the scheduled processing unit to perform data reduction processing on the processed data to be processed.

[0109] If it is determined that there is no need to split the data to be processed, the resource management module can directly determine the level of the processing unit that matches the attribute information of the data to be processed based on the attribute information of the data to be processed. Thus, the resource scheduling module in the data reduction system can schedule the processing unit corresponding to the level matching the attribute information from the data reduction system. Afterwards, the data reduction module in the data reduction system can use the scheduled processing unit to perform data reduction processing on the data to be processed.

[0110] In this embodiment, it can be determined whether the data to be processed meets the preset division requirements based on the attribute information of the data to be processed, and a judgment result can be obtained. Then, according to the judgment result, a processing unit of a corresponding level can be dispatched from the target application system to perform data reduction processing on the data to be processed. In this way, according to the judgment result, the data to be processed that requires a large amount of resources can be first split, deduplicated, and other processing processes can be performed, and then multiple processing units can be dispatched to perform data reduction processing on the processed data to be processed. It can flexibly adapt to the workload and processing requirements of different data to be processed, so as to perform scheduling and data reduction processing more flexibly and intelligently, ensuring that the data reduction system can maintain an efficient and stable operating state under various circumstances.

[0111] In one embodiment, the attribute information in any of the above embodiments may include the data volume and / or type of the data to be processed. Based on this, an implementation method for determining whether the data to be processed meets the preset division requirement is provided, that is, the “determining whether the data to be processed meets the preset division requirement according to the attribute information of the data to be processed, and obtaining a determination result” in the above S301 includes:

[0112] If the data volume of the data to be processed is greater than a preset data volume threshold, or the type of the data to be processed is a preset type, it is determined that the data to be processed meets the preset division requirement.

[0113] If the data volume of the data to be processed is less than or equal to the preset data volume threshold, and the type of the data to be processed is not a preset type, it is determined that the data to be processed does not meet the preset division requirement.

[0114] In the embodiment of the present application, the attribute information of the data to be processed may include the data volume and / or type of the data to be processed. Then, the resource management module in the data reduction system may determine whether the data volume of the data to be processed is greater than the preset data volume threshold, and determine whether the type of the data to be processed is a preset type. If the resource management module determines that the data volume of the data to be processed is greater than the preset data volume threshold, or the type of the data to be processed is a preset type, the resource management module may determine that the judgment result is that the data to be processed meets the preset division requirements, that is, the characterization needs to be segmented for the data to be processed. If the resource management module determines that the data volume of the data to be processed is less than or equal to the preset data volume threshold, and the type of the data to be processed is not a preset type, the resource management module may determine that the judgment result is that the data to be processed does not meet the preset division requirements, that is, the characterization does not need to segment the data to be processed. Among them, the preset type may include but is not limited to any one of the types such as log type and video type. Of course, the embodiment of the present application does not limit the specific values ​​of the preset data volume threshold, preset type, and preset volume threshold.

[0115] In this embodiment, it is possible to accurately determine whether the data to be processed meets the preset segmentation requirements based on whether the data volume of the data to be processed is greater than the preset data volume threshold and whether the type of the data to be processed is a preset type, thereby accurately finding the data to be processed that meets the preset segmentation requirements, that is, the data that requires a large amount of resources to process.

[0116] In one embodiment, a method for implementing data reduction processing on the data to be processed is provided, namely, "dispatching a processing unit of a corresponding level from the target application system to perform data reduction processing on the data to be processed according to the determination result" in S302 above. Figure 5 As shown, including:

[0117] S401, determine whether the data to be processed meets the preset segmentation requirements according to the determination result. If the determination result indicates that the data to be processed meets the preset segmentation requirements, execute S402; if the determination result indicates that the data to be processed does not meet the preset segmentation requirements, execute S403.

[0118] S402, dividing the data to be processed into multiple data blocks to be processed, and scheduling processing units of corresponding levels to each data block to be processed to perform data reduction processing.

[0119] S403, scheduling a processing unit of a level corresponding to the data to be processed to perform data reduction processing.

[0120] In the embodiment of the present application, the resource management module in the data reduction system can determine whether the data to be processed meets the preset segmentation requirements based on the judgment result. If it is determined that the judgment result indicates that the data to be processed meets the preset segmentation requirements, that is, it means that the data to be processed needs to be segmented, then the resource management module can first segment the data to be processed to obtain multiple data blocks to be processed, and then determine the level of the processing unit that matches the attribute information of the multiple data blocks to be processed based on the attribute information of the multiple data blocks to be processed, so that the resource scheduling module in the data reduction system can schedule the processing unit corresponding to the level from the data reduction system, and then the data reduction module in the data reduction system can use the scheduled processing unit to perform data reduction processing on the multiple data blocks to be processed.

[0121] If it is determined that the judgment result indicates that the data to be processed does not meet the preset segmentation requirements, that is, it means that the data to be processed does not need to be segmented, then the resource management module can directly determine the level of the processing unit that matches the attribute information of the data to be processed based on the attribute information of the data to be processed. Thus, the resource scheduling module in the data reduction system can schedule the processing unit corresponding to the level matching the attribute information from the data reduction system. Afterwards, the data reduction module in the data reduction system can use the scheduled processing unit to perform data reduction processing on the data to be processed.

[0122] In this embodiment, it can be determined based on the judgment result whether the data to be processed meets the preset segmentation requirements, so as to find the data to be processed that meets the preset segmentation requirements, that is, the data to be processed that requires the use of a large amount of resources, and the data to be processed that requires the use of a large amount of resources can be segmented first, and then multiple processing units of corresponding levels can be scheduled to perform data reduction processing. It can flexibly adapt to the workload and processing requirements of different data to be processed, so as to perform scheduling and data reduction processing more flexibly and intelligently.

[0123] In the above embodiment, a method for determining a processing unit is provided, that is, when the determination result indicates that the data to be processed meets the preset segmentation requirement, the method further includes:

[0124] According to the first corresponding relationship between the preset attribute information and the level of the processing unit, the processing unit of the level corresponding to each data block to be processed is determined.

[0125] In the embodiment of the present application, the resource management module can pre-set the first correspondence between the preset attribute information and the level of the processing unit, and the first correspondence is applicable to the situation where the preset segmentation requirements are met, so that after the data to be processed is segmented to obtain multiple data blocks to be processed, the resource management module can determine the level of the processing unit corresponding to the attribute information of the multiple data blocks to be processed based on the above first correspondence and the attribute information of the multiple data blocks to be processed, and can determine the processing unit that meets the determined level based on the determined level, so that the processing unit of the level corresponding to each data block to be processed can be determined. After that, the "scheduling of the processing unit of the level corresponding to each data block to be processed for data reduction processing" in S402 can be continued.

[0126] In the above embodiment, a method for determining a processing unit is also provided, that is, when the determination result indicates that the data to be processed does not meet the preset segmentation requirement, it also includes:

[0127] According to the second corresponding relationship between the preset attribute information and the level of the processing unit, a processing unit of a level corresponding to the data to be processed is determined.

[0128] In the embodiment of the present application, the resource management module can pre-set the second correspondence between the preset attribute information and the level of the processing unit, and the second correspondence is applicable to the situation where the preset segmentation requirements are not met, so that after determining that the judgment result indicates that the data to be processed does not meet the preset segmentation requirements, that is, it indicates that the data to be processed does not need to be segmented, the resource management module can determine the level of the processing unit corresponding to the attribute information of the data to be processed based on the above second correspondence and the attribute information of the data to be processed, and can determine the processing unit that meets the determined level based on the determined level, so that the processing unit of the level corresponding to the data to be processed can be determined. After that, S403 can be executed, that is, the step of "scheduling the processing unit of the level corresponding to the data to be processed to perform data reduction processing" can be executed.

[0129] In this embodiment, the processing unit of the level corresponding to each data block to be processed can be determined according to the first correspondence between the preset attribute information and the level of the processing unit, and the processing unit of the level corresponding to the data to be processed can be determined according to the second correspondence between the preset attribute information and the level of the processing unit. In this way, the level corresponding to the data to be processed with different workloads and processing requirements can be accurately determined according to the first correspondence applicable to the case where the preset segmentation requirements are met, and the second correspondence applicable to the case where the preset segmentation requirements are not met, and the processing unit of the level corresponding to the different data to be processed can be accurately determined.

[0130] Based on all the above embodiments, the present application also provides a complete data reduction method, such as Figure 6 As shown, the method includes:

[0131] S21, obtaining the data to be processed by the target application system;

[0132] S22, if the amount of the data to be processed is greater than a preset data amount threshold, or the type of the data to be processed is a preset type, determining that the data to be processed meets the preset division requirement;

[0133] S23, determining a processing unit of a level corresponding to each to-be-processed data block according to a first correspondence between preset attribute information and the level of the processing unit;

[0134] S24, dividing the data to be processed into multiple data blocks to be processed, and scheduling processing units of corresponding levels to each data block to be processed to perform data reduction processing;

[0135] S25, if the amount of the data to be processed is less than or equal to the preset data amount threshold, and the type of the data to be processed is not a preset type, determining that the data to be processed does not meet the preset division requirement;

[0136] S26, determining a processing unit of a level corresponding to the data to be processed according to a second correspondence between the preset attribute information and the level of the processing unit;

[0137] S27, scheduling a processing unit of a level corresponding to the data to be processed to perform data reduction processing;

[0138] S28, if all processing units meet the preset processing requirements, the level of each processing unit is adjusted according to the first adjustment strategy to obtain each processing unit after the adjustment level; wherein the preset processing requirements include that the number of target processing units in all processing units is greater than a preset number threshold, and the resource utilization rate of the target processing unit is higher than a preset utilization rate threshold; each processing unit after the adjustment level is used to schedule the next to-be-processed data;

[0139] S29: If all processing units do not meet the preset processing requirements, the level of each processing unit is adjusted according to the second adjustment strategy to obtain each processing unit after the adjustment level.

[0140] In an exemplary embodiment, Figure 7 As shown, Figure 7The flowchart of data reduction processing by monitoring the total data throughput in one embodiment is as follows: S501, the resource status monitoring module in the data reduction system can monitor in real time or periodically whether the total data throughput of the data reduction system is higher than the preset throughput threshold. If the total data throughput of the data reduction system is higher than the preset throughput threshold, the resource status monitoring module can collect the resource utilization rate of each processing unit and send the resource utilization rate of each processing unit to the resource management module. Thus, S502, the resource management module can determine the first adjustment strategy according to the resource utilization rate of each processing unit, and adjust the level of each processing unit according to the first adjustment strategy to obtain each processing unit after the adjustment level. For example, the level of the processing unit with a lower busyness can be adjusted to a low load level, the level of the processing unit with a moderate busyness can be adjusted to a medium load level, and the level of the processing unit with a higher busyness can be adjusted to a high load level.

[0141] Afterwards, S503, as Figure 8 As shown, Figure 8 FIG. 1 is a schematic diagram of resource scheduling in an embodiment. If the resource scheduling module determines that the level of the processing unit is a high load level, for example Figure 8 If the resource scheduling module determines that the level of the processing unit is a low load level, for example Figure 8 The data reduction processing unit 1 and the data reduction processing unit 3 in the data reduction system can intelligently reduce the resources in the processing unit to more efficiently utilize the resources of the data reduction system, and can allocate more data reduction tasks to the processing unit to ensure that the resources in the processing unit with a low load level can be effectively utilized, thereby improving the overall data reduction efficiency. For the processing unit with a medium load level, for example Figure 8 The data reduction processing unit 2 in the data reduction system can adjust the resources and task amount in the processing unit according to the actual requirements of the data reduction task. Thus, in S504, the data reduction module in the data reduction system can use the resource-scheduled processing unit to perform data reduction processing on the data to be processed.

[0142] In the above data reduction method, the data to be processed of the target application system is obtained, and then according to the attribute information of the data to be processed, the processing unit of the corresponding level is scheduled from the target application system to perform data reduction processing on the data to be processed. Since the embodiment of the present application can determine the level of the processing unit that matches the attribute information of the data to be processed according to the attribute information of the data to be processed, and schedule the processing unit corresponding to the level from the data reduction system to perform data reduction processing on the data to be processed, the processing unit can be scheduled according to the data to be processed, so as to select the processing unit of the appropriate level to perform data reduction processing on the data to be processed, so as to reduce the time spent on data compression processing, reduce the delay of the data reduction system, and thus improve the working efficiency of the data reduction system.

[0143] It should be understood that, although the steps in the flowcharts involved in the above embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0144] In one embodiment, in combination Figure 1 As shown, a data reduction system is provided, the system comprising: a resource management module, a resource scheduling module and a data reduction module;

[0145] Wherein, the resource management module is used to obtain the data to be processed by the data reduction system;

[0146] The resource scheduling module and the data reduction module are used to schedule the processing units of the corresponding level from the data reduction system to perform data reduction processing on the data to be processed according to the attribute information of the data to be processed.

[0147] In one of the embodiments, the resource management module is also used to adjust the level of each processing unit according to the resource occupancy of each processing unit to obtain each processing unit with an adjusted level; each processing unit with an adjusted level is used to schedule and process the next data to be processed.

[0148] In one embodiment, the resource management module is specifically used to:

[0149] If all processing units meet the preset processing requirements, the level of each processing unit is adjusted according to the first adjustment strategy to obtain each processing unit after the adjustment level; wherein the preset processing requirements include that the number of target processing units in all processing units is greater than a preset number threshold, and the resource utilization rate of the target processing unit is higher than a preset utilization rate threshold;

[0150] If all processing units do not meet the preset processing requirements, the level of each processing unit is adjusted according to the second adjustment strategy to obtain each processing unit after the adjustment level.

[0151] In one of the embodiments, the system further includes: a resource status monitoring module;

[0152] A resource status monitoring module is used to determine whether the data to be processed meets the preset division requirements according to the attribute information of the data to be processed, and obtain a determination result;

[0153] The resource scheduling module and the data reduction module are specifically used to schedule the processing units of the corresponding level from the data reduction system to perform data reduction processing on the data to be processed according to the determination result.

[0154] In one embodiment, the resource status monitoring module is specifically used to:

[0155] If the amount of the data to be processed is greater than the preset data amount threshold, or the type of the data to be processed is a preset type, it is determined that the data to be processed meets the preset division requirement;

[0156] If the data volume of the data to be processed is less than or equal to the preset data volume threshold, and the type of the data to be processed is not a preset type, it is determined that the data to be processed does not meet the preset division requirement.

[0157] In one embodiment, the resource scheduling module and the data reduction module are specifically used to:

[0158] If the determination result indicates that the data to be processed meets the preset segmentation requirements, the data to be processed is segmented to obtain multiple data blocks to be processed, and a processing unit of a level corresponding to each data block to be processed is scheduled to perform data reduction processing;

[0159] If the determination result indicates that the data to be processed does not meet the preset segmentation requirement, a processing unit of a level corresponding to the data to be processed is scheduled to perform data reduction processing.

[0160] In one embodiment, the resource management module is further used to:

[0161] Determining a processing unit of a level corresponding to each to-be-processed data block according to a first correspondence between preset attribute information and the level of the processing unit;

[0162] According to the second corresponding relationship between the preset attribute information and the level of the processing unit, a processing unit of a level corresponding to the data to be processed is determined.

[0163] The processes and corresponding uses of each module in the data reduction system may refer to any of the above embodiments, and will not be described in detail here.

[0164] In the above data reduction system, the resource management module can better cope with the diversity and complexity of the original data, collect and analyze the global resource information, and decide on a reasonable task allocation plan; the resource status monitoring module can realize real-time monitoring of the operating status (such as resource usage); the resource scheduling module can intelligently realize resource management, reasonably allocate data reduction tasks, enable the system to achieve load balancing of different data reduction processing units, ensure that the resources of all processing units are fully and reasonably utilized, and improve the processing bandwidth of the overall data reduction. Therefore, through the mutual cooperation between multiple modules such as the resource management module, the resource scheduling module, the resource status monitoring module and the data reduction module, the system resources can be cleverly and reasonably allocated and adjusted, thereby effectively reducing the potential impact on the business during the data reduction process, effectively reducing the system delay, improving the system's operating efficiency, ensuring the smooth deduplication, ensuring the efficient operation of data reduction, enabling the system to maintain an efficient and stable operating state during large-scale data processing, and enabling the data reduction system to better cope with complex data processing requirements and more flexibly adapt to different data reduction scenarios.

[0165] Based on the same inventive concept, the embodiment of the present application also provides a data reduction device for implementing the data reduction method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more data reduction device embodiments provided below can refer to the limitations on the data reduction method above, and will not be repeated here.

[0166] In an exemplary embodiment, Fig. 9 As shown, a data reduction device is provided, including: an acquisition module 31 and a data reduction module 32, wherein:

[0167] The acquisition module 31 is used to acquire the data to be processed from the target application system.

[0168] The data reduction module 32 is used to dispatch a processing unit of a corresponding level from the target application system to perform data reduction processing on the data to be processed according to the attribute information of the data to be processed.

[0169] In one embodiment, the data reduction device further includes:

[0170] The level adjustment module is used to adjust the level of each processing unit according to the resource occupancy of each processing unit to obtain each processing unit after the adjustment; each processing unit after the adjustment is used to schedule the next data to be processed.

[0171] In one embodiment, the level adjustment module includes:

[0172] A first adjustment unit is used to adjust the level of each processing unit according to a first adjustment strategy to obtain each processing unit after the adjustment if all processing units meet the preset processing requirements; wherein the preset processing requirements include that the number of target processing units in all processing units is greater than a preset number threshold, and the resource utilization rate of the target processing unit is higher than a preset utilization rate threshold;

[0173] The second adjustment unit is used to adjust the level of each processing unit according to a second adjustment strategy to obtain each processing unit after the adjustment level if all processing units do not meet the preset processing requirements.

[0174] In one embodiment, the data reduction module 32 includes:

[0175] A determination unit, used to determine whether the data to be processed meets the preset division requirements according to the attribute information of the data to be processed, and obtain a determination result;

[0176] The data reduction processing unit is used to dispatch a processing unit of a corresponding level from the target application system to perform data reduction processing on the data to be processed according to the determination result.

[0177] In one embodiment, the attribute information includes the amount and / or type of data to be processed, and the determination unit includes:

[0178] A first determination subunit, configured to determine that the data to be processed meets a preset division requirement if the amount of the data to be processed is greater than a preset data amount threshold, or the type of the data to be processed is a preset type;

[0179] The second determination subunit is used to determine that the data to be processed does not meet the preset division requirement if the data volume of the data to be processed is less than or equal to the preset data volume threshold and the type of the data to be processed is not a preset type.

[0180] In one embodiment, the data reduction processing unit includes:

[0181] The first processing sub-unit is used for dividing the data to be processed into multiple data blocks to be processed if the determination result indicates that the data to be processed meets the preset division requirement, and scheduling the processing units of the corresponding levels of each data block to be processed to perform data reduction processing;

[0182] The second processing sub-unit is used to schedule a processing unit of a level corresponding to the data to be processed to perform data reduction processing if the determination result indicates that the data to be processed does not meet the preset segmentation requirement.

[0183] In one embodiment, the data reduction device further includes:

[0184] A first determining module, configured to determine a processing unit of a level corresponding to each to-be-processed data block according to a first corresponding relationship between preset attribute information and the level of the processing unit;

[0185] The second determining module is used to determine the processing unit of the level corresponding to the data to be processed according to the second corresponding relationship between the preset attribute information and the level of the processing unit.

[0186] Each module in the above data reduction device can be implemented in whole or in part by software, hardware or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.

[0187] In an exemplary embodiment, a computer device is provided. The computer device may be a server, or the computer device may be a terminal. The internal structure diagram thereof may be as follows: Fig.10 As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, near field communication (Near Field Communication, NFC) or other technologies. When the computer program is executed by the processor, a data reduction method is implemented. The display unit of the computer device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.

[0188] Those skilled in the art will understand that Fig.10 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0189] In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:

[0190] Obtain the data to be processed from the target application system;

[0191] According to the attribute information of the data to be processed, a processing unit of a corresponding level is dispatched from the target application system to perform data reduction processing on the data to be processed.

[0192] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0193] According to the resource occupation of each processing unit, the level of each processing unit is adjusted to obtain each processing unit with an adjusted level; each processing unit with an adjusted level is used to schedule and process the next data to be processed.

[0194] In one embodiment, the level of each processing unit is adjusted according to the resource usage of each processing unit to obtain each processing unit with an adjusted level, and the processor further implements the following steps when executing the computer program:

[0195] If all processing units meet the preset processing requirements, the level of each processing unit is adjusted according to the first adjustment strategy to obtain each processing unit after the adjustment level; wherein the preset processing requirements include that the number of target processing units in all processing units is greater than a preset number threshold, and the resource utilization rate of the target processing unit is higher than a preset utilization rate threshold;

[0196] If all processing units do not meet the preset processing requirements, the level of each processing unit is adjusted according to the second adjustment strategy to obtain each processing unit after the adjustment level.

[0197] In one embodiment, according to the attribute information of the data to be processed, a processing unit of a corresponding level is dispatched from the target application system to perform data reduction processing on the data to be processed, and the processor further implements the following steps when executing the computer program:

[0198] Determine whether the data to be processed meets the preset division requirements according to the attribute information of the data to be processed, and obtain a determination result;

[0199] According to the determination result, a processing unit of a corresponding level is dispatched from the target application system to perform data reduction processing on the data to be processed.

[0200] In one embodiment, the attribute information includes the data volume and / or type of the data to be processed, and whether the data to be processed meets the preset division requirements is determined according to the attribute information of the data to be processed to obtain a determination result. When the processor executes the computer program, the following steps are further implemented:

[0201] If the amount of the data to be processed is greater than the preset data amount threshold, or the type of the data to be processed is a preset type, it is determined that the data to be processed meets the preset division requirement;

[0202] If the data volume of the data to be processed is less than or equal to the preset data volume threshold, and the type of the data to be processed is not a preset type, it is determined that the data to be processed does not meet the preset division requirement.

[0203] In one embodiment, according to the determination result, a processing unit of a corresponding level is dispatched from the target application system to perform data reduction processing on the data to be processed, and the processor further implements the following steps when executing the computer program:

[0204] If the determination result indicates that the data to be processed meets the preset segmentation requirements, the data to be processed is segmented to obtain multiple data blocks to be processed, and a processing unit of a level corresponding to each data block to be processed is scheduled to perform data reduction processing;

[0205] If the determination result indicates that the data to be processed does not meet the preset segmentation requirement, a processing unit of a level corresponding to the data to be processed is scheduled to perform data reduction processing.

[0206] In one embodiment, when the processor executes the computer program, the following steps are also implemented:

[0207] Determining a processing unit of a level corresponding to each to-be-processed data block according to a first correspondence between preset attribute information and the level of the processing unit;

[0208] According to the second corresponding relationship between the preset attribute information and the level of the processing unit, a processing unit of a level corresponding to the data to be processed is determined.

[0209] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.

[0210] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.

[0211] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.

[0212] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.

[0213] The above embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A data reduction method, characterized in that: The method comprises: Obtain the data to be processed from the target application system; According to the attribute information of the data to be processed, a processing unit of a corresponding level is dispatched from the target application system to perform data reduction processing on the data to be processed.

2. The method according to claim 1, characterized in that The method further comprises: According to the resource occupation of each processing unit, the level of each processing unit is adjusted to obtain each processing unit with an adjusted level; each processing unit with an adjusted level is used to schedule and process the next data to be processed.

3. The method according to claim 2, characterized in that The step of adjusting the level of each processing unit according to the resource occupation of each processing unit to obtain each processing unit after the adjusted level includes: If all the processing units meet the preset processing requirements, the level of each processing unit is adjusted according to the first adjustment strategy to obtain each processing unit after the adjustment level; wherein the preset processing requirements include that the number of target processing units in all the processing units is greater than a preset number threshold, and the resource utilization rate of the target processing unit is higher than a preset utilization rate threshold; If all the processing units do not meet the preset processing requirements, the level of each processing unit is adjusted according to a second adjustment strategy to obtain each processing unit after the adjustment level.

4. The method according to claim 1, characterized in that: The step of dispatching a processing unit of a corresponding level from the target application system to perform data reduction processing on the data to be processed according to the attribute information of the data to be processed includes: Determine whether the data to be processed meets the preset division requirements according to the attribute information of the data to be processed, and obtain a determination result; According to the determination result, a processing unit of a corresponding level is dispatched from the target application system to perform data reduction processing on the data to be processed.

5. The method according to claim 4, characterized in that The attribute information includes the data volume and / or type of the data to be processed, and determining whether the data to be processed meets the preset division requirements according to the attribute information of the data to be processed to obtain a determination result includes: If the amount of the data to be processed is greater than a preset data amount threshold, or the type of the data to be processed is a preset type, determining that the data to be processed meets the preset division requirement; If the data volume of the data to be processed is less than or equal to the preset data volume threshold, and the type of the data to be processed is not the preset type, it is determined that the data to be processed does not meet the preset division requirement.

6. The method according to claim 4, characterized in that The step of dispatching a processing unit of a corresponding level from the target application system to perform data reduction processing on the data to be processed according to the determination result includes: If the determination result indicates that the data to be processed meets the preset segmentation requirement, the data to be processed is segmented to obtain a plurality of data blocks to be processed, and a processing unit of a level corresponding to each of the data blocks to be processed is scheduled to perform data reduction processing; If the determination result indicates that the data to be processed does not meet the preset segmentation requirement, a processing unit of a level corresponding to the data to be processed is scheduled to perform data reduction processing.

7. The method according to claim 6, characterized in that The method further comprises: Determining a processing unit of a level corresponding to each of the to-be-processed data blocks according to a first correspondence between preset attribute information and the level of the processing unit; According to the second corresponding relationship between the preset attribute information and the level of the processing unit, a processing unit of a level corresponding to the data to be processed is determined.

8. A data reduction system, characterized in that: The system includes: a resource management module, a resource scheduling module and a data reduction module; Wherein, the resource management module is used to obtain the data to be processed by the data reduction system; The resource scheduling module and the data reduction module are used to schedule a processing unit of a corresponding level from the data reduction system to perform data reduction processing on the data to be processed according to the attribute information of the data to be processed.

9. The system according to claim 8, characterized in that The resource management module is also used to adjust the level of each processing unit according to the resource occupancy of each processing unit to obtain each processing unit with an adjusted level; each processing unit with an adjusted level is used to schedule the next data to be processed.

10. The system according to claim 9, characterized in that The resource management module is specifically used for: If all the processing units meet the preset processing requirements, the level of each processing unit is adjusted according to the first adjustment strategy to obtain each processing unit after the adjustment level; wherein the preset processing requirements include that the number of target processing units in all the processing units is greater than a preset number threshold, and the resource utilization rate of the target processing unit is higher than a preset utilization rate threshold; If all the processing units do not meet the preset processing requirements, the level of each processing unit is adjusted according to a second adjustment strategy to obtain each processing unit after the adjustment level.

11. The system according to claim 8, characterized in that The system also includes: a resource status monitoring module; The resource status monitoring module is used to determine whether the data to be processed meets the preset division requirements according to the attribute information of the data to be processed, and obtain a determination result; The resource scheduling module and the data reduction module are specifically used to schedule a processing unit of a corresponding level from the data reduction system to perform data reduction processing on the data to be processed according to the determination result.

12. The system according to claim 11, characterized in that The resource status monitoring module is specifically used for: If the amount of the data to be processed is greater than a preset data amount threshold, or the type of the data to be processed is a preset type, determining that the data to be processed meets the preset division requirement; If the data volume of the data to be processed is less than or equal to the preset data volume threshold, and the type of the data to be processed is not the preset type, it is determined that the data to be processed does not meet the preset division requirement.

13. The system according to claim 11, characterized in that The resource scheduling module and the data reduction module are specifically used to: If the determination result indicates that the data to be processed meets the preset segmentation requirement, the data to be processed is segmented to obtain a plurality of data blocks to be processed, and a processing unit of a level corresponding to each of the data blocks to be processed is scheduled to perform data reduction processing; If the determination result indicates that the data to be processed does not meet the preset segmentation requirement, a processing unit of a level corresponding to the data to be processed is scheduled to perform data reduction processing.

14. The system according to claim 13, characterized in that The resource management module is also used for: Determining a processing unit of a level corresponding to each of the to-be-processed data blocks according to a first correspondence between preset attribute information and the level of the processing unit; According to the second corresponding relationship between the preset attribute information and the level of the processing unit, a processing unit of a level corresponding to the data to be processed is determined.

15. A data reduction device, characterized in that: The device comprises: An acquisition module is used to acquire the data to be processed by the target application system; The data reduction module is used to dispatch a processing unit of a corresponding level from the target application system to perform data reduction processing on the data to be processed according to the attribute information of the data to be processed.

16. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.

17. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.

18. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.

Citation Information

Cited By

  • Data processing method and device, data storage system and electronic equipment

    CN119201798A

  • Data processing method and apparatus, data storage system, and electronic device

    WO2026114394A1