Cloud platform monitoring method and cloud platform

By analyzing the historical monitoring data of the cloud platform, identifying and monitoring target monitoring items that are not related to maintenance operations, the problem of anomaly detection delays caused by monitoring being suppressed during cloud platform maintenance is solved, and the stable operation of the cloud platform is ensured.

CN114297034BActive Publication Date: 2024-10-18LENOVO (BEIJING) LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111664790.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-31
Publication Date
2024-10-18
Estimated Expiration
2041-12-31

AI Technical Summary

Technical Problem

During the maintenance process of the cloud platform, monitoring operations are suppressed, resulting in the inability to timely detect abnormal operating conditions that are not caused by maintenance operations, posing risks to the stable operation of the cloud platform.

Method used

By obtaining the historical monitoring data of the cloud platform, analyze the monitoring data during the maintenance window period and the non-maintenance window period, determine the correlation threshold with the maintenance operation, identify irrelevant historical monitoring items as target monitoring items, and continue monitoring during the maintenance window period. to avoid false alarms and detect other anomalies in a timely manner.

Benefits of technology

It effectively avoids false alarms caused by maintenance operations, ensures that the cloud platform can timely detect operating status abnormalities that are not caused by maintenance operations during the maintenance process, and ensures the stable operation of the cloud platform.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114297034B_ABST
    Figure CN114297034B_ABST
Patent Text Reader

Abstract

The present application discloses a cloud platform monitoring method and a cloud platform, the method comprising: obtaining historical monitoring items of the cloud platform, and historical monitoring data corresponding to the historical monitoring items; determining the relevant data of each of the historical monitoring items and maintenance operations based on the first monitoring data and the second monitoring data; determining the corresponding historical monitoring items as target monitoring items when the relevant data meets the non-correlation threshold; monitoring the target monitoring items during the maintenance window of the cloud platform to determine whether the operating status of the cloud platform is abnormal. This method can not only avoid triggering alarms or emergency response measures due to abnormal operating status of the cloud platform caused by maintenance operations, but also can promptly trigger alarms or emergency responses when abnormal operating status of the cloud platform is not caused by maintenance operations, so as to ensure the stable operation of the cloud platform.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of cloud platform monitoring, and in particular to a cloud platform monitoring method and a cloud platform. Background Art

[0002] To ensure the stable operation of the cloud platform, the operating status of the cloud platform needs to be continuously monitored during its operation. For example, monitoring items such as the load of each node of the cloud platform, processor usage, and communication bandwidth need to be monitored. If an abnormality is found, an immediate alarm is required.

[0003] The cloud platform needs to be regularly maintained during operation, such as system upgrades, equipment maintenance, troubleshooting, etc. The maintenance process is likely to cause fluctuations in the operating status of the cloud platform, so when performing maintenance operations on the cloud platform, monitoring operations on the cloud platform are usually suppressed to avoid triggering false alarms due to fluctuations in the operating status of the cloud platform caused by maintenance operations.

[0004] In fact, during the maintenance operation of the cloud platform, abnormal operation conditions that are not caused by the maintenance operation may also occur. Since the monitoring operation is suppressed, it is impossible to detect these abnormal operation conditions that are not caused by the maintenance operation in time, and naturally it is impossible to respond to such abnormal operation conditions in time, which brings risks to the stable operation of the cloud platform. Summary of the invention

[0005] The present application provides a cloud platform monitoring method and a cloud platform. The technical solutions adopted in the embodiments of the present application are as follows:

[0006] On the one hand, the present application provides a cloud platform monitoring method, including:

[0007] Acquire historical monitoring items of the cloud platform and historical monitoring data corresponding to the historical monitoring items; wherein the historical monitoring data includes first monitoring data in a maintenance window period and second monitoring data in a non-maintenance window period;

[0008] Based on the first monitoring data and the second monitoring data, determining the correlation data between each of the historical monitoring items and the maintenance operation; wherein the correlation data is used to characterize the degree of correlation between the historical monitoring items and the maintenance operation;

[0009] In the case where the relevant data meets the non-correlation threshold, the corresponding historical monitoring item is determined as the target monitoring item; wherein the non-correlation threshold is used to indicate that the historical monitoring item and the maintenance operation are not correlated;

[0010] During the maintenance window period of the cloud platform, the target monitoring items are monitored to determine whether the operating status of the cloud platform is abnormal.

[0011] In some embodiments, determining relevant data of each of the historical monitoring items and the maintenance operation based on the first monitoring data and the second monitoring data includes:

[0012] Performing feature analysis on the first monitoring data and the second monitoring data to obtain first feature data of the first monitoring data and second feature data of the second monitoring data;

[0013] Determine a first difference between the first characteristic data and the second characteristic data corresponding to each of the historical monitoring items;

[0014] Accordingly, when the relevant data meets the non-relevance threshold, determining the corresponding historical monitoring item as a target monitoring item includes:

[0015] When the first difference is smaller than a first threshold, the historical monitoring item is determined as a target monitoring item.

[0016] In some embodiments, determining relevant data of each of the historical monitoring items and the maintenance operation based on the first monitoring data and the second monitoring data includes:

[0017] Based on the second monitoring data, inferring third monitoring data; wherein the third monitoring data can represent the operating state of the cloud platform during the maintenance window period when no maintenance operation is performed on the cloud platform;

[0018] determining a second difference between the first monitoring data and the third monitoring data corresponding to each of the historical monitoring items;

[0019] Accordingly, when the relevant data meets the non-relevance threshold, determining the corresponding historical monitoring item as a target monitoring item includes:

[0020] When the second difference is smaller than a second threshold, the historical monitoring item is determined as a target monitoring item.

[0021] In some embodiments, determining the second difference between the first monitoring data and the third monitoring data corresponding to each of the historical monitoring items includes:

[0022] Determine a residual between the first monitoring data and the third monitoring data corresponding to each of the historical monitoring items;

[0023] When the residual is greater than the residual threshold, marking the sampling point corresponding to the residual as an outlier;

[0024] Accordingly, when the second difference is less than a second threshold, determining the historical monitoring item as a target monitoring item includes:

[0025] When the number of outliers in the maintenance window is less than an outlier number threshold and / or the duration of consecutive outliers is less than a duration threshold, the historical monitoring item is determined as a target monitoring item.

[0026] In some embodiments, determining relevant data of each of the historical monitoring items and the maintenance operation based on the first monitoring data and the second monitoring data includes:

[0027] Performing feature analysis on the first monitoring data and the second monitoring data to obtain first feature data of the first monitoring data and second feature data of the second monitoring data;

[0028] Determine a first difference between the first characteristic data and the second characteristic data corresponding to each of the historical monitoring items;

[0029] Based on the second monitoring data, inferring third monitoring data; wherein the third monitoring data can represent the operating state of the cloud platform during the maintenance window period when no maintenance operation is performed on the cloud platform;

[0030] determining a second difference between the first monitoring data and the third monitoring data corresponding to each of the historical monitoring items;

[0031] Accordingly, when the relevant data meets the non-relevance threshold, determining the corresponding historical monitoring item as a target monitoring item includes:

[0032] When the first difference is smaller than a first threshold and the second difference is smaller than a second threshold, the corresponding historical monitoring item is determined as a target monitoring item.

[0033] In some embodiments, during the maintenance window period of the cloud platform, monitoring the target monitoring item to determine whether the operation status of the cloud platform is abnormal includes:

[0034] Acquire fourth monitoring data of the cloud platform in a first period before the current moment; wherein the fourth monitoring data is used to characterize the operating status of the cloud platform in the first period;

[0035] Predicting fifth monitoring data based on the fourth monitoring data; wherein the fifth monitoring data can characterize the operating state of the cloud platform in a second period after the current moment, and the second period is within the maintenance window period;

[0036] The fifth monitoring data is compared with the corresponding target monitoring item to determine whether an abnormality occurs in the operating status of the cloud platform during the second period.

[0037] In some embodiments, the method further comprises:

[0038] A monitoring list recording the target monitoring items is generated according to the determined target monitoring items.

[0039] In some embodiments, generating a monitoring list recording the target monitoring items according to the determined target monitoring items includes:

[0040] Respectively obtaining sub-monitoring lists corresponding to a plurality of nodes in the cloud platform; the sub-monitoring lists record one or more target monitoring items;

[0041] When the similarity of the target monitoring items in multiple sub-monitoring lists is greater than a similarity threshold, the monitoring list is generated based on the multiple sub-monitoring lists, and a node information set is obtained; wherein the node information set includes multiple node identifiers, and the multiple node identifiers are respectively used to identify each of the nodes.

[0042] In some embodiments, during the maintenance window period of the cloud platform, monitoring the target monitoring item to determine whether the operation status of the cloud platform is abnormal includes:

[0043] During the maintenance window period of the node identified by the node identifier in the node information set, the target monitoring items recorded in the monitoring list are monitored to determine whether the operating status of the node is abnormal.

[0044] On the other hand, the present application provides a cloud platform, which includes at least a memory and a processor, wherein the memory stores a program, and the processor implements the above-mentioned method when executing the program on the memory.

[0045] The cloud platform monitoring method of the embodiment of the present application obtains relevant data that can characterize the degree of correlation between historical monitoring items and maintenance operations based on the historical monitoring data of the cloud platform, and determines the target monitoring items in the historical monitoring items that are not correlated with the maintenance operations by judging whether the relevant data meets the non-correlation threshold. The target monitoring items are not easily affected by the maintenance operations. During the maintenance window period of the cloud platform, the monitoring operation of the target monitoring items is maintained, and it can be determined whether the cloud platform has abnormal operating status that is not caused by the maintenance operation. Once an abnormal operating status phenomenon that is not caused by the maintenance operation occurs, it can be handled in a timely manner to ensure the stable operation of the cloud platform. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] Figure 1 This is a flow chart of the cloud platform monitoring method according to an embodiment of the present application;

[0047] Figure 2 This is a flowchart of a first embodiment of steps S120 and S130 of the cloud platform monitoring method according to an embodiment of the present application;

[0048] Figure 3 This is a flowchart of a second embodiment of steps S120 and S130 of the cloud platform monitoring method according to an embodiment of the present application;

[0049] Figure 4 This is a flowchart of a third embodiment of steps S120 and S130 of the cloud platform monitoring method according to an embodiment of the present application;

