A heterogeneous cloud platform auxiliary management method, device, equipment and storage medium

By pulling and parsing cloud platform message data through scheduled tasks in the government cloud scenario, converting and saving it to the database, and performing configuration information comparison calculations, the problem of inconsistency in cloud platform resource management is solved and data accuracy and information are achieved. The timeliness of synchronization helps troubleshoot system problems and achieves auxiliary management effects.

CN118364019BActive Publication Date: 2024-09-06SHANDONG LANGCHAO YUNTOU INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410789081.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-19
Publication Date
2024-09-06
Estimated Expiration
2044-06-19

AI Technical Summary

Technical Problem

In the government cloud scenario, due to the differences in management models and architectures of each cloud center, cloud platform resource management is inconsistent, resulting in data inconsistency problems. Especially in a huge system, it is difficult to ensure the accuracy of data and the timeliness of information synchronization.

Method used

Pull the message data from the cloud platform through scheduled tasks, perform data analysis and conversion, save it to a preset database, compare and calculate the configuration information, generate calculation results and upload them to the resource management center to determine whether to issue exception reminders and generate data reports , to achieve data accuracy and timely information synchronization.

Benefits of technology

It solves the consistency problem of cloud resource data in the management system at each management level of the cloud platform, helps troubleshoot potential system problems through exception reminders, ensures the accuracy of data and the timeliness of information synchronization, and achieves the effect of auxiliary management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118364019B
    Figure CN118364019B
Patent Text Reader

Abstract

The present application discloses a heterogeneous cloud platform auxiliary management method, device, equipment and storage medium, which relates to the field of data management, including: pulling message data of several preset cloud platforms based on a scheduled task, and performing data analysis to determine the first structured data and unstructured data in the message data; performing data conversion on the unstructured data to convert it into the second structured data, and saving the target structured data to a preset database; wherein the target structured data includes the first structured data and the second structured data; reading the configuration information of several preset cloud platforms, and performing comparative calculation on the configuration information and the target structured data; uploading the calculation results to the resource management center, determining whether to perform an abnormal reminder based on the feedback processing instructions, and generating a data report based on the calculation results. In this way, potential system problems can be checked, the accuracy of data and the timeliness of information synchronization can be guaranteed, so as to achieve the effect of auxiliary management.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data management, and in particular to a heterogeneous cloud platform auxiliary management method, device, equipment and storage medium. Background Art

[0002] In the government cloud scenario, the cloud platform usually includes several layers, including the virtualization platform, the underlying management system, and the upper-layer cloud computing management system. In this hierarchical deployment model, the business characteristics and focus of each layer are different, but the management of cloud resources runs vertically through each functional level. Due to the differences in the management modes of each cloud center, the architecture mode of the cloud platform is also different. There are also specific scenarios where resources need to be directly opened on the underlying platform. When such resources cannot be added to the cloud management platform in a timely manner, it causes data inconsistency between management systems at different levels.

[0003] For data inconsistency, we usually first obtain the difference between the underlying data and the upper data through the interface. We process it by re-entering the data and sending messages. When the entire system is extremely large, it becomes very complicated to implement. How to ensure the accuracy of data and the timeliness of information synchronization becomes particularly important. Therefore, we need an auxiliary management method to ensure the accuracy of data and the timeliness of information synchronization. Summary of the invention

[0004] In view of this, the purpose of the present invention is to provide a heterogeneous cloud platform auxiliary management method, device, equipment and storage medium, which can troubleshoot potential system problems, ensure the accuracy of data and the timeliness of information synchronization, so as to achieve the effect of auxiliary management. The specific scheme is as follows:

[0005] In a first aspect, the present application discloses a heterogeneous cloud platform auxiliary management method, comprising:

[0006] Pulling message data of several preset cloud platforms based on a scheduled task, and performing data analysis on the message data to determine first structured data and unstructured data in the message data;

[0007] Performing data conversion on the unstructured data to convert the unstructured data into second structured data, and saving the target structured data to a preset database; wherein the target structured data includes the first structured data and the second structured data;

[0008] Reading configuration information of the plurality of preset cloud platforms, and performing comparative calculation on the configuration information and the target structured data to obtain corresponding calculation results;

[0009] The calculation results are uploaded to the resource management center to determine whether to issue an abnormal reminder based on the processing instructions fed back by the resource management center, and a data report is generated based on the calculation results.

