Multi-cloud platform monitoring method, device, computer equipment, storage medium and product

By introducing a unified identification and conversion processing mechanism into the multi-cloud platform monitoring system, the problems of excessive deployment of monitoring services and high coupling in the traditional multi-cloud platform monitoring system are solved, and more efficient development and management are achieved.

CN116319901BActive Publication Date: 2025-03-18QINGDAO ZHONGKE SHUGUANG TECH SERVICE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211089039.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-07
Publication Date
2025-03-18
Estimated Expiration
2042-09-07

AI Technical Summary

Technical Problem

Because each cloud platform needs to independently deploy monitoring services, the traditional multi-cloud platform monitoring system has too many deployments of monitoring services, and the public modules are repeatedly developed, and the monitoring services and monitoring indicators are highly coupled, and the development efficiency is low.

Method used

By receiving monitoring data carrying indicators sent by each cloud platform, check whether there is a unified identifier for the indicators carried by the monitoring data. If there is, the conversion process will be carried out and sent to the corresponding monitoring service, so as to realize the unified processing of the same monitoring indicators on different cloud platforms and the deployment of monitoring services.

Benefits of technology

It reduces the number of deployments of monitoring services, avoids duplicate development of public modules, reduces the degree of coupling between monitoring services and monitoring indicators, improves the development efficiency of multi-cloud platform monitoring systems, and simplifies the system structure of multi-platform management systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116319901B_ABST
    Figure CN116319901B_ABST
Patent Text Reader

Abstract

The present application relates to a multi-cloud platform monitoring method, device, computer equipment, storage medium and product. The method includes: receiving monitoring data carrying indicator identifiers sent by each cloud platform, for each monitoring data, querying whether there is a corresponding unified identifier for the indicator identifier carried by the monitoring data, for each monitoring data, when a unified identifier corresponding to the indicator identifier carried by the monitoring data is queried, converting the indicator identifier carried by the monitoring data according to the queried unified identifier, and sending the converted monitoring data to the corresponding monitoring service; wherein the unified identifier is the same identifier pre-assigned to the same monitoring indicators in different cloud platforms; the method uniformly processes the same monitoring indicators in different cloud platforms, so as to uniformly deploy monitoring services for the same monitoring indicators in different cloud platforms, avoid repeated development of common modules, and improve the development efficiency of the multi-cloud platform monitoring system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a multi-cloud platform monitoring method, apparatus, computer equipment, storage medium and product. Background Art

[0002] With the development of computer science and technology, the emergence of cloud platforms has provided users with more computing conveniences. Gradually, more and more users prefer to use multi-cloud platforms. Therefore, the management and monitoring of multi-cloud platforms has become the core of current technological development.

[0003] In traditional technologies, multi-cloud platform monitoring systems usually need to build corresponding monitoring services for each monitoring indicator of each cloud platform that needs to be monitored. The degree of coupling between monitoring services and monitoring indicators is high. Since different cloud platforms may involve the same monitoring indicators, monitoring services for the same indicators are repeatedly developed, which in turn results in low development efficiency of multi-cloud platform monitoring systems. Summary of the invention

[0004] Based on this, it is necessary to provide a multi-cloud platform monitoring method, device, computer equipment, computer-readable storage medium and computer program product that can improve the development efficiency of a multi-cloud platform monitoring system in response to the above technical problems.

[0005] In a first aspect, the present application provides a multi-cloud platform monitoring method, the method comprising:

[0006] Receive monitoring data sent by each cloud platform, which carries indicator identifiers;

[0007] For each monitoring data, query whether the indicator identifier carried by the monitoring data has a corresponding unified identifier, which is the same identifier pre-assigned to the same monitoring indicators in different cloud platforms;

[0008] For each monitoring data, when a unified identifier corresponding to the indicator identifier carried by the monitoring data is queried, the indicator identifier carried by the monitoring data is converted according to the queried unified identifier, and the converted monitoring data is sent to the corresponding monitoring service.

[0009] In this embodiment, by receiving monitoring data carrying indicator identifiers sent by each cloud platform, for each monitoring data, it is queried whether there is a corresponding unified identifier for the indicator identifier carried by the monitoring data. For each monitoring data, when a unified identifier corresponding to the indicator identifier carried by the monitoring data is queried, the indicator identifier carried by the monitoring data is converted according to the queried unified identifier, and the monitoring data obtained after the conversion is sent to the corresponding monitoring service; wherein, the unified identifier is the same identifier that is pre-assigned to the same monitoring indicators in different cloud platforms; that is, in the embodiment of the present application, the same monitoring indicators in different cloud platforms are uniformly processed so that monitoring services are uniformly deployed for the same monitoring indicators in different cloud platforms. Compared with deploying a monitoring service for each monitoring indicator of each cloud platform, the number of monitoring services deployed can be greatly reduced, and the repeated development of common modules involved in the monitoring services corresponding to the same monitoring indicators can be avoided. The coupling degree between the monitoring service and the monitoring indicator can also be reduced, and the development efficiency of the multi-cloud platform monitoring system can be improved; in addition, for the multi-platform management system, it is only necessary to query the unified identifier, and there is no need to understand the complex monitoring indicators of the underlying multiple cloud platforms, which can simplify the system structure of the multi-platform management system and improve the management efficiency of the multi-platform management system.

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

[0011] For each monitoring data, if no unified identifier corresponding to the indicator identifier carried by the monitoring data is found, the monitoring data is directly sent to the corresponding monitoring service.

[0012] In this embodiment, for different monitoring indicators of different cloud platforms, the acquired monitoring data corresponding to the different monitoring indicators of each cloud platform are directly sent to the corresponding monitoring service to ensure the integrity of the monitoring data.

[0013] In one embodiment, before querying whether the indicator identifier carried by the monitoring data has a corresponding unified identifier, the method further includes:

[0014] According to the indicator identifier and indicator description information corresponding to each monitoring indicator in the monitoring indicator set, the same monitoring indicator is determined from the monitoring indicator set; the monitoring indicator set includes monitoring indicators in different cloud platforms, and the same monitoring indicators are monitoring indicators with the same corresponding indicator description information;

