Decoupling method and device for heterogeneous data acquisition plug-in of cloud resource pool

Through the heterogeneous collection plug-in decoupling framework, standard and non-standard plug-in data are distinguished and processed, which solves the problem of poor plug-in compatibility in the cloud resource pool management system, realizes the unified collection and processing of cloud resource pool data, and improves management Efficiency and compatibility.

CN118585271APending Publication Date: 2024-09-03CHINA TELECOM DIGITAL INTELLIGENCE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410783472.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-18
Publication Date
2024-09-03

AI Technical Summary

Technical Problem

When existing cloud resource pool management systems uniformly manage heterogeneous cloud resource pools, the collection plug-ins have poor compatibility and cannot effectively handle resource pool data with different technical systems built in different regions, resulting in low data management efficiency.

Method used

Propose a decoupling method for heterogeneous data collection plug-ins in cloud resource pools. Through the heterogeneous collection plug-in decoupling framework, including the interface system sub-frame and the data visualization sub-frame, standard and non-standard plug-ins are distinguished, and pre-stored standards are used. Data templates and data conversion templates process standard plug-in data, and non-standard plug-in data is processed through data visualization and non-standard data conversion templates to achieve unified parsing and conversion of data.

Benefits of technology

It achieves unified collection and processing of cloud resource pool data of different technical systems, shields the heterogeneity of resource pool management software, improves data management efficiency, has strong compatibility, and can flexibly respond to different business scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118585271A
    Figure CN118585271A
Patent Text Reader

Abstract

The invention relates to a decoupling method and device for a heterogeneous data collection plug-in of a cloud resource pool, and belongs to the field of data processing.The method comprises the steps that the collection plug-in of the cloud resource pool is obtained; judging the category of the collected plug-in; under the condition that the collection plug-ins are standard collection plug-ins, determining plug-in attributes of the standard collection plug-ins; sequentially performing data analysis and data conversion on the data acquired by the standard acquisition plug-in through a standard data template and a standard data conversion template which are pre-stored in the heterogeneous acquisition plug-in decoupling framework and correspond to the standard acquisition plug-in; under the condition that the collection plug-ins are non-standard collection plug-ins, performing data visualization on the non-standard collection plug-ins, and formulating a non-standard data template; making a non-standard data conversion template of the non-standard acquisition plug-in; sequentially performing data analysis and data conversion on the data acquired by the non-standard acquisition plug-in through the non-standard data template and the non-standard data conversion template; and storing the converted data in a database.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of data processing, and in particular relates to a decoupling method and device for heterogeneous data acquisition plug-ins for a cloud resource pool. Background Art

[0002] In the Internet era and the 5G network era, IT productivity represented by cloud computing, with its elastic scalability, finer resource granularity, and more flexible applications, has replaced the use of physical devices as infrastructure in most application scenarios, i.e., virtual servers, firewalls, load balancing, etc. have replaced traditional hardware devices. Virtualization technology and container technology have become the supporting technologies for cloud computing and are widely used in various IT companies, cloud service providers, operators and other industries.

[0003] In particular, after years of development, operators have built many different types of central cloud resource pools, edge cloud (MEC) resource pools, and various data centers in different regions. In order to optimize the resource structure, reduce resource investment costs, and improve resource efficiency, operators need to uniformly manage all types of resource pools, which requires unified monitoring of the massive resources in the resource pools. With the introduction of the middle platform technology, the lake-warehouse integrated data storage and application method, all types of monitoring, alarms, events, logs, etc. enter the data lake for unified storage and application.

[0004] However, resource pools built in different regions at different times use different technical systems and management systems. In particular, different data collection technologies are used to collect the performance, alarms, events, logs, etc. of various physical and virtual objects in the resource pool, including but not limited to open source plug-ins, paid software, self-developed software, etc. The collected data has no unified standard and is processed in the monitoring system after collection. Since it is necessary to uniformly manage heterogeneous cloud resource pools distributed in different locations (referring to the use of different cloud resource pool management systems), it is necessary to uniformly clean and pre-process the data collected by the collection plug-ins such as performance, alarms, events, logs, etc. Therefore, a set of methods and systems are needed that can be compatible and adaptable to various collection plug-ins and standardize the collected data.

[0005] In the existing cloud resource pool management system, there are various collection plug-ins and various formats of collected data. When multiple resource pools are managed in a unified manner, hard-coding is often used for adaptation, or standardized and unified collection plug-ins are used for data collection. This has poor compatibility and flexibility, and is unable to effectively handle resource pool data with different technical systems built in different regions at different times. Summary of the invention

[0006] In view of the above-mentioned deficiencies in the prior art, the purpose of the invention is to provide a decoupling method and device for heterogeneous data acquisition plug-ins for cloud resource pools, which can uniformly collect and process cloud resource pool data of different technical systems in a universal manner under the state of heterogeneous data acquisition plug-ins, shield the heterogeneity of resource pool management software, improve the data management efficiency of cloud resource pools of different technical systems, have strong compatibility, and can flexibly respond to different business scenarios.

[0007] In a first aspect of the present invention, a decoupling method for heterogeneous data acquisition plug-ins for a cloud resource pool is proposed, which is applied to a heterogeneous acquisition plug-in decoupling framework, wherein the heterogeneous acquisition plug-in decoupling framework includes an interface system subframework and an interactive configuration and data visualization subframework that are interconnected. The heterogeneous acquisition plug-in decoupling framework is used to access the acquisition plug-in of the cloud resource pool, and the method includes:

[0008] S1, obtaining a collection plug-in of a cloud resource pool, wherein the collection plug-in includes a standard collection plug-in and a non-standard collection plug-in;

[0009] S2, determine the type of the collection plug-in. If the collection plug-in type is a standard collection plug-in, enter S3; otherwise, enter S5;

[0010] S3, determining the plug-in attributes of the standard collection plug-in, wherein the plug-in attributes include the plug-in type and the plug-in version;

[0011] S4, according to the plug-in attributes, the data collected by the standard collection plug-in is analyzed and converted in sequence through the standard data template and the standard data conversion template corresponding to the standard collection plug-in pre-stored in the heterogeneous collection plug-in decoupling framework;

[0012] S5, visualize the data of non-standard acquisition plug-ins and formulate non-standard data templates;

[0013] S6, formulate non-standard data conversion template for non-standard acquisition plug-in;

[0014] S7, performing data analysis and data conversion on the data collected by the non-standard acquisition plug-in in sequence through the non-standard data template and the non-standard data conversion template;

[0015] S8, stores the converted data in the database, completing the decoupling of heterogeneous data collection plug-ins.

[0016] Furthermore, the collection plug-ins include Zabbix collection plug-in, Telegraf collection plug-in, Prometheus collection plug-in, ssh Agent collection plug-in, IPMI Agent collection plug-in and self-developed collection plug-in, wherein the self-developed collection plug-in is a collection plug-in independently developed according to the collection requirements of each manufacturer.

[0017] Furthermore, the collection plug-in of the cloud resource pool and the data collected by the collection plug-in are obtained in the form of a message queue through the heterogeneous collection plug-in decoupling framework.

[0018] Furthermore, the non-standard collection plug-in includes a self-developed collection plug-in.

[0019] Furthermore, non-standard data conversion templates are developed based on business requirements.

[0020] Furthermore, the database includes a relational database and a time series database.

[0021] Furthermore, S5 specifically includes:

[0022] Combine the front-end web and canvas to perform visual editing of non-standard acquisition plug-ins;

[0023] Convert the visually edited non-standard acquisition plug-in into json format or ymal format to obtain a non-standard data template.

[0024] Furthermore, S6 is specifically:

[0025] The non-standard fields of the non-standard acquisition plug-in are connected with the standard fields through the fields, and a non-standard data conversion template of the non-standard acquisition plug-in is formulated.

[0026] Furthermore, after S8, it also includes:

[0027] Set a collection cycle and repeat steps S2 to S8.

[0028] In a second aspect of the present invention, a decoupling device for heterogeneous data acquisition plug-ins for cloud resource pools is proposed, which is applied to a heterogeneous acquisition plug-in decoupling framework, wherein the heterogeneous acquisition plug-in decoupling framework includes an interface system subframework and an interactive configuration and data visualization subframework that are interconnected. The heterogeneous acquisition plug-in decoupling framework is used to access the acquisition plug-in of the cloud resource pool, and is used to implement the decoupling method for heterogeneous data acquisition plug-ins for cloud resource pools according to any one of the first aspects. The device includes:

[0029] An acquisition module, used to acquire a collection plug-in of a cloud resource pool, wherein the collection plug-in includes a standard collection plug-in and a non-standard collection plug-in;

[0030] A judgment module, used for judging the category of the collection plug-in, and calling the determination module if the category of the collection plug-in is a standard collection plug-in, otherwise, calling the first formulation module;

[0031] A determination module, used to determine the plug-in attributes of the standard acquisition plug-in, wherein the plug-in attributes include the plug-in type and the plug-in version;

[0032] The first parsing module is used to perform data parsing and data conversion on the data collected by the standard collection plug-in in turn according to the plug-in attributes through the standard data template and standard data conversion template corresponding to the standard collection plug-in pre-stored in the heterogeneous collection plug-in decoupling framework;

[0033] The first formulation module is used to visualize the data of non-standard acquisition plug-ins and formulate non-standard data templates;

[0034] The second formulation module is used to formulate a non-standard data conversion template for a non-standard acquisition plug-in;

[0035] The second parsing module sequentially performs data parsing and data conversion on the data collected by the non-standard acquisition plug-in through the non-standard data template and the non-standard data conversion template;

[0036] The storage module is used to store the converted data in the database and complete the decoupling of heterogeneous data collection plug-ins.

[0037] Furthermore, the collection plug-ins include Zabbix collection plug-in, Telegraf collection plug-in, Prometheus collection plug-in, ssh Agent collection plug-in, IPMI Agent collection plug-in and self-developed collection plug-in, wherein the self-developed collection plug-in is a collection plug-in independently developed according to the collection requirements of each manufacturer.

[0038] Furthermore, the collection plug-in of the cloud resource pool and the data collected by the collection plug-in are obtained in the form of a message queue through the heterogeneous collection plug-in decoupling framework.

[0039] Furthermore, the non-standard collection plug-in includes a self-developed collection plug-in.

[0040] Furthermore, non-standard data conversion templates are developed based on business requirements.

[0041] Furthermore, the database includes a relational database and a time series database.

[0042] Furthermore, the first formulation module is specifically used for:

[0043] Combine the front-end web and canvas to perform visual editing of non-standard acquisition plug-ins;

[0044] Convert the visually edited non-standard acquisition plug-in into json format or ymal format to obtain a non-standard data template.

[0045] Furthermore, the second formulation module is specifically used for:

[0046] The non-standard fields of the non-standard acquisition plug-in are connected with the standard fields through the fields, and a non-standard data conversion template of the non-standard acquisition plug-in is formulated.