[0050] Figure 5 This is a flowchart of step S140 of the cloud platform monitoring method according to an embodiment of the present application;

[0051] Figure 6 This is a flowchart of steps S130″ and S140 of the cloud platform monitoring method according to an embodiment of the present application;

[0052] Figure 7 This is a structural block diagram of the cloud platform of an embodiment of the present application. DETAILED DESCRIPTION

[0053] Various aspects and features of the present application are described herein with reference to the accompanying drawings.

[0054] It should be understood that various modifications may be made to the embodiments of the present application. Therefore, the above description should not be considered as limiting, but only as an example of an embodiment. Other modifications within the scope and spirit of the present application will occur to those skilled in the art.

[0055] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the present application and, together with the general description of the present application given above and the detailed description of the embodiments given below, serve to explain the principles of the present application.

[0056] These and other characteristics of the present application will become apparent from the following description of a preferred form of embodiment given as a non-limiting example with reference to the accompanying drawings.

[0057] It should also be understood that, although the present application has been described with reference to some specific examples, those skilled in the art will be able to implement many other equivalent forms of the present application that have the features described in the claims and are therefore within the scope of protection defined thereby.

[0058] The above and other aspects, features and advantages of the present application will become more apparent in view of the following detailed description when taken in conjunction with the accompanying drawings.

[0059] Specific embodiments of the present application are described hereinafter with reference to the accompanying drawings; however, it should be understood that the embodiments applied for are merely examples of the present application, which may be implemented in a variety of ways. Well-known and / or repeated functions and structures are not described in detail to avoid unnecessary or redundant details that obscure the present application. Therefore, the specific structural and functional details applied for herein are not intended to be limiting, but merely serve as a basis and representative basis for the claims to teach those skilled in the art to use the present application in a variety of ways with substantially any suitable detailed structure.

[0060] This specification may use the phrases "in one embodiment," "in another embodiment," "in yet another embodiment," or "in other embodiments," all of which may refer to one or more of the same or different embodiments according to the present application.

[0061] The present application provides a cloud platform monitoring method, including:

[0062] Acquire historical monitoring items of the cloud platform and historical monitoring data corresponding to the historical monitoring items; wherein the historical monitoring data includes first monitoring data in a maintenance window period and second monitoring data in a non-maintenance window period;

[0063] Based on the first monitoring data and the second monitoring data, determining the correlation data between each of the historical monitoring items and the maintenance operation; wherein the correlation data is used to characterize the degree of correlation between the historical monitoring items and the maintenance operation;

[0064] In the case where the relevant data meets the non-correlation threshold, the corresponding historical monitoring item is determined as the target monitoring item; wherein the non-correlation threshold is used to indicate that the historical monitoring item and the maintenance operation are not correlated;

[0065] During the maintenance window period of the cloud platform, the target monitoring items are monitored to determine whether the operating status of the cloud platform is abnormal.

[0066] The cloud platform monitoring method of the embodiment of the present application obtains relevant data that can characterize the degree of correlation between historical monitoring items and maintenance operations based on the historical monitoring data of the cloud platform, and determines the target monitoring items in the historical monitoring items that are not correlated with the maintenance operations by judging whether the relevant data meets the non-correlation threshold. The target monitoring items are not easily affected by the maintenance operations. During the maintenance window period of the cloud platform, the monitoring operation of the target monitoring items is maintained, and it can be determined whether the cloud platform has abnormal operating status that is not caused by the maintenance operation. Once an abnormal operating status phenomenon that is not caused by the maintenance operation occurs, it can be handled in a timely manner to ensure the stable operation of the cloud platform.

[0067] The steps and principles of the cloud platform monitoring method of the embodiment of the present application are described in detail below in conjunction with the drawings and specific embodiments.

[0068] Figure 1 This is a flowchart of the cloud platform monitoring method of the embodiment of the present application, see Figure 1 As shown, the cloud platform monitoring method of the embodiment of the present application may specifically include the following steps.

[0069] S110, acquiring historical monitoring items of the cloud platform and historical monitoring data corresponding to the historical monitoring items, wherein the historical monitoring data includes first monitoring data in a maintenance window period and second monitoring data in a non-maintenance window period.

[0070] Cloud platform, also known as cloud computing platform, refers to services based on hardware resources and software resources, providing computing, network and storage services. During the operation of the cloud platform, it is necessary to set up monitoring items and obtain monitoring data that corresponds to the monitoring items and can characterize the operating status of the cloud platform. By comparing the monitoring data with the monitoring items, it is determined whether the operating status of the cloud platform is abnormal. If it is determined that the operating status of the cloud platform is abnormal, an alarm will be issued and an emergency response mechanism may also be triggered. For example, if it is determined that the temperature of a node of the cloud platform is higher than the temperature limit, an alarm may be issued, and emergency response measures may be taken, such as reducing the operating frequency of the node, allocating the processing tasks of the node to other nodes for processing, and increasing the heat dissipation power consumption of the heat dissipation device of the node.