[0010] Optionally, pulling message data of several preset cloud platforms based on a scheduled task and performing data parsing on the message data to determine first structured data and unstructured data in the message data includes:

[0011] Determine a data pulling cycle according to the scheduled task, and call a preset interface based on the data pulling cycle to pull message data of several preset cloud platforms;

[0012] Performing data structure analysis and data parsing on the message data to determine first structured data and unstructured data in the message data.

[0013] Optionally, the performing data conversion on the unstructured data to convert the unstructured data into second structured data, and before saving the target structured data to a preset database, further includes:

[0014] If a real-time calling instruction is received, the preset interface is called based on the real-time calling instruction to pull the message data of the plurality of preset cloud platforms.

[0015] Optionally, performing data conversion on the unstructured data to convert the unstructured data into second structured data, and saving the target structured data to a preset database includes:

[0016] directly saving the first structured data to a preset database;

[0017] The unstructured data is converted by a preset script to convert the unstructured data into structured data to obtain second structured data, and the second structured data is saved in the preset database.

[0018] Optionally, the converting the unstructured data by using a preset script to convert the unstructured data into structured data to obtain second structured data, and saving the second structured data to the preset database includes:

[0019] Reading the unstructured data to determine whether the unstructured data contains a tab stop, and if the unstructured data contains the tab stop, replacing the tab stop with a space using a regular expression;

[0020] Replacing the separator character in the unstructured data with the tab stop to obtain converted data;

[0021] A temporary table file is generated based on the converted data, and data cleaning and mapping conversion are performed on the temporary table file to obtain second structured data, and the second structured data is saved in the preset database.

[0022] Optionally, the reading of the configuration information of the plurality of preset cloud platforms and performing comparative calculation on the configuration information and the structured data to obtain corresponding calculation results includes:

[0023] Determine whether the configuration data of the preset cloud platforms exist locally, and if not, call the preset commodity information configuration center to obtain the configuration data, and save the configuration data locally;

[0024] Comparative calculation is performed on the configuration data and the structured data to determine whether there is information anomaly according to the obtained calculation result.

[0025] Optionally, uploading the calculation result to a resource management center to determine whether to issue an abnormal reminder based on a processing instruction fed back by the resource management center, and generating a data report based on the calculation result, includes:

[0026] Upload the calculation results to the resource management center, and determine whether to enable email notification or announcement notification based on the processing instructions fed back by the resource management center;

[0027] If email notification is enabled, the recipient address is queried and the email service is called to send an abnormal reminder email to the recipient address;

[0028] If the announcement notification is turned on, an abnormal announcement will be generated and pushed to the front-end page for abnormal reminder;

[0029] A data report is generated based on the calculation result, and the data report is saved locally.

[0030] In a second aspect, the present application discloses a heterogeneous cloud platform auxiliary management device, comprising:

[0031] A data analysis module, used to pull message data of several preset cloud platforms based on a scheduled task, and perform data analysis on the message data to determine first structured data and unstructured data in the message data;

[0032] A data conversion module, used to perform data conversion on the unstructured data to convert the unstructured data into second structured data, and save the target structured data to a preset database; wherein the target structured data includes the first structured data and the second structured data;

[0033] A comparison calculation module, used for reading the configuration information of the plurality of preset cloud platforms, and performing comparison calculation on the configuration information and the target structured data to obtain corresponding calculation results;

[0034] The abnormality reminder module is used to upload the calculation results to the resource management center to determine whether to make an abnormality reminder based on the processing instructions fed back by the resource management center, and generate a data report based on the calculation results.

[0035] In a third aspect, the present application discloses an electronic device, comprising:

[0036] Memory, used to store computer programs;

[0037] A processor is used to execute the computer program to implement the heterogeneous cloud platform assisted management method as described above.

[0038] In a fourth aspect, the present application discloses a computer-readable storage medium for storing a computer program, which, when executed by a processor, implements the heterogeneous cloud platform assisted management method as described above.

