Storage resource adjustment method and device, medium and equipment

By performing wavelet transformation on the storage resource usage data of the cloud platform application system, the storage resource allocation is dynamically adjusted, which solves the problem that the traditional static allocation method is difficult to adapt to dynamic changes in demand, and improves resource utilization and system performance.

CN118819854APending Publication Date: 2024-10-22SHANDONG LANGCHAO YUNTOU INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410955860.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-17
Publication Date
2024-10-22

AI Technical Summary

Technical Problem

Traditional static allocation storage management methods are difficult to adapt to dynamically changing business needs and network environments, resulting in resource waste and performance degradation.

Method used

By collecting the storage resource usage data of the cloud platform application system, the time series characteristic signals are determined and wavelet transform is performed to decompose the component characteristic signals of different frequencies, and the storage resource allocation is dynamically adjusted according to the trends of smoothly changing characteristic signals and mutation characteristic signals.

Benefits of technology

It achieves dynamic adjustment of storage resources, improves resource utilization, avoids resource waste and performance degradation, and provides more stable and efficient services.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118819854A_ABST
    Figure CN118819854A_ABST
Patent Text Reader

Abstract

The invention provides a storage resource adjustment method and device, a medium and equipment. The method comprises the following steps: collecting a storage resource use data sequence of an application system in a cloud platform; determining a time sequence characteristic signal corresponding to the storage resource use condition of the application system according to the storage resource use data sequence of the application system; performing wavelet transform on the time sequence signal to obtain component characteristic signals of different frequencies; according to the change trend of the stable change characteristic signal of the first frequency, adjusting storage resources allocated to the application system; judging whether the change trend of the sudden change characteristic signal of the second frequency is increasing or not; and if yes, determining a mutation growth value of the storage resource, and reserving the storage resource of the mutation growth value for the application system. Storage resources can be dynamically adjusted when needed, so that user requirements are met, and the resource utilization rate is increased.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of storage technology, and in particular to a storage resource adjustment method, device, medium and equipment. Background Art

[0002] As the number of cloud platform users increases, storage demand is also growing. How to effectively manage and allocate storage resources has become an important issue. Traditional static allocation storage management methods are difficult to adapt to dynamically changing business needs and network environments, resulting in resource waste and performance degradation. Summary of the invention

[0003] In view of at least one of the above technical problems, an embodiment of the present invention provides a storage resource adjustment method and apparatus, medium, and device.

[0004] In a first aspect, a storage resource adjustment method provided by an embodiment of the present invention includes:

[0005] Collect the storage resource usage data sequence of the application system in the cloud platform;

[0006] Determining a timing characteristic signal corresponding to the storage resource usage of the application system according to the storage resource usage data sequence of the application system;

[0007] Performing wavelet transform on the time series signal to obtain component characteristic signals of different frequencies; wherein the component characteristic signals of different frequencies include a steadily changing characteristic signal of a first frequency and a sudden change characteristic signal of a second frequency, and the first frequency is less than the second frequency;

[0008] adjusting the storage resources allocated to the application system according to the change trend of the stable change characteristic signal of the first frequency;

[0009] Determining whether the change trend of the mutation characteristic signal of the second frequency is increasing;

[0010] If so, a sudden growth value of the storage resource is determined, and storage resources of the sudden growth value are reserved for the application system.

[0011] In one embodiment, determining the timing characteristic signal corresponding to the storage resource usage of the application system according to the storage resource usage data sequence of the application system includes:

[0012] The various data in the storage resource usage data sequence of the application system are connected into a curve, and the curve is used as a time series characteristic signal corresponding to the storage resource usage of the application system.

[0013] In one embodiment, determining the timing characteristic signal corresponding to the storage resource usage of the application system according to the storage resource usage data sequence of the application system includes:

[0014] Subtract the storage resource usage data sequence collected in the previous cycle from the storage resource usage data sequence collected in one cycle for the application system to obtain a storage resource usage change sequence;

