Cloud monitoring method and apparatus, and storage medium and electronic device
By constructing a state space matrix and a similarity matrix, calculating health scores, and optimizing the cloud system in real time, it solves the problem of the existing cloud monitoring system being unable to provide timely alarms, reduces corporate losses, and improves cloud business stability.
Patent Information
- Application Number
- PCT/CN2023/143273
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-12-14
- Filing Date
- 2023-12-29
- Publication Date
- 2024-09-19
AI Technical Summary
The existing cloud monitoring system mainly issues alarms when the system crashes, making it impossible to adjust and optimize in time, causing losses to the enterprise.
By obtaining the key performance indicators of the system, constructing the state space matrix and similarity matrix, calculating the health score of the system, and performing optimization operations based on the score, the system status can be monitored in real time to avoid collapse.
It achieves real-time health assessment and optimization of cloud systems, reduces losses caused by system crashes, and improves the stability of cloud services.
Smart Images

Figure CN2023143273_19092024_PF_FP_ABST
Abstract
Description
Cloud monitoring method and device, storage medium and electronic equipment Technical Field
[0001] The present invention relates to the field of intelligent monitoring technology, and in particular to a cloud monitoring method and device, a storage medium, and an electronic device. Background Art
[0002] With the increasing popularity of cloud computing, many companies have migrated their critical business systems and applications to the cloud. Compared to traditional on-premises deployments, cloud environments are more dynamic and complex, making monitoring cloud-based system resources and applications particularly important.
[0003] Cloud monitoring monitors the availability, performance, and operation of cloud system resources in real time. By collecting and analyzing critical monitoring data, performance bottlenecks and potential issues in cloud systems and applications can be quickly identified, allowing appropriate measures to ensure their proper operation. Therefore, cloud monitoring is a critical component in ensuring the smooth operation of an enterprise's cloud business. However, most current monitoring systems simply collect and compile statistics on system monitoring metrics, only issuing alerts when system processes completely fail. This delays system optimization and adjustment, resulting in significant losses for enterprises.
[0004] Summary of the Invention
[0005] In view of the above problems, the present invention provides a cloud monitoring method and device, storage medium and electronic device that overcome the above problems or at least partially solve the above problems. The technical solution is as follows:
[0006] A cloud monitoring method, comprising:
[0007] In response to a monitoring instruction for monitoring the system, obtaining various key performance indicators of the system at a current moment;
[0008] Determine the indicator feature vector corresponding to each of the key performance indicators;
[0009] Constructing a state space matrix based on each of the key performance indicators;
[0010] Determining a transposed matrix corresponding to the state space matrix;
[0011] Performing a cosine similarity operation on the indicator feature vector and the transposed matrix to obtain a similarity matrix;
[0012] Determining an expected matrix corresponding to the similarity matrix;
[0013] Performing a weighted summation on each expected value in the expectation matrix to obtain a health score of the system;
[0014] The system is optimized according to the health score to achieve cloud monitoring of the system.
[0015] In the above cloud monitoring method, optionally, determining the indicator feature vector corresponding to each key performance indicator includes:
[0016] Each key performance indicator is used as a column vector element to form the indicator feature vector.
[0017] Optionally, the cloud monitoring method described above constructs a state space matrix based on each of the key performance indicators, including:
[0018] Determine N indicator values corresponding to each of the key performance indicators; N is a positive integer;
[0019] The N indicator values corresponding to each of the key performance indicators are taken as a column vector of the state space matrix to complete the construction of the state space matrix.
[0020] The cloud monitoring method described above may optionally include performing a cosine similarity operation on the indicator feature vector and the transposed matrix to obtain a similarity matrix, including:
[0021] Performing a cosine similarity operation on the indicator feature vector and each column vector of the transposed matrix to obtain a similarity value corresponding to each column vector of the transposed matrix;
[0022] The similarity matrix is formed by combining the similarity values corresponding to each column vector of the transposed matrix.
[0023] In the cloud monitoring method described above, optionally, determining an expected matrix corresponding to the similarity matrix includes:
[0024] The expected matrix is multiplied by the state space matrix to obtain the expected matrix corresponding to the similarity matrix.
[0025] In the cloud monitoring method described above, optionally, performing weighted summation on each expected value in the expectation matrix includes:
[0026] Determining an indicator characteristic corresponding to each of the expected values;
[0027] Determining a weight value corresponding to each expected value according to the indicator characteristics corresponding to the expected value;
[0028] Perform a weighted sum on each expected value in the expected matrix according to the weight value corresponding to each expected value.
[0029] The above-mentioned cloud monitoring method may optionally include optimizing the system according to the health score to achieve cloud monitoring of the system.
[0030] Determining whether the health score is lower than a preset score value;
[0031] If the health score is lower than the preset score value, the system is optimized.
[0032] A cloud monitoring device, comprising:
[0033] A response unit, configured to respond to a monitoring instruction for monitoring the system and obtain various key performance indicators of the system at a current moment;
[0034] A first determining unit, configured to determine an indicator feature vector corresponding to each of the key performance indicators;
[0035] A construction unit, configured to construct a state space matrix according to each of the key performance indicators;
[0036] A second determining unit, configured to determine a transposed matrix corresponding to the state space matrix;
[0037] an operation unit, configured to perform a cosine similarity operation on the indicator feature vector and the transposed matrix to obtain a similarity matrix;
[0038] A third determining unit, configured to determine an expected matrix corresponding to the similarity matrix;
[0039] a summing unit, configured to perform a weighted summation on each expected value in the expectation matrix to obtain a health score of the system;
[0040] A monitoring unit is used to optimize the system according to the health score to achieve cloud monitoring of the system.
[0041] A storage medium includes stored instructions, wherein when the instructions are executed, the device where the storage medium is located is controlled to execute the above-mentioned cloud monitoring method.
[0042] An electronic device includes at least one processor, and at least one memory and a bus connected to the processor; wherein the processor and the memory communicate with each other via the bus; the processor is used to call program instructions in the memory to execute the above-mentioned cloud monitoring method.
[0043] Compared with the prior art, the present invention has the following advantages: a cloud monitoring method, comprising: in response to a monitoring instruction for monitoring a system, obtaining each key performance indicator of the system at the current moment; determining an indicator eigenvector corresponding to each key performance indicator; constructing a state space matrix based on each key performance indicator; determining a transposed matrix corresponding to the state space matrix; performing a cosine similarity operation on the indicator eigenvector and the transposed matrix to obtain a similarity matrix; determining an expectation matrix corresponding to the similarity matrix; performing a weighted summation on each expected value in the expectation matrix to obtain a health score of the system; and optimizing the system based on the health score to achieve cloud monitoring of the system. The method provided by the present invention determines whether the system is operating normally by determining the system health score in real time, avoiding issuing an alarm only when the system process has completely crashed, which delays system adjustment and optimization, thereby reducing losses to the enterprise.
[0044] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are specifically listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Various other advantages and benefits will become apparent to those skilled in the art upon reading the detailed description of the preferred embodiment below. The accompanying drawings are for illustration purposes only and are not to be considered as limiting the present invention. The same reference symbols are used throughout the drawings to represent the same components. In the drawings:
[0046] FIG1 is a flow chart of a cloud monitoring method provided by an embodiment of the present invention;
[0047] FIG2 is a schematic structural diagram of a cloud monitoring device provided by an embodiment of the present invention;
[0048] FIG3 is a schematic structural diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0049] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.
[0050] FIG1 is a flowchart of a cloud monitoring method according to an embodiment of the present invention. The method execution process shown in FIG1 is a feasible implementation scheme of the cloud monitoring method according to an embodiment of the present invention. The cloud monitoring method can be applied in a cloud processor. The method may specifically include:
[0051] S101: In response to a monitoring instruction for monitoring a system, obtaining various key performance indicators of the system at a current moment;
[0052] In the embodiment of the present invention, when the system needs to be monitored, a monitoring instruction is sent to the processor, and the processor obtains various key performance indicators of the system at the current moment under the instruction of the monitoring instruction.
[0053] In the embodiment of the present invention, the processor may also obtain various key performance indicators of the system at each moment in real time.
[0054] In the embodiment of the present invention, preferably, the selected key performance indicators include:
[0055] CPU usage, memory usage, response time, and network latency.
[0056] CPU Utilization refers to the percentage of the system's CPU used by programs. A high CPU utilization rate may indicate a high CPU resource demand, but excessively high utilization can lead to system bottlenecks or performance degradation. In more serious cases, rising CPU temperatures can cause the host to freeze or reboot, impacting all processes running on the host. Therefore, CPU utilization is one of the most important indicators of program performance.
[0057] Memory usage refers to the amount of memory used by a program. Excessive memory usage can lead to system performance degradation, increased swap space usage, or memory leaks. The system's total memory is limited. Excessive memory usage by a single process can lead to excessive system memory consumption. When the system's total memory is exhausted, an Out of Memory (OOM) error occurs. In Linux, the system will kill some processes to resolve insufficient memory, which is unacceptable for a stable system. The memory usage of processes in the system is a key indicator for assessing system health.
[0058] Response Time: Refers to the time it takes to complete an operation or request. Lower response times generally indicate higher performance because users get results faster.
[0059] Network Latency: This refers to the time it takes to transmit data in network communications. Lower network latency generally indicates higher performance because data can be transmitted between systems more quickly.
[0060] S102: Determine the indicator feature vector corresponding to each of the key performance indicators;
[0061] In the embodiment of the present invention, the processor further determines an indicator feature vector corresponding to each key performance indicator.
[0062] The process of determining the characteristic vector of the indicator may include:
[0063] Each key performance indicator is used as a column element to form the indicator feature vector.
[0064] For example:
[0065] CPU usage can be represented by the letter c, and memory usage can be represented by the letter m;
[0066] Response time can be represented by the letter r, and network delay can be represented by the letter n.
[0067] The key performance indicators c, m, r, n can be used to construct an indicator feature vector; Q = [c, m, r, n]
[0068] Taking the nova component as an example, the four key performance indicators mentioned above are selected as features to describe the operating status. The representation of an instantaneous characteristic value can be shown as follows:
[0069] S103: Constructing a state space matrix based on each of the key performance indicators;
[0070] In the embodiment of the present invention, a state space matrix can be further constructed based on each key performance indicator. The implementation process may specifically include:
[0071] Determine N indicator values corresponding to each of the key performance indicators; N is a positive integer;
[0072] The N indicator values corresponding to each of the key performance indicators are taken as a column vector of the state space matrix to complete the construction of the state space matrix.
[0073] Taking CPU utilization as an example, the N possible values of process CPU utilization are: c=[c1,c2,...,c n ]
[0074] All possible values of all key performance indicators constitute a state space, which can be represented by the following matrix:
[0075] W is the state space matrix.
[0076] The matrix has four columns, corresponding to the four indicators selected above. Each column represents all N possible values of a single indicator. The rows represent the N possible state values of the system. N is a positive integer.
[0077] S104: Determine a transposed matrix corresponding to the state space matrix;
[0078] S105: performing a cosine similarity operation on the indicator feature vector and the transposed matrix to obtain a similarity matrix;
[0079] In the embodiment of the present invention, further, a cosine similarity operation may be performed on the indicator feature vector and the transposed matrix to obtain a similarity matrix.
[0080] The specific process of performing a cosine similarity operation on the indicator feature vector and the transposed matrix to obtain a similarity matrix may include:
[0081] Performing a cosine similarity operation on the indicator feature vector and each column vector of the transposed matrix to obtain a similarity value corresponding to each column vector of the transposed matrix;
[0082] The similarity matrix is formed by combining the similarity values corresponding to each column vector of the transposed matrix.
[0083] Cosine similarity measures the similarity between two vectors by measuring the cosine of the angle between them. The formula is as follows:
[0084] Among them, A and B are two vectors.
[0085] Use the component's eigenvector Q to transform the state space matrix W T Performing cosine similarity operation on each column vector of M can obtain the following similarity matrix: similarity =[cosθ1,cosθ2,...,cosθ n ]
[0086] Each value represents the similarity between the current component state and n states in the state space.
[0087] S106: Determine an expected matrix corresponding to the similarity matrix;
[0088] In the embodiment of the present invention, a product operation is performed on the expected matrix and the state space matrix to obtain an expected matrix corresponding to the similarity matrix.
[0089] The expectation of each indicator of the component can be obtained through the following calculation:
[0090] Right now:
[0091] For the convenience of expression, the following definitions are given: M similarity W=E=[e c ,e m ,e r ,e n ]
[0092] S107: Perform weighted summation on each expected value in the expectation matrix to obtain a health score of the system;
[0093] In an embodiment of the present invention, the indicator characteristics corresponding to each expected value are determined; based on the indicator characteristics corresponding to each expected value, the weight value corresponding to the expected value is determined; and based on the weight value corresponding to each expected value, a weighted sum is performed on each expected value in the expectation matrix.
[0094] The sum of the four expectations obtained above can be used to obtain a value, which can be used as a score to evaluate the health of the component. Of course, in order to reflect the importance of different indicators, an adaptive method needs to be adopted to give different indicators different weights, as follows: score = w c e c +w m e m +w r e r +w n e n
[0095] The score obtained by the algorithm can be classified into the following categories:
[0096] S108: Optimizing the system according to the health score to implement cloud monitoring of the system.
[0097] In the embodiment of the present invention, it is further determined whether the health score is lower than a preset score value; if the health score is lower than the preset score value, the system is optimized.
[0098] The method provided by the present invention determines whether the system is operating normally by determining the system health score in real time, avoiding issuing an alarm only when the system process completely crashes, delaying the adjustment and optimization of the system, and thus reducing the loss of the enterprise.
[0099] The cloud monitoring method provided by the embodiments of this invention can be implemented based on GPT technology. This method can be used as a learning guide for GPT, enabling it to develop the ability to generate component status scores. By inputting the component's status feature vector into a trained GPT model, a component's score can be quickly and in real time calculated. Finally, timely processing and optimization can be performed based on the health status.
[0100] The cloud monitoring method provided by the present invention not only collects monitoring data but also uses algorithms based on this data to score component health. The trained GPT model can quickly and automatically calculate component health in real time, eliminating the need for manual diagnosis and providing a more timely, efficient, and accurate approach. A state similarity algorithm has been designed to determine the distribution of system components in state space.
[0101] An adaptive scoring algorithm is designed, which can be used to obtain the health score of system components and rate the health level according to the interval value of the score.
[0102] The following example uses the algorithm model to calculate the health rating of each component: nova, cinder, and volume. The accuracy of the ratings is then verified through human observation. This example demonstrates the effectiveness and feasibility of the state similarity algorithm and adaptive scoring algorithm proposed in this patent.
[0103] An embodiment of the present invention further provides a cloud monitoring device corresponding to a cloud monitoring method, which is used to implement the cloud monitoring method in practice. A structural diagram of the cloud monitoring device can be seen in FIG2 . The cloud monitoring device includes:
[0104] The response unit 201 is configured to respond to a monitoring instruction for monitoring the system and obtain the key performance indicators of the system at the current moment;
[0105] A first determining unit 202 is configured to determine an indicator feature vector corresponding to each of the key performance indicators;
[0106] A construction unit 203 is configured to construct a state space matrix according to each of the key performance indicators;
[0107] A second determining unit 204 is configured to determine a transposed matrix corresponding to the state space matrix;
[0108] A calculation unit 205 is used to perform a cosine similarity operation on the indicator feature vector and the transposed matrix to obtain a similarity matrix;
[0109] A third determining unit 206 is configured to determine an expected matrix corresponding to the similarity matrix;
[0110] A summing unit 207 is configured to perform a weighted summation on each expected value in the expected matrix to obtain a health score of the system;
[0111] The monitoring unit 208 is configured to optimize the system according to the health score to implement cloud monitoring of the system.
[0112] The cloud monitoring device provided by the present invention determines whether the system is operating normally by determining the system health score in real time, avoiding issuing an alarm only when the system process completely crashes, delaying the adjustment and optimization of the system, and thus reducing the loss of the enterprise.
[0113] The cloud monitoring device provided by the embodiment of the present invention includes a processor and a memory. Each of the above units can be stored in the memory as a program unit, and the processor executes the above program units stored in the memory to realize the corresponding functions.
[0114] The processor contains a kernel, which retrieves the corresponding program unit from the memory. One or more kernels can be set, and the cloud monitoring process can be dynamically executed by adjusting the kernel parameters.
[0115] An embodiment of the present invention provides a storage medium on which a program is stored. When the program is executed by a processor, the cloud monitoring method is implemented.
[0116] An embodiment of the present invention provides a processor, which is used to run a program, wherein the cloud monitoring method is executed when the program is running.
[0117] As shown in Figure 3, an embodiment of the present invention provides an electronic device. The electronic device 30 includes at least one processor 301, at least one memory 302 connected to the processor 301, and a bus 303. The processor 301 and the memory 302 communicate with each other via the bus 303. The processor 301 is configured to invoke program instructions stored in the memory 802 to execute the cloud monitoring method described above. The device herein may be a server, PC, PAD, mobile phone, or the like.
[0118] The present application also provides a computer program product, which, when executed on a data processing device, is adapted to execute a program for initializing the following method steps, the method comprising:
[0119] In response to a monitoring instruction for monitoring the system, obtaining various key performance indicators of the system at a current moment;
[0120] Determine the indicator feature vector corresponding to each of the key performance indicators;
[0121] Constructing a state space matrix based on each of the key performance indicators;
[0122] Determining a transposed matrix corresponding to the state space matrix;
[0123] Performing a cosine similarity operation on the indicator feature vector and the transposed matrix to obtain a similarity matrix;
[0124] Determining an expected matrix corresponding to the similarity matrix;
[0125] Performing a weighted summation on each expected value in the expectation matrix to obtain a health score of the system;
[0126] The system is optimized according to the health score to achieve cloud monitoring of the system.
[0127] In the above cloud monitoring method, optionally, determining the indicator feature vector corresponding to each key performance indicator includes:
[0128] Each key performance indicator is used as a column vector element to form the indicator feature vector.
[0129] Optionally, the cloud monitoring method described above constructs a state space matrix based on each of the key performance indicators, including:
[0130] Determine N indicator values corresponding to each of the key performance indicators; N is a positive integer;
[0131] The N indicator values corresponding to each of the key performance indicators are taken as a column vector of the state space matrix to complete the construction of the state space matrix.
[0132] The cloud monitoring method described above may optionally include performing a cosine similarity operation on the indicator feature vector and the transposed matrix to obtain a similarity matrix, including:
[0133] Performing a cosine similarity operation on the indicator feature vector and each column vector of the transposed matrix to obtain a similarity value corresponding to each column vector of the transposed matrix;
[0134] The similarity matrix is formed by combining the similarity values corresponding to each column vector of the transposed matrix.
[0135] In the cloud monitoring method described above, optionally, determining an expected matrix corresponding to the similarity matrix includes:
[0136] The expected matrix is multiplied by the state space matrix to obtain the expected matrix corresponding to the similarity matrix.
[0137] In the cloud monitoring method described above, optionally, performing weighted summation on each expected value in the expectation matrix includes:
[0138] Determining an indicator characteristic corresponding to each of the expected values;
[0139] Determining a weight value corresponding to each expected value according to the indicator characteristics corresponding to the expected value;
[0140] Perform a weighted sum on each expected value in the expected matrix according to the weight value corresponding to each expected value.
[0141] The above-mentioned cloud monitoring method may optionally include optimizing the system according to the health score to achieve cloud monitoring of the system.
[0142] Determining whether the health score is lower than a preset score value;
[0143] If the health score is lower than the preset score value, the system is optimized.
[0144] The present application is described with reference to the flow chart and / or block diagram of the method, device (system), and computer program product according to the embodiment of the present application. It should be understood that each flow process and / or box in the flow chart and / or block diagram and the combination of the flow process and / or box in the flow chart and / or block diagram can be realized by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processing machine or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device produce a device for realizing the function specified in one flow chart flow or multiple flows and / or one box or multiple boxes of the block diagram.
[0145] In a typical configuration, the device includes one or more processors (CPUs), memory, and a bus. The device may also include input / output interfaces, network interfaces, and the like.
[0146] 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 includes at least one memory chip. Memory is an example of a computer-readable medium.
[0147] Computer-readable media includes permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. The information can be computer-readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include transitory computer-readable media (transitory media), such as modulated data signals and carrier waves.
[0148] It should also be noted that the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, commodity, or apparatus that includes a series of elements includes not only those elements but also other elements not explicitly listed, or includes elements inherent to such process, method, commodity, or apparatus. In the absence of further limitations, an element defined by the phrase "comprises a ..." does not exclude the presence of other identical elements in the process, method, commodity, or apparatus that includes the element.
[0149] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present application may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0150] The above are merely embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application should all be included within the scope of the claims of the present application.
Claims
1. A cloud monitoring method, characterized in that: include: In response to a monitoring instruction for monitoring the system, obtaining various key performance indicators of the system at the current moment; Determine the indicator feature vector corresponding to each of the key performance indicators; According to each of the key performance indicators, a state space matrix is constructed; Determine a transposed matrix corresponding to the state space matrix; Performing a cosine similarity operation on the indicator feature vector and the transposed matrix to obtain a similarity matrix; Determine an expected matrix corresponding to the similarity matrix; Performing a weighted summation on each expected value in the expected matrix to obtain a health score of the system; The system is optimized according to the health score to achieve cloud monitoring of the system.
2. The cloud monitoring method according to claim 1, characterized in that: The step of determining the indicator feature vector corresponding to each of the key performance indicators includes: Each key performance indicator is used as a column vector element to form the indicator feature vector.
3. The cloud monitoring method according to claim 1, characterized in that: The state space matrix is constructed according to each of the key performance indicators, including: Determine N indicator values corresponding to each of the key performance indicators; N is a positive integer; The N indicator values corresponding to each of the key performance indicators are taken as a column vector of the state space matrix to complete the construction of the state space matrix.
4. The cloud monitoring method according to claim 1 or 3, characterized in that: Performing a cosine similarity operation on the indicator feature vector and the transposed matrix to obtain a similarity matrix includes: Performing cosine similarity operations on the indicator feature vector and each column vector of the transposed matrix respectively to obtain a similarity value corresponding to each column vector of the transposed matrix; The similarity matrix is formed by combining the similarity values corresponding to each column vector of the transposed matrix.
5. The cloud monitoring method according to claim 1, characterized in that: The determining of the expected matrix corresponding to the similarity matrix includes: The expected matrix is multiplied by the state space matrix to obtain the similarity The expected matrix corresponding to the matrix.
6. The cloud monitoring method according to claim 1, characterized in that: The weighted summing of each expected value in the expected matrix comprises: Determine the indicator characteristic corresponding to each of the expected values; Determine a weight value corresponding to each expected value according to the indicator characteristic corresponding to the expected value; A weighted sum is performed on each expected value in the expected matrix according to the weight value corresponding to each expected value.
7. The cloud monitoring method according to claim 1, characterized in that: The system is optimized according to the health score to achieve cloud monitoring of the system. Determining whether the health score is lower than a preset score value; If the health score is lower than the preset score value, the system is optimized.
8. A cloud monitoring device, characterized in that: include: A response unit, configured to respond to a monitoring instruction for monitoring the system and obtain various key performance indicators of the system at a current moment; A first determining unit, used to determine an indicator feature vector corresponding to each of the key performance indicators; A construction unit, used to construct a state space matrix according to each of the key performance indicators; A second determining unit, used to determine a transposed matrix corresponding to the state space matrix; A calculation unit, used for performing a cosine similarity operation on the indicator feature vector and the transposed matrix to obtain a similarity matrix; A third determining unit, used to determine an expected matrix corresponding to the similarity matrix; A summing unit, used for performing weighted summation on each expected value in the expected matrix to obtain a health score of the system; A monitoring unit is used to optimize the system according to the health score to achieve cloud monitoring of the system.
9. A storage medium, characterized in that: The storage medium includes stored instructions, wherein when the instructions are executed, the device where the storage medium is located is controlled to execute the cloud monitoring method according to any one of claims 1 to 7.
10. An electronic device, characterized in that: It includes at least one processor, and at least one memory and a bus connected to the processor; wherein the processor and the memory communicate with each other through the bus; the processor is used to call the program instructions in the memory to execute the cloud monitoring method as described in any one of claims 1 to 7.
Citation Information
Patent Citations
Equipment degradation early-warning method and system
CN108089078A
Power equipment dynamic intelligent early warning method based on cosine similarity
CN114758483A
Industrial process anomaly detection method, device and equipment and storage medium
CN115599068A
Construction method management and control system and method based on big data analysis
CN117151649A
Fused salt energy storage system equipment online monitoring method, system and product
CN117216529A
