Automatic configuration management system and method based on multiple platforms

By designing a multi-platform automated configuration management system, the automatic collection, query, transfer and monitoring of configuration data of multiple cloud platforms, hosts and software is solved, and the problem of low maintenance efficiency of manual updates and maintenance of existing configuration management systems is improved, the efficiency and accuracy of configuration management are improved, and resource costs are saved.

CN119668711APending Publication Date: 2025-03-21CGN INTELLECTUAL TECH SHENZHEN CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411571426.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-05
Publication Date
2025-03-21

AI Technical Summary

Technical Problem

The existing configuration management system has problems such as low efficiency, untimely maintenance data, and large workload, which makes it difficult to ensure the accuracy and completeness of configuration data, which seriously affects the quality and efficiency of IT services.

Method used

Design a multi-platform automated configuration management system, including configuration acquisition module, configuration query module, configuration transfer module and configuration monitoring module, through which the automatic collection, query, transfer and monitoring of configuration data of multiple cloud platforms, hosts and software are realized.

Benefits of technology

It realizes automatic collection of configuration information of different cloud platforms, operating systems and software, improves the efficiency of configuration management, avoids human errors, ensures the accuracy and timeliness of configuration data, and realizes the timely recovery of idle resources, saving resource costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119668711A_ABST
    Figure CN119668711A_ABST
Patent Text Reader

Abstract

The invention relates to a multi-platform-based automatic configuration management system and method, and the system comprises a configuration collection module which carries out the collection processing of the configuration data of a plurality of cloud platforms, a host, and software, and obtains the corresponding configuration information; the configuration query module is used for performing query and file query on configuration information of various cloud platforms, hosts and / or software according to the configuration query instruction; the configuration transfer module executes configuration transfer and data updating according to the configuration transfer instruction; and the configuration monitoring module is used for monitoring data, host flow and personnel information in the automatic configuration management system and automatically updating the data. According to the invention, automatic acquisition of configuration information of different cloud platforms, operating systems and software is realized, the efficiency of configuration management is improved, human errors are avoided, real-time updating of personnel information is realized, the accuracy and timeliness of configuration data are ensured, and meanwhile, timely recovery of idle resources is realized. And resource cost waste is avoided while data validity is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of configuration management, and more specifically, to an automatic configuration management system and method based on multiple platforms. Background Art

[0002] With the advancement of enterprise digital transformation and the implementation of multiple cloud platforms in enterprises, IT configuration management has become an indispensable part of enterprise informatization construction, involving the identification, control, maintenance and governance of IT infrastructure, software, hardware and network components, ensuring the consistency and accuracy of all configuration items, and providing strong guarantees for the development of digital business.

[0003] However, there are still problems in the current configuration management, such as low efficiency, untimely update and maintenance of manual data, and heavy workload. First, with the expansion of enterprise IT scale, the data and types of various configuration items have increased significantly, especially the simultaneous use of multiple cloud platforms, which makes the collection and maintenance of configuration information a large workload, and the accuracy and integrity of configuration data are difficult to ensure, resulting in the configuration data in the configuration management system not being consistent with the actual environment, seriously affecting the quality and efficiency of IT services. Secondly, the rapid update of business system versions leads to frequent changes in configuration data, which poses a greater challenge to the timeliness of configuration data maintenance. Finally, the level of automation in configuration management is insufficient, and a large amount of maintenance work requires manual operation, which is not only inefficient but also prone to errors, making it difficult to standardize the operation process of configuration management, further exacerbating the difficulty of configuration management. Summary of the invention

[0004] The technical problem to be solved by the present invention is to provide an automatic configuration management system and method based on multiple platforms in view of the problems existing in the prior art.

[0005] The technical solution adopted by the present invention to solve the technical problem is: constructing an automatic configuration management system based on multiple platforms, including:

[0006] A configuration collection module, the configuration collection module is used to collect configuration data of multiple cloud platforms, configuration data of the host, and configuration data of the software, and process the configuration data of the multiple cloud platforms, the configuration data of the host, and the configuration data of the software to obtain configuration information of the multiple cloud platforms, the configuration information of the host, and the configuration information of the software;

[0007] A configuration query module, the configuration query module is used to query the configuration information of the multiple cloud platforms, the configuration information of the host and / or the configuration information of the software according to a configuration query instruction, and to query a target file according to a file query instruction;

[0008] A configuration transfer module, the configuration transfer module is used to perform configuration transfer and data update on the configuration object to be transferred according to the configuration transfer instruction;

[0009] A configuration monitoring module is used to monitor the data in the automated configuration management system, the host traffic of the various cloud platforms, and the personnel information in the personnel information database, and to automatically update the data.