[0071] The cloud platform requires regular maintenance during operation, for example, updating the software version on the cloud platform, overhauling the hardware equipment, etc. The maintenance window period is the period during which maintenance operations are performed on the cloud platform. The maintenance window period can be for the entire cloud platform, or for one or more nodes in the cloud platform. The non-maintenance window period is the period during which no maintenance operations are performed on the cloud platform. The first monitoring data is the monitoring data of the cloud platform during the maintenance window period, and the second monitoring data is the monitoring data of the cloud platform during the non-maintenance window period. The two can respectively characterize the operating status of the cloud platform during the maintenance window period and the non-maintenance window period.

[0072] Optionally, historical monitoring items may include but are not limited to the cloud host status, system status, CPU status, memory status, disk status, and network status of the cloud platform. Historical monitoring data may include status information that can characterize the running status of the cloud host, system information that can characterize the system status, CPU information that can characterize the CPU status, such as CPU usage, number of processes, etc., memory information that can characterize the memory status, such as memory usage, etc.

[0073] Optionally, the historical monitoring items and the historical monitoring data may be stored in a database as historical data. When needed, the historical monitoring items and the historical monitoring data of a specific time range may be retrieved from the database.

[0074] S120: Determine, based on the first monitoring data and the second monitoring data, relevant data between each of the historical monitoring items and the maintenance operation, wherein the relevant data is used to characterize the degree of relevance between the historical monitoring items and the maintenance operation.

[0075] The first monitoring data is the monitoring data of the maintenance window period when the cloud platform performs maintenance operations, and the second monitoring data is the monitoring data of the non-maintenance window period when the cloud platform does not perform maintenance operations. Therefore, the first monitoring data is affected by the maintenance operation, and the second monitoring data is not affected by the maintenance operation.

[0076] On this basis, a correlation analysis may be performed on the historical monitoring items and the maintenance operations based on the first monitoring data and the second monitoring data to obtain correlation data that can characterize the degree of correlation between the historical monitoring items and the maintenance operations.

[0077] In specific implementation, various methods can be used to perform correlation analysis on historical monitoring items and maintenance operations. For example, the correlation between historical monitoring items and maintenance operations can be scored based on a machine learning model, and the score can be used as relevant data. Alternatively, other correlation analysis methods can be used to determine the degree of correlation between historical monitoring items and maintenance operations.

[0078] S130: When the relevant data meets the non-relevance threshold, the corresponding historical monitoring item is determined as a target monitoring item.

[0079] The non-correlation threshold is used to characterize that the historical monitoring item and the maintenance operation are not correlated. It is understandable that the non-correlation mentioned here should be understood as the historical monitoring item and the maintenance operation are not significantly correlated. When the maintenance operation is performed on the cloud platform and when the maintenance operation is not performed on the cloud platform, the monitoring data corresponding to the historical monitoring item is consistent or substantially consistent. However, it should not be understood that the historical monitoring item is absolutely not correlated with the maintenance operation.

[0080] If the relevant data of a historical monitoring item and a maintenance operation meet the non-correlation threshold, it indicates that the monitoring data corresponding to the historical monitoring item is not easily affected by the maintenance operation, that is, it is not easy to cause abnormal fluctuations in the monitoring data due to the maintenance operation, thereby triggering abnormal alarms or emergency response measures.

[0081] If the data related to a historical monitoring item and maintenance operation does not meet the non-correlation threshold, it indicates that the monitoring data corresponding to the historical monitoring item is easily affected by the maintenance operation, and the monitoring data is prone to abnormal fluctuations when the maintenance operation is performed on the cloud platform. When the maintenance operation is performed on the cloud platform, if the historical monitoring item is not suppressed, it is easy to trigger abnormal alarms or emergency response measures.

[0082] S140, during the maintenance window period of the cloud platform, monitoring the target monitoring item to determine whether the operation status of the cloud platform is abnormal.

[0083] After the target monitoring items are determined, the monitoring operations of the target monitoring items can be maintained during the maintenance window of the cloud platform, and the monitoring operations of non-target monitoring items can be suppressed. For example, if it is determined that the CPU status is likely to have a high correlation with the maintenance operation, while the disk status has no obvious correlation with the maintenance operation, the monitoring operation of the CPU status can be suppressed during the maintenance window of the cloud platform, and the monitoring operation of the disk status can be maintained.

[0084] In this way, we can avoid triggering alarms or emergency response measures due to abnormal operating status of the cloud platform caused by maintenance operations, and we can also trigger alarms or emergency responses in time when the cloud platform has abnormal operating status that is not caused by maintenance operations, so as to ensure the stable operation of the cloud platform.

[0085] The following is an illustrative description of the correlation analysis method between historical monitoring items and maintenance operations in conjunction with several specific embodiments, but it should not be understood as being limited to analyzing the correlation between historical monitoring items and maintenance operations using the correlation analysis method in the following specific embodiments.

[0086] Cooperate Figure 2 As shown, in a first optional embodiment, step S120, determining relevant data of each of the historical monitoring items and the maintenance operation based on the first monitoring data and the second monitoring data, may include;

[0087] S1211, performing feature analysis on the first monitoring data and the second monitoring data to obtain first feature data of the first monitoring data and second feature data of the second monitoring data;

[0088] S1212: Determine a first difference between the first characteristic data and the second characteristic data corresponding to each of the historical monitoring items.