[0015] The various data of the storage resource usage change sequence are connected into a curve, and the curve is used as a time series characteristic signal corresponding to the storage resource usage of the application system.

[0016] In one embodiment, adjusting the storage resources allocated to the application system according to the change trend of the stable change characteristic signal of the first frequency includes at least one of the following:

[0017] If the change trend of the stable change characteristic signal of the first frequency is increasing, and the difference between the current storage resource usage value and the threshold value of the storage resource capacity currently allocated to the application system is less than a first preset value, then increase the storage resources allocated to the application system;

[0018] If the changing trend of the stable changing characteristic signal of the first frequency is decreasing, the storage resources allocated to the application system are reduced.

[0019] In one embodiment, the wavelet transform is performed on the time series signal to obtain component characteristic signals of different frequencies, including:

[0020] Dividing the time length corresponding to the timing signal into multiple time windows;

[0021] Perform wavelet transform on the time series signal in each time window to obtain the component characteristic signals of each frequency corresponding to the time window;

[0022] The component characteristic signals of the same frequency corresponding to each time window are averaged to obtain the component characteristic signal of the frequency.

[0023] In one embodiment, determining the sudden growth value of the storage resource includes:

[0024] Determine the difference between the storage resource usage value corresponding to the end point of each time window and the storage resource usage value corresponding to the start point of each time window;

[0025] The difference values ​​corresponding to each time window are averaged to obtain the mutation growth value.

[0026] In one embodiment, the component characteristic signals of different frequencies also include a noise characteristic signal of a third frequency, and the third frequency is greater than the second frequency.

[0027] According to a second aspect, a storage resource adjustment device provided by an embodiment of the present invention includes:

[0028] The data collection module is used to collect the storage resource usage data sequence of the application system in the cloud platform;

[0029] A signal determination module, used to determine a timing characteristic signal corresponding to the storage resource usage of the application system according to the storage resource usage data sequence of the application system;

[0030] A signal conversion module, used for performing wavelet transformation on the time series signal to obtain component characteristic signals of different frequencies; wherein the component characteristic signals of different frequencies include a steadily changing characteristic signal of a first frequency and a sudden change characteristic signal of a second frequency, and the first frequency is less than the second frequency;

[0031] A first adjustment module, configured to adjust the storage resources allocated to the application system according to a change trend of the stable change characteristic signal of the first frequency;

[0032] A first judgment module is used to judge whether the change trend of the mutation characteristic signal of the second frequency is increasing;

[0033] The second adjustment module is used to determine the sudden growth value of the storage resource and reserve the storage resource of the sudden growth value for the application system.

[0034] In one embodiment, the signal determination module is specifically used to connect the data in the storage resource usage data sequence of the application system into a curve, and use the curve as a timing characteristic signal corresponding to the storage resource usage of the application system.

[0035] In one embodiment, the signal determination module is specifically used to: subtract the storage resource usage data sequence collected in a cycle from the storage resource usage data sequence collected for the application system in the previous cycle to obtain a storage resource usage change sequence; connect the various data of the storage resource usage change sequence into a curve, and use the curve as a timing characteristic signal corresponding to the storage resource usage of the application system.

[0036] In one embodiment, the first adjustment module is specifically used to: if the changing trend of the smoothly changing characteristic signal of the first frequency is increasing, and the difference between the current storage resource usage value and the threshold value of the storage resource capacity currently allocated to the application system is less than a first preset value, then increase the storage resources allocated to the application system; if the changing trend of the smoothly changing characteristic signal of the first frequency is decreasing, then reduce the storage resources allocated to the application system.

[0037] In one embodiment, the signal transformation module is specifically used to: divide the time length corresponding to the timing signal into multiple time windows; perform wavelet transform on the timing signal in each time window to obtain component characteristic signals of each frequency corresponding to the time window; average the component characteristic signals of the same frequency corresponding to each time window to obtain the component characteristic signal of the frequency.