[0010] In the multi-platform based automated configuration management system described in the present invention, the configuration collection module includes: a cloud platform configuration collection unit, a host configuration collection unit and a software configuration collection unit;

[0011] The cloud platform configuration collection unit is used to collect and process the configuration data of the multiple cloud platforms to obtain the configuration information of the multiple cloud platforms;

[0012] The host configuration collection unit is used to collect and process the configuration data of the host to obtain the configuration information of the host;

[0013] The software configuration collection unit is used to collect and process the configuration data of the software to obtain the configuration information of the software.

[0014] In the multi-platform based automated configuration management system described in the present invention, the cloud platform configuration collection unit includes: a platform collection management submodule and a platform task management submodule;

[0015] The platform collection management submodule is used to collect data from the various cloud platforms, write collection codes for the various cloud platforms, and perform data cleaning and format conversion on the configuration data of the various cloud platforms to obtain configuration item information and association relationship information of the various cloud platforms; the configuration item information and association relationship information of the various cloud platforms are the configuration information of the various cloud platforms;

[0016] The platform task management submodule is used to collect plug-ins and set task parameters, and save the configuration information of the various cloud platforms into a configuration management database.

[0017] In the multi-platform based automated configuration management system described in the present invention, the host configuration collection unit includes: a host collection submodule and a host task management submodule;

[0018] The host acquisition submodule is used to write an acquisition script for the host's operating system, and perform data cleaning and format conversion on the configuration data of the operating system to obtain the configuration item information and association relationship information of the host; the configuration item information and association relationship information of the host are the configuration information of the host;

[0019] The host task management submodule is used to collect plug-ins and set task parameters, and save the configuration information of the host into a configuration management database.

[0020] In the multi-platform based automated configuration management system described in the present invention, the software configuration acquisition unit includes: a software acquisition submodule and a software task management submodule;

[0021] The software acquisition submodule is used to acquire software and write software acquisition scripts, as well as to perform data cleaning and format conversion on the configuration data of the software to obtain configuration item information and association relationship information of the software; the configuration item information and association relationship information of the software are the configuration information of the software;

[0022] The software task management submodule is used to collect plug-ins and set task parameters, and save the configuration information of the software into the configuration management database.

[0023] In the multi-platform based automated configuration management system described in the present invention, the configuration query module includes: a configuration query unit and a file query unit;

[0024] The configuration query unit is used to query and display the configuration information of the multiple cloud platforms, the configuration information of the host and / or the configuration information of the software according to the configuration query instruction;

[0025] The file query unit is used to query the target file according to the file query instruction.

[0026] In the multi-platform based automated configuration management system described in the present invention, the file query unit includes: a desensitization submodule, a distribution submodule, a cleaning submodule and a notification submodule;

[0027] The desensitization submodule is used to perform a target file query according to the file query instruction to obtain an initial file, and perform a desensitization process on the initial file;

[0028] The file distribution submodule is used to distribute the desensitized files;

[0029] The cleaning submodule is used to clean process files and obtain the target file;

[0030] The notification submodule is used to send a file query end notification to the user after acquiring the target file.

[0031] In the multi-platform based automated configuration management system described in the present invention, the configuration transfer module comprises: a host identification unit, a state identification unit, a resource deletion unit, a database update unit and a notification unit;

[0032] The host identification unit is used to identify the host to be recovered according to the configuration transfer instruction;

[0033] The state identification unit is used to identify the state of the host to be recycled to determine whether the host to be recycled is in a shutdown state;

[0034] The resource deletion unit is used to send a resource deletion instruction to the cloud platform or bastion host corresponding to the host to be recycled that meets the recycling conditions;

[0035] The database updating unit is used to archive the data in the configuration management data, and clear the configuration item information and association relationship information corresponding to the host that meets the recycling condition;

[0036] The notification unit is used to send a plug-in recycling notification to the management personnel.

[0037] In the multi-platform based automated configuration management system described in the present invention, the configuration monitoring module includes: a personnel information monitoring unit, a data quality monitoring unit and a host flow monitoring unit;

[0038] The personnel information monitoring unit is used to monitor the personnel information in the personnel information database, and when the personnel information in the personnel information database changes, update the personnel information in the configuration management database based on the changed personnel information;

[0039] The data quality monitoring unit is used to check the data in the configuration management database and output a data abnormality reminder when the data in the configuration management database is abnormal;

[0040] The host traffic monitoring unit is used to monitor the host traffic of the various cloud platforms, determine whether the host traffic is abnormal, and output a resource recovery notification when the host traffic is abnormal.

[0041] The present invention also provides a multi-platform based automated configuration management method, which is applied to the multi-platform based automated configuration management system described above. The multi-platform based automated configuration management method is used to perform the following steps when performing configuration query or configuration transfer:

[0042] Querying the configuration information of the multiple cloud platforms, the configuration information of the host and / or the configuration information of the software according to the configuration query instruction through the configuration query module, and querying the target file according to the file query instruction;

[0043] Perform configuration transfer and data update on the configuration object to be transferred according to the configuration transfer instruction by the configuration transfer module;

[0044] And the multi-platform based automated configuration management method is used to perform the following steps when performing configuration collection or configuration monitoring:

[0045] The configuration data of various cloud platforms, the configuration data of the host, and the configuration data of the software are collected through the configuration collection module, and the configuration data of the various cloud platforms, the configuration data of the host, and the configuration data of the software are processed to obtain the configuration information of the various cloud platforms, the configuration information of the host, and the configuration information of the software;

[0046] The data in the automated configuration management system, the host traffic of the various cloud platforms, and the personnel information in the personnel information database are monitored and the data is automatically updated through the configuration monitoring module.

[0047] The implementation of the multi-platform-based automated configuration management system and method of the present invention has the following beneficial effects: including: a configuration acquisition module, which collects and processes the configuration data of various cloud platforms, hosts and software to obtain corresponding configuration information; a configuration query module, which queries and files the configuration information of various cloud platforms, hosts and / or software according to configuration query instructions; a configuration transfer module, which performs configuration transfer and data update according to configuration transfer instructions; a configuration monitoring module, which monitors the data, host traffic and personnel information in the automated configuration management system and automatically updates the data. The present invention realizes automatic collection of configuration information of different cloud platforms, operating systems and software, improves the efficiency of configuration management, avoids human errors, realizes real-time update of personnel information, ensures the accuracy and timeliness of configuration data, and realizes timely recovery of idle resources, ensuring data validity while avoiding waste of resource costs. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] The present invention will be further described below with reference to the accompanying drawings and embodiments, in which:

[0049] Figure 1 It is a principle block diagram of the multi-platform based automated configuration management system provided by the present invention;

[0050] Figure 2 It is a docking system diagram of the multi-platform-based automated configuration management system provided by the present invention;

[0051] Figure 3 It is a schematic diagram of the flow of configuration file query provided by the present invention;

[0052] Figure 4 It is a flow chart of the configuration transfer provided by the present invention. DETAILED DESCRIPTION

[0053] 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.

[0054] The present invention connects multiple cloud platforms, personnel information databases, bastion hosts, and automated operation platforms to realize automatic collection, automatic identification and classification, automatic monitoring and management of configuration information for IT configuration management, and effectively solves the timeliness and accuracy problems of configuration management. To achieve this goal, the present invention provides an automated configuration management system based on multiple platforms. The system is classified into three major parts as a whole, namely, the data collection end, the data consumption end, and the data governance end. The connection between each part and the cloud platform, personnel information database, bastion host, automated operation platform, etc. can refer to Figure 2 .like Figure 2 As shown, the data collection end is directly connected to multiple cloud platforms (including but not limited to VMware virtualization platform, FusionCompute virtualization platform, HCS hybrid cloud platform, and automated operation platform) to realize automatic collection and update of configuration information; the data consumption end is connected to the cloud platform, bastion host and automated operation platform to realize the automation of the IT equipment decommissioning process, and realize configuration query through configuration query; the data consumption end is connected to the personnel information database and multiple cloud platforms to realize automatic identification and update of personnel information changes, and recycle idle resources through traffic monitoring of the virtual machine network card; thereby realizing automated configuration and management in terms of collection, consumption, and governance of configuration data, and significantly improving the operation and maintenance efficiency and quality of configuration data management.

[0055] Specifically, Figure 1 As shown, the multi-platform automated configuration management system provided by the present invention mainly includes four functional modules: a configuration acquisition module 10, a configuration query module 20, a configuration transfer module 30 and a configuration monitoring module 40; at the same time, the multi-platform automated configuration management system also includes a configuration management database 100. The configuration management database 100 is used to store various configuration data and manage and update the configuration data.

[0056] Among them, the configuration collection module 10 is used to collect the configuration data of various cloud platforms, the configuration data of the host and the configuration data of the software, and process the configuration data of various cloud platforms, the configuration data of the host and the configuration data of the software to obtain the configuration information of various cloud platforms, the configuration information of the host and the configuration information of the software. The configuration query module 20 is used to query the configuration information of various cloud platforms, the configuration information of the host and / or the configuration information of the software according to the configuration query instruction, and to query the target file according to the file query instruction. The configuration transfer module 30 is used to perform configuration transfer and data update on the configuration object to be transferred according to the configuration transfer instruction. The configuration monitoring module 40 is used to monitor the data in the automated configuration management system, the host traffic of various cloud platforms and the personnel information of the personnel information database, and automatically update the data.