[0047] Furthermore, it also includes:

[0048] The repeat module is used to formulate the collection cycle and repeat the judgment module to the storage module.

[0049] A third aspect of the present invention provides a decoupling system for heterogeneous data acquisition plug-ins in a cloud resource pool, comprising: a memory and one or more processors.

[0050] One or more application programs are stored in the memory, and the one or more application programs are suitable for being executed by one or more processors to implement the decoupling method for heterogeneous data acquisition plug-ins for cloud resource pools of the first aspect.

[0051] A fourth aspect of the present invention provides a computer-readable storage medium having a computer program stored thereon, which can be loaded and executed by a processor to implement the decoupling method for heterogeneous data acquisition plug-ins for cloud resource pools according to the first aspect.

[0052] The beneficial effects of the present invention are as follows:

[0053] The method and device of the present invention distinguish between standard and non-standard acquisition plug-ins. For standard acquisition plug-ins, the existing standard data template and the existing standard data conversion template are directly used to process the corresponding data. After the non-standard acquisition plug-in is detected, the non-standard data template and the non-standard data conversion template are formulated using data visualization technology. The formulated template is used to uniformly parse and convert the data collected by the non-standard acquisition plug-in in turn, so that the processed data can be uniformly stored in the warehouse, avoiding hard-coding data management of cloud resource pool data. This method can effectively process cloud resource pool data of different technical systems built in different regions at different times, and can uniformly collect and process cloud resource pool data of different technical systems in a universal manner under the state of heterogeneous data acquisition plug-ins, shielding the heterogeneity of resource pool management software, and improving the data management efficiency of cloud resource pools of different technical systems. It has strong compatibility and can flexibly respond to different business scenarios. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] The accompanying drawings are only used to illustrate specific embodiments and are not considered to limit the present invention. In the entire drawings, the same reference symbols represent the same components. Obviously, the drawings described below are only some embodiments recorded in the embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained based on these drawings.

[0055] Figure 1 A flowchart of a decoupling method for heterogeneous data collection plug-ins in a cloud resource pool provided by an embodiment of the present invention;

[0056] Figure 2 A schematic diagram of the structure of a heterogeneous acquisition plug-in decoupling framework provided by an embodiment of the present invention;

[0057] Figure 3 A schematic diagram of formulating a non-standard data template provided by an embodiment of the present invention;

[0058] Figure 4 A schematic diagram of formulating a non-standard data conversion template for a Prometheus collection plug-in provided in an embodiment of the present invention;

[0059] Figure 5 A schematic diagram of the structure of a decoupling device for heterogeneous data acquisition plug-ins for a cloud resource pool provided by an embodiment of the present invention;

[0060] Figure 6 A structural schematic diagram of a decoupling system for heterogeneous data acquisition plug-ins for cloud resource pools provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0061] In order to enable those skilled in the art to better understand the technical solutions in the embodiments of the present invention, the technical solutions of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all of the embodiments. It should be understood that these descriptions are only exemplary and are not intended to limit the scope of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in the field without making creative work should fall within the scope of protection of the present invention.

[0062] Furthermore, in the following description, descriptions of well-known structures and technologies are omitted to avoid unnecessarily obscuring the concepts disclosed in the present invention.

[0063] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the orientation or position relationship indicated by the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inside", "outside", etc. is based on the orientation or position relationship shown in the drawings, which is only for the convenience of describing the present invention and simplifying the description, and does not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation of the present invention. In addition, the terms "first", "second", and "third" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance. The terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be a connection between the two elements. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0064] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Instead, they are merely examples of methods and systems consistent with some aspects of the present invention as detailed in the appended claims.

[0065] The present invention proposes a decoupling method and device for heterogeneous data collection plug-ins in cloud resource pools to solve the problem that traditional data security methods rely on measures such as firewalls, encryption and access control, but these methods usually cannot solve the problem of internal data leakage. Desensitization technology can be used and shared in non-internal production environments, but the development and maintenance of custom data desensitization solutions requires a lot of time and resources, and the technology is complex and costly.

[0066] Method Embodiment

[0067] Reference Manual Attached Figure 1 , which shows a flow chart of a decoupling method for heterogeneous data collection plug-ins in a cloud resource pool provided by an embodiment of the present invention. Figure 2 , a structural schematic diagram of a heterogeneous acquisition plug-in decoupling framework provided by an embodiment of the present invention is shown.

[0068] An embodiment of the present invention provides a decoupling method for heterogeneous data acquisition plug-ins for a cloud resource pool, which is applied to a heterogeneous acquisition plug-in decoupling framework, wherein the heterogeneous acquisition plug-in decoupling framework includes an interface system subframe and an interactive configuration and data visualization subframe that are interconnected, and the heterogeneous acquisition plug-in decoupling framework is used to access the acquisition plug-ins of the cloud resource pool.

[0069] Methods include:

[0070] Specifically, the method includes steps S1 to S8.

[0071] S1, obtaining a collection plug-in of a cloud resource pool, wherein the collection plug-in includes a standard collection plug-in and a non-standard collection plug-in.

[0072] Among them, the cloud resource pool can be various types of cloud resource pools, that is, a heterogeneous cloud resource pool is an integration of hardware products from different manufacturers and different models, running different software, etc., especially referring to software running different monitoring systems, including but not limited to data acquisition plug-ins, storage methods, alarm methods, etc., which cannot be used universally in multiple cloud resource pools, or a collection of different cloud resource pools that cannot complete seamless transition through non-invasive operations.