[0089] Accordingly, step S130, in the case where the relevant data meets the non-relevance threshold, determining the corresponding historical monitoring item as the target monitoring item may include:

[0090] S1311: When the first difference is smaller than a first threshold, determine the historical monitoring item as a target monitoring item.

[0091] By directly comparing the monitoring data during the maintenance window period and the non-maintenance window period, the correlation between historical monitoring items and maintenance operations can be easily determined. The operation is simple, the data processing volume is small, and it is easy to implement. It is suitable for real-time online determination of target monitoring items.

[0092] Optionally, when the first monitoring data and the second monitoring data are obtained, the standard deviation, variance and / or other parameters of the first monitoring data may be calculated to obtain the first characteristic data of the first monitoring data, and the standard deviation, variance and / or other parameters of the second monitoring data may be calculated to obtain the second characteristic data of the second monitoring data. The first difference between the first characteristic data and the second characteristic data is used as the relevant data of the historical monitoring items and maintenance operations.

[0093] Optionally, when the first difference between the first characteristic data and the second characteristic data is used as the relevant data, the non-correlation threshold can be configured as the first threshold, and when the first difference is less than the first threshold, it can be determined that the relevant data meets the non-correlation threshold. That is, when the first difference is less than the first threshold, it can be determined that the historical monitoring item has no obvious correlation with the maintenance operation, and the historical monitoring item is determined as the target monitoring item.

[0094] Optionally, the first difference may be expressed as a single difference, a set of difference values, a difference matrix or other data forms. Correspondingly, the first threshold may also be expressed as a single threshold, a set of threshold values ​​or a threshold matrix.

[0095] Taking CPU usage as an example, after obtaining the monitoring data of CPU usage during the maintenance window period and the non-maintenance window period, the standard deviation of CPU usage during the maintenance window period and the standard deviation of CPU usage during the non-maintenance window period can be calculated. Then, the difference between the two standard deviations is calculated. If the difference is less than the first threshold, it indicates that the difference between the CPU usage during the maintenance window period and the non-maintenance window period is not obvious, the maintenance operation has little impact on the CPU usage, and the two have no obvious correlation. Subsequently, during the maintenance window period of the cloud platform, the monitoring operation of CPU usage can be maintained.

[0096] Cooperate Figure 3 As shown, in a second optional embodiment, step S120, determining relevant data of each of the historical monitoring items and the maintenance operation based on the first monitoring data and the second monitoring data, includes:

[0097] S1221, inferring third monitoring data based on the second monitoring data; wherein the third monitoring data can represent the operating state of the cloud platform during the maintenance window period when no maintenance operation is performed on the cloud platform;

[0098] S1222: Determine a second difference between the first monitoring data and the third monitoring data corresponding to each of the historical monitoring items.

[0099] Accordingly, in step S130, when the relevant data meets the non-relevance threshold, determining the corresponding historical monitoring item as a target monitoring item includes:

[0100] S1331: When the second difference is smaller than a second threshold, determine the historical monitoring item as a target monitoring item.

[0101] The first monitoring data and the third monitoring data respectively represent the operating status of the cloud platform in the same period, when the maintenance operation is performed on the cloud platform and when the maintenance operation is not performed on the cloud platform, and have good comparability. Therefore, the second difference between the first monitoring data and the third monitoring data can better reflect the impact of the maintenance operation on the monitoring items of the cloud platform, and can more accurately determine the correlation between the cloud platform and the historical monitoring items.

[0102] Optionally, the third monitoring data can be inferred based on the second monitoring data through a machine learning model. That is, the second monitoring data is used as the input data of the machine learning model, and the third monitoring data output by the machine learning model is obtained. The machine learning model can be trained based on historical monitoring data. For example, historical monitoring data during a non-maintenance window period can be obtained to construct an input data set, and data during a maintenance window period can be obtained to construct an output data set, and the machine learning model can be trained based on the input data set and the output data set. The trained machine learning model can infer the third monitoring data based on the second monitoring data.

[0103] Optionally, when the third monitoring data is obtained, the first monitoring data and the third monitoring data may be subjected to feature analysis respectively to obtain the first feature data and the third feature data respectively, and then the second difference between the first feature data and the second feature data is determined. Similarly, the second difference may be expressed as a single difference, a set of differences, a difference matrix, or other data forms, and accordingly, the first threshold may also be expressed as a single threshold, a set of thresholds, or a threshold matrix.

[0104] Optionally, step 1222, determining the second difference between the first monitoring data and the third monitoring data corresponding to each of the historical monitoring items may include:

[0105] Determine a residual between the first monitoring data and the third monitoring data corresponding to each of the historical monitoring items;

[0106] When the residual is greater than the residual threshold, the sampling point corresponding to the residual is marked as an outlier.

[0107] Accordingly, step S1321, in the case where the second difference is less than the second threshold, determining the historical monitoring item as the target monitoring item may include:

[0108] When the number of outliers in the maintenance window is less than an outlier number threshold and / or the duration of consecutive outliers is less than a duration threshold, the historical monitoring item is determined as a target monitoring item.