[0015] A unified identifier is allocated to the same monitoring indicator, and the allocated unified identifier and the indicator identifier of the same monitoring indicator are stored correspondingly.

[0016] In this embodiment, based on the indicator identifier and indicator description information corresponding to each monitoring indicator in the monitoring indicator set, the same monitoring indicator is determined from the monitoring indicator set, and a unified identifier is assigned to the same monitoring indicator, and the assigned unified identifier and the indicator identifier of the same monitoring indicator are stored correspondingly; wherein, the monitoring indicator set includes monitoring indicators in different cloud platforms, and the same monitoring indicators are monitoring indicators with consistent corresponding indicator description information; that is, in the embodiment of the present application, the monitoring tool can determine the same monitoring indicator based on the indicator description information of each monitoring indicator of each cloud platform, and assign a unified identifier to the same monitoring indicator, thereby realizing the unification of monitoring indicators and improving the intelligence and efficiency of the unification of monitoring indicators.

[0017] In one embodiment, the indicator identifier corresponding to the monitoring indicator includes the monitoring indicator name and the device identifier of the monitored device, and a unified identifier is assigned to the same monitoring indicator, including:

[0018] A unified monitoring indicator name is assigned to the same monitoring indicator, and a unified device ID of the monitored device is assigned to the same monitoring indicator.

[0019] In this embodiment, all indicator identifiers of the monitoring indicators are uniformly processed, which can improve the integrity of the unified identifiers.

[0020] In one of the embodiments, the indicator identifier carried by the monitoring data includes a monitoring indicator name and a device identifier of a monitored device, the unified identifier includes a unified monitoring indicator name and a unified device identifier of a monitored device, and the indicator identifier carried by the monitoring data is converted according to the queried unified identifier, including:

[0021] The monitoring indicator names carried in the monitoring data are converted according to the unified monitoring indicator names;

[0022] The device identification of the monitored device carried in the monitoring data is converted according to the unified device identification of the monitored device.

[0023] In this embodiment, the indicator identifier carried by the monitoring data includes the monitoring indicator name and the device identifier of the monitored device. Correspondingly, the unified identifier includes a unified monitoring indicator name and a unified device identifier of the monitored device. When the monitoring tool converts the indicator identifier carried by the monitoring data, it is necessary to convert the monitoring indicator name carried by the monitoring data according to the unified monitoring indicator name, and convert the device identifier of the monitored device carried by the monitoring data according to the unified device identifier of the monitored device, so as to obtain the converted monitoring data and improve the integrity and accuracy of the monitoring data conversion.

[0024] In one embodiment, after allocating a unified identifier to the same monitoring indicator, the method further includes:

[0025] For each monitoring indicator with a unified identification, the monitoring service is deployed according to the unified identification.

[0026] In this embodiment, a unified monitoring service is deployed for the same monitoring indicators of different cloud platforms, which can reduce the repeated development of common modules and improve the development efficiency of the multi-cloud platform monitoring system.

[0027] In a second aspect, the present application also provides a multi-cloud platform monitoring device, the device comprising:

[0028] A receiving module is used to receive monitoring data sent by each cloud platform, and the monitoring data carries an indicator identifier;

[0029] A query module is used to query, for each monitoring data, whether the indicator identifier carried by the monitoring data has a corresponding unified identifier, where the unified identifier is an identifier pre-assigned to the same monitoring indicator in different cloud platforms;

[0030] The conversion module is used to convert the indicator identifier carried by the monitoring data according to the queried unified identifier for each monitoring data, and send the converted monitoring data to the corresponding monitoring service.

[0031] In a third aspect, the present application further provides a computer device, which includes a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of any method in the first aspect when executing the computer program.

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

[0033] In a fifth aspect, the present application further provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the steps of any method in the first aspect are implemented.

[0034] The above-mentioned multi-cloud platform monitoring method, device, computer equipment, storage medium and computer program product receive monitoring data carrying indicator identifiers sent by each cloud platform, and for each monitoring data, query whether there is a corresponding unified identifier for the indicator identifier carried by the monitoring data. For each monitoring data, when a unified identifier corresponding to the indicator identifier carried by the monitoring data is queried, the indicator identifier carried by the monitoring data is converted according to the queried unified identifier, and the monitoring data obtained after the conversion is sent to the corresponding monitoring service; wherein the unified identifier is the same identifier that is pre-assigned to the same monitoring indicators in different cloud platforms; that is, in the embodiment of the present application, The same monitoring indicators are processed uniformly so that monitoring services can be uniformly deployed for the same monitoring indicators in different cloud platforms. Compared with deploying a monitoring service for each monitoring indicator of each cloud platform, the number of monitoring services deployed can be greatly reduced, and repeated development of common modules involved in monitoring services corresponding to the same monitoring indicators can be avoided. It can also reduce the degree of coupling between monitoring services and monitoring indicators, and improve the development efficiency of multi-cloud platform monitoring systems. In addition, for multi-platform management systems, it is only necessary to query the unified identifier, and there is no need to understand the complex monitoring indicators of multiple underlying cloud platforms. This can simplify the system structure of the multi-platform management system and improve the management efficiency of the multi-platform management system. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] Figure 1 This is an application environment diagram of a multi-cloud platform monitoring method in one embodiment;

[0036] Figure 2 The present invention is a flowchart of a multi-cloud platform monitoring method according to an embodiment;

[0037] Figure 3 A flowchart of a multi-cloud platform monitoring method in another embodiment;

[0038] Figure 4 A flowchart of a multi-cloud platform monitoring method in another embodiment;

[0039] Figure 5 It is a structural block diagram of a multi-cloud platform monitoring device in one embodiment;

[0040] Figure 6 It is a structural block diagram of a multi-cloud platform monitoring device in another embodiment;

[0041] Figure 7 It is a structural block diagram of a multi-cloud platform monitoring device in another embodiment;