[0073] Among them, standard acquisition plug-ins are plug-ins that comply with general data acquisition standards and follow the specifications or standards set by the industry or standardization organizations to facilitate integration and interaction with other systems or components. Non-standard acquisition plug-ins refer to data acquisition plug-ins that are customized or developed in a specific environment. They do not comply with general data formats or protocols, or are customized and cannot be directly integrated with other systems.

[0074] In a possible implementation, the collection plug-in includes a Zabbix collection plug-in, a Telegraf collection plug-in, a Prometheus collection plug-in, an ssh Agent collection plug-in, an IPMI Agent collection plug-in, and a self-developed collection plug-in, wherein the self-developed collection plug-in is a collection plug-in independently developed according to the collection requirements of each manufacturer.

[0075] Among them, the Zabbix collection plug-in is an open source network monitoring and management software. It provides a solution for centralized management and monitoring of networks, servers and applications. It can be used to monitor various network devices, servers and virtual machines, and provide real-time monitoring of their performance and availability. The Telegraf collection plug-in is an open source agent for collecting, processing and transmitting indicator data. It is a lightweight, modular tool that is often integrated with time series databases (such as InfluxDB) to achieve performance monitoring of systems, applications and networks. The Prometheus collection plug-in is an open source system monitoring and alarm tool for collecting, storing and querying time series data of systems and services for performance monitoring and troubleshooting. SSH (Secure Shell) is a network protocol for securely accessing remote computers over an insecure network. The SSH Agent collection plug-in mainly uses the SSH protocol to execute commands on remote servers and collect operating system-level data such as CPU usage, memory usage, disk space, running processes, etc. IPMI (Intelligent Platform Management Interface) is a hardware-level management interface standard that allows system administrators to manage and monitor system health and hardware status information even if the operating system is not running or the system is shut down. Self-developed collection plug-ins refer to data collection plug-ins independently developed by specific enterprises or organizations based on their own specific needs. Unlike the commonly seen standardized collection plug-ins on the market (such as Zabbix, Telegraf, Prometheus, etc.), self-developed collection plug-ins are usually designed to solve special needs that standard plug-ins do not meet or to optimize specific collection efficiency and data processing processes. These plug-ins may be designed specifically for specific hardware devices, software environments, or business scenarios to ensure that the required data types and formats can be effectively collected.

[0076] In a possible implementation, the collection plug-in of the cloud resource pool and the data collected by the collection plug-in are obtained in the form of a message queue through a heterogeneous collection plug-in decoupling framework.

[0077] It should be noted that the message queue provides an asynchronous communication mechanism, so that the acquisition process of the collection plug-in can be decoupled from the data processing process. The tasks acquired by the plug-in are placed in the message queue, and then the background system processes these tasks asynchronously, so that the main thread will not be blocked, which improves the concurrency and processing power of the system. In addition, the message queue usually has a certain fault tolerance mechanism, such as message persistence, message retry, etc., which can ensure that the message will not be lost even in abnormal circumstances, thereby improving the reliability and stability of the system. By using the message queue, the system can be easily expanded horizontally, that is, by increasing the consumers of the message queue to increase the processing power of the system, so as to cope with large-scale acquisition tasks of the collection plug-in. As a general communication mechanism, the message queue can easily support different types of collection plug-ins. Whether it is a standard or non-standard plug-in, it can be uniformly processed and managed through the message queue.

[0078] In summary, obtaining the collection plug-in of the cloud resource pool in the form of a message queue can improve the concurrency, reliability and scalability of the system, while decoupling the collection plug-in acquisition process from the data processing process, thereby better meeting the needs of the system.

[0079] In one possible implementation, the non-standard collection plug-in includes a self-developed collection plug-in.

[0080] S2, determine the type of the collection plug-in, if the collection plug-in type is a standard collection plug-in, enter S3, otherwise enter S5.

[0081] S3, determining the plug-in attributes of the standard collection plug-in, wherein the plug-in attributes include the plug-in type and the plug-in version.

[0082] It should be noted that by determining the type and version of the plug-in, we can better understand and manage the standard acquisition plug-in, thereby providing the necessary information and basis for subsequent data analysis and conversion. This ensures that appropriate processing strategies are adopted for plug-ins of different types and versions, and improves the flexibility and adaptability of the system.

[0083] S4, according to the plug-in attributes, the data collected by the standard collection plug-in is analyzed and converted in turn through the standard data template and standard data conversion template corresponding to the standard collection plug-in pre-stored in the heterogeneous collection plug-in decoupling framework.

[0084] The data conversion template is a prepared data format, which is the format in which the data is saved. The data format converted by all acquisition plug-ins follows this data template. Different companies have different data standards when storing data in the warehouse, so it is necessary to formulate a data storage template before conversion.

[0085] For standard collection plug-ins, the decoupling framework has customized data templates for different types and versions of collection plug-ins. After selecting the plug-in type and version, the standard plug-in automatically parses the data according to the customized data template. In addition, in the data conversion tool of the heterogeneous collection plug-in decoupling framework, there are already collection data formats and data types for collection plug-ins of different manufacturers and versions. After the storage data template is configured, it can automatically complete the adaptation and convert the collected data into the storage data model.

[0086] S5, visualize data for non-standard acquisition plug-ins and develop non-standard data templates.