[0109] By maintaining whether the number of outliers within the window period is less than the outlier number threshold, and / or determining whether the duration of consecutive outliers is less than the duration threshold, the overall performance of the first monitoring data and the third monitoring data can be compared, thereby avoiding incidental factors from affecting the judgment results, and further improving the accuracy of the correlation analysis.

[0110] Optionally, taking the example that the first monitoring data includes N sampling points, correspondingly, the third monitoring data can also obtain N sample data, calculate the residuals between each pair of corresponding sample data in the first monitoring data and the third monitoring data, and mark the sampling points whose residuals are greater than the residual threshold as outliers. The number of outliers during the maintenance window period can be denoted as K1, the threshold for the number of outliers can be denoted as K2, the duration of statistically continuous outliers can be denoted as T1, and the duration threshold can be denoted as T2. In this way, when K1<K2, and / or T1<T2, it is determined that the overall performance of the first monitoring data and the third monitoring data is basically the same, indicating that the corresponding historical monitoring item is less affected by the maintenance operation, and the historical monitoring item has no obvious correlation with the maintenance operation, and the historical monitoring item can be determined as the target monitoring item.

[0111] Cooperate Figure 4 As shown, in a third optional embodiment, step S120, determining the relevant data of each of the historical monitoring items and the maintenance operation based on the first monitoring data and the second monitoring data, may include:

[0112] S1231, performing feature analysis on the first monitoring data and the second monitoring data to obtain first feature data of the first monitoring data and second feature data of the second monitoring data;

[0113] S1232, determining a first difference between the first characteristic data and the second characteristic data corresponding to each of the historical monitoring items;

[0114] S1233: infer third monitoring data based on the second monitoring data; wherein the third monitoring data can represent the operating state of the cloud platform during the maintenance window period when no maintenance operation is performed on the cloud platform;

[0115] S1234: Determine a second difference between the first monitoring data and the third monitoring data corresponding to each of the historical monitoring items.

[0116] Accordingly, in step S130, when the relevant data meets the non-relevance threshold, determining the corresponding historical monitoring item as a target monitoring item includes:

[0117] S1331: When the first difference is smaller than a first threshold and the second difference is smaller than a second threshold, determine the corresponding historical monitoring item as a target monitoring item.

[0118] In fact, the third optional embodiment combines the first optional embodiment and the second optional embodiment together to obtain the intersection of the target monitoring items determined by the first optional embodiment and the second optional embodiment. In this way, it is possible to accurately determine the historical monitoring items that are obviously not related to the maintenance operation, that is, it is possible to accurately determine the historical monitoring items that are obviously not affected by the maintenance operation, so as to avoid the maintenance operation triggering abnormal alarms or triggering emergency response measures.

[0119] Cooperate Figure 5 As shown, in some embodiments, step S140, monitoring the target monitoring item during the maintenance window of the cloud platform to determine whether the operating status of the cloud platform is abnormal, includes:

[0120] S141, obtaining fourth monitoring data of the cloud platform in a first period before the current moment; wherein the fourth monitoring data is used to characterize the operating state of the cloud platform in the first period;

[0121] S142, predicting fifth monitoring data based on the fourth monitoring data; wherein the fifth monitoring data can represent the operating state of the cloud platform in a second period after the current moment, and the second period is within the maintenance window period;

[0122] S143: Compare the fifth monitoring data with the corresponding target monitoring item to determine whether an abnormality occurs in the operating status of the cloud platform during the second period.

[0123] That is, when performing maintenance operations on the cloud platform, the fourth monitoring data obtained is not or is not only directly compared with the target monitoring project. Instead, based on the fourth monitoring data, the fifth monitoring data that can characterize the operating status of the cloud platform in the future is predicted, and the fifth monitoring data is compared with the target monitoring project to predict whether the operating status of the cloud platform may be abnormal in the future. In this way, emergency response measures can be taken in advance to avoid abnormalities in the operating status of the cloud platform, which can significantly improve the stability of the cloud platform.

[0124] For example, if it is predicted that the CPU usage of a certain node may exceed the upper limit of the CPU usage in the future, the tasks originally executed by the node can be deployed to other nodes to prevent the CPU usage of the node from triggering the upper limit and thus preventing the node from crashing.

[0125] Optionally, when the fourth monitoring data is obtained, the fourth monitoring data can be used as input data, and the fifth monitoring data can be preset through the machine learning model. Optionally, the output data type of the machine learning model can be determined based on the target monitoring project. Optionally, the machine learning model can be trained based on historical monitoring data. For example, historical monitoring data of a previous period can be obtained to construct an input data set, and historical monitoring data of a subsequent period adjacent to the previous period can be obtained to construct an output data set, and the machine learning model can be trained based on the input data set and the output data set. The trained machine learning model can predict the fifth monitoring data based on the fourth monitoring data.

[0126] In some embodiments, the method further comprises:

[0127] S130″: Generate a monitoring list recording the target monitoring items according to the determined target monitoring items.

[0128] Correspondingly, step S140, during the maintenance window period of the cloud platform, monitoring the target monitoring item to determine whether the operation status of the cloud platform is abnormal, may include:

[0129] During the maintenance window of the cloud platform, the target monitoring items listed in the monitoring list are monitored to determine whether the operating status of the cloud platform is abnormal.