[0042] Figure 8 It is a structural block diagram of a multi-cloud platform monitoring device in another embodiment;

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

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

[0045] First of all, before specifically introducing the technical solution of the embodiment of the present disclosure, the technical background or technical evolution context on which the embodiment of the present disclosure is based is introduced. Usually, for each cloud platform monitored by the multi-cloud platform monitoring system, since each cloud platform has its own dedicated monitoring indicator collector to generate dedicated monitoring indicators for its own cloud platform; therefore, in the multi-cloud platform monitoring system, a monitoring service is required for each monitoring indicator of each cloud platform, resulting in multiple monitoring indicators and multiple monitoring services for the monitoring of the same resource in the multi-cloud platform monitoring system, resulting in repeated development of many common modules, and also resulting in excessive coupling of monitoring services and monitoring indicators, which in turn results in low development efficiency of the multi-cloud platform monitoring system.

[0046] Based on this, an embodiment of the present application proposes a multi-cloud platform monitoring method, which unifies the same monitoring indicators and deploys corresponding monitoring services for the unified monitoring indicators. That is to say, for the same monitoring indicators corresponding to different cloud platforms, only one monitoring service needs to be deployed, and the monitoring indicators of different cloud platforms can be monitored through this one monitoring service. This not only avoids the repeated development of common modules, but also reduces the degree of coupling between monitoring services and monitoring indicators, thereby improving the development efficiency of the multi-cloud platform monitoring system.

[0047] The technical solutions involved in the embodiments of the present disclosure are introduced below in combination with the scenarios to which the embodiments of the present disclosure are applied.

[0048] The multi-cloud platform monitoring method provided in the embodiment of the present application can be applied to Figure 1In the application environment shown. Among them, the cloud platform management system 101 communicates with the monitoring tool 102 through the network, and the monitoring tool 102 communicates with the multi-cloud platform monitoring system 103 through the network; optionally, the monitoring tool 102 and the multi-cloud platform monitoring system 103 can be deployed in the same computer device or in different computer devices; the cloud platform management system 101 is used to manage the cloud platform, collect the monitoring indicators of the cloud platform and obtain the monitoring data corresponding to each monitoring indicator, including but not limited to the OVM (OptimisticVirtualMachine) system, OpenStack system, etc.; the monitoring tool 102 is used to obtain the monitoring indicators of different cloud platforms and uniformly process the monitoring indicators of each cloud platform. Optionally, the monitoring tool 102 can be an open source system monitoring and alarm tool, such as the Prometheus tool; the multi-cloud platform monitoring system 103 is used to monitor and manage multiple cloud platforms, wherein monitoring services corresponding to the same monitoring indicators corresponding to each cloud platform and monitoring services corresponding to different monitoring indicators corresponding to each cloud platform are deployed.

[0049] In one embodiment, Figure 2 As shown, a multi-cloud platform monitoring method is provided, which is applied to Figure 1 The monitoring tool in the example is used to illustrate the following steps:

[0050] Step 201, receiving monitoring data sent by each cloud platform.

[0051] The monitoring data carries an indicator identifier, which is used to indicate a monitoring indicator corresponding to the monitoring data.

[0052] Optionally, the monitoring tool can obtain the monitoring data of each cloud platform through the cloud platform management system of each cloud platform, that is, obtain the monitoring data of the cloud platform through the cloud platform management system, and send the monitoring data of the cloud platform to the monitoring tool through the cloud platform management system; wherein the monitoring data of each cloud platform includes monitoring data corresponding to at least one monitoring indicator.

[0053] Optionally, the cloud platform management system can collect monitoring data of the cloud platform at a preset frequency and send the monitoring data of the cloud platform to the monitoring tool; the cloud platform management system can also collect monitoring data of the cloud platform based on the data acquisition request after obtaining the data acquisition request sent by the monitoring tool, and send the monitoring data of the cloud platform to the monitoring tool.

[0054] Step 202: for each piece of monitoring data, query whether the indicator identifier carried by the monitoring data has a corresponding unified identifier.

[0055] Among them, the unified identifier is the same identifier pre-assigned to the same monitoring indicators in different cloud platforms. For different cloud platforms, there are monitoring indicators with the same functions and the same or different indicator identifiers. For these monitoring indicators, in order to avoid repeated development of common modules, the indicator identifiers of these monitoring indicators are unified and assigned the same unified identifier. Then, based on the same unified identifier, the same monitoring service is deployed for the monitoring indicators of the same function of different cloud platforms; in addition, for monitoring indicators with different functions in different cloud platforms, the monitoring service is deployed according to the indicator identifier corresponding to the monitoring indicator.

[0056] Based on this, when the multi-cloud platform monitoring system monitors each cloud platform, the monitoring tool can process each monitoring data after obtaining the monitoring data of each cloud platform, so as to obtain monitoring data that can be recognized by the multi-cloud platform monitoring system; that is, the cloud platform's own monitoring data carrying indicator identifiers is converted into monitoring data corresponding to the indicator identifiers that can be recognized by the multi-cloud platform monitoring system.

[0057] Optionally, the monitoring tool can first determine whether the indicator identifier carried by the monitoring data has a unified identifier that can be recognized by the multi-cloud platform monitoring system. If so, it means that the indicator identifier corresponding to the cloud platform's own monitoring data is different from the indicator identifier corresponding to the monitoring service of the multi-cloud platform monitoring system. At this time, it is necessary to process the monitoring data and convert the indicator identifier carried by the monitoring data into a unified identifier that can be recognized by the multi-cloud platform monitoring system, so that the multi-cloud platform monitoring system can obtain the monitoring data of the cloud platform; if not, it means that the indicator identifier corresponding to the cloud platform's own monitoring data is the same as the indicator identifier corresponding to the monitoring service of the multi-cloud platform monitoring system. At this time, the multi-cloud platform monitoring system can directly obtain the monitoring data of the cloud platform.