[0087] Among them, non-standard data templates are a tool for processing and standardizing data collected from non-standard acquisition plug-ins. Since non-standard acquisition plug-ins are usually customized for specific applications or environments, the format, structure, and semantics of the data they collect may not conform to common or predefined standards. Therefore, the main purpose of non-standard data templates is to provide a structured and standardized framework for these data so that they can be effectively parsed, processed, stored, and analyzed by the system.

[0088] Specifically, for non-standard acquisition plug-ins, data visualization is first performed to present the data collected from these non-standard plug-ins in a visual form so that users can understand and analyze the data more intuitively. Data visualization can present data in the form of charts, graphs, etc., so that users can quickly understand the trends, changes and relevance of the data. According to different manufacturers, different business needs and the results of data visualization configuration, a data template for storage is formulated. This data template includes information such as the structure, format, and field definition of non-standard data, which is used to guide the processing steps after the non-standard acquisition plug-in collects data. According to the formulated data template, the non-standard acquisition plug-in performs data parsing. The raw data collected by the non-standard acquisition plug-in may have different formats, and through the formulated data template, the plug-in can parse and process the data in the prescribed format, so that the data can meet the unified standards and facilitate subsequent storage, analysis and application. Through this process, the system can process the data from the non-standard acquisition plug-in, realize data visualization and standardization, and thus provide a basis for subsequent data analysis and application. At the same time, the formulated data template can also be adjusted and optimized according to actual needs to meet the data processing needs in different scenarios.

[0089] Refer to the instruction manual Figure 3 , showing a schematic diagram of formulating a non-standard data template provided by an embodiment of the present invention.

[0090] In a possible implementation, S5 specifically includes:

[0091] Combine the front-end web and canvas to perform visual editing of non-standard acquisition plug-ins;

[0092] Convert the visually edited non-standard acquisition plug-in into json format or ymal format to obtain a non-standard data template.

[0093] Specifically, the front-end web technology is used to use canvas technology to visually edit the data to be collected, and the edited data template is converted into json or ymal format to prepare for the conversion of data from non-standard to the proposed standard template. Taking the Prometheus collection plug-in, the host "cpu utilization, host memory utilization" is selected as an example. In Prometheus, the identification data fields are: host_cpu_usage and host_memory_usage, which are identified in the form of class diagrams, such as Figure 3 As shown, after conversion, it becomes a json data model, which can also be in ymal format.

[0094] S6, formulate a non-standard data conversion template for a non-standard acquisition plug-in.

[0095] Among them, non-standard data conversion templates are a collection of rules and logic used to convert non-standard data into standardized data formats. These templates are specifically designed to process data collected from non-standard acquisition plug-ins (custom or special-purpose plug-ins) whose output may not conform to the generally accepted data format or structure. The main goal of non-standard data conversion templates is to ensure that this data can be understood and processed by other components in the system to support unified data processing processes and analysis.

[0096] Specifically, first, it is necessary to formulate conversion rules to clarify the mapping relationship between the data collected by the non-standard acquisition plug-in and the standard data template. These rules include the conversion of data names, data types, data units, etc., to ensure that the collected data can be correctly converted into the format and structure required by the standard data template. Then edit the acquisition data template: according to the formulated conversion rules, edit the acquisition data template for the acquisition plug-in, name it and store the version. This process is similar to formulating the standard plug-in data template, but it is customized for the special case of the non-standard acquisition plug-in. The edited acquisition data template includes information such as the name, type, and unit of the data, which is used to guide the data conversion tool to convert the data format. Automatic conversion by the data conversion tool: After the acquisition data template is formulated, the data conversion tool will automatically convert the data according to these templates, and convert the original data collected by the non-standard acquisition plug-in into a data format that meets the requirements of the standard data template. In this way, the standardization and conversion of non-standard data is realized, so that the data can be uniformly processed and stored. Through this process, the system can convert the data collected by the non-standard acquisition plug-in into a standardized format, providing a basis for subsequent data storage, analysis and application. At the same time, the formulated conversion rules and data collection templates can also be adjusted and optimized according to actual conditions to meet the data processing needs in different scenarios.

[0097] It should be noted that for non-standard collection plug-ins, the data names and data types of the collected data and the established standard data need to be converted. Before the conversion, it is necessary to formulate conversion rules, edit the collection data template for the collection plug-in, and perform naming and version storage. The function is similar to the standard plug-in data template, and then it is automatically converted into the storage data model by the data conversion tool.

[0098] In a possible implementation, a non-standard data conversion template is formulated according to business requirements.

[0099] Refer to the instruction manual Figure 4 , showing a schematic diagram of formulating a non-standard data conversion template of a Prometheus collection plug-in provided in an embodiment of the present invention.

[0100] In a possible implementation manner, the S6 is specifically:

[0101] The non-standard field of the non-standard acquisition plug-in is connected with the standard field through the field, and a non-standard data conversion template of the non-standard acquisition plug-in is formulated.

[0102] Specifically, the fields are connected to realize the mapping of non-standard fields to standard fields. Taking the Prometheus collection plug-in as an example, the host "cpu utilization, host memory utilization" is selected as an example to connect the non-standard fields with the standard fields. The connection part is automatically converted into a conversion executable code program, which is matched with the json format file generated in the previous step. After the Prometheus collection is completed, the data is sent to the conversion code program, and the output result is the standard data name and data format that have been standardized by the present invention.

[0103] S7, performing data analysis and data conversion on the data collected by the non-standard acquisition plug-in in turn through the non-standard data template and the non-standard data conversion template.