[0038] In one embodiment, the second adjustment module is specifically used to: determine the difference between the storage resource usage value corresponding to the end point of each time window and the storage resource usage value corresponding to the start point of each time window; average the differences corresponding to each time window to obtain the sudden growth value.

[0039] In one embodiment, the component characteristic signals of different frequencies also include a noise characteristic signal of a third frequency, and the third frequency is greater than the second frequency.

[0040] According to a third aspect, an embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed in a computer, enables the computer to execute the method provided in the first aspect.

[0041] According to a fourth aspect, an embodiment of the present invention provides a computing device, including a memory and a processor, wherein the memory stores executable code, and when the processor executes the executable code, the method provided in the first aspect is implemented.

[0042] The storage resource adjustment method, device, medium, and equipment provided by the embodiment of the present invention first collect the storage resource usage data sequence of the application system in the cloud platform, and then determine the time series characteristic signal corresponding to the storage resource usage of the application system according to the storage resource usage data sequence of the application system, and then perform wavelet transform on the time series signal to obtain component characteristic signals of different frequencies. According to the change trend of the stable change characteristic signal of the first frequency, the storage resources allocated to the application system can be adjusted; if the change trend of the mutation characteristic signal of the second frequency is growth, the mutation growth value of the storage resource is determined, and the storage resource of the mutation growth value is reserved for the application system. That is, for the application system, the usage of storage resources is a continuous value that changes with time, that is, time series data. From the perspective of the signal, these time series data are composed of several frequency components, and these characteristics can reflect the change trend on different time scales, representing different pressures faced by storage resources such as data growth, equipment failure, etc. By analyzing these characteristics, the allocation of storage resources is dynamically adjusted. It can be seen that the embodiment of the present invention can dynamically adjust storage resources when needed to meet user needs and improve resource utilization. Since the utilization rate of storage resources can be improved, the stability and performance of the application system can be improved, and the problems of resource waste and performance degradation can be avoided, thereby providing users with more stable and efficient services. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] Figure 1 A schematic diagram of a flow chart of a storage resource adjustment method in an embodiment of the present invention;

[0044] Figure 2 It is a structural block diagram of a storage resource adjustment device in one embodiment of the present invention. DETAILED DESCRIPTION

[0045] In a first aspect, an embodiment of the present invention provides a storage resource adjustment method, see Figure 1 The method comprises the following steps S110 to S160:

[0046] S110, collecting storage resource usage data sequences of application systems in the cloud platform;

[0047] In actual scenarios, multiple application systems are deployed in the cloud platform. For each application system, the method provided in the embodiment of the present invention can be used to adjust the allocation of storage resources, thereby providing reasonable storage resources for each application system.

[0048] The storage resource usage data sequence refers to a time series formed by storage resource usage data at each time point.

[0049] Among them, storage resource usage data, for example, the disk usage of the enterprise host, the real-time storage usage of each process or container, including but not limited to the storage original data of the business database, the historical logs of each program, the actual data volume in the distributed storage engine, the system cache, etc.

[0050] Data can be collected using collection tools, such as telegraf. The time dimension must be accurate to at least the minute level. After the collection is completed, the data must be further cleaned and converted, and missing values ​​and outliers must be processed to ensure the accuracy and completeness of the data.

[0051] S120, determining a timing characteristic signal corresponding to the storage resource usage of the application system according to the storage resource usage data sequence of the application system;

[0052] In one embodiment, determining the timing characteristic signal corresponding to the storage resource usage of the application system according to the storage resource usage data sequence of the application system may include:

[0053] The various data in the storage resource usage data sequence of the application system are connected into a curve, and the curve is used as a time series characteristic signal corresponding to the storage resource usage of the application system.

[0054] That is, the individual data in the storage resource usage data sequence are connected to form a curve, which is the time series characteristic signal.