[0058] Optionally, the monitoring tool can determine whether there is a corresponding unified identifier for the indicator identifier carried by the monitoring data based on the status mark of the indicator identifier; in the development stage of the multi-cloud platform monitoring system, when the monitoring tool assigns a unified identifier to the same monitoring indicator in different cloud platforms, the status mark corresponding to the same monitoring indicator in these cloud platforms can be set to a preset state accordingly, so that subsequent monitoring tools can directly determine whether there is a corresponding unified identifier for the indicator identifier of the monitoring indicator based on the status mark of the indicator identifier of the monitoring indicator.

[0059] Optionally, the monitoring tool can also query whether there is a corresponding unified identifier for the indicator identifier carried by the monitoring data based on the correspondence between the indicator identifier and the unified identifier; in the development stage of the multi-cloud platform monitoring system, when the monitoring tool assigns unified identifiers to the same monitoring indicators in different cloud platforms, it can establish a correspondence between the indicator identifiers and the unified identifiers of these same monitoring indicators in the cloud platform, so that subsequent monitoring tools can determine whether there is a corresponding unified identifier for the indicator identifier carried by the monitoring data based on the correspondence. If there is no unified identifier corresponding to the indicator identifier carried by the monitoring data in the correspondence, it means that there is no corresponding unified identifier for the indicator identifier carried by the monitoring data.

[0060] Step 203, for each monitoring data, when a unified identifier corresponding to the indicator identifier carried by the monitoring data is queried, the indicator identifier carried by the monitoring data is converted according to the queried unified identifier, and the converted monitoring data is sent to the corresponding monitoring service.

[0061] Among them, the converted monitoring data carries the unified identifier and monitoring indicator data, and the monitoring indicator data includes the identifier of the cloud platform and the monitoring data corresponding to the monitoring indicator. Based on the unified identifier and the identifier of the cloud platform, the monitoring service in the multi-cloud platform monitoring system can obtain the monitoring data corresponding to the monitoring indicator of the cloud platform.

[0062] From the above analysis, it can be seen that when a unified identifier corresponding to the indicator identifier carried by the monitoring data is queried, it means that the indicator identifier corresponding to the monitoring data of the cloud platform itself is different from the indicator identifier corresponding to the monitoring service of the multi-cloud platform monitoring system. In this case, it is necessary to replace the indicator identifier carried in the monitoring data with a unified identifier that can be recognized by the monitoring service in the multi-cloud platform monitoring system to obtain the processed monitoring data, and then send the processed monitoring data to the corresponding monitoring service.

[0063] Optionally, for each monitoring data, if no unified identifier corresponding to the indicator identifier carried by the monitoring data is found, it means that the indicator identifier corresponding to the monitoring data of the cloud platform itself is the same as the indicator identifier corresponding to the monitoring service of the multi-cloud platform monitoring system. Then, the monitoring data can be sent directly to the corresponding monitoring service to obtain the monitoring data corresponding to the monitoring indicator of the cloud platform.

[0064] In the above-mentioned multi-cloud platform monitoring method, by receiving the monitoring data carrying the indicator identifier sent by each cloud platform, for each monitoring data, it is queried whether there is a corresponding unified identifier for the indicator identifier carried by the monitoring data. For each monitoring data, when a unified identifier corresponding to the indicator identifier carried by the monitoring data is queried, the indicator identifier carried by the monitoring data is converted according to the queried unified identifier, and the monitoring data obtained after the conversion is sent to the corresponding monitoring service; wherein the unified identifier is the same identifier that is pre-assigned to the same monitoring indicators in different cloud platforms; that is, in the embodiment of the present application, the same monitoring indicators in different cloud platforms are uniformly assigned. One processing, so as to uniformly deploy monitoring services for the same monitoring indicators in different cloud platforms. Compared with deploying a monitoring service for each monitoring indicator of each cloud platform, it can greatly reduce the number of monitoring service deployments, avoid repeated development of common modules involved in monitoring services corresponding to the same monitoring indicators, and reduce the degree of coupling between monitoring services and monitoring indicators, thereby improving the development efficiency of multi-cloud platform monitoring systems. In addition, for multi-platform management systems, it is only necessary to query the unified identifier, without understanding the complex monitoring indicators of multiple underlying cloud platforms, which can simplify the system structure of the multi-platform management system and improve the management efficiency of the multi-platform management system.

[0065] Figure 3 FIG. 1 is a flow chart of a multi-cloud platform monitoring method in another embodiment. This embodiment relates to an optional implementation process in which a monitoring tool unifies the same monitoring indicators in different cloud platforms. Based on the above embodiment, Figure 3 As shown, the above method also includes:

[0066] Step 301: determine the same monitoring indicators from the monitoring indicator set according to the indicator identifier and indicator description information corresponding to each monitoring indicator in the monitoring indicator set.

[0067] The monitoring indicator set includes monitoring indicators in different cloud platforms, and the same monitoring indicators are monitoring indicators with consistent corresponding indicator description information. Optionally, the monitoring tool can obtain the monitoring indicators of each cloud platform through the cloud platform management system of each cloud platform, and store the monitoring indicators of each cloud platform in the monitoring indicator set.

[0068] Optionally, the monitoring tool may determine monitoring indicators with the same indicator function according to the indicator description information corresponding to each monitoring indicator in the monitoring indicator set, and determine the indicator identifiers in the cloud platform corresponding to the monitoring indicators with the same indicator function.

[0069] It should be noted that if there are at least two cloud platforms with the same monitoring indicators among the multiple cloud platforms, they can be determined as the same monitoring indicators. Exemplarily, cloud platform A includes monitoring indicators A1, A2, and A3, cloud platform B includes monitoring indicators B1, B2, and B3, and cloud platform C includes monitoring indicators C1, C2, and C3. Assuming that monitoring indicators A1 and B2 are monitoring indicators with the same functions, monitoring indicators A1 and B2 can be determined as the first group of the same monitoring indicators. Assuming that monitoring indicators A3, B3, and C3 are monitoring indicators with the same functions, monitoring indicators A3, B3, and C3 can be determined as the second group of the same monitoring indicators. Assuming that monitoring indicators B1 and C1 are monitoring indicators with the same functions, monitoring indicators B1 and C1 can be determined as the third group of the same monitoring indicators.

