Operation and maintenance system and operation and maintenance method based on micro-service architecture, electronic equipment and medium
Through the operation and maintenance system based on the microservice architecture, cloud device resource indicator data is collected, alarm information is processed and work orders are issued automatically, the problems of closed and low efficiency of traditional cloud resource operation and maintenance systems are solved, and the intelligent operation and maintenance of cloud devices is realized and improve operation and maintenance efficiency.
Patent Information
- Application Number
- CN202411302386.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-18
- Publication Date
- 2025-01-10
AI Technical Summary
The traditional cloud resource operation and maintenance system is closed, has low efficiency, and the islanding system is caused by low operation and maintenance efficiency and requires a lot of manpower. The business requirements of different cloud suppliers are different, resulting in difficulty in customization of operation and maintenance.
The operation and maintenance system based on the microservice architecture is adopted, and the monitoring center module collects cloud device resource indicator data. The alarm processing module processes alarm information according to the alarm rules and page rules, generates and automatically issues work orders to the corresponding processing channels, and realizes hierarchical processing.
It realizes intelligent operation and maintenance of cloud equipment, improves operation and maintenance efficiency, reduces manpower investment, adapts to the business needs of different cloud suppliers, and improves the flexibility and automation of operation and maintenance.
Smart Images

Figure CN119292866A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to technical fields such as microservice architecture and cloud resource operation and maintenance, and in particular to an operation and maintenance system, operation and maintenance method, electronic device and medium based on microservice architecture. Background Art
[0002] Cloud resource operation and maintenance refers to the use of relevant methods, means, technologies, systems, processes and documents by the company's IT (Information Technology) department to achieve comprehensive management of cloud computing software and hardware operating environments, IT business systems, and IT operation and maintenance personnel. For example, in the field of transportation facility operation and maintenance, there are many daily maintenance operations, including indicators that are regularly checked, tasks that are performed, or similar maintenance behaviors. The daily work of maintenance personnel includes a lot of repetitive labor.
[0003] However, traditional cloud resource operation and maintenance are relatively closed systems, generally applicable to internal maintenance of certain network equipment and information data centers. Although it seems that many systems are integrated internally, each system is essentially composed of isolated islands, resulting in low overall efficiency and limited coordination between them. A complete set of cloud operation and maintenance requires a lot of homework within the enterprise, a lot of manpower, and a sufficient operation and maintenance team. Currently, different cloud providers have different requirements for operation and maintenance services due to differences in industry characteristics and business processes, and even different cloud computing providers have different requirements for operation and maintenance services, so there is a great need for customized operation and maintenance. Summary of the invention
[0004] To this end, the purpose of the implementation mode of the present application is to propose an operation and maintenance system, operation and maintenance method, electronic device, medium and computer program product based on microservice architecture. The operation and maintenance system based on microservice architecture of the present application is constructed in a component-based manner based on the microservice architecture to realize intelligent operation and maintenance of cloud devices, and automatically issues work orders when handling faults to realize hierarchical processing.
[0005] An embodiment of the present application provides an operation and maintenance system based on a microservice architecture, wherein the operation and maintenance system is used to operate and maintain cloud devices, and the operation and maintenance system is constructed in a component-based manner based on the microservice architecture. The operation and maintenance system includes an operation and maintenance object and an operation and maintenance platform associated with the operation and maintenance object, and the operation and maintenance platform includes: a monitoring center module, which is used to collect resource indicator data of cloud devices, and obtain alarm information during the operation of cloud devices according to the resource indicator data; an alarm processing module, which is used to process the alarm information according to alarm rules and page rules to obtain target alarm data, wherein the alarm rules and the page rules are configured by the operation and maintenance system; a work order issuing module, which is used to generate a work order based on the target alarm data, and issue the work order to a corresponding processing channel according to the level of the target alarm data, wherein the processing channel has a one-to-one correspondence with the level of the target alarm data.
[0006] Exemplarily, the resource indicator data includes at least one of the device CPU utilization, disk utilization, memory utilization, and service status data, and obtaining alarm information based on the resource indicator data includes: obtaining alarm information when at least one of the device CPU utilization, disk utilization, and memory utilization exceeds a preset threshold; and / or obtaining alarm information when the service status data is in preset status data.
[0007] Exemplarily, the processing of the alarm information according to the alarm rules and the page rules includes: performing preliminary processing on the alarm information according to the alarm rules, wherein the preliminary processing includes at least one of standardizing the alarm information, determining the alarm time, and determining the alarm resources; and processing the alarm information after preliminary processing according to the page rules.
[0008] Exemplarily, the operation and maintenance platform also includes a process center module, the process center module includes multiple process nodes, the page rules include page update rules, and the processing of the alarm information after preliminary processing according to the page rules includes: updating the foreground page according to the page update rules to determine at least one process node, and processing the alarm information through the process node.
[0009] Exemplarily, the page rules also include node rules, which correspond one-to-one to the process nodes. The process center module is used to process the alarm information according to the node rules corresponding to each process node, wherein the node rules include filtering alarm data caused by network fluctuations and issuing at least one of alarm processing work orders.
[0010] Exemplarily, the process center module is also used to read the input data and output data of the current process node, and determine the next node according to the input data and output data of the current node.
[0011] Exemplarily, the process center module is also used to adjust the number of process nodes according to actual working conditions.
[0012] Exemplarily, the monitoring center module includes a plurality of resource indicator data storage units, and the monitoring center module is further configured to determine a storage unit for the resource indicator data according to a category of the resource indicator data.
[0013] Exemplarily, the processing channel includes at least one of an operation and maintenance expert processing channel of the operation and maintenance group and an online user processing channel.
[0014] Exemplarily, the operation and maintenance platform also includes a task center module, which includes a job scheduling module and a scheduled task module. The job scheduling module is used to schedule scripts according to the alarm information; the scheduled task module is used to create a new scheduled task according to the script, and save the scheduled task data according to the scheduled task configuration, so that the task center module executes the scheduled task according to the scheduled task data, wherein the scheduled task configuration includes the scheduled task execution interval, and the scheduled task includes the scheduled collection of resource indicator data.
[0015] Another embodiment of the present application provides an operation and maintenance method based on a microservice architecture, the operation and maintenance method is applied to an operation and maintenance system, the operation and maintenance system is used to operate and maintain cloud devices, the method includes: collecting resource indicator data of cloud devices, and obtaining alarm information during the operation of cloud devices according to the resource indicator data; processing the alarm information according to alarm rules and page rules to obtain target alarm data, wherein the alarm rules and the page rules are configured by the operation and maintenance system; generating a work order based on the target alarm data, and issuing the work order to a corresponding processing channel according to the level of the target alarm data, wherein the processing channel corresponds one-to-one to the level of the target alarm data.
[0016] Another embodiment of the present application provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the method of any of the above embodiments when executing the computer program.
[0017] Another embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of the method of any of the above embodiments are implemented.
[0018] Another embodiment of the present application provides a computer program product, which includes instructions. When the instructions are executed by a processor of a computer device, the computer device is enabled to perform the steps of the method of any of the above embodiments.
[0019] In the above implementation, the operation and maintenance system is constructed in a component-based manner based on the microservice architecture, and the operation and maintenance platform includes: a monitoring center module, which is used to collect resource indicator data of cloud devices, and obtain alarm information during the operation of cloud devices based on the resource indicator data; an alarm processing module, which is used to process the alarm information according to the alarm rules and page rules to obtain the target alarm data, and the alarm rules and page rules are configured by the operation and maintenance system; a work order issuing module, which is used to generate work orders based on the target alarm data, and issue the work orders to the corresponding processing channels according to the level of the target alarm data, wherein the processing channels correspond one to one with the level of the target alarm data. The operation and maintenance system based on the microservice architecture of the present application is constructed in a component-based manner based on the microservice architecture, realizes intelligent operation and maintenance of cloud devices, and automatically issues work orders during fault handling to realize hierarchical processing. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 A schematic diagram of an operation and maintenance platform based on a microservice architecture provided for an implementation method of the present application;
[0021] Figure 2 A schematic diagram of the function implementation of the monitoring center module provided in the implementation mode of the present application;
[0022] Figure 3 A flowchart for processing alarm information provided by an implementation method of the present application;
[0023] Figure 4 A flowchart for issuing a work order provided for the implementation method of this application;
[0024] Figure 5 A flowchart of the operation and maintenance method provided for an implementation method of the present application;
[0025] Figure 6 Implementation flow chart of the task center module and process center module provided for the implementation mode of this application;
[0026] Figure 7 A schematic diagram of an operation and maintenance system based on a microservice architecture provided for an implementation manner of the present application;
[0027] Figure 8 A flowchart of an operation and maintenance method based on a microservice architecture provided for an implementation of the present application;
[0028] Fig. 9 A block diagram of an electronic device provided for an embodiment of the present application. DETAILED DESCRIPTION
[0029] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application.
[0030] Cloud resource operation and maintenance refers to the use of relevant methods, means, technologies, systems, processes and documents by the company's IT (Information Technology) department to achieve comprehensive management of cloud computing software and hardware operating environments, IT business systems, and IT operation and maintenance personnel. For example, in the field of transportation facility operation and maintenance, there are many daily maintenance operations, including indicators that are regularly checked, tasks that are performed, or similar maintenance behaviors. The daily work of maintenance personnel includes a lot of repetitive labor.
[0031] However, traditional cloud resource operation and maintenance are relatively closed systems, generally applicable to internal maintenance of certain network equipment and information data centers. Although it seems that many systems are integrated internally, each system is essentially composed of isolated islands, resulting in low overall efficiency and limited coordination between them. A complete set of cloud operation and maintenance requires a lot of homework within the enterprise, a lot of manpower, and a sufficient operation and maintenance team. Currently, different cloud providers have different requirements for operation and maintenance services due to differences in industry characteristics and business processes, and even different cloud computing providers have different requirements for operation and maintenance services, so there is a great need for customized operation and maintenance.
[0032] Based on this, this application proposes an operation and maintenance system based on a microservice architecture. By using the microservice architecture, functions are decomposed into discrete services to achieve decoupling, and each component service is built in a building block style, so that each component can interact with each other and have a certain degree of independence.
[0033] Figure 1 It is a schematic diagram of an operation and maintenance system based on a microservice architecture according to an embodiment of the present application.
[0034] like Figure 1 As shown, the operation and maintenance platform includes: a monitoring center module, which is used to collect resource indicator data of cloud devices and obtain alarm information during the operation of cloud devices based on the resource indicator data; an alarm processing module, which is used to process the alarm information according to alarm rules and page rules to obtain target alarm data, wherein the alarm rules and page rules are configured by the operation and maintenance system; a work order issuing module, which is used to generate work orders based on target alarm data, and issue the work orders to corresponding processing channels according to the level of target alarm data, wherein the processing channels correspond one to one with the level of target alarm data.
[0035] Exemplarily, the operation and maintenance system is used to operate and maintain cloud devices. The operation and maintenance system is constructed in a component-based manner based on a microservice architecture. The operation and maintenance system includes an operation and maintenance object and an operation and maintenance platform associated with the operation and maintenance object. The operation and maintenance platform communicates with the cloud device, wherein. The operation and maintenance platform includes a monitoring center module, which is used to monitor the cloud device, for example, to collect resource indicator data of the cloud device. And obtain alarm information during the operation of the cloud device according to the resource indicator data. For example, when the indicator data represents that the cloud device resources are in an emergency, the monitoring center mode monitors and polls in real time to obtain the alarm information of the cloud device. The monitoring center module is connected to the alarm processing module, and the monitoring center module transmits the alarm information to the alarm processing module. The alarm processing module processes the alarm information according to the alarm rules and page rules to obtain the target alarm data. The alarm rules and page rules can be customized by the system. The alarm processing module is connected to the work order issuing module, and the work order issuing module generates a work order based on the target alarm data, and issues the work order to the corresponding processing channel according to the level of the target alarm data. It can be understood that when the target alarm data indicates that an alarm work order needs to be issued for processing, the work order issuance module is pulled up. The work order issuance module generates a work order based on the target alarm information, and sends the work order to the corresponding processing channel according to the level of the target alarm data. For example, the higher the level of the target alarm data, the more urgent the work order can be.
[0036] The operation and maintenance system based on microservice architecture of the present application is constructed in a component-based manner based on the microservice architecture to realize intelligent operation and maintenance of cloud devices, process alarm information according to the alarm rules and page rules configured by the system, and automatically issue work orders during fault processing to realize hierarchical processing.
[0037] As an example, the monitoring center module includes multiple resource indicator data storage units, and the monitoring center module is further used to determine the storage unit of the resource indicator data according to the category of the resource indicator data.
[0038] Exemplarily, the monitoring center module collects various resource indicator data, and implements partition management of the resource indicator data according to the categories of the resource indicator data.
[0039] Exemplarily, the management of resource indicator data collected by the monitoring center module in this application is based on the configuration management database (CMDB). CMDB is a logical database that contains information about the entire life cycle of configuration items and the relationships between configuration items (including physical relationships, real-time communication relationships, non-real-time communication relationships, and dependency relationships). It achieves one-stop management of customer resource information, overall management of resource life cycles, maintenance of resource architecture diagrams, and unified modeling resources.
[0040] As an example, the resource indicator data includes at least one of the device CPU utilization, disk utilization, memory utilization, and service status data, and obtaining alarm information based on the resource indicator data includes: obtaining alarm information when at least one of the device CPU utilization, disk utilization, and memory utilization exceeds a preset threshold; and / or obtaining alarm information when the service status data is in a preset status data.
[0041] Exemplarily, the monitoring center module collects resource indicator data such as device CPU utilization, disk utilization, memory utilization, and service status data, and obtains alarm information when at least one of the device CPU utilization, disk utilization, and memory utilization exceeds a preset threshold. Or when the service status data is in a preset state data, obtain alarm information. For example, when the device CPU utilization exceeds 90%, an alarm is determined, and the monitoring center module obtains alarm information.
[0042] Figure 2 It is a schematic diagram of the functional implementation of the monitoring center module of an embodiment of the present application.
[0043] like Figure 2 As shown, the monitoring center module can monitor various cloud devices such as infrastructure, application performance, logs and containers, and collect indicator data in real time. The collection time can also be configured by the system to realize time series database collection and uniformly manage the collected data based on the configuration management database CMDB.
[0044] As an example, Figure 3 As shown, the alarm information is processed according to the alarm rules and page rules, including:
[0045] S301, preliminarily processing the alarm information according to the alarm rule, wherein the preliminarily processing includes at least one of standardizing the alarm information, determining the alarm time, and determining the alarm resource.
[0046] S302: Process the alarm information after preliminary processing according to the page rules.
[0047] Exemplarily, after the monitoring center module obtains the alarm information, it transmits the alarm information to the alarm processing module, and the alarm processing module performs preliminary processing on the alarm information according to the alarm rules, wherein the alarm processing rules can be obtained by the system configuration. The preliminary processing includes standardization of the alarm information, determination of the alarm time, determination of the alarm resources, and other processing. For example, determine the exact alarm time in the alarm information. For another example, determine which one or more resources are alarming. The alarm processing module continues to process the alarm information after preliminary processing according to the page processing rules. It can be understood that after the alarm information is processed according to the page processing rules, the target alarm data is determined, and the target alarm data represents the need to issue an alarm work order for processing.
[0048] As an example, the operation and maintenance platform further includes a process center module, the process center module includes multiple process nodes, the page rules include page update rules, and the alarm information after preliminary processing is processed according to the page rules, including:
[0049] The foreground page is updated according to the page update rule to determine at least one process node, and the alarm information is processed through the process node.
[0050] Exemplarily, the page update rule is such that the page refreshes once every 2 seconds to load the data required for the page. The alarm processing module forwards the alarm information after preliminary processing to the database through the cache for peak shaving processing, and refreshes the alarm information after preliminary processing to the foreground page according to the page update rule. For example, the foreground page rule is to refresh the data required for loading the page once every 2 seconds, then the two-second alarm information will be displayed in the foreground page, or in the process node. The process center module includes multiple process nodes, and the process nodes can be pre-configured to update the foreground page to determine at least one process node, and the alarm information is processed through the process node. It can be understood that the alarm information is forwarded to the foreground through the page update rule, and the process node is awakened to process the alarm information according to the process. Of course, the process nodes for processing the alarm may include multiple.
[0051] As an example, the page rules also include node rules, which correspond one-to-one to the process nodes. The process center module is used to process the alarm information according to the node rules corresponding to each process node, wherein the node rules include filtering the alarm data caused by network fluctuations and issuing at least one of alarm processing work orders.
[0052] Exemplarily, each process node includes a corresponding node rule, and the alarm information is processed according to the node rule corresponding to each process node. For example, the node rule may be to filter the alarm data caused by network fluctuations, so when reaching this process node, the alarm information will be filtered and processed. For example, the node rule may be to issue an alarm processing work order, so when reaching this process node, an alarm processing work order will be issued according to the alarm information.
[0053] As an example, the monitoring center module can obtain alarm information in real time. The alarm processing module processes the alarm message according to the configured alarm rules, including standardization, determination of alarm time, and determination of alarm resources. The alarm processing module forwards the processed alarm message to the database and then to the front page through the cache for peak shaving. The alarm processing module loads the front page rules (for example, the page refreshes once every 2 seconds to load the data required for the page) to update the latest alarm data. For example, if the front page rule is to refresh once every 2 seconds to load the data required for the page, then the two-second alarm message will be displayed in the front page, or in the process node, indicating that the alarm message is forwarded to the front page. The front page rules also include the rules of the node, which is forwarded to the alarm processing node according to the alarm information. These nodes process the alarm information according to the alarm content and node rules. Each node can configure its own rules. For example, the rule of configuring a processing node is to filter the alarm data caused by network fluctuations to achieve preliminary screening of the alarm content. The rule of configuring another processing node is to determine the alarm to issue a work order. It can be displayed in the background when the alarm is triggered, and the background administrator can be notified in time.
[0054] As an example, the processing channel includes at least one of an operation and maintenance expert processing channel of the operation and maintenance group and an online user processing channel.
[0055] Exemplarily, if the process node determines to issue an alarm processing work order, the work order issuance module issues the work order to the corresponding processing channel according to the level of the target alarm data. The present application automatically issues alarm data, that is, once an alarm is issued, it is automatically issued according to the alarm level. For example, it is issued to different channels for processing according to the importance. For example, important alarm work orders will be sent to the operation and maintenance experts of the operation and maintenance group for processing, and some unimportant alarm work orders will be automatically identified and sent to online users for direct judgment and processing. The intelligent operation and maintenance system of the present application can detect faults and handle them in a timely manner, and can notify and handle emergency alarms in a timely manner.
[0056] Figure 4 This is a work order issuance flow chart of an embodiment of the present application.
[0057] like Figure 4As shown in the figure, the work order issuing module determines the target alarm data level and identifies the alarm level. The alarm data is automatically summarized to the work order issuing module and distributed to the work order system according to the level. Different processing channels are used according to the alarm level. Emergency alarms can be directly distributed to the automated operation and maintenance system or to the operation and maintenance experts for immediate processing to ensure the timeliness of emergency alarm processing. Minor alarms will be directly notified to online users and can be ignored. Alarms of other levels are handled by different operation and maintenance personnel according to the rules. The alarm results after the alarm is processed will be called back to the online user or the console. In addition, the work order issuing module globally counts the progress data of the work order.
[0058] Figure 5 It is a flow chart of an operation and maintenance method of an embodiment of the present application.
[0059] like Figure 5 As shown, CMDB resource data modeling is managed in a unified manner to manage the entire resource life cycle. Configure a unified monitoring method, collect resource indicator data and actively pull and push resource alarm data (such as alarm data such as insufficient memory space), partition resource indicator data and alarm data, and when an alarm is triggered, automatically issue a work order for the alarm data, and handle the alarm in a hierarchical and decentralized manner. The operation and maintenance platform of this application realizes centralized resource management, automatic collection and monitoring of indicator data, and multi-level management. It has the advantages of monitoring function, high real-time performance, intelligent analysis, and automated control.
[0060] As an example, the process center module is also used to read the input data and output data of the current process node, and determine the next node according to the input data and output data of the current node.
[0061] For example, the process center module can automatically schedule the operation and maintenance process module according to the direction and input information of the operation and maintenance process, update the configuration module or schedule specific resources; and determine the next process node of the operation and maintenance process by reading the input and output before the current process node of the operation and maintenance process. For example, by adjusting the output of the previous process node to change the next process node.
[0062] As an example, the process center module is also used to adjust the number of process nodes according to actual working conditions.
[0063] Exemplarily, the process center module can also supplement missing steps in real time according to actual working conditions, for example, by adding process nodes. Exemplarily, when an alarm occurs, if the alarm process is not triggered according to the pre-configured page rules, a bill of lading can be manually initiated, and the work order can be sent to the process node according to the alarm processing process, such as being distributed to the administrator first, and then to the next node after the administrator confirms and approves it, and the next node pushes it inward until the alarm is processed through the process. Of course, this is not only applicable to IT operation and maintenance scenarios, but also widely applicable to general work scenarios such as OA office and workflow approval.
[0064] As an example, the operation and maintenance platform also includes a task center module, which includes a job scheduling module and a scheduled task module.
[0065] Job scheduling module, used to schedule scripts based on alarm information;
[0066] The scheduled task module is used to create a scheduled task based on the script and save the scheduled task data according to the scheduled task configuration, so that the task center module can execute the scheduled task according to the scheduled task data.
[0067] Among them, the scheduled task configuration includes the scheduled task execution interval, and the scheduled task includes the scheduled collection of resource indicator data.
[0068] Exemplarily, the task center module can create orchestration scripts in groups in the front-end visualization page. For example, the script is orchestrated according to the alarm information. Some jobs can be configured through the job orchestration module, and tasks can also be added temporarily. The process job is orchestrated through the visualization page, and the script job and file are sent down for process orchestration. The scheduled task module schedules and manages the process job, creates a new scheduled task in the scheduled task module page, selects the saved process job in the job orchestration module, and uses the visualization page to quickly configure the scheduled task rules. The configuration data is saved in the database through the background, and the operation and maintenance tasks are executed according to the saved timing rules. Traditional task scheduling schemes, such as priority-based task scheduling schemes: when the latest task is input, the latest task is cached in different intervals according to the priority and waits for execution. This kind of automatic execution of the formulated operation through pre-configuration, scheduled tasks and other steps cannot complete the corresponding adjustment according to the changes in the work order. At the same time, the existing automated operation and maintenance system is mainly limited to the scenario of monitoring operation and maintenance, and cannot adapt to the automated operation and maintenance management operations under more complex operation and maintenance requirements. The present application can adjust task scheduling and execution according to changes in work orders.
[0069] Figure 6 It is an implementation flow chart of the task center module and the process center module of an embodiment of the present application.
[0070] like Figure 6 As shown, when an alarm occurs in the process center module, a work order can be automatically or manually initiated, and the work order can be sent to the process node according to the alarm processing process. The task center module can create and edit scripts in groups on the front-end visualization page. The job scheduling module arranges process jobs through the visualization page, sends script jobs and files for process scheduling, and performs operation and maintenance tasks according to the script operation and maintenance to solve faults and realize intelligent operation and maintenance.
[0071] It should be noted that the operation and maintenance platform of this application also includes a statistical center module and a system management module. The statistical center module is used for report management, which can receive analysis data and generate charts. The system management module can provide users with complete account management and authority management functions, and the login operation log can record the operation content of the organization, personnel, role authority related content in the application development platform.
[0072] Figure 7 It is a schematic diagram of an operation and maintenance system based on a microservice architecture according to an embodiment of the present application.
[0073] like Figure 7 As shown in the figure, the operation and maintenance system based on microservice architecture includes asset configuration management library CMDB, monitoring center, process center, task center, statistics center, and system management. The resource configuration management library CMDB integrates resource management module and network monitoring and monitoring functions. The monitoring center module integrates alarm management module, alarm configuration module, IP address management module, and inspection management module. The task center module integrates script management and task execution functions. The statistics center-report management module integrates report design and report subscription functions. The system management module integrates account unified management, login operation log, and access operation audit functions.
[0074] The operation and maintenance system based on microservice architecture of the present application uses microservice architecture at the bottom layer to provide resource services, monitoring services, task services, statistical services, infrastructure services and external integration interfaces, and then integrates a set of intelligent operation and maintenance systems by integrating various services. According to the business scenario, process nodes with specific functions are configured, and customized operation and maintenance processes are configured using process nodes, and the operation and maintenance processes and the trigger conditions of each operation and maintenance process are configured, and the necessary configuration items are imported. For example, when an alarm occurs, a work order for processing the alarm will be submitted, and a work order processing process will be established. According to the level of the work order, it will be sent to the node for processing according to the node configured in the process. Configure the calling method of each process node in the operation and maintenance process. When the user behavior meets the triggering conditions of the process, the intelligent operation and maintenance operation is automatically executed according to the operation and maintenance process corresponding to the triggering conditions. This application is suitable for more operation and maintenance scenarios, and the execution of tasks is very predictable and flexible. It avoids the use of a large number of cumbersome manual operations by operation and maintenance personnel during operation and maintenance, greatly improves the efficiency of operation and maintenance work, and realizes the automation of operation and maintenance processes across cloud platforms, teams and fields.
[0075] This application also proposes an operation and maintenance method based on a microservice architecture.
[0076] like Figure 8 As shown, the operation and maintenance method is applied to the operation and maintenance system, which is used to operate and maintain cloud devices. The operation and maintenance method based on the microservice architecture includes:
[0077] S801, collecting resource indicator data of cloud devices, and obtaining alarm information during the operation of cloud devices based on the resource indicator data.
[0078] S802, processing the alarm information according to the alarm rules and page rules to obtain target alarm data, wherein the alarm rules and page rules are configured by the operation and maintenance system.
[0079] S803, generating a work order based on the target alarm data, and issuing the work order to a corresponding processing channel according to the level of the target alarm data, wherein the processing channel corresponds to the level of the target alarm data one by one.
[0080] The application also proposes a computer-readable storage medium.
[0081] In this embodiment, a computer program is stored on a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the above-mentioned operation and maintenance method based on the microservice architecture are implemented.
[0082] Fig. 9 A block diagram of an electronic device provided for an embodiment of the present application.
[0083] An embodiment of the present application provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor implements the above-mentioned operation and maintenance method based on the microservice architecture when executing the computer program.
[0084] like Fig. 9 As shown, for ease of understanding, the embodiment of the present application shows a specific electronic device.
[0085] Electronic devices are intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframes, and other suitable computers. Electronic devices may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or claimed herein.
[0086] like Fig. 9As shown, the device includes a computing unit 901, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 902 or a computer program loaded from a storage unit 908 into a random access memory (RAM) 1903. In the RAM 903, various programs and data required for the operation of the electronic device can also be stored. The computing unit 901, the ROM 902, and the RAM 903 are connected to each other via a bus 904. An input / output (I / O) interface 905 is also connected to the bus 904.
[0087] Multiple components in the electronic device are connected to the I / O interface 905, including: an input unit 906, such as a keyboard, a mouse, etc.; an output unit 907, such as various types of displays, speakers, etc.; a storage unit 908, such as a disk, an optical disk, etc.; and a communication unit 909, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 909 allows the electronic device to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0088] The computing unit 901 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 901 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 901 performs the various methods described above, such as an operation and maintenance method based on a microservice architecture. For example, in some embodiments, an operation and maintenance method based on a microservice architecture may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 908. In some embodiments, part or all of the computer program may be loaded and / or installed on an electronic device via a ROM 902 and / or a communication unit 909. When the computer program is loaded into the RAM 903 and executed by the computing unit 901, the operation and maintenance method based on the microservice architecture described above may be executed. Alternatively, in other embodiments, the computing unit 901 may be configured to perform an operation and maintenance method based on a microservice architecture in any other appropriate manner (e.g., by means of firmware).
[0089] It should be noted that the logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be specifically implemented in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purposes of this application, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection portion with one or more wirings (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or otherwise processing in a suitable manner if necessary, and then stored in a computer memory.
[0090] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0091] In the description of the present application, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In the present application, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0092] In the description of the present application, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise", "axial", "radial", "circumferential" and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present application.
[0093] In addition, the terms "first", "second", etc. used in the embodiments of the present application are only used for descriptive purposes and should not be understood as indicating or implying relative importance, or implicitly indicating the number of technical features indicated in the present embodiment. Therefore, the features defined by the terms "first", "second", etc. in the embodiments of the present application can explicitly or implicitly indicate that at least one of the features is included in the embodiment. In the description of the present application, the word "multiple" means at least two or two or more, such as two, three, four, etc., unless otherwise clearly and specifically defined in the embodiments.
[0094] In this application, unless otherwise clearly specified or limited in the embodiments, the terms "installed", "connected", "connected" and "fixed" etc. appearing in the embodiments should be understood in a broad sense. For example, the connection can be a fixed connection, a detachable connection, or an integrated connection. It can be understood that it can also be a mechanical connection, an electrical connection, etc.; of course, it can also be a direct connection, or an indirect connection through an intermediate medium, or it can be the internal connection of two elements, or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to the specific implementation situation.
[0095] In the present application, unless otherwise clearly specified and limited, a first feature being “above” or “below” a second feature may mean that the first and second features are in direct contact, or the first and second features are in indirect contact through an intermediate medium. Moreover, a first feature being “above”, “above”, and “above” a second feature may mean that the first feature is directly above or obliquely above the second feature, or simply means that the first feature is higher in level than the second feature. A first feature being “below”, “below”, and “below” a second feature may mean that the first feature is directly below or obliquely below the second feature, or simply means that the first feature is lower in level than the second feature.
[0096] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in the field can change, modify, replace and modify the above embodiments within the scope of the present application.
Claims
1. An operation and maintenance system based on microservice architecture, characterized in that: The operation and maintenance system is used to operate and maintain cloud devices. The operation and maintenance system is constructed in a component-based manner based on a microservice architecture. The operation and maintenance system includes an operation and maintenance object and an operation and maintenance platform associated with the operation and maintenance object. The operation and maintenance platform includes: The monitoring center module is used to collect resource indicator data of cloud devices and obtain alarm information during the operation of cloud devices based on the resource indicator data; An alarm processing module, used to process the alarm information according to an alarm rule and a page rule to obtain target alarm data, wherein the alarm rule and the page rule are configured by the operation and maintenance system; The work order issuing module is used to generate a work order based on the target alarm data, and issue the work order to a corresponding processing channel according to the level of the target alarm data, wherein the processing channel corresponds to the level of the target alarm data one by one.
2. The operation and maintenance system according to claim 1, characterized in that: The resource indicator data includes at least one of device CPU utilization, disk utilization, memory utilization, and service status data, and obtaining alarm information according to the resource indicator data includes: When at least one of the CPU utilization, disk utilization, and memory utilization of the device exceeds a preset threshold, obtaining alarm information; and / or When the service status data is in the preset status data, alarm information is obtained.
3. The operation and maintenance system according to claim 1, characterized in that: The processing of the alarm information according to the alarm rule and the page rule includes: Performing preliminary processing on the alarm information according to the alarm rule, wherein the preliminary processing includes at least one of standardizing the alarm information, determining the alarm time, and determining the alarm resource; The alarm information after preliminary processing is processed according to the page rules.
4. The operation and maintenance system according to claim 3, characterized in that: The operation and maintenance platform further includes a process center module, the process center module includes a plurality of process nodes, the page rules include page update rules, and the processing of the alarm information after preliminary processing according to the page rules includes: The foreground page is updated according to the page update rule to determine at least one process node, and the alarm information is processed through the process node.
5. The operation and maintenance system according to claim 4, characterized in that: The page rules also include node rules, which correspond one-to-one to the process nodes. The process center module is used to process the alarm information according to the node rules corresponding to each process node, wherein the node rules include filtering alarm data caused by network fluctuations and issuing at least one of alarm processing work orders.
6. The operation and maintenance system according to claim 4, characterized in that: The process center module is also used to read the input data and output data of the current process node, and determine the next node according to the input data and output data of the current node.
7. The operation and maintenance system according to claim 6, characterized in that: The process center module is also used to adjust the number of process nodes according to actual working conditions.
8. The operation and maintenance system according to claim 1, characterized in that: The monitoring center module includes a plurality of resource indicator data storage units, and the monitoring center module is further used to determine the storage unit of the resource indicator data according to the category of the resource indicator data.
9. The operation and maintenance system according to claim 1, characterized in that: The processing channel includes at least one of an operation and maintenance expert processing channel of the operation and maintenance group and an online user processing channel.
10. The operation and maintenance system according to claim 1, characterized in that: The operation and maintenance platform also includes a task center module, which includes a job scheduling module and a scheduled task module. The job scheduling module is used to schedule a script according to the alarm information; The scheduled task module is used to create a scheduled task according to the script and save the scheduled task data according to the scheduled task configuration, so that the task center module executes the scheduled task according to the scheduled task data. The scheduled task configuration includes the scheduled task execution interval, and the scheduled task includes the scheduled collection of resource indicator data.
11. An operation and maintenance method based on microservice architecture, characterized in that: The operation and maintenance method is applied to an operation and maintenance system, and the operation and maintenance system is used to operate and maintain cloud devices. The method includes: Collect resource indicator data of cloud devices, and obtain alarm information during the operation of cloud devices based on the resource indicator data; Processing the alarm information according to the alarm rule and the page rule to obtain target alarm data, wherein the alarm rule and the page rule are configured by the operation and maintenance system; A work order is generated based on the target alarm data, and the work order is issued to a corresponding processing channel according to the level of the target alarm data, wherein the processing channel corresponds to the level of the target alarm data one by one.
12. An electronic device, characterized in that: The method comprises a memory and a processor, wherein the memory stores a computer program, and wherein the processor implements the steps of the method described in claim 11 when executing the computer program.
13. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed by a processor, the steps of the method described in claim 11 are implemented.
Citation Information
Cited By
Information processing method and device, equipment, storage medium and computer program product
CN121255568A