[0039] In the present application, firstly, based on the scheduled task, the message data of several preset cloud platforms are pulled, and the message data is parsed to determine the first structured data and the unstructured data in the message data, and then the unstructured data is converted to convert the unstructured data into the second structured data, and the target structured data is saved to the preset database, and the configuration information of the several preset cloud platforms is read, and the configuration information and the target structured data are compared and calculated to obtain the corresponding calculation results, and finally the calculation results are uploaded to the resource management center to determine whether to perform abnormal reminders based on the processing instructions fed back by the resource management center, and generate data reports based on the calculation results. It can be seen that through the method of the present application, the message data of several preset cloud platforms can be obtained, and the message data can be parsed to determine the structured data and the unstructured data in the message data, and the unstructured data can be converted to the structured data, and the structured data can be saved to the preset database, and the structured data can be directly saved. Then, the configuration information of several cloud platforms is read, and the configuration information and structured data are compared and calculated to obtain the corresponding calculation results. Finally, the calculation results are uploaded to the resource management center to determine whether to issue an abnormal reminder based on the processing instructions fed back by the resource management center, and generate corresponding data reports based on the calculation results. In this way, the consistency problem of cloud resource data in the management system of each management level of the cloud platform can be solved, and in the case of different generated data, abnormal reminders can be issued, which helps to troubleshoot potential problems in the system, thereby ensuring the accuracy of the data and the timeliness of information synchronization, thereby achieving the effect of auxiliary management. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.

[0041] Figure 1 A flow chart of a heterogeneous cloud platform auxiliary management method disclosed in this application;

[0042] Figure 2 A schematic diagram of a calling method disclosed in this application;

[0043] Figure 3 A cloud platform hierarchical architecture diagram disclosed in this application;

[0044] Figure 4 A data calculation and processing flow chart disclosed in this application;

[0045] Figure 5 A flowchart of a specific heterogeneous cloud platform auxiliary management method disclosed in this application;

[0046] Figure 6 A flowchart of unstructured data processing disclosed in this application;

[0047] Figure 7 This is another specific flow chart of the heterogeneous cloud platform auxiliary management method disclosed in this application;

[0048] Figure 8 A message notification flow chart disclosed in this application;

[0049] Fig. 9 A schematic diagram of the structure of a heterogeneous cloud platform auxiliary management device disclosed in this application;

[0050] Fig.10 This is a structural diagram of an electronic device disclosed in this application. DETAILED DESCRIPTION

[0051] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0052] In the prior art, for data inconsistency, the difference between the bottom layer data and the upper layer data is generally obtained through the interface first. However, when the entire system is extremely large, it becomes extremely complicated to implement by re-recording data and message notification, and the accuracy of data and the timeliness of information synchronization cannot be guaranteed.

[0053] In order to overcome the above technical problems, the present application discloses a heterogeneous cloud platform auxiliary management method, device, equipment and storage medium, which can check potential system problems, ensure the accuracy of data and the timeliness of information synchronization, so as to achieve the effect of auxiliary management.

[0054] See also Figure 1 As shown, an embodiment of the present invention discloses a heterogeneous cloud platform auxiliary management method, including:

[0055] Step S11: Pull message data of several preset cloud platforms based on the scheduled task, and perform data analysis on the message data to determine the first structured data and unstructured data in the message data.

[0056] In this embodiment, it is necessary to obtain message data of several different preset cloud platforms. It should be noted that there are two ways to obtain message data, corresponding to two different specific scenarios, such as Figure 2 As shown, in the first specific scenario, the message data can be pulled regularly according to the preset cycle, and the message data can be obtained by active detection. Specifically, the data pulling cycle can be determined according to the scheduled task, so as to call the preset interface according to the data pulling cycle to pull the message data of several preset cloud platforms regularly. In the second specific scenario, if the user has a real-time call demand, the preset interface can be called through the real-time call instruction to pull the message data of several preset cloud platforms, and the preset interface called is the rest interface of the underlying cloud platform. In this way, through the method of the present application, it is possible to support two modes of manual active triggering and scheduled tasks to provide data inspection to meet different management needs. These two methods can be used according to actual conditions to meet two different management demands, and the execution start and stop and execution cycle of the scheduled task can also be flexibly configured through the database, which improves the convenience of operation.

[0057] After the message data is obtained, data structure analysis and data parsing can be performed on the message data to determine the first structured data and unstructured data in the message data. It should be noted that, if Figure 3 As shown, in the government cloud scenario, there are many different cloud platforms, and the message formats returned by different cloud platforms are different to a certain extent. Therefore, the message data returned by different platforms may contain structured data and unstructured data. Therefore, after obtaining the insulation data, it is necessary to perform data structure analysis and data parsing on the message data to determine the structured data and unstructured data in the message data. The obtained unstructured data needs to be converted into structured data, and the directly obtained structured data is directly saved. In order to distinguish the structured data, the structured data obtained by parsing is named the first structured data, and the structured data obtained by converting the unstructured data is named the second structured data.