[0130] In the specific implementation, there are many monitoring items for the cloud platform. When each target monitoring item is determined, all target monitoring items are summarized into a monitoring list. For example, when the target monitoring items are determined to include CPU usage, number of CPU processes, CPU temperature, and disk usage, these indicators can be summarized into a monitoring list. Then, the operating status of the cloud platform during the maintenance window is monitored based on the monitoring list, which is easy to implement.

[0131] Cooperate Figure 6 As shown, in some embodiments, S130″, generating a monitoring list recording the target monitoring items according to the determined target monitoring items may include:

[0132] S131″, respectively obtaining sub-monitoring lists corresponding to multiple nodes in the cloud platform; the sub-monitoring list records one or more target monitoring items;

[0133] S132″, when the similarity of the target monitoring items in the multiple sub-monitoring lists is greater than the similarity threshold, the monitoring list is generated based on the multiple sub-monitoring lists, and a node information set is obtained; wherein the node information set includes multiple node identifiers, and the multiple node identifiers are respectively used to identify each of the nodes.

[0134] Accordingly, step S140, monitoring the target monitoring item during the maintenance window of the cloud platform to determine whether the operation status of the cloud platform is abnormal, may include:

[0135] During the maintenance window period of the node identified by the node identifier in the node information set, the target monitoring items recorded in the monitoring list are monitored to determine whether the operating status of the node is abnormal.

[0136] The cloud platform may contain multiple nodes. The configurations, supported applications, or performed operations of different nodes may be similar. In this case, the historical monitoring items between different nodes, as well as the correlation between historical monitoring items and maintenance operations may also be similar. A monitoring list is generated based on multiple sub-monitoring lists, and the node identifiers of nodes with the same or substantially the same sub-monitoring lists are aggregated to form a node information set. Subsequently, monitoring operations are performed on these similar nodes based on the node information set and the monitoring list, which is beneficial to simplify the monitoring logic and improve the monitoring efficiency.

[0137] Optionally, when the configurations, supported applications, or performed operations of different nodes are similar, the nodes may also be similarly affected by the maintenance operation. Therefore, when determining the monitoring list of one of the nodes, nodes with similar configurations and / or similar performed tasks can be determined based on the node's configuration information and / or task information, and the node identifiers of these nodes are aggregated to form a node information set. During the maintenance window of the cloud platform, monitoring operations are performed on these nodes based on the node information set and the monitoring list.

[0138] Optionally, when the monitoring list and / or node information set is determined, the monitoring list and / or node information set can also be corrected manually. For example, the target monitoring items in the monitoring list can be manually deleted or the target monitoring items can be added to the monitoring list. For another example, the node identifiers in the node information set can be manually deleted or the node identifiers can be added to the node information set.

[0139] See also Figure 7 As shown, an embodiment of the present application further provides a cloud platform, comprising at least a memory 201 and a processor 202, wherein the memory 201 stores a program, and the processor 202 implements the method described in any of the above embodiments when executing the program on the memory 201.

[0140] Since the cloud platform applies the above-mentioned cloud platform monitoring method, the cloud platform can monitor its own operating status based on the target monitoring items during its own maintenance window period, and can determine whether the cloud platform itself has abnormal operating status that is not caused by maintenance operations. Once abnormal operating status that is not caused by maintenance operations occurs, the operation and maintenance personnel can be reminded in time to handle it, thereby ensuring the stable operation of the cloud platform.

[0141] Optionally, the monitoring operation of the cloud platform itself based on the above-mentioned cloud platform monitoring method can be to monitor one or more other nodes through one or more nodes in the cloud platform, or to monitor the operating status of each node itself, as long as the above-mentioned cloud platform monitoring method can be implemented.

[0142] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, electronic equipment, computer-readable storage media or computer program products. Therefore, the present application may adopt the form of complete hardware embodiments, complete software embodiments or embodiments in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media that include computer-usable program code. When implemented by software, these functions may be stored in a computer-readable medium or transmitted as one or more instructions or codes on a computer-readable medium.

[0143] The processor may be a general purpose processor, a digital signal processor, an application-specific integrated circuit (ASIC), a programmable logic device (PLD) or a combination thereof. The PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL) or any combination thereof. The general purpose processor may be a microprocessor or any conventional processor.

[0144] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.

[0145] The above-mentioned readable storage medium can be a disk, an optical disk, a DVD, a USB, a read-only memory (ROM) or a random access memory (RAM), etc. This application does not limit the specific form of the storage medium.

[0146] The above embodiments are only exemplary embodiments of the present application and are not intended to limit the present application. The protection scope of the present application is defined by the claims. Those skilled in the art may make various modifications or equivalent substitutions to the present application within the essence and protection scope of the present application, and such modifications or equivalent substitutions shall also be deemed to fall within the protection scope of the present application.

Claims