[0057] Specifically, the configuration collection module 10 is mainly used to automatically collect configuration item information and its association relationship. The automatic collection objects include but are not limited to VMware virtualization platform, FusionCompute virtualization platform, HCS hybrid cloud platform, operating system configuration information, database and middleware information, etc.

[0058] Optionally, in an embodiment of the present invention, Figure 1 As shown, the configuration collection module 10 includes: a cloud platform configuration collection unit 11, a host configuration collection unit 12 and a software configuration collection unit 13.

[0059] The cloud platform configuration collection unit 11 is used to collect and process the configuration data of various cloud platforms to obtain the configuration information of various cloud platforms.

[0060] Optionally, in an embodiment of the present invention, the cloud platform configuration collection unit 11 includes: a platform collection management submodule and a platform task management submodule. Among them, the platform collection management submodule is used to collect data from multiple cloud platforms, write collection codes for multiple cloud platforms, and perform data cleaning and format conversion on the configuration data of multiple cloud platforms to obtain configuration item information and association relationship information of multiple cloud platforms; the configuration item information and association relationship information of multiple cloud platforms are the configuration information of multiple cloud platforms; the platform task management submodule is used to collect plug-ins and set task parameters, and save the configuration information of multiple cloud platforms to the configuration management database 100.

[0061] Specifically, the cloud platform configuration collection unit 11 is mainly used for automatic collection of configuration information of various cloud platforms, including collection plug-in management function and task management function. Among them, the platform collection management submodule mainly realizes the collection plug-in management function. Specifically: write and collect the cloud platform to be collected, clean the configuration data of the collected cloud platform, and finally convert it into a unified json format and return the result, wherein the returned result includes: configuration item information and association relationship information of the cloud platform. The platform task management submodule is mainly used to reference the collection plug-in, set task parameters, execute the collection task according to the set cycle or timing, collect the corresponding configuration data and write the adopted configuration data into the configuration management database 100.

[0062] The host configuration collection unit 12 is used to collect and process the configuration data of the host to obtain the configuration information of the host.

[0063] Optionally, in an embodiment of the present invention, the host configuration collection unit 12 includes: a host collection submodule and a host task management submodule. The host collection submodule is used to write a collection script for the host's operating system, and perform data cleaning and format conversion on the configuration data of the operating system to obtain the host's configuration item information and association relationship information; the host's configuration item information and association relationship information are the host's configuration information; the host task management submodule is used to collect plug-ins and set task parameters, and save the host's configuration information to the configuration management database 100.

[0064] Specifically, the host configuration collection unit 12 is mainly used for automatically collecting configuration information of the operating system, including collection script management function and task management function. Among them, the host collection submodule mainly realizes the collection script management function. Specifically: write a collection script for the operating system to be collected, which can support scripting languages ​​such as shell, Python, powershell, bat, etc., and clean the collected configuration data, and finally convert it into a unified json format to return the result, which includes: the configuration item information and association relationship information of the host. The host task management submodule mainly realizes the task management function, specifically: reference the collection script, set the task parameters, execute the collection task according to the set cycle or timing, and write the collected configuration information into the configuration management database 100.

[0065] The software configuration collection unit 13 is used to collect and process the configuration data of the software to obtain the configuration information of the software.

[0066] Optionally, in an embodiment of the present invention, the software configuration collection unit 13 includes: a software collection submodule and a software task management submodule. The software collection submodule is used to collect software and write a collection script for the software, and to perform data cleaning and format conversion on the configuration data of the software to obtain the configuration item information and association relationship information of the software; the configuration item information and association relationship information of the software are the configuration information of the software; the software task management submodule is used to collect plug-ins and set task parameters, and save the configuration information of the software to the configuration management database 100.

[0067] Specifically, the software configuration acquisition unit 13 is mainly used for automatically acquiring configuration information of software running on the operating system, including acquisition script management function and task management function. Among them, the software acquisition submodule mainly realizes the acquisition script management function. Specifically, it is to write an acquisition script for the software to be acquired, support scripting languages ​​such as shell, Python, powershell, bat, etc., perform data cleaning on the acquired configuration data, and finally output a unified json format return result, which includes: configuration item information and association relationship information of the software. The software task management submodule mainly realizes the task management function, which specifically refers to the acquisition script, sets the task parameters, executes the acquisition task according to the set period or timing, and writes the acquired configuration information into the configuration management database 100.

[0068] In the embodiment of the present invention, the configuration query module 20 is mainly used to allow users to perform self-service query and maintenance on their configuration information. The query content includes configuration item information and association relationship information, and supports querying configuration files on the operating system. Among them, the configuration item query only queries the content in the configuration management database 100, and the application configuration file query needs to call the automatic operation platform to obtain the configuration file.