[0058] Step S12: performing data conversion on the unstructured data to convert the unstructured data into second structured data, and saving the target structured data to a preset database; wherein the target structured data includes the first structured data and the second structured data.

[0059] In this embodiment, it is necessary to perform data conversion on the unstructured data to convert the unstructured data into structured data. Specifically, the unstructured data can be converted by a preset script, wherein the preset script can be a script file programmed in any computer language. In this application, the unstructured data is converted by a python script, and the tabs in the unstructured data can be replaced with spaces, and the separator characters in the unstructured data can be replaced with tabs. Then, a temporary table file is generated based on the converted data obtained, and the temporary table file is cleaned and mapped to obtain the second structured data. Finally, the target structured data is saved to the preset database. It should be noted that the target structured data includes the first structured data and the second structured data. In this way, it is more concise to process by means of a python script, and multiple scripts can be used to work together to improve processing efficiency. And the flexible and lightweight characteristics of the python script can effectively reduce the workload of development.

[0060] Step S13: read the configuration information of the plurality of preset cloud platforms, and perform comparative calculation on the configuration information and the target structured data to obtain corresponding calculation results.

[0061] In this embodiment, Figure 4 As shown, it is necessary to compare and calculate the configuration information and structured data of the cloud platform to determine whether there is an abnormality according to the calculation results. The specific process is as follows: determine whether there are several preset cloud platform configuration data locally. If not, call the preset commodity information configuration center to obtain the configuration data and save the configuration data locally; compare and calculate the configuration data and the structured data to determine whether there is an information abnormality of inconsistent data according to the obtained calculation results. That is, it is necessary to read the delivery method configuration data of various cloud platforms and determine whether there are several preset cloud platform configuration data in the local cache. If not, call the preset commodity information configuration center to obtain the configuration data and refresh the local cache to save the configuration data locally; if there is cloud platform configuration data locally, calculate the online service activation of the cloud platform according to the configuration data and structured data, and save the calculation structure to the resource management center, so as to determine whether to make an abnormal notification according to the calculation results. In this way, potential problems can be found by comparing and calculating the data. In the case of data inconsistency, the system can be checked to find potential problems.

[0062] Step S14: uploading the calculation results to the resource management center to determine whether to issue an abnormal reminder based on the processing instructions fed back by the resource management center, and generating a data report based on the calculation results.

[0063] In this embodiment, the calculation results need to be uploaded to the resource management center. The user can issue corresponding instructions in the resource management center to determine whether to enable abnormal reminders. Specifically, the calculation results can be uploaded to the resource management center, and based on the processing instructions fed back by the resource management center, it is determined whether to enable email notifications and announcement notifications. If email notifications are enabled, the recipient address is queried, and the email service is called to send an abnormal reminder email to the recipient address; if the announcement notification is enabled, an abnormal announcement is generated, and the abnormal announcement is pushed to the front-end page for abnormal reminders. Finally, a data report can be generated based on the calculation results and saved locally. In this way, the data results will be uploaded to the traditional resource management center, and the manager can control the operation of each cloud platform from a global dimension. For the management of each cloud platform or cloud center, messages can be delivered to managers through Excel export, email message notification or system announcement notification, thereby improving management speed and efficiency, thereby realizing the function of auxiliary management.

[0064] It can be seen that through the method of the present application, the message data of several preset cloud platforms can be obtained, and the message data can be analyzed to determine the structured data and unstructured data in the message data, and the unstructured data can be converted into the structured data, and the structured data can be saved to the preset database. For structured data, it can be directly saved. Then read the configuration information of several cloud platforms, and compare and calculate the configuration information and structured data to obtain the corresponding calculation results, and finally upload the calculation results to the resource management center to determine whether to perform abnormal reminders based on the processing instructions fed back by the resource management center, and generate corresponding data reports based on the calculation results. In this way, on the one hand, the underlying data can be obtained by compatible modes such as interface and file parsing to provide reliable guarantee for data consistency; on the other hand, it can support two modes of manual active triggering and scheduled tasks to provide data inspection to meet different management needs. These two methods can be used according to actual conditions to meet two different management demands, and the execution start and stop and execution cycle of scheduled tasks can also be flexibly configured through the database, which improves the convenience of operation; on the other hand, managers can be reminded of abnormalities in different ways, thereby playing an auxiliary management effect.