[0104] It should be noted that the data collected by the non-standard acquisition plug-in in this way is converted into a standardized format so that the data can be uniformly processed and stored by the system like standard data. This ensures the consistency and operability of the data and provides a basis for subsequent data analysis and application.

[0105] S8, stores the converted data in the database, completing the decoupling of heterogeneous data collection plug-ins.

[0106] It should be noted that the data storage process means the decoupling between heterogeneous data collection plug-ins and subsequent data processing processes. Even if the types and data formats of collection plug-ins are different, after unified data parsing and conversion, the data finally stored in the database has a unified format and structure, so that the subsequent data processing process can uniformly process these data without having to care about their original source. The data collected by different types of plug-ins are uniformly processed and stored in the database, which provides convenience for subsequent data processing and application. At the same time, due to the unified data storage, the system is easier to manage, query and analyze data.

[0107] In a possible implementation, the database includes a relational database and a time series database.

[0108] In the present invention, for the cloud resource pool with many types of resources, including but not limited to various hardware resources, virtualized resources, container resources and other scenarios, the collection protocols, methods, plug-ins are various, and the content of the collected data is extensive, including performance data, alarm data, status data, event data, log data, etc. Through the compatible adaptation of the heterogeneous collection plug-ins of the cloud resource pool and the standardization of the collected data, the resource pool is uniformly monitored and managed, thereby solving the collection plug-in compatibility problem and the collection data standardization problem faced by the unified monitoring and management of multiple resource pools. Therefore, in a flexible configuration method, various types of collection plug-ins are compatible, and different data collection plug-ins for various cloud resource pools built in different periods can automatically adapt to different collection plug-ins, and the data of different formats and structures collected by the heterogeneous collection plug-ins can be standardized and stored in different types of storage addresses, such as relational databases, time series databases, etc. Through the data configuration method, non-standard data is uniformly processed, and finally the unified format storage is completed in the data lake, the management efficiency of the heterogeneous cloud resource pool is improved, and the deployment restrictions of the resource pool are reduced.

[0109] It should be noted that the decoupling of the collection plug-in and the data conversion work can be flexibly adjusted according to the capacity and deployment mode of the resource pool. In the management of multiple resource pools at the same time, especially the edge resource pool, due to the small computing capacity of the edge resource pool, avoid increasing the resource consumption of the edge resource pool, and put the resource-consuming work such as data conversion in the central cloud resource pool, so as to reasonably configure the data processing solution.

[0110] In a possible implementation manner, after S8, the method further includes:

[0111] Set a collection cycle and repeat steps S2 to S8.

[0112] It should be noted that after the data template is solidified and adapted, data conversion is performed under a customized collection cycle.

[0113] It is understandable that by formulating a collection cycle and repeatedly executing the above steps, the system can realize automated management of data collection, processing and storage, thus ensuring the timeliness and accuracy of the data.

[0114] The beneficial effects of the present invention are as follows:

[0115] The method and device of the present invention distinguish between standard and non-standard acquisition plug-ins. For standard acquisition plug-ins, the existing standard data template and the existing standard data conversion template are directly used to process the corresponding data. After the non-standard acquisition plug-in is detected, the non-standard data template and the non-standard data conversion template are formulated using data visualization technology. The formulated template is used to uniformly parse and convert the data collected by the non-standard acquisition plug-in in turn, so that the processed data can be uniformly stored in the warehouse, avoiding hard-coding data management of cloud resource pool data. This method can effectively process cloud resource pool data of different technical systems built in different regions at different times, and can uniformly collect and process cloud resource pool data of different technical systems in a universal manner under the state of heterogeneous data acquisition plug-ins, shield the heterogeneity of resource pool management software, and improve the data management efficiency of cloud resource pools of different technical systems. It has strong compatibility and can flexibly respond to different business scenarios.

[0116] Device Embodiment

[0117] Reference Manual Attached Figure 5 , showing a structural schematic diagram of a decoupling device for a heterogeneous data acquisition plug-in for a cloud resource pool provided by an embodiment of the present invention.

[0118] Another specific embodiment of the present invention discloses a decoupling device for heterogeneous data acquisition plug-ins for cloud resource pools, which is applied to a heterogeneous acquisition plug-in decoupling framework, wherein the heterogeneous acquisition plug-in decoupling framework includes an interface system subframe and an interactive configuration and data visualization subframe that are interconnected. The heterogeneous acquisition plug-in decoupling framework is used to access the acquisition plug-in of the cloud resource pool, and is used to implement the decoupling method for heterogeneous data acquisition plug-ins for cloud resource pools in any one of the method embodiments. The decoupling device 20 for heterogeneous data acquisition plug-ins for cloud resource pools includes:

[0119] The acquisition module 201 is used to acquire a collection plug-in of a cloud resource pool, wherein the collection plug-in includes a standard collection plug-in and a non-standard collection plug-in.

[0120] The judgment module 202 is used to judge the category of the collection plug-in. If the category of the collection plug-in is a standard collection plug-in, the determination module is called; otherwise, the first formulation module is called.

[0121] The determination module 203 is used to determine the plug-in attributes of the standard acquisition plug-in, wherein the plug-in attributes include the plug-in type and the plug-in version.

[0122] The first parsing module 204 is used to perform data parsing and data conversion on the data collected by the standard collection plug-in in turn according to the plug-in attributes through the standard data template and standard data conversion template corresponding to the standard collection plug-in pre-stored in the heterogeneous collection plug-in decoupling framework.

[0123] The first formulation module 205 is used to visualize the data of the non-standard acquisition plug-in and formulate a non-standard data template.