[0069] Optionally, in an embodiment of the present invention, the configuration query module 20 includes: a configuration query unit 21 and a file query unit 22.

[0070] Among them, the configuration query unit 21 is used to query and display the configuration information of various cloud platforms, host configuration information and / or software configuration information according to the configuration query instruction. Specifically, the configuration query unit 21 automatically queries according to the configuration query instruction input by the user, and presents the commonly used configuration items of different objects in the form of a list, so that the user can enter the display form and association list of all configuration items by clicking on the details. At the same time, the configuration query unit 21 supports users to search and query global configuration items.

[0071] The file query unit 22 is used to query the target file according to the file query instruction. Specifically, the file query unit 22 can sequentially check the correctness of the parameters according to the file query instruction input by the user (such as the query IP, query directory or file parameters input by the user), desensitize the file, distribute the file, clean up the process file, and finally send a notification to the user, and the user can click the link in the notification to download the desensitized configuration file.

[0072] Optionally, in an embodiment of the present invention, the file query unit 22 includes: a desensitizing submodule, a distribution submodule, a cleaning submodule and a notification submodule.

[0073] Among them, the desensitizing submodule is used to perform target file query according to the file query instruction to obtain the initial file, and desensitize the initial file; the file distribution submodule is used to distribute the desensitized files; the cleaning submodule is used to clean the process files and obtain the target file; the notification submodule is used to send a file query end notification to the user after obtaining the target file.

[0074] Specifically, Figure 3 A query flow chart of a configuration file provided by the present invention.

[0075] like Figure 3 As shown in the figure, after receiving the file query instruction input by the user, the file is first desensitized. Desensitization here means hiding the keywords of the file. Then, the file is distributed. Then, the process file is cleaned up. Among them, the cleaning here means deleting the temporary files saved in the original copy process, and finally sending a notification to the user. Figure 3 As shown in the figure, when the user needs to query the directory file, the directory needs to be anonymized before packaging, and then the compressed package is distributed, and then the process package is cleaned up. The process package here refers to the temporary package that is temporarily copied during the directory file copying process, and finally a notification is sent to the user.

[0076] In the embodiment of the present invention, the configuration transfer module 30 is mainly used to process and automate the retirement of configuration objects, realize automatic linkage between the cloud platform, the configuration management database 100, and the bastion host, and uniformly implement related operation and maintenance operations for the retirement of configuration objects.

[0077] Optionally, in an embodiment of the present invention, the configuration transfer module 30 includes: a host identification unit 31 , a state identification unit 32 , a resource deletion unit 33 , a database update unit 34 and a notification unit 35 .

[0078] Among them, the host identification unit 31 is used to identify according to the configuration transfer instruction to obtain the host to be recycled; the state identification unit 32 is used to identify the state of the host to be recycled to determine whether the host to be recycled is in a shutdown state; the resource deletion unit 33 is used to send a resource deletion instruction to the cloud platform or bastion host corresponding to the host to be recycled that meets the recycling conditions; the database update unit 34 is used to archive the data in the configuration management data, and clear the configuration item information and association relationship information corresponding to the host that meets the recycling conditions; the notification unit 35 is used to send a plug-in recycling notification to the management personnel.

[0079] refer to Figure 4 , Figure 4 A flow chart of configuration transfer provided by the present invention.

[0080] Specifically, Figure 4 As shown, the user inputs the list of virtual machines to be recycled into the automated configuration management system, and the host identification unit 31 identifies the host information in the virtual machine list, thereby identifying the host to be recycled. The state identification unit 32 identifies the state of the host to be recycled to determine whether the host to be recycled is in a shutdown state. If it is not in a shutdown state, it is determined that the host cannot be recycled. If it is in a shutdown state, a resource deletion unit 33 sends an instruction to delete the resource to the cloud platform (so that the cloud platform automatically executes the action of deleting the resource according to the instruction). At the same time, the data update unit archives the corresponding configuration data in the configuration management database 100, and then clears the entries and association relationship information of the configuration objects (the specific operation here is: there are two tables in the configuration management database 100, an online table (a table of online virtual machines) and a recycling table (a table of recycled virtual machines)). This action process requires that the resources to be deleted in the online table are first copied to the recycling table, and then the contents copied to the recycling table from the online table are deleted. This operation can avoid omissions and ensure the reliability of data). Next, a corresponding clearing instruction is sent to the bastion host, so that after receiving the clearing instruction, the bastion host deletes the corresponding host in the saved configuration object table; finally, the notification unit 35 sends a plug-in recycling notification to the security plug-in administrator to complete the whole process of decommissioning and recycling.