[0065] Based on the above embodiments, it can be seen that the method of the present application needs to transform the unstructured data to transform the unstructured data into structured data. Therefore, this embodiment describes in detail how to transform the unstructured data. Figure 5 As shown, an embodiment of the present invention discloses a heterogeneous cloud platform auxiliary management method, including:

[0066] Step S21: Pull message data of several preset cloud platforms based on the scheduled task, and perform data analysis on the message data to determine the first structured data and unstructured data in the message data.

[0067] Step S22: directly save the first structured data to a preset database.

[0068] In this embodiment, the structured data in the message data can be directly saved in a preset database.

[0069] Step S23: convert the unstructured data into structured data by using a preset script to obtain second structured data, and save the second structured data to the preset database.

[0070] In this embodiment, for unstructured data, Figure 6 As shown, it can be processed by a python script. First, the text file corresponding to the unstructured data is read, and then it is determined whether the text file contains a tab. If it contains a tab, the tab is replaced with a space through a regular expression. If it does not contain a tab, the special characters such as "|" that can be used as line breaks are replaced with tabs. Then the converted text is converted into an Excel temporary file, and then the Excel temporary file is cleaned and mapped. After reading Excel, the attribute items of each column need to be processed to determine whether the first position of the data contains a space, that is, to determine whether the beginning and end of each field contain a space. If it does, the space is replaced, and then the field whose value of the attribute item needs to be mapped and converted is converted. In this way, the unstructured data can be converted into the second structured data, and the second structured data is stored in the warehouse. It should be noted that the second structured data is only distinguished from the first structured data directly stored in the warehouse in terms of naming, and there is no difference between the two structured data.

[0071] Step S24: read the configuration information of the plurality of preset cloud platforms, and perform comparative calculation on the configuration information and the target structured data to obtain corresponding calculation results.

[0072] Step S25: Upload the calculation result to the resource management center to determine whether to issue an abnormal reminder based on the processing instruction fed back by the resource management center, and generate a data report based on the calculation result.

[0073] It should be noted that the detailed description of step S21, step S24 and step S25 can be referred to the aforementioned embodiment and will not be repeated here.

[0074] It can be seen that the method of the present application can use a python script file combined with a regular expression filtering method to analyze unstructured text, determine available fields, and fields that can be used as tabs to generate Excel for subsequent use, and replace and remove some characters through a python script file, and finally parse and convert to generate structured data. This makes full use of the flexible and lightweight characteristics of the python script, effectively reducing the development workload.

[0075] Based on the above embodiments, it can be known that the method of the present application can be used to perform abnormal reminders in a variety of ways. Therefore, this embodiment provides a detailed description of how to perform abnormal reminders. Figure 7 As shown, an embodiment of the present invention discloses a heterogeneous cloud platform auxiliary management method, including:

[0076] Step S31: Pull message data of several preset cloud platforms based on the scheduled task, and perform data analysis on the message data to determine the first structured data and unstructured data in the message data.

[0077] Step S32: performing data conversion on the unstructured data to convert the unstructured data into second structured data, and saving the target structured data to a preset database.

[0078] Step S33: read the configuration information of the plurality of preset cloud platforms, and perform comparative calculation on the configuration information and the target structured data to obtain corresponding calculation results.

[0079] Step S34: Upload the calculation result to the resource management center, and determine whether to enable email notification and announcement notification based on the processing instructions fed back by the resource management center.

[0080] In this embodiment, Figure 8 As shown, after obtaining the configuration information and the comparison calculation results of the target structured data, the calculation results need to be uploaded to the resource management center. The resource management center can determine whether an abnormal reminder is needed by analyzing the comparison results, and then feedback the processing instructions. After that, it can determine whether to enable email notifications and announcement notifications based on the processing instructions feedback from the resource management center.

[0081] Step S35: If email notification is turned on, the recipient address is queried, and the email service is called to send an abnormal reminder email to the recipient address.

[0082] In this embodiment, Figure 8As shown, if the processing instruction fed back by the resource management center indicates to enable email notification, it is necessary to query the recipient address, then call the email service, and send the abnormal reminder email to the recipient address. It should be noted that the recipient address can be configured through the database.

[0083] Step S36: If the announcement notification is turned on, an abnormal announcement is generated and pushed to the front-end page for abnormal reminder.