[0070] Step 302: assign a unified identifier to the same monitoring indicator, and store the assigned unified identifier and the indicator identifier of the same monitoring indicator in correspondence with each other.

[0071] Optionally, for each group of identical monitoring indicators, a unified identifier is assigned to each group of identical monitoring indicators. The indicator identifier of any monitoring indicator in each group of identical monitoring indicators can be determined as the unified identifier corresponding to the group of identical monitoring indicators. Alternatively, an indicator identifier can be re-determined for each group of identical monitoring indicators as the unified identifier corresponding to the group of identical monitoring indicators.

[0072] Exemplarily, for the first group of identical monitoring indicators, the indicator identifier A1 of the monitoring indicator A1 can be used as the unified identifier corresponding to the first group of identical monitoring indicators, that is, the monitoring indicator A1 of cloud platform A and the monitoring indicator B2 of cloud platform B correspond to the unified monitoring indicator A1 in the multi-cloud platform monitoring system.

[0073] At the same time, after assigning a unified identifier to each group of identical monitoring indicators, it is also necessary to store the assigned unified identifier and the indicator identifier of the same monitoring indicator in correspondence, that is, to establish a correspondence between the assigned unified identifier and the indicator identifier of the monitoring indicators of each cloud platform in the same monitoring indicator. Based on the above example, a correspondence is established between the monitoring indicator A1 of cloud platform A, the monitoring indicator B2 of cloud platform B, and the unified monitoring indicator A1; this correspondence can be used for the above-mentioned query and judgment of whether there is a corresponding unified identifier for the indicator identifier carried by the monitoring data, and can also be used for the above-mentioned conversion processing of the indicator identifier carried by the monitoring data to obtain the converted monitoring data.

[0074] Furthermore, after assigning a unified identifier to each group of identical monitoring indicators, for each group of identical monitoring indicators, a monitoring service is deployed for the identical monitoring indicators based on the unified identifier corresponding to the identical monitoring indicators; that is, for each monitoring indicator with a unified identifier, the same monitoring service is deployed for each monitoring indicator based on the unified identifier of each monitoring indicator.

[0075] In an optional implementation, the indicator identifier corresponding to the monitoring indicator may include the monitoring indicator name and the device identifier of the monitored device. Based on this, when the monitoring tool assigns a unified identifier to each group of identical monitoring indicators, it may assign a unified monitoring indicator name to the same monitoring indicator, and assign a unified device identifier of the monitored device to the same monitoring indicator. That is to say, each item in the indicator identifier of the monitoring indicator must be unified, and when the indicator identifier of the monitoring indicator also includes other parameter items, the other parameter items must also be processed uniformly.

[0076] For example, the monitoring indicator "host memory usage" is taken as an example for explanation.

[0077] Assume that in cloud platform A managed by the OpenStack cloud platform management system, the monitoring indicator of the host memory usage is openstack_host_memery_used{hostUuid='1111'}, where openstack_host_memery_used is the monitoring indicator name, hostUuid is the device identifier of the monitored device, and 1111 is a host in cloud platform A, which is also a monitored device.

[0078] In cloud platform B managed by the OVM cloud platform management system, the monitoring indicator of the host memory usage is ovm_host_memery_used{hostId='2222'}, where ovm_host_memery_used is the monitoring indicator name, hostId is the device ID of the monitored device, and 2222 is a host in cloud platform B, which is also a monitored device.

[0079] For the same monitoring indicator "host memory usage" of cloud platform A and cloud platform B, the monitoring indicator names are different and the device identifiers of the monitored devices are also different.

[0080] When unifying the monitoring indicator "host memory usage", the following method can be used.

[0081] (1) First, by replacing the identifier, that is, unifying the device identifier of the monitored device, the device identifier of the monitored device that is the same as ovm_host_memery_used can be added to the openstack_host_memery_used indicator, which can be expressed as:

[0082] label_replace(openstack_host_memery_used,'hostId','$1','hostUuid','(.*)')

[0083] The monitoring indicators corresponding to cloud platform A after identification replacement are:

[0084] openstack_host_memery_used{hostId='1111'}, at this time, the same monitoring indicator "host memory usage" of cloud platform A and cloud platform B has a unified device ID of the monitored device.

[0085] (2) Secondly, the two indicator sets are merged through the indicator union operation to unify the monitoring indicator names, which can be expressed as:

[0086] label_replace(openstack_host_memery_used,'hostId','$1','hostUuid','(.*)')orovm_host_memery_used

[0087] (3) Name the new result set host_memery_used, that is, unify the monitoring indicator name of the same monitoring indicator "host memory usage" of cloud platform A and cloud platform B into a new monitoring indicator name "host_memery_used".

[0088] At this point, the monitoring indicator "host memory usage" after unified processing of cloud platform A and cloud platform B can be expressed as:

[0089] host_memery_used{hostId='XXXX'}, where XXXX can be any host machine in cloud platform A and cloud platform B.

[0090] Based on the unified monitoring indicator name host_memery_used and the unified device identifier hostId of the monitored device, a monitoring service is deployed so that the multi-cloud platform monitoring system can obtain monitoring data of each host in cloud platform A and cloud platform B in the form of host_memery_used{hostId='XXXX'} through the monitoring service.

[0091] It should be noted that the indicator identification of the same monitoring indicator can have different monitoring indicator names and equipment identifications of the monitored devices, or the monitoring indicator names can be the same and the equipment identifications of the monitored devices can be different, or the monitoring indicator names can be different and the equipment identifications of the monitored devices can be the same; for parameters that are different in the indicator identification, unified processing is performed. When the monitoring indicator names of the various monitoring indicators in the same monitoring indicator are the same, the monitoring indicator names of the same monitoring indicators are determined to be the same; when the equipment identifications of the monitored devices of the various monitoring indicators are the same, the equipment identifications of the monitored devices of the same monitoring indicators are determined to be the same.