[0055] In one embodiment, determining the timing characteristic signal corresponding to the storage resource usage of the application system according to the storage resource usage data sequence of the application system may include:

[0056] Subtract the storage resource usage data sequence collected in the previous cycle from the storage resource usage data sequence collected in one cycle for the application system to obtain a storage resource usage change sequence;

[0057] The various data of the storage resource usage change sequence are connected into a curve, and the curve is used as a time series characteristic signal corresponding to the storage resource usage of the application system.

[0058] For example, the storage resource usage data sequence collected by the application system in the latest hour is subtracted from the storage resource usage data sequence collected in the previous hour to obtain the storage resource usage change sequence.

[0059] It can be seen that there are multiple ways to determine the timing characteristic signal, which can be selected according to actual conditions.

[0060] S130, performing wavelet transform on the time series signal to obtain component characteristic signals of different frequencies; wherein the component characteristic signals of different frequencies include a steadily changing characteristic signal of a first frequency and a sudden change characteristic signal of a second frequency, and the first frequency is less than the second frequency;

[0061] In other words, by performing wavelet transform on the time series signal, we can decompose the component characteristic signals of different frequencies, such as A1, D2, D3, etc. The time series signal is generated by superposition of these component characteristic signals of different frequencies. In the physical sense, generally speaking, low-frequency signals represent the main characteristics of storage trend changes, while high-frequency signals represent detailed characteristics such as sudden changes in storage usage within a specific short period of time.

[0062] In actual scenarios, the amount of storage used by the application system increases steadily most of the time. Of course, the amount of increase varies depending on the business, but in general, the amount of change is stable. This is reflected in the low-frequency signal A1 decomposed by wavelet analysis. In some time periods, the storage usage will increase or decrease sharply. This may be due to a surge in access users and business volume during special events, or the inspection system automatically deletes expired data and files. This is reflected in the high-frequency signals D2, D3, etc. decomposed by wavelet analysis.

[0063] Among them, the wavelet basis function used in wavelet transform can be Symmlet function, which has better symmetry, that is, it can reduce the phase distortion when analyzing and reconstructing the signal to a certain extent. Behind each frequency component characteristic signal obtained by decomposition corresponds to this key feature, such as file size, read and write frequency, network speed, etc., but in the embodiment of the present invention, we do not care about, and cannot determine the specific meaning behind each coefficient, because the embodiment of the present invention is more concerned with the impact of each signal on historical data and the additive effect on future data.

[0064] S140, adjusting the storage resources allocated to the application system according to the change trend of the stable change characteristic signal of the first frequency;

[0065] It is understandable that the first frequency is low frequency A1. After decomposing the first frequency's steadily changing characteristic signal, the first frequency's steadily changing characteristic signal is used as the basic changing trend of storage usage. That is to say, we can assume that, in the absence of emergencies, the storage usage trend of the observed application system is basically in accordance with the changing trend of the first frequency's steadily changing characteristic signal. It can be a linear-like changing curve, so that it can be predicted how much storage will be added or reduced in the future based on the basic changing trend, and when the current remaining storage capacity will be exhausted.

[0066] In one embodiment, adjusting the storage resources allocated to the application system according to the change trend of the stable change characteristic signal of the first frequency may include at least one of the following:

[0067] If the change trend of the stable change characteristic signal of the first frequency is increasing, and the difference between the current storage resource usage value and the threshold value of the storage resource capacity currently allocated to the application system is less than a first preset value, then increase the storage resources allocated to the application system;

[0068] If the changing trend of the stable changing characteristic signal of the first frequency is decreasing, the storage resources allocated to the application system are reduced.

[0069] That is to say, if the changing trend of the smoothly changing characteristic signal of the first frequency is increasing, and the difference between the current storage resource usage value and the threshold value of the storage resource capacity currently allocated to the application system is less than the first preset value, it can be seen that the current storage resource usage value is close to the above threshold value, and the storage resources allocated to the application system should be increased at this time.