[0084] In this embodiment, Figure 8 As shown, if the processing instruction fed back by the resource management center indicates that the announcement notification is turned on, an abnormal notification announcement needs to be generated, and then the abnormal notification announcement is pushed to the front-end display to remind the relevant stakeholders to handle the abnormality through the public notification of the cloud management platform system. It should be noted that when the abnormal announcement is turned on, the email reminder can also be turned on, which can be configured according to the processing instruction.

[0085] Step S37: Generate a data report based on the calculation result, and save the data report locally.

[0086] It should be noted that more detailed steps of step S31, step S32, step S33 and step S37 can be referred to the aforementioned embodiment and will not be described in detail here.

[0087] It can be seen that the method of the present application supports notifying relevant stakeholders in a public manner through the cloud management platform system to handle the situation. In this way, the message information will be added to the message notification queue of the cloud management platform. It also supports notifying relevant stakeholders by email. In this way, the mail server will be called to submit the email sending task. One or more of the simultaneous methods can be configured. For the email notification scenario, the recipient can also be flexibly configured through the database, so as to achieve the purpose of personalized configuration to the greatest extent.

[0088] See also Fig. 9 As shown, an embodiment of the present invention discloses a heterogeneous cloud platform auxiliary management device, including:

[0089] The data analysis module 11 is used to pull the message data of several preset cloud platforms based on the scheduled task, and perform data analysis on the message data to determine the first structured data and the unstructured data in the message data;

[0090] A data conversion module 12, configured to perform data conversion on the unstructured data to convert the unstructured data into second structured data, and save the target structured data into a preset database; wherein the target structured data includes the first structured data and the second structured data;

[0091] A comparison calculation module 13 is used to read the configuration information of the plurality of preset cloud platforms, and perform comparison calculation on the configuration information and the target structured data to obtain corresponding calculation results;

[0092] The abnormality reminder module 14 is used to upload the calculation results to the resource management center, determine whether to make an abnormality reminder based on the processing instructions fed back by the resource management center, and generate a data report based on the calculation results.

[0093] In this embodiment, firstly, based on the scheduled task, the message data of several preset cloud platforms are pulled, and the message data is parsed to determine the first structured data and the unstructured data in the message data, and then the unstructured data is converted to convert the unstructured data into the second structured data, and the target structured data is saved to the preset database, and the configuration information of the several preset cloud platforms is read, and the configuration information and the target structured data are compared and calculated to obtain the corresponding calculation results, and finally the calculation results are uploaded to the resource management center to determine whether to perform an abnormal reminder based on the processing instructions fed back by the resource management center, and generate a data report based on the calculation results. It can be seen that through the method of the present application, the message data of several preset cloud platforms can be obtained, and the message data can be parsed to determine the structured data and the unstructured data in the message data, and the unstructured data can be converted to the structured data, and the structured data can be saved to the preset database, and the structured data can be directly saved. Then, the configuration information of several cloud platforms is read, and the configuration information and structured data are compared and calculated to obtain the corresponding calculation results. Finally, the calculation results are uploaded to the resource management center to determine whether to issue an abnormal reminder based on the processing instructions fed back by the resource management center, and generate corresponding data reports based on the calculation results. In this way, the consistency problem of cloud resource data in the management system of each management level of the cloud platform can be solved, and in the case of different generated data, abnormal reminders can be issued, which helps to troubleshoot potential problems in the system, thereby ensuring the accuracy of the data and the timeliness of information synchronization, thereby achieving the effect of auxiliary management.

[0094] In some embodiments, the data parsing module 11 may specifically include:

[0095] A first data acquisition unit, used to determine a data pulling cycle according to a scheduled task, so as to call a preset interface based on the data pulling cycle to pull message data of several preset cloud platforms;

[0096] The data parsing unit is used to perform data structure analysis and data parsing on the message data to determine the first structured data and unstructured data in the message data.

[0097] In some embodiments, the heterogeneous cloud platform auxiliary management device further includes:

[0098] The second data acquisition unit is used to call the preset interface to pull the message data of the preset cloud platforms based on the real-time calling instruction if the real-time calling instruction is received.

[0099] In some embodiments, the data conversion module 12 may specifically include:

[0100] A first data storage unit, used for directly storing the first structured data in a preset database;

[0101] The data conversion submodule is used to convert the unstructured data through a preset script to convert the unstructured data into structured data to obtain second structured data, and save the second structured data to the preset database.

[0102] In some embodiments, the data conversion submodule may specifically include:

[0103] A first data replacement unit is used to read the unstructured data to determine whether the unstructured data contains a tab stop, and if the unstructured data contains the tab stop, replace the tab stop with a space by using a regular expression;