1. A cloud platform monitoring method, comprising: Acquire historical monitoring items of the cloud platform and historical monitoring data corresponding to the historical monitoring items; wherein the historical monitoring data includes first monitoring data in a maintenance window period and second monitoring data in a non-maintenance window period; Based on the first monitoring data and the second monitoring data, determining the correlation data between each of the historical monitoring items and the maintenance operation; wherein the correlation data is used to characterize the degree of correlation between the historical monitoring items and the maintenance operation; In the case where the relevant data meets the non-correlation threshold, the corresponding historical monitoring item is determined as the target monitoring item; wherein the non-correlation threshold is used to indicate that the historical monitoring item and the maintenance operation are not correlated; During the maintenance window period of the cloud platform, the target monitoring items are monitored to determine whether the operating status of the cloud platform is abnormal.

2. The method according to claim 1, wherein: The determining, based on the first monitoring data and the second monitoring data, relevant data of each of the historical monitoring items and the maintenance operation includes: Performing feature analysis on the first monitoring data and the second monitoring data to obtain first feature data of the first monitoring data and second feature data of the second monitoring data; Determine a first difference between the first characteristic data and the second characteristic data corresponding to each of the historical monitoring items; Accordingly, when the relevant data meets the non-relevance threshold, determining the corresponding historical monitoring item as a target monitoring item includes: When the first difference is smaller than a first threshold, the historical monitoring item is determined as a target monitoring item.

3. The method according to claim 1, wherein: The determining, based on the first monitoring data and the second monitoring data, relevant data of each of the historical monitoring items and the maintenance operation includes: Based on the second monitoring data, inferring third monitoring data; wherein the third monitoring data can represent the operating state of the cloud platform during the maintenance window period when no maintenance operation is performed on the cloud platform; determining a second difference between the first monitoring data and the third monitoring data corresponding to each of the historical monitoring items; Accordingly, when the relevant data meets the non-relevance threshold, determining the corresponding historical monitoring item as a target monitoring item includes: When the second difference is smaller than a second threshold, the historical monitoring item is determined as a target monitoring item.

4. The method according to claim 3, wherein: The determining a second difference between the first monitoring data and the third monitoring data corresponding to each of the historical monitoring items includes: Determine a residual between the first monitoring data and the third monitoring data corresponding to each of the historical monitoring items; When the residual is greater than the residual threshold, marking the sampling point corresponding to the residual as an outlier; Accordingly, when the second difference is less than a second threshold, determining the historical monitoring item as a target monitoring item includes: When the number of outliers in the maintenance window is less than an outlier number threshold and / or the duration of consecutive outliers is less than a duration threshold, the historical monitoring item is determined as a target monitoring item.

5. The method according to claim 1, wherein: The determining, based on the first monitoring data and the second monitoring data, relevant data of each of the historical monitoring items and the maintenance operation includes: Performing feature analysis on the first monitoring data and the second monitoring data to obtain first feature data of the first monitoring data and second feature data of the second monitoring data; Determine a first difference between the first characteristic data and the second characteristic data corresponding to each of the historical monitoring items; Based on the second monitoring data, inferring third monitoring data; wherein the third monitoring data can represent the operating state of the cloud platform during the maintenance window period when no maintenance operation is performed on the cloud platform; determining a second difference between the first monitoring data and the third monitoring data corresponding to each of the historical monitoring items; Accordingly, when the relevant data meets the non-relevance threshold, determining the corresponding historical monitoring item as a target monitoring item includes: When the first difference is smaller than a first threshold and the second difference is smaller than a second threshold, the corresponding historical monitoring item is determined as a target monitoring item.

6. The method according to claim 1, wherein: During the maintenance window of the cloud platform, monitoring the target monitoring item to determine whether the operation status of the cloud platform is abnormal includes: Acquire fourth monitoring data of the cloud platform in a first period before the current moment; wherein the fourth monitoring data is used to characterize the operating status of the cloud platform in the first period; Predicting fifth monitoring data based on the fourth monitoring data; wherein the fifth monitoring data can characterize the operating state of the cloud platform in a second period after the current moment, and the second period is within the maintenance window period; The fifth monitoring data is compared with the corresponding target monitoring item to determine whether an abnormality occurs in the operating status of the cloud platform during the second period.

7. The method according to claim 1, wherein: The method further comprises: A monitoring list recording the target monitoring items is generated according to the determined target monitoring items.

8. The method according to claim 7, wherein: The step of generating a monitoring list recording the target monitoring items according to the determined target monitoring items includes: Respectively obtaining sub-monitoring lists corresponding to a plurality of nodes in the cloud platform; the sub-monitoring lists record one or more target monitoring items; When the similarity of the target monitoring items in multiple sub-monitoring lists is greater than a similarity threshold, the monitoring list is generated based on the multiple sub-monitoring lists, and a node information set is obtained; wherein the node information set includes multiple node identifiers, and the multiple node identifiers are respectively used to identify each of the nodes.

9. The method according to claim 8, wherein: During the maintenance window of the cloud platform, monitoring the target monitoring item to determine whether the operation status of the cloud platform is abnormal includes: During the maintenance window period of the node identified by the node identifier in the node information set, the target monitoring items recorded in the monitoring list are monitored to determine whether the operating status of the node is abnormal.

10. A cloud platform, comprising at least a memory and a processor, wherein the memory stores a program, and the processor implements the method according to any one of claims 1 to 9 when executing the program on the memory.

Citation Information

Patent Citations

  • Database monitoring method and terminal device

    CN109299064A

  • Device alarm method and device, and computer readable storage medium

    CN111007827A