[0081] In the embodiment of the present invention, the configuration monitoring module 40 includes: a personnel information monitoring unit 41 , a data quality monitoring unit 42 and a host traffic monitoring unit 43 .

[0082] The personnel information monitoring unit 41 is used to monitor the personnel information in the personnel information database, and when the personnel information in the personnel information database changes, update the personnel information in the configuration management database 100 based on the changed personnel information.

[0083] Specifically, the personnel information monitoring unit 41 is directly connected to the enterprise's personnel information database. When the personnel information in the enterprise's personnel information database changes (such as resignation, job transfer, etc.), the information is pushed to the middleware rabbitMQ in real time. The personnel information monitoring unit 41 consumes the data in rabbitMQ through scheduled tasks. When the personnel change information is obtained, it checks whether the personnel registered in the configuration management database 100 are involved. If so, it automatically updates or automatically sends a notification to the configuration administrator for timely update.

[0084] The data quality monitoring unit 42 is used to check the data in the configuration management database 100 and output a data abnormality reminder when the data in the configuration management database 100 is abnormal.

[0085] Specifically, the data quality monitoring unit 42 automatically checks the key configuration items in the configuration management database 100 regularly. If there is any configuration information missing or configuration items that do not meet the requirements, an email is automatically sent to notify the person in charge of the configuration to remind him to update and improve it in time.

[0086] The host traffic monitoring unit 43 is used to monitor the host traffic of various cloud platforms, determine whether the host traffic is abnormal, and output a resource recovery notification when the host traffic is abnormal.

[0087] Specifically, the host traffic monitoring unit 43 is connected to the cloud platform to perform regular detection of the host's network card traffic, and lists the hosts whose traffic is lower than a certain value (such as 5,000 packets) for one month and whose average CPU usage is less than or equal to 10% as suspected idle devices. The hosts are sent to the cloud platform for confirmation by the cloud platform administrator, and the idle machines are promptly recycled, so that the cloud platform resources are fully utilized and the problem of insufficient management of idle machines is solved.

[0088] The present invention also provides a multi-platform based automated configuration management method, which is applied to the multi-platform based automated configuration management system disclosed in the embodiment of the present invention.

[0089] The multi-platform based automated configuration management method is used to perform the following steps when performing configuration query or configuration transfer: query the configuration information of multiple cloud platforms, the configuration information of the host and / or the configuration information of the software according to the configuration query instruction through the configuration query module 20, and query the target file according to the file query instruction; perform configuration transfer and data update on the configuration object to be transferred according to the configuration transfer instruction through the configuration transfer module 30. Alternatively, the multi-platform based automated configuration management method is used to perform the following steps when performing configuration collection or configuration monitoring: collect the configuration data of multiple cloud platforms, the configuration data of the host and the configuration data of the software through the configuration collection module 10, and process the configuration data of multiple cloud platforms, the configuration data of the host and the configuration data of the software to obtain the configuration information of multiple cloud platforms, the configuration information of the host and the configuration information of the software; monitor the data in the automated configuration management system, the host traffic of multiple cloud platforms and the personnel information of the personnel information database through the configuration monitoring module 40, and automatically update the data.

[0090] Specifically, in the configuration collection module 10, a collection task is formulated, and task parameters are supplemented. After the task is executed, the task execution status is checked to check whether the data is synchronized to the configuration management database 100, so as to realize the regular automatic collection of configuration information; in the configuration query module 20, a query is started when a query task is received from the user, and the configuration list of the corresponding configuration object is queried according to the query task, and global information is retrieved, and the data in the configuration management database 100 can be consumed through the interface; or, in the configuration query module 20, an application configuration file is queried as needed, a new query task is created, and parameters such as query IP, query directory or file are entered, and task execution is clicked. After the execution is completed, a notification will be received, and the configuration file can be obtained by clicking the download link; in the configuration transfer module 30, the cloud platform administrator enters the list of virtual machines to be recycled into the configuration transfer task, and clicks execute to complete the recycling of virtual machines, update configuration information and update bastion machine entries; in the configuration monitoring module 40, upon receiving a personnel change notification, a notification is sent to the administrator to execute the task. When a notification is received, it indicates that the personnel information in the configuration item has changed, and the configuration management database 100 needs to be updated after the information of the changed personnel has been confirmed; that is, the configuration monitoring module 40 is connected to the personnel information database, and automatically monitors the data in the personnel information database. When the personnel information database changes, the configuration management database 100 in the configuration management system is updated in real time; at the same time, in the configuration monitoring module 40, the data in the configuration management system is automatically monitored regularly to verify the integrity and validity of the data, and when it is detected that the data quality is missing or wrong, a corresponding notification is sent to the configuration administrator to remind the configuration administrator to verify and update the data in time; and in the configuration monitoring module 40, the host traffic is monitored regularly, and when it is detected that the host traffic is at a very low level for a long time, a resource recovery notification is sent to the configuration administrator, so that when the configuration administrator receives the notification of host traffic monitoring, it means that the host traffic has been at a very low level for a long time and may have been idle, and the list needs to be confirmed with the corresponding business for resource recovery.