[0104] A second data replacement unit, used for replacing the separator characters in the unstructured data with the tab stop to obtain converted data;

[0105] The second data storage unit is used to generate a temporary table file based on the converted data, perform data cleaning and mapping conversion on the temporary table file to obtain second structured data, and save the second structured data to the preset database.

[0106] In some embodiments, the comparison calculation module 13 may specifically include:

[0107] A third data storage unit is used to determine whether the configuration data of the preset cloud platforms exists locally, and if not, call the preset commodity information configuration center to obtain the configuration data, and save the configuration data locally;

[0108] The comparison calculation unit is used to perform comparison calculation on the configuration data and the structured data to determine whether there is information anomaly according to the obtained calculation result.

[0109] In some embodiments, the abnormality reminder module 14 may specifically include:

[0110] An instruction receiving unit, used to upload the calculation result to the resource management center, and determine whether to enable email notification and whether to enable announcement notification based on the processing instruction fed back by the resource management center;

[0111] An email reminder unit, used to query the recipient address if email notification is turned on, and call the email service to send an abnormal reminder email to the recipient address;

[0112] The abnormality reminder unit is used to generate an abnormality announcement if the announcement notification is turned on, and push the abnormality announcement to the front-end page for abnormality reminder;

[0113] A report generation unit is used to generate a data report based on the calculation result and save the data report locally.

[0114] Furthermore, the present application also discloses an electronic device. Fig.10 This is a structural diagram of an electronic device 20 according to an exemplary embodiment. The content in the diagram cannot be regarded as any limitation on the scope of use of the present application.

[0115] Fig.10 A schematic diagram of the structure of an electronic device 20 provided in an embodiment of the present application. The electronic device 20 may specifically include: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input / output interface 25, and a communication bus 26. The memory 22 is used to store a computer program, which is loaded and executed by the processor 21 to implement the relevant steps in the heterogeneous cloud platform assisted management method disclosed in any of the aforementioned embodiments. In addition, the electronic device 20 in this embodiment may specifically be an electronic computer.

[0116] In this embodiment, the power supply 23 is used to provide working voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and the external device, and the communication protocol it follows is any communication protocol that can be applied to the technical solution of the present application, and is not specifically limited here; the input and output interface 25 is used to obtain external input data or output data to the outside world, and its specific interface type can be selected according to specific application needs and is not specifically limited here.

[0117] In addition, the memory 22 as a carrier for resource storage may be a read-only memory, a random access memory, a disk or an optical disk, etc. The resources stored thereon may include an operating system 221, a computer program 222, etc., and the storage method may be temporary storage or permanent storage.

[0118] The operating system 221 is used to manage and control the hardware devices on the electronic device 20 and the computer program 222, which can be Windows Server, Netware, Unix, Linux, etc. In addition to including a computer program that can be used to complete the heterogeneous cloud platform auxiliary management method performed by the electronic device 20 disclosed in any of the aforementioned embodiments, the computer program 222 can further include a computer program that can be used to complete other specific tasks.

[0119] Furthermore, the present application also discloses a computer-readable storage medium for storing a computer program; wherein, when the computer program is executed by a processor, the heterogeneous cloud platform auxiliary management method disclosed above is implemented. For the specific steps of the method, reference may be made to the corresponding contents disclosed in the above embodiments, and no further description will be given here.

[0120] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.

[0121] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0122] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

[0123] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0124] The technical solution provided by the present application is introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea. At the same time, for general technicians in this field, according to the idea of ​​the present application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A heterogeneous cloud platform auxiliary management method, characterized in that: include: Pulling message data of several preset cloud platforms based on a scheduled task, and performing data analysis on the message data to determine first structured data and unstructured data in the message data; Performing data conversion on the unstructured data to convert the unstructured data into second structured data, and saving the target structured data to a preset database; wherein the target structured data includes the first structured data and the second structured data; Reading configuration information of the plurality of preset cloud platforms, and performing comparative calculation on the configuration information and the target structured data to obtain corresponding calculation results; Uploading the calculation results to the resource management center to determine whether to issue an abnormal reminder based on the processing instructions fed back by the resource management center, and generating a data report based on the calculation results; The step of performing data conversion on the unstructured data to convert the unstructured data into second structured data, and saving the target structured data to a preset database includes: directly saving the first structured data to a preset database; Converting the unstructured data into structured data by using a preset script to obtain second structured data, and saving the second structured data into the preset database; The converting of the unstructured data by a preset script to convert the unstructured data into structured data to obtain second structured data, and saving the second structured data to the preset database includes: Reading the unstructured data to determine whether the unstructured data contains a tab stop, and if the unstructured data contains the tab stop, replacing the tab stop with a space using a regular expression; Replacing the separator character in the unstructured data with the tab stop to obtain converted data; A temporary table file is generated based on the converted data, and data cleaning and mapping conversion are performed on the temporary table file to obtain second structured data, and the second structured data is saved in the preset database.