[0092] In this embodiment, based on the indicator identifier and indicator description information corresponding to each monitoring indicator in the monitoring indicator set, the same monitoring indicator is determined from the monitoring indicator set, and a unified identifier is assigned to the same monitoring indicator, and the assigned unified identifier and the indicator identifier of the same monitoring indicator are stored correspondingly; wherein, the monitoring indicator set includes monitoring indicators in different cloud platforms, and the same monitoring indicators are monitoring indicators with consistent corresponding indicator description information; that is, in the embodiment of the present application, the monitoring tool can determine the same monitoring indicator based on the indicator description information of each monitoring indicator of each cloud platform, and assign a unified identifier to the same monitoring indicator, thereby realizing the unification of monitoring indicators and improving the intelligence and efficiency of the unification of monitoring indicators.

[0093] In an optional embodiment of the present application, when the indicator identifier carried by the monitoring data includes the monitoring indicator name and the device identifier of the monitored device, the unified identifier includes a unified monitoring indicator name and a unified device identifier of the monitored device, and the step 203 may include:

[0094] Step 401: convert the monitoring indicator names carried by the monitoring data according to the unified monitoring indicator names.

[0095] Step 402: convert the device identification of the monitored device carried in the monitoring data according to the unified device identification of the monitored device.

[0096] That is to say, when the monitoring tool obtains the monitoring data sent by the cloud platform and determines that the indicator identifier carried by the monitoring data has a corresponding unified identifier, the indicator identifier carried by the monitoring data is replaced with the corresponding unified identifier to obtain the converted monitoring data; specifically, the monitoring indicator name carried by the monitoring data is replaced with a unified monitoring indicator name, and the device identifier of the monitored device carried by the monitoring data is replaced with a unified device identifier of the monitored device to obtain the monitoring data after unified conversion; then, the converted monitoring data is sent to the monitoring service corresponding to the monitoring data, so that the monitoring service can obtain the monitoring data of the monitored device based on the unified monitoring indicator name and the unified device identifier of the monitored device, as well as the monitored device carried in the monitoring data.

[0097] In this embodiment, the indicator identifier carried by the monitoring data includes the monitoring indicator name and the device identifier of the monitored device. Correspondingly, the unified identifier includes a unified monitoring indicator name and a unified device identifier of the monitored device. When the monitoring tool converts the indicator identifier carried by the monitoring data, it is necessary to convert the monitoring indicator name carried by the monitoring data according to the unified monitoring indicator name, and convert the device identifier of the monitored device carried by the monitoring data according to the unified device identifier of the monitored device, so as to obtain the converted monitoring data and improve the integrity and accuracy of the monitoring data conversion.

[0098] In one embodiment, a complete flow chart of a multi-cloud platform monitoring method is provided, such as Figure 5 As shown, the following steps are included:

[0099] (1) Obtain at least one monitoring indicator of each cloud platform through the cloud platform management system of each cloud platform.

[0100] (2) Determine at least one group of identical monitoring indicators based on the indicator identifier and indicator description information of each monitoring indicator of each cloud platform, wherein the group of identical monitoring indicators includes monitoring indicators of at least two cloud platforms.

[0101] (3) For each group of identical monitoring indicators, a unified monitoring indicator name is assigned to the identical monitoring indicator, and a unified device identification of the monitored device is assigned to the identical monitoring indicator, and a correspondence between the unified monitoring indicator name, the unified device identification of the monitored device, and the monitoring indicator name of each monitoring indicator in the group of identical monitoring indicators and the device identification of the monitored device is established.

[0102] (4) Based on each group of identical monitoring indicators and each different monitoring indicator, monitoring services corresponding to each group of identical monitoring indicators and monitoring services corresponding to each different monitoring indicator are deployed.

[0103] (5) Receive monitoring data with indicator identifiers sent by each cloud platform.

[0104] (6) For each monitoring data of each cloud platform, based on the corresponding relationship in step (3), determine whether there is a corresponding unified monitoring indicator name for the monitoring indicator name in the indicator identifier carried by the monitoring data, and determine whether there is a corresponding unified device identifier for the monitored device in the indicator identifier carried by the monitoring data.

[0105] (7) If there is a unified monitoring indicator name and / or a unified device identification of the monitored device, the monitoring data is converted according to the unified monitoring indicator name and / or the unified device identification of the monitored device to obtain converted monitoring data.

[0106] (8) Send the converted monitoring data to the corresponding monitoring service.

[0107] (9) If there is no unified monitoring indicator name and unified device identification of the monitored device, the monitoring data is sent directly to the corresponding monitoring service.

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

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

[0110] In one embodiment, Figure 5 As shown, a multi-cloud platform monitoring device is provided, including: a receiving module 501, a query module 502 and a conversion module 503, wherein:

[0111] The receiving module 501 is used to receive monitoring data sent by each cloud platform, and the monitoring data carries an indicator identifier;

[0112] A query module 502 is used to query, for each monitoring data, whether the indicator identifier carried by the monitoring data has a corresponding unified identifier, where the unified identifier is an identifier pre-assigned to the same monitoring indicator in different cloud platforms;

[0113] The conversion module 503 is used to convert the indicator identifier carried by the monitoring data for each monitoring data according to the queried unified identifier when a unified identifier corresponding to the indicator identifier carried by the monitoring data is queried, and send the converted monitoring data to the corresponding monitoring service.

[0114] In one embodiment, if Figure 6 As shown, the device also includes a sending module 504; the sending module 504 is used to send the monitoring data directly to the corresponding monitoring service when no unified identifier corresponding to the indicator identifier carried by the monitoring data is found for each monitoring data.