[0070] If the changing trend of the steadily changing characteristic signal of the first frequency is decreasing, the storage resources allocated to the application system can be reduced, which can save space and then provide the saved space for other application systems.

[0071] Of course, if the remaining capacity is insufficient, an early warning can be given and the total capacity can be expanded.

[0072] S150, determining whether the change trend of the mutation characteristic signal of the second frequency is increasing;

[0073] S160: If yes, determine the sudden growth value of the storage resource, and reserve the storage resource of the sudden growth value for the application system.

[0074] That is to say, the mutation characteristic signal of the second frequency reflects sudden changes in a short period of time, such as a surge in business volume leading to a surge in storage or deletion of files, logs, and other operations. If the change trend of the mutation characteristic signal of the second frequency is an increase, the mutation growth value of the storage resource is determined, and then this part of the storage capacity can be reserved in advance for emergency use. It can be seen that in this way, the spare space can be reasonably planned, so that a large amount of valuable resources will not be idle and wasted, and the demand will not be unable to be met when the demand suddenly increases.

[0075] Of course, if the variation trend of the mutation characteristic signal of the second frequency is decreasing, this situation can be ignored.

[0076] In one embodiment, the component characteristic signals of different frequencies also include a noise characteristic signal of a third frequency, and the third frequency is greater than the second frequency.

[0077] That is to say, the third frequency is greater than the second frequency, the second frequency is greater than the first frequency, the component characteristic signal of the first frequency can reflect the basic change trend, and the component characteristic signal of the second frequency can reflect the mutation characteristics. The component characteristic signal of the third frequency is a noise characteristic signal. For example, network fluctuations and other situations have a slight impact on the signal and can be ignored.

[0078] In one embodiment, performing wavelet transform on the time series signal to obtain component characteristic signals of different frequencies may include:

[0079] Dividing the time length corresponding to the timing signal into multiple time windows;

[0080] Perform wavelet transform on the time series signal in each time window to obtain the component characteristic signals of each frequency corresponding to the time window;

[0081] The component characteristic signals of the same frequency corresponding to each time window are averaged to obtain the component characteristic signal of the frequency.

[0082] That is to say, the time length corresponding to the time series signal is divided into multiple segments, each segment corresponds to a time window, and then the time series signal in each time window is subjected to wavelet transform to obtain the component characteristic signals of each frequency in this time window. For each frequency, the component characteristic signals of the frequency in each time window are averaged to obtain the component characteristic signal corresponding to this frequency. This can improve the accuracy of the component characteristic signals of each frequency.

[0083] In order to ensure accuracy, a rolling time window can be used. Different time windows divide the time length corresponding to the time series signal into multiple segments. The size of the time window can be selected based on the collection period of the storage resource usage data. This is based on the uncertainty principle of wavelet analysis. In short, it is impossible to achieve high accuracy in both frequency and time domains at the same time. If a small window is used in the time domain, it is easier to capture subtle changes in the signal during this period of time, but the frequency of this period is very wide, and local changes in the frequency domain cannot be reflected. If the collection period is selected as the time window, the details of the two dimensions can be taken into account as much as possible. Specifically, the collection period can be selected as minutes, hours, or days.

[0084] In one embodiment, determining the sudden growth value of the storage resource may include: determining the difference between the storage resource usage value corresponding to the end point of each time window and the storage resource usage value corresponding to the start point of each time window; averaging the differences corresponding to each time window to obtain the sudden growth value.

[0085] That is, the difference between the storage resource usage value corresponding to the end point of a time window and the storage resource usage value corresponding to the start point of the time window is calculated. If the difference is greater than 0, it indicates that the sudden growth value is positive growth. The sudden growth value can be obtained by averaging the differences corresponding to each time window.