2. The heterogeneous cloud platform assisted management method according to claim 1, characterized in that: Pulling message data of a plurality of preset cloud platforms based on a scheduled task, and performing data parsing on the message data to determine first structured data and unstructured data in the message data, includes: Determine a data pulling cycle according to the scheduled task, and call a preset interface based on the data pulling cycle to pull message data of several preset cloud platforms; Performing data structure analysis and data parsing on the message data to determine first structured data and unstructured data in the message data.

3. The heterogeneous cloud platform auxiliary management method according to claim 2, characterized in that: The step of converting the unstructured data to convert the unstructured data into second structured data and saving the target structured data to a preset database further includes: If a real-time calling instruction is received, the preset interface is called based on the real-time calling instruction to pull the message data of the plurality of preset cloud platforms.

4. The heterogeneous cloud platform assisted management method according to claim 1, characterized in that: The reading of the configuration information of the plurality of preset cloud platforms and performing comparative calculation on the configuration information and the structured data to obtain corresponding calculation results includes: Determine whether the configuration data of the preset cloud platforms exist locally, and if not, call the preset commodity information configuration center to obtain the configuration data, and save the configuration data locally; Comparative calculation is performed on the configuration data and the structured data to determine whether there is information anomaly according to the obtained calculation result.

5. The heterogeneous cloud platform auxiliary management method according to any one of claims 1 to 4, characterized in that: The uploading of the calculation results to the resource management center to determine whether to issue an abnormal reminder based on the processing instructions fed back by the resource management center, and generating a data report based on the calculation results, includes: Upload the calculation results to the resource management center, and determine whether to enable email notification or announcement notification based on the processing instructions fed back by the resource management center; If email notification is enabled, the recipient address is queried and the email service is called to send an abnormal reminder email to the recipient address; If the announcement notification is turned on, an abnormal announcement will be generated and pushed to the front-end page for abnormal reminder; A data report is generated based on the calculation result, and the data report is saved locally.

6. A heterogeneous cloud platform auxiliary management device, characterized in that: include: A data analysis module, used to pull message data of several preset cloud platforms based on a scheduled task, and perform data analysis on the message data to determine first structured data and unstructured data in the message data; A data conversion module, used to perform data conversion on the unstructured data to convert the unstructured data into second structured data, and save the target structured data to a preset database; wherein the target structured data includes the first structured data and the second structured data; A comparison calculation module, used for reading the configuration information of the plurality of preset cloud platforms, and performing comparison calculation on the configuration information and the target structured data to obtain corresponding calculation results; An abnormality reminder module is used to upload the calculation results to the resource management center, determine whether to make an abnormality reminder based on the processing instructions fed back by the resource management center, and generate a data report based on the calculation results; Wherein, the data conversion module includes: A first data storage unit, used for directly storing the first structured data in a preset database; A data conversion submodule, configured to convert the unstructured data through a preset script to convert the unstructured data into structured data to obtain second structured data, and save the second structured data to the preset database; Wherein, the data conversion submodule includes: A first data replacement unit is used to read the unstructured data to determine whether the unstructured data contains a tab stop, and if the unstructured data contains the tab stop, replace the tab stop with a space by using a regular expression; A second data replacement unit, used for replacing the separator characters in the unstructured data with the tab stop to obtain converted data; The second data storage unit is used to generate a temporary table file based on the converted data, perform data cleaning and mapping conversion on the temporary table file to obtain second structured data, and save the second structured data to the preset database.

7. An electronic device, characterized in that: include: Memory, used to store computer programs; A processor, used to execute the computer program to implement the heterogeneous cloud platform assisted management method as described in any one of claims 1 to 5.

8. A computer-readable storage medium, characterized in that: Used to store a computer program, which, when executed by a processor, implements the heterogeneous cloud platform assisted management method as described in any one of claims 1 to 5.