[0115] In one embodiment, if Figure 7 As shown, the device also includes a determination module 505 and an allocation module 506; the determination module 505 is used to determine the same monitoring indicator from the monitoring indicator set according to the indicator identifiers corresponding to each monitoring indicator in the monitoring indicator set and the indicator description information before querying whether there is a corresponding unified identifier for the indicator identifier carried by the monitoring data; the monitoring indicator set includes monitoring indicators in different cloud platforms, and the same monitoring indicators are monitoring indicators with consistent corresponding indicator description information; the allocation module 506 is used to allocate a unified identifier for the same monitoring indicator, and store the allocated unified identifier and the indicator identifier of the same monitoring indicator in correspondence.

[0116] In one of the embodiments, the indicator identifier corresponding to the monitoring indicator includes the monitoring indicator name and the device identifier of the monitored device, and the allocation module 506 is specifically used to allocate a unified monitoring indicator name for the same monitoring indicator, and allocate a unified device identifier of the monitored device for the same monitoring indicator.

[0117] In one of the embodiments, the indicator identifier carried by the monitoring data includes the monitoring indicator name and the device identifier of the monitored device, the unified identifier includes the unified monitoring indicator name and the unified device identifier of the monitored device, and the conversion module 503 is specifically used to convert the monitoring indicator name carried by the monitoring data according to the unified monitoring indicator name; and to convert the device identifier of the monitored device carried by the monitoring data according to the unified device identifier of the monitored device.

[0118] In one embodiment, if Figure 8 As shown, the device further includes a deployment module 507; the deployment module 507 is used to deploy monitoring services according to the unified identifier for each monitoring indicator with the unified identifier after the allocation module allocates the unified identifier to the same monitoring indicator.

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

[0120] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Fig. 9 As shown. The computer device includes a processor, a memory and a network interface connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store the indicator identification and indicator description information of each monitoring indicator of each cloud platform, the indicator identification corresponding to the unified monitoring indicator, and the monitoring data of each monitoring indicator of each cloud platform. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a multi-cloud platform monitoring method is implemented.

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

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

[0123] Receive monitoring data sent by each cloud platform, which carries indicator identifiers;

[0124] For each monitoring data, query whether the indicator identifier carried by the monitoring data has a corresponding unified identifier, which is the same identifier pre-assigned to the same monitoring indicators in different cloud platforms;

[0125] For each monitoring data, when a unified identifier corresponding to the indicator identifier carried by the monitoring data is queried, the indicator identifier carried by the monitoring data is converted according to the queried unified identifier, and the converted monitoring data is sent to the corresponding monitoring service.

[0126] In one embodiment, when the processor executes the computer program, the following steps are also implemented: for each monitoring data, if no unified identifier corresponding to the indicator identifier carried by the monitoring data is found, the monitoring data is directly sent to the corresponding monitoring service.

[0127] In one embodiment, the processor also implements the following steps when executing the computer program: before querying whether the indicator identifier carried by the monitoring data has a corresponding unified identifier, determine the same monitoring indicator from the monitoring indicator set according to the indicator identifier and indicator description information corresponding to each monitoring indicator in the monitoring indicator set; and assign a unified identifier to the same monitoring indicator, and store the assigned unified identifier and the indicator identifier of the same monitoring indicator in correspondence; wherein the monitoring indicator set includes monitoring indicators in different cloud platforms, and the same monitoring indicators are monitoring indicators with consistent corresponding indicator description information.

[0128] In one embodiment, the indicator identifier corresponding to the monitoring indicator includes the monitoring indicator name and the device identifier of the monitored device. When the processor executes the computer program, the following steps are also implemented: assigning a unified monitoring indicator name to the same monitoring indicator, and assigning a unified device identifier of the monitored device to the same monitoring indicator.

[0129] In one embodiment, the indicator identifier carried by the monitoring data includes the monitoring indicator name and the device identifier of the monitored device, and the unified identifier includes a unified monitoring indicator name and a unified device identifier of the monitored device. When the processor executes the computer program, the following steps are also implemented: converting the monitoring indicator name carried by the monitoring data according to the unified monitoring indicator name; converting the device identifier of the monitored device carried by the monitoring data according to the unified device identifier of the monitored device.

[0130] In one embodiment, when the processor executes the computer program, the following steps are further implemented: after allocating a unified identifier to the same monitoring indicator, for each monitoring indicator having the unified identifier, a monitoring service is deployed according to the unified identifier.

[0131] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:

[0132] Receive monitoring data sent by each cloud platform, which carries indicator identifiers;

[0133] For each monitoring data, query whether the indicator identifier carried by the monitoring data has a corresponding unified identifier, which is the same identifier pre-assigned to the same monitoring indicators in different cloud platforms;

[0134] For each monitoring data, when a unified identifier corresponding to the indicator identifier carried by the monitoring data is queried, the indicator identifier carried by the monitoring data is converted according to the queried unified identifier, and the converted monitoring data is sent to the corresponding monitoring service.

[0135] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: for each monitoring data, if no unified identifier corresponding to the indicator identifier carried by the monitoring data is found, the monitoring data is directly sent to the corresponding monitoring service.

[0136] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: before querying whether the indicator identifier carried by the monitoring data has a corresponding unified identifier, determine the same monitoring indicator from the monitoring indicator set according to the indicator identifier and indicator description information corresponding to each monitoring indicator in the monitoring indicator set; and assign a unified identifier to the same monitoring indicator, and store the assigned unified identifier and the indicator identifier of the same monitoring indicator in correspondence; wherein, the monitoring indicator set includes monitoring indicators in different cloud platforms, and the same monitoring indicators are monitoring indicators with consistent corresponding indicator description information.

[0137] In one embodiment, the indicator identifier corresponding to the monitoring indicator includes the monitoring indicator name and the device identifier of the monitored device. When the computer program is executed by the processor, the following steps are also implemented: assigning a unified monitoring indicator name to the same monitoring indicator, and assigning a unified device identifier of the monitored device to the same monitoring indicator.

[0138] In one embodiment, the indicator identifier carried by the monitoring data includes the monitoring indicator name and the device identifier of the monitored device, and the unified identifier includes a unified monitoring indicator name and a unified device identifier of the monitored device. When the computer program is executed by the processor, the following steps are also implemented: the monitoring indicator name carried by the monitoring data is converted according to the unified monitoring indicator name; the device identifier of the monitored device carried by the monitoring data is converted according to the unified device identifier of the monitored device.