[0091] The present invention realizes automatic collection of cloud platform host machines, virtual machines, and association relationships by docking with VMware virtualization platform, FusionCompute virtualization platform, and HCS hybrid cloud platform, and compares them with the data in the configuration management database 100, updates them to the configuration management database 100, formulates periodic tasks, and executes updates regularly; by docking with the automated operation platform, the operating system and the middleware database running thereon are automatically collected, and their association relationships are collected at the same time, and periodic tasks are formulated to execute updates regularly; the present invention docks with the automated operation platform through standard procedures, and the user only needs to fill in the address and directory of the required application configuration file. After approval, the operating system can be automatically connected to obtain the corresponding configuration file, and it can be automatically desensitized and uploaded to the file server. The user can directly download it according to the link executed by the process; at the same time, the cloud platform, bastion host, and configuration management database 100 are connected in series, and the user only needs to submit a retirement application. After approval, resource recovery is automatically executed on the cloud platform, and the bastion host and configuration management database 100 automatically update data. In addition, the present invention is also connected to the personnel information database, and automatically updates the personnel information in the configuration management database 100 when personnel changes to ensure the accuracy of personnel information; automatically detects the virtual machine network card traffic in the cloud platform, and takes low-traffic devices offline for recycling and disposal to save platform resources; automatically detects key fields in the configuration management database 100, and automatically sends emails to configuration administrators to correct information for configuration items that are missing content or do not meet standards.

[0092] The present invention can achieve the following effects:

[0093] While realizing the automatic collection of configuration information of multiple cloud platforms, it can also automatically collect configurations of operating systems and software, achieving the effect of unified management on and off the cloud; it realizes the automatic collection and comparison of configuration information and related relationships, which greatly improves the data maintenance efficiency of configuration management; it realizes the linkage between equipment decommissioning operations and configuration management, and at the same time connects with the personnel information database to realize the real-time update of personnel information in the configuration objects, which greatly ensures the accuracy and timeliness of configuration data; it monitors the traffic of virtual machines on the cloud platform from the configuration management level, realizes the timely recovery of idle resources, saves resource costs and ensures the validity of configuration data. It can also automatically complete vulnerability matching and repair, generate complete repair reports and statements, improve operation and maintenance efficiency, and greatly improve server security.

[0094] 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.

[0095] 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 the present invention.

[0096] 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.

[0097] The above embodiments are only for illustrating the technical concept and features of the present invention, and their purpose is to enable people familiar with the technology to understand the content of the present invention and implement it accordingly, and they cannot limit the scope of protection of the present invention. All equivalent changes and modifications made to the scope of the claims of the present invention should fall within the scope of the claims of the present invention.

Claims

1. An automated configuration management system based on multiple platforms, characterized in that: include: A configuration collection module, the configuration collection module is used to collect configuration data of multiple cloud platforms, configuration data of the host, and configuration data of the software, and process the configuration data of the multiple cloud platforms, the configuration data of the host, and the configuration data of the software to obtain configuration information of the multiple cloud platforms, the configuration information of the host, and the configuration information of the software; A configuration query module, the configuration query module is used to query the configuration information of the multiple cloud platforms, the configuration information of the host and / or the configuration information of the software according to a configuration query instruction, and to query a target file according to a file query instruction; A configuration transfer module, the configuration transfer module is used to perform configuration transfer and data update on the configuration object to be transferred according to the configuration transfer instruction; A configuration monitoring module is used to monitor the data in the automated configuration management system, the host traffic of the various cloud platforms, and the personnel information in the personnel information database, and to automatically update the data.

2. The multi-platform automated configuration management system according to claim 1, characterized in that: The configuration collection module includes: a cloud platform configuration collection unit, a host configuration collection unit and a software configuration collection unit; The cloud platform configuration collection unit is used to collect and process the configuration data of the multiple cloud platforms to obtain the configuration information of the multiple cloud platforms; The host configuration collection unit is used to collect and process the configuration data of the host to obtain the configuration information of the host; The software configuration collection unit is used to collect and process the configuration data of the software to obtain the configuration information of the software.