[0124] The second formulation module 206 is used to formulate a non-standard data conversion template for a non-standard acquisition plug-in.

[0125] The second parsing module 207 performs data parsing and data conversion on the data collected by the non-standard collection plug-in in sequence through the non-standard data template and the non-standard data conversion template.

[0126] The storage module 208 is used to store the converted data in the database to complete the decoupling of the heterogeneous data collection plug-in.

[0127] In a possible implementation, the collection plug-in includes a Zabbix collection plug-in, a Telegraf collection plug-in, a Prometheus collection plug-in, an ssh Agent collection plug-in, an IPMI Agent collection plug-in, and a self-developed collection plug-in, wherein the self-developed collection plug-in is a collection plug-in independently developed according to the collection requirements of each manufacturer.

[0128] In a possible implementation, the collection plug-in of the cloud resource pool and the data collected by the collection plug-in are obtained in the form of a message queue through a heterogeneous collection plug-in decoupling framework.

[0129] In a possible implementation, the non-standard acquisition plug-in includes a self-developed acquisition plug-in.

[0130] In a possible implementation, a non-standard data conversion template is formulated according to business requirements.

[0131] In a possible implementation, the database includes a relational database and a time series database.

[0132] In a possible implementation, the first formulation module is specifically used for:

[0133] Combine the front-end web and canvas to perform visual editing of non-standard acquisition plug-ins;

[0134] Convert the visually edited non-standard acquisition plug-in into json format or ymal format to obtain a non-standard data template.

[0135] In a possible implementation, the second formulation module is specifically used for:

[0136] The non-standard fields of the non-standard acquisition plug-in are connected with the standard fields through the fields, and a non-standard data conversion template of the non-standard acquisition plug-in is formulated.

[0137] In a possible implementation, it further includes:

[0138] The repeat module is used to formulate the collection cycle and repeat the judgment module to the storage module.

[0139] The device provided in the embodiment of the present invention can implement each process and step in the above method embodiment, and can obtain the same or similar technical effects. To avoid repetition, the present invention will not go into details.

[0140] The beneficial effects of the present invention are as follows:

[0141] The method and device of the present invention distinguish between standard and non-standard acquisition plug-ins. For standard acquisition plug-ins, the existing standard data template and the existing standard data conversion template are directly used to process the corresponding data. After the non-standard acquisition plug-in is detected, the non-standard data template and the non-standard data conversion template are formulated using data visualization technology. The formulated template is used to uniformly parse and convert the data collected by the non-standard acquisition plug-in in turn, so that the processed data can be uniformly stored in the warehouse, avoiding hard-coding data management of cloud resource pool data. This method can effectively process cloud resource pool data of different technical systems built in different regions at different times, and can uniformly collect and process cloud resource pool data of different technical systems in a universal manner under the state of heterogeneous data acquisition plug-ins, shielding the heterogeneity of resource pool management software, and improving the data management efficiency of cloud resource pools of different technical systems. It has strong compatibility and can flexibly respond to different business scenarios.

[0142] System Example

[0143] Reference Manual Attached Figure 6 , showing a structural schematic diagram of a decoupling system for a cloud resource pool heterogeneous data acquisition plug-in provided by an embodiment of the present invention.

[0144] The present invention proposes a decoupling system 30 for heterogeneous data acquisition plug-ins in a cloud resource pool, comprising: a memory 303 and one or more processors 301 .

[0145] One or more application programs are stored in the memory 303 , and the one or more application programs are suitable for being executed by the one or more processors 301 to implement the decoupling method for heterogeneous data acquisition plug-ins for cloud resource pools described in the method embodiment.

[0146] The decoupling system 30 for heterogeneous data collection plug-ins in cloud resource pools includes: a processor 301 and a memory 303. The processor 301 and the memory 303 are connected, for example, through a bus 302.

[0147] The structure of the decoupling system 30 for heterogeneous data acquisition plug-ins for cloud resource pools does not constitute a limitation on the embodiments of the present invention.

[0148] Processor 301 may be a CPU, a general purpose processor, a DSP, an ASIC, an FPGA or other programmable logic device, a transistor logic device, a hardware component or any combination thereof. It may implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of the present invention. Processor 301 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc.

[0149] The bus 302 may include a path to transmit information between the above components. The bus 302 may be a PCI bus or an EISA bus, etc. The bus 302 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.