[0139] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: after allocating a unified identifier to the same monitoring indicator, for each monitoring indicator having the unified identifier, a monitoring service is deployed according to the unified identifier.

[0140] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:

[0141] Receive monitoring data sent by each cloud platform, which carries indicator identifiers;

[0142] For each monitoring data, query whether the indicator identifier carried by the monitoring data has a corresponding unified identifier, which is the same identifier pre-assigned to the same monitoring indicators in different cloud platforms;

[0143] For each monitoring data, when a unified identifier corresponding to the indicator identifier carried by the monitoring data is queried, the indicator identifier carried by the monitoring data is converted according to the queried unified identifier, and the converted monitoring data is sent to the corresponding monitoring service.

[0144] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: for each monitoring data, if no unified identifier corresponding to the indicator identifier carried by the monitoring data is found, the monitoring data is directly sent to the corresponding monitoring service.

[0145] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: before querying whether the indicator identifier carried by the monitoring data has a corresponding unified identifier, determine the same monitoring indicator from the monitoring indicator set according to the indicator identifier and indicator description information corresponding to each monitoring indicator in the monitoring indicator set; and assign a unified identifier to the same monitoring indicator, and store the assigned unified identifier and the indicator identifier of the same monitoring indicator in correspondence; wherein, the monitoring indicator set includes monitoring indicators in different cloud platforms, and the same monitoring indicators are monitoring indicators with consistent corresponding indicator description information.

[0146] In one embodiment, the indicator identifier corresponding to the monitoring indicator includes the monitoring indicator name and the device identifier of the monitored device. When the computer program is executed by the processor, the following steps are also implemented: assigning a unified monitoring indicator name to the same monitoring indicator, and assigning a unified device identifier of the monitored device to the same monitoring indicator.

[0147] In one embodiment, the indicator identifier carried by the monitoring data includes the monitoring indicator name and the device identifier of the monitored device, and the unified identifier includes a unified monitoring indicator name and a unified device identifier of the monitored device. When the computer program is executed by the processor, the following steps are also implemented: the monitoring indicator name carried by the monitoring data is converted according to the unified monitoring indicator name; the device identifier of the monitored device carried by the monitoring data is converted according to the unified device identifier of the monitored device.

[0148] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: after allocating a unified identifier to the same monitoring indicator, for each monitoring indicator having the unified identifier, a monitoring service is deployed according to the unified identifier.

[0149] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.

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

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

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

Claims

1. A multi-cloud platform monitoring method, characterized in that: The method comprises: Receive monitoring data sent by each cloud platform, wherein the monitoring data carries an indicator identifier; For each of the monitoring data, query whether there is a corresponding unified identifier for the indicator identifier carried by the monitoring data, where the unified identifier is the same identifier pre-assigned to the same monitoring indicators in different cloud platforms; For each of the monitoring data, if a unified identifier corresponding to the indicator identifier carried by the monitoring data is queried, the indicator identifier carried by the monitoring data is converted according to the queried unified identifier, and the monitoring data obtained after the conversion is sent to the same monitoring service corresponding to the unified identifier.

2. The method according to claim 1, characterized in that The method further comprises: For each of the monitoring data, if a unified identifier corresponding to the indicator identifier carried by the monitoring data is not found, the monitoring data is directly sent to the corresponding monitoring service.

3. The method according to claim 1, characterized in that Before querying whether the indicator identifier carried by the monitoring data has a corresponding unified identifier, the method further includes: Determine the same monitoring indicator from the monitoring indicator set according to the indicator identifier and indicator description information corresponding to each monitoring indicator in the monitoring indicator set; the monitoring indicator set includes monitoring indicators in different cloud platforms, and the same monitoring indicator is a monitoring indicator with consistent corresponding indicator description information; A unified identifier is allocated to the same monitoring indicator, and the allocated unified identifier and the indicator identifier of the same monitoring indicator are stored in correspondence.

4. The method according to claim 3, characterized in that The indicator identifier corresponding to the monitoring indicator includes the monitoring indicator name and the device identifier of the monitored device, and the allocation of a unified identifier to the same monitoring indicator includes: A unified monitoring indicator name is assigned to the same monitoring indicator, and a unified device identifier of the monitored device is assigned to the same monitoring indicator.

5. The method according to claim 4, characterized in that The indicator identifier carried by the monitoring data includes a monitoring indicator name and a device identifier of a monitored device, the unified identifier includes a unified monitoring indicator name and a unified device identifier of a monitored device, and the converting process of the indicator identifier carried by the monitoring data according to the queried unified identifier includes: Converting the monitoring indicator name carried by the monitoring data according to the unified monitoring indicator name; The device identification of the monitored device carried in the monitoring data is converted according to the unified device identification of the monitored device.

6. The method according to claim 3, characterized in that After allocating a unified identifier to the same monitoring indicator, the method further includes: For each monitoring indicator having a unified identification, a monitoring service is deployed according to the unified identification.

7. A multi-cloud platform monitoring device, characterized in that: The device comprises: A receiving module, used to receive monitoring data sent by each cloud platform, wherein the monitoring data carries an indicator identifier; A query module, used to query, for each of the monitoring data, whether there is a corresponding unified identifier for the indicator identifier carried by the monitoring data, where the unified identifier is an identifier uniformly allocated in advance for the same monitoring indicator in different cloud platforms; A conversion module is used to convert the indicator identifier carried by each monitoring data according to the queried unified identifier if a unified identifier corresponding to the indicator identifier carried by the monitoring data is queried, and send the monitoring data obtained after the conversion to the same monitoring service corresponding to the unified identifier.

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

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

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

Citation Information

Patent Citations

  • Monitoring method and device, electronic equipment and storage medium

    CN114490246A

  • Equipment monitoring method, equipment and storage medium

    CN114719244A