[0086] For example, let's take the commonly used distributed storage engine system Ceph as an example. It is well known that each object storage device OSD in Ceph is an independent logical storage unit, and storage resources can be allocated by weight according to factors such as computer rooms, hosts, racks, and clusters. For example, there are three distributed storage platforms, namely three application systems, which share a set of underlying hardware resources, and the top-level storage units are allocated to different fault domains, so that the capacity can be adjusted separately for each fault domain. In actual production, data will be stored in different platforms according to the business, and each data domain will continuously write and erase data based on different business requests. Each application system has different requirements for resources, but they share a set of hardware resources in some modes such as hyper-convergence mode. Unreasonable allocation will cause waste of resources and tight usage.

[0087] According to an embodiment of the present invention, the changing trend of the component characteristic signal of the first frequency in the component characteristic signals of each frequency of each application system can be input as an input parameter into a custom shell program. The program will increase the weight of the fault domain with increased demand and decrease the weight of the fault domain with reduced demand while keeping the total weight unchanged. When the capacity is about to be full, the program will automatically expand the new storage unit to avoid storage overflow.

[0088] It is understandable that, for a specified application system in use, the usage of storage resources is a continuous value that changes over time, that is, time series data. From the perspective of the signal, these time series data are composed of several frequency components. These characteristics can reflect the changing trends on different time scales and represent the different pressures faced by storage resources, such as data growth, equipment failure, etc. By analyzing these characteristics, the allocation of storage resources can be dynamically adjusted. It can be seen that the embodiment of the present invention predicts the changing trend of storage resource usage based on wavelet transform, so as to adjust the allocation of storage resources in a timely and dynamic manner to improve resource utilization and reduce costs.

[0089] In summary, the embodiments of the present invention can dynamically adjust storage resources when needed to meet user needs and improve resource utilization. Since the utilization of storage resources can be improved, the stability and performance of the application system can be improved, and the problems of resource waste and performance degradation can be avoided, thereby providing users with more stable and efficient services.

[0090] In a second aspect, an embodiment of the present invention provides a storage resource adjustment device. Figure 2 , the device 100 comprises:

[0091] The data collection module 110 is used to collect the storage resource usage data sequence of the application system in the cloud platform;

[0092] A signal determination module 120, configured to determine a timing characteristic signal corresponding to the storage resource usage of the application system according to the storage resource usage data sequence of the application system;

[0093] The signal transformation module 130 is used to perform wavelet transformation on the time series signal to obtain component characteristic signals of different frequencies; wherein the component characteristic signals of different frequencies include a steadily changing characteristic signal of a first frequency and a sudden change characteristic signal of a second frequency, and the first frequency is less than the second frequency;

[0094] A first adjustment module 140, configured to adjust the storage resources allocated to the application system according to the change trend of the stable change characteristic signal of the first frequency;

[0095] A first judgment module 150 is used to judge whether the change trend of the mutation characteristic signal of the second frequency is increasing;

[0096] The second adjustment module 160 is configured to determine a sudden increase value of storage resources and reserve storage resources of the sudden increase value for the application system.

[0097] In one embodiment, the signal determination module is specifically used to connect the data in the storage resource usage data sequence of the application system into a curve, and use the curve as a timing characteristic signal corresponding to the storage resource usage of the application system.

[0098] In one embodiment, the signal determination module is specifically used to: subtract the storage resource usage data sequence collected in a cycle from the storage resource usage data sequence collected for the application system in the previous cycle to obtain a storage resource usage change sequence; connect the various data of the storage resource usage change sequence into a curve, and use the curve as a timing characteristic signal corresponding to the storage resource usage of the application system.

[0099] In one embodiment, the first adjustment module is specifically used to: if the changing trend of the smoothly changing characteristic signal of the first frequency is increasing, and the difference between the current storage resource usage value and the threshold value of the storage resource capacity currently allocated to the application system is less than a first preset value, then increase the storage resources allocated to the application system; if the changing trend of the smoothly changing characteristic signal of the first frequency is decreasing, then reduce the storage resources allocated to the application system.