[0150] The memory 303 can be a ROM or other type of static storage device that can store static information and instructions, a RAM or other type of dynamic storage device that can store information and instructions, or an EEPROM, a CD-ROM or other optical disk storage, an optical disk storage (including a compressed optical disk, a laser disk, an optical disk, a digital versatile disk, a Blu-ray disk, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited to these.

[0151] Computer Readable Storage Medium Embodiments

[0152] The present invention proposes a computer-readable storage medium having a computer program stored thereon, which can be loaded and executed by a processor according to the decoupling method for heterogeneous data acquisition plug-ins for cloud resource pools as described in the first aspect.

[0153] The applicant of the present invention has made a detailed explanation and description of the implementation examples of the present invention in conjunction with the drawings in the specification. However, those skilled in the art should understand that the above implementation examples are only preferred implementation schemes of the present invention, and the detailed description is only to help readers better understand the spirit of the present invention, but not to limit the scope of protection of the present invention. On the contrary, any improvements or modifications based on the inventive spirit of the present invention should fall within the scope of protection of the present invention.

[0154] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the embodiments of the present invention, rather than to limit them. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that they can still modify the technical solutions recorded in the above embodiments, or replace some of the technical features therein by equivalents; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention. Any changes or replacements that can be easily thought of by those skilled in the art within the technical scope disclosed in the present invention should be covered within the protection scope of the present invention.

Claims

1. A decoupling method for heterogeneous data collection plug-ins in cloud resource pools, characterized in that: Applied to a heterogeneous acquisition plug-in decoupling framework, wherein the heterogeneous acquisition plug-in decoupling framework includes an interface system subframework and an interactive configuration and data visualization subframework that are interconnected, and the heterogeneous acquisition plug-in decoupling framework is used to access the acquisition plug-in of the cloud resource pool, and the method includes: S1, obtaining a collection plug-in of the cloud resource pool, wherein the collection plug-in includes a standard collection plug-in and a non-standard collection plug-in; S2, determine the type of the acquisition plug-in, if the acquisition plug-in type is a standard acquisition plug-in, enter S3, otherwise, enter S5; S3, determining the plug-in attributes of the standard acquisition plug-in, wherein the plug-in attributes include the plug-in type and the plug-in version; S4, according to the plug-in attributes, sequentially performing data parsing and data conversion on the data collected by the standard acquisition plug-in through the standard data template and standard data conversion template corresponding to the standard acquisition plug-in pre-stored in the heterogeneous acquisition plug-in decoupling framework; S5, performing data visualization on the non-standard acquisition plug-in and formulating a non-standard data template; S6, formulating a non-standard data conversion template for the non-standard acquisition plug-in; S7, performing data analysis and data conversion on the data collected by the non-standard acquisition plug-in in sequence through the non-standard data template and the non-standard data conversion template; S8, stores the converted data in the database, completing the decoupling of heterogeneous data collection plug-ins.

2. According to claim 1, a decoupling method for heterogeneous data collection plug-ins for cloud resource pools is characterized in that: The collection plug-ins include Zabbix collection plug-in, Telegraf collection plug-in, Prometheus collection plug-in, sshAgent collection plug-in, IPMI Agent collection plug-in and self-developed collection plug-in, wherein the self-developed collection plug-in is a collection plug-in independently developed according to the collection requirements of each manufacturer.

3. According to claim 1, a decoupling method for heterogeneous data collection plug-ins for cloud resource pools is characterized in that: The heterogeneous acquisition plug-in decoupling framework obtains the acquisition plug-in of the cloud resource pool and the data collected by the acquisition plug-in in the form of a message queue.

4. The decoupling method for heterogeneous data collection plug-ins for cloud resource pools according to claim 1 is characterized in that: The non-standard acquisition plug-ins include self-developed acquisition plug-ins of different manufacturers.

5. The decoupling method for heterogeneous data collection plug-ins in cloud resource pools according to claim 1 is characterized in that: The non-standard data conversion template is formulated according to business requirements.

6. The decoupling method for heterogeneous data collection plug-ins for cloud resource pools according to claim 1 is characterized in that: The database includes a relational database and a time series database.

7. The decoupling method for heterogeneous data collection plug-ins for cloud resource pools according to claim 1 is characterized in that: The S5 specifically includes: Combining the front-end web and canvas to visually edit the non-standard acquisition plug-in; The non-standard acquisition plug-in after visual editing is converted into json format or ymal format to obtain the non-standard data template.

8. The decoupling method for heterogeneous data collection plug-ins in cloud resource pools according to claim 1, characterized in that: The S6 is specifically: The non-standard field of the non-standard acquisition plug-in is connected with the standard field through the field, and a non-standard data conversion template of the non-standard acquisition plug-in is formulated.

9. The decoupling method for heterogeneous data collection plug-ins in cloud resource pools according to claim 1, characterized in that: After S8, the method further includes: Set a collection cycle and repeat steps S2 to S8.

10. A decoupling device for heterogeneous data collection plug-ins in a cloud resource pool, characterized in that: The invention is applied to a heterogeneous acquisition plug-in decoupling framework, wherein the heterogeneous acquisition plug-in decoupling framework includes an interface system subframe and an interactive configuration and data visualization subframe connected to each other, and the heterogeneous acquisition plug-in decoupling framework is used to access the acquisition plug-in of the cloud resource pool, and is used to implement the decoupling method for heterogeneous data acquisition plug-ins for cloud resource pools according to any one of claims 1 to 9, and the device includes: An acquisition module, used for acquiring a collection plug-in of the cloud resource pool, wherein the collection plug-in includes a standard collection plug-in and a non-standard collection plug-in; A judging module, used for judging the category of the acquisition plug-in, and calling the determining module if the category of the acquisition plug-in is a standard acquisition plug-in, otherwise, calling the first formulating module; A determination module, used to determine the plug-in attributes of the standard acquisition plug-in, wherein the plug-in attributes include the plug-in type and the plug-in version; A first parsing module, configured to perform data parsing and data conversion on the data collected by the standard collection plug-in in sequence according to the plug-in attributes through the standard data template and the standard data conversion template corresponding to the standard collection plug-in pre-stored in the heterogeneous collection plug-in decoupling framework; A first formulation module is used to visualize the data of the non-standard acquisition plug-in and formulate a non-standard data template; A second formulation module is used to formulate a non-standard data conversion template of the non-standard acquisition plug-in; A second parsing module performs data parsing and data conversion on the data collected by the non-standard acquisition plug-in in sequence through the non-standard data template and the non-standard data conversion template; The storage module is used to store the converted data in the database and complete the decoupling of heterogeneous data collection plug-ins.