3. The multi-platform based automated configuration management system according to claim 2, characterized in that: The cloud platform configuration collection unit includes: a platform collection management submodule and a platform task management submodule; The platform collection management submodule is used to collect data from the various cloud platforms, write collection codes for the various cloud platforms, and perform data cleaning and format conversion on the configuration data of the various cloud platforms to obtain configuration item information and association relationship information of the various cloud platforms; the configuration item information and association relationship information of the various cloud platforms are the configuration information of the various cloud platforms; The platform task management submodule is used to collect plug-ins and set task parameters, and save the configuration information of the various cloud platforms into a configuration management database.

4. The multi-platform based automated configuration management system according to claim 2, characterized in that: The host configuration collection unit includes: a host collection submodule and a host task management submodule; The host acquisition submodule is used to write an acquisition script for the host's operating system, and perform data cleaning and format conversion on the configuration data of the operating system to obtain the configuration item information and association relationship information of the host; the configuration item information and association relationship information of the host are the configuration information of the host; The host task management submodule is used to collect plug-ins and set task parameters, and save the configuration information of the host into a configuration management database.

5. The multi-platform based automated configuration management system according to claim 2, characterized in that: The software configuration acquisition unit includes: a software acquisition submodule and a software task management submodule; The software acquisition submodule is used to acquire software and write software acquisition scripts, as well as to perform data cleaning and format conversion on the configuration data of the software to obtain configuration item information and association relationship information of the software; the configuration item information and association relationship information of the software are the configuration information of the software; The software task management submodule is used to collect plug-ins and set task parameters, and save the configuration information of the software into the configuration management database.

6. The multi-platform based automated configuration management system according to claim 1, characterized in that: The configuration query module includes: a configuration query unit and a file query unit; The configuration query unit is used to query and display the configuration information of the multiple cloud platforms, the configuration information of the host and / or the configuration information of the software according to the configuration query instruction; The file query unit is used to query the target file according to the file query instruction.

7. The multi-platform based automated configuration management system according to claim 6, characterized in that: The file query unit includes: a desensitization submodule, a distribution submodule, a cleaning submodule and a notification submodule; The desensitization submodule is used to perform a target file query according to the file query instruction to obtain an initial file, and perform a desensitization process on the initial file; The file distribution submodule is used to distribute the desensitized files; The cleaning submodule is used to clean process files and obtain the target file; The notification submodule is used to send a file query end notification to the user after acquiring the target file.

8. The multi-platform based automated configuration management system according to claim 1, characterized in that: The configuration transfer module includes a host identification unit, a state identification unit, a resource deletion unit, a database update unit and a notification unit; The host identification unit is used to identify the host to be recovered according to the configuration transfer instruction; The state identification unit is used to identify the state of the host to be recycled to determine whether the host to be recycled is in a shutdown state; The resource deletion unit is used to send a resource deletion instruction to the cloud platform or bastion host corresponding to the host to be recycled that meets the recycling conditions; The database updating unit is used to archive the data in the configuration management data, and clear the configuration item information and association relationship information corresponding to the host that meets the recycling condition; The notification unit is used to send a plug-in recycling notification to the management personnel.

9. The multi-platform based automated configuration management system according to claim 1, characterized in that: The configuration monitoring module includes: a personnel information monitoring unit, a data quality monitoring unit and a host flow monitoring unit; The personnel information monitoring unit is used to monitor the personnel information in the personnel information database, and when the personnel information in the personnel information database changes, update the personnel information in the configuration management database based on the changed personnel information; The data quality monitoring unit is used to check the data in the configuration management database and output a data abnormality reminder when the data in the configuration management database is abnormal; The host traffic monitoring unit is used to monitor the host traffic of the various cloud platforms, determine whether the host traffic is abnormal, and output a resource recovery notification when the host traffic is abnormal.

10. A multi-platform based automated configuration management method, applied to the multi-platform based automated configuration management system according to any one of claims 1 to 9, characterized in that: The multi-platform based automated configuration management method is used to perform the following steps when performing configuration query or configuration transfer: Querying the configuration information of the multiple cloud platforms, the configuration information of the host and / or the configuration information of the software according to the configuration query instruction through the configuration query module, and querying the target file according to the file query instruction; Perform configuration transfer and data update on the configuration object to be transferred according to the configuration transfer instruction by the configuration transfer module; And the multi-platform based automated configuration management method is used to perform the following steps when performing configuration collection or configuration monitoring: The configuration data of various cloud platforms, the configuration data of the host, and the configuration data of the software are collected through the configuration collection module, and the configuration data of the various cloud platforms, the configuration data of the host, and the configuration data of the software are processed to obtain the configuration information of the various cloud platforms, the configuration information of the host, and the configuration information of the software; The data in the automated configuration management system, the host traffic of the various cloud platforms, and the personnel information in the personnel information database are monitored and the data is automatically updated through the configuration monitoring module.