[0100] In one embodiment, the signal transformation module is specifically used to: divide the time length corresponding to the timing signal into multiple time windows; perform wavelet transform on the timing signal in each time window to obtain component characteristic signals of each frequency corresponding to the time window; average the component characteristic signals of the same frequency corresponding to each time window to obtain the component characteristic signal of the frequency.

[0101] In one embodiment, the second adjustment module is specifically used to: determine the difference between the storage resource usage value corresponding to the end point of each time window and the storage resource usage value corresponding to the start point of each time window; average the differences corresponding to each time window to obtain the sudden growth value.

[0102] In one embodiment, the component characteristic signals of different frequencies also include a noise characteristic signal of a third frequency, and the third frequency is greater than the second frequency.

[0103] It is understandable that the explanation, specific implementation, beneficial effects, examples, etc. of the relevant contents in the device provided in the embodiment of the present invention can be found in the corresponding parts of the method provided in the first aspect, and will not be repeated here.

[0104] In a third aspect, an embodiment of the present invention provides a computer-readable medium, on which computer instructions are stored. When the computer instructions are executed by a processor, the processor executes the method provided in the first aspect.

[0105] Specifically, a system or device equipped with a storage medium can be provided, on which software program code that implements the functions of any of the above-mentioned embodiments is stored, and a computer (or CPU or MPU) of the system or device can read and execute the program code stored in the storage medium.

[0106] In this case, the program code itself read from the storage medium can realize the function of any one of the above-mentioned embodiments, and thus the program code and the storage medium storing the program code constitute a part of the present invention.

[0107] The storage medium embodiments for providing the program code include a floppy disk, a hard disk, a magneto-optical disk, an optical disk (such as CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD+RW), a magnetic tape, a non-volatile memory card, and a ROM. Alternatively, the program code can be downloaded from a server computer by a communication network.

[0108] In addition, it should be clear that the functions of any of the above embodiments can be implemented not only by executing the program code read by the computer, but also by enabling an operating system operating on the computer to complete part or all of the actual operations based on instructions from the program code.

[0109] In addition, it can be understood that the program code read from the storage medium is written to a memory provided in an expansion board inserted into the computer or to a memory provided in an expansion module connected to the computer, and then based on the instructions of the program code, a CPU installed on the expansion board or expansion module is enabled to perform part or all of the actual operations, thereby realizing the functions of any of the above-mentioned embodiments.

[0110] It is understandable that the explanation, specific implementation methods, beneficial effects, examples, etc. of the relevant contents in the computer-readable medium provided in the embodiment of the present invention can be found in the corresponding parts of the method provided in the first aspect, and will not be repeated here.

[0111] In a fourth aspect, an embodiment of the present specification provides a computing device, including a memory and a processor, wherein the memory stores executable code, and when the processor executes the executable code, it implements the method in any embodiment of the specification.

[0112] It is understandable that the explanation, specific implementation, beneficial effects, examples, etc. of the relevant contents in the computing device provided in the embodiment of the present invention can be found in the corresponding parts of the method provided in the first aspect, and will not be repeated here.

[0113] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0114] Those skilled in the art should be aware that in one or more of the above examples, the functions described in the present invention can be implemented by hardware, software, widgets, or any combination thereof. When implemented by software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or codes on a computer-readable medium.

[0115] The specific implementation methods described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific implementation method of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made on the basis of the technical solution of the present invention should be included in the scope of protection of the present invention.

Claims

1. A storage resource adjustment method, characterized in that: include: Collect the storage resource usage data sequence of the application system in the cloud platform; Determining a timing characteristic signal corresponding to the storage resource usage of the application system according to the storage resource usage data sequence of the application system; Performing wavelet transform on the time series signal to obtain component characteristic signals of different frequencies; wherein the component characteristic signals of different frequencies include a steadily changing characteristic signal of a first frequency and a sudden change characteristic signal of a second frequency, and the first frequency is less than the second frequency; adjusting the storage resources allocated to the application system according to the change trend of the stable change characteristic signal of the first frequency; Determining whether the change trend of the mutation characteristic signal of the second frequency is increasing; If so, a sudden growth value of the storage resource is determined, and storage resources of the sudden growth value are reserved for the application system.

2. The method according to claim 1, characterized in that Determining the timing characteristic signal corresponding to the storage resource usage of the application system according to the storage resource usage data sequence of the application system includes: The various data in the storage resource usage data sequence of the application system are connected into a curve, and the curve is used as a time series characteristic signal corresponding to the storage resource usage of the application system.

3. The method according to claim 1, characterized in that: Determining the timing characteristic signal corresponding to the storage resource usage of the application system according to the storage resource usage data sequence of the application system includes: Subtract the storage resource usage data sequence collected in the previous cycle from the storage resource usage data sequence collected in one cycle for the application system to obtain a storage resource usage change sequence; The various data of the storage resource usage change sequence are connected into a curve, and the curve is used as a time series characteristic signal corresponding to the storage resource usage of the application system.

4. The method according to claim 1, characterized in that: The adjusting the storage resources allocated to the application system according to the change trend of the stable change characteristic signal of the first frequency includes at least one of the following: If the change trend of the stable change characteristic signal of the first frequency is increasing, and the difference between the current storage resource usage value and the threshold value of the storage resource capacity currently allocated to the application system is less than a first preset value, then increase the storage resources allocated to the application system; If the changing trend of the stable changing characteristic signal of the first frequency is decreasing, the storage resources allocated to the application system are reduced.

5. The method according to claim 1, characterized in that The wavelet transform is performed on the time series signal to obtain component characteristic signals of different frequencies, including: Dividing the time length corresponding to the timing signal into multiple time windows; Perform wavelet transform on the time series signal in each time window to obtain the component characteristic signals of each frequency corresponding to the time window; The component characteristic signals of the same frequency corresponding to each time window are averaged to obtain the component characteristic signal of the frequency.

6. The method according to claim 1, characterized in that The determining of the sudden growth value of the storage resource includes: Determine the difference between the storage resource usage value corresponding to the end point of each time window and the storage resource usage value corresponding to the start point of each time window; The difference values ​​corresponding to each time window are averaged to obtain the mutation growth value.

7. The method according to claim 1, characterized in that The component characteristic signals of different frequencies also include a noise characteristic signal of a third frequency, and the third frequency is greater than the second frequency.

8. A storage resource adjustment device, characterized in that: include: The data collection module is used to collect the storage resource usage data sequence of the application system in the cloud platform; A signal determination module, used to determine a timing characteristic signal corresponding to the storage resource usage of the application system according to the storage resource usage data sequence of the application system; A signal conversion module, used for performing wavelet transformation on the time series signal to obtain component characteristic signals of different frequencies; wherein the component characteristic signals of different frequencies include a steadily changing characteristic signal of a first frequency and a sudden change characteristic signal of a second frequency, and the first frequency is less than the second frequency; A first adjustment module, configured to adjust the storage resources allocated to the application system according to a change trend of the stable change characteristic signal of the first frequency; A first judgment module is used to judge whether the change trend of the mutation characteristic signal of the second frequency is increasing; The second adjustment module is used to determine the sudden growth value of the storage resource if yes, and reserve the storage resource of the sudden growth value for the application system.

9. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed in a computer, the computer is caused to execute the method according to any one of claims 1 to 7.

10. A computing device, characterized in that: The method comprises a memory and a processor, wherein the memory stores executable codes, and when the processor executes the executable codes, the method according to any one of claims 1 to 7 is implemented.