Device operation and maintenance method, device and computer program product

By obtaining equipment operating status data to determine automatic operation and maintenance capabilities, determining the operation and maintenance operation types and tools, and realizing automated operation and maintenance, the problems of low operation and maintenance efficiency and human errors in existing technologies are solved, and the efficiency and quality of equipment operation and maintenance are improved.

WO2025202764A1PCT designated stage Publication Date: 2025-10-02CLOUD INTELLIGENCE ASSETS HOLDING (SINGAPORE) PTE LTD

Patent Information

Application Number
PCT/IB2025/051931
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-03-26
Filing Date
2025-02-24
Publication Date
2025-10-02

AI Technical Summary

Technical Problem

Existing equipment operation and maintenance solutions require a lot of manpower investment, have low operation and maintenance efficiency, and are prone to human operational errors, making it difficult to meet the stability requirements of application systems.

Method used

By obtaining the operating status data of the equipment to be operated and maintained, it is determined whether it can perform automatic operation and maintenance operations, and the operation and maintenance operation type and target operation and maintenance tools are determined based on the data to achieve automated operation and maintenance operations.

Benefits of technology

It reduces manual operation and maintenance operations by users, improves the efficiency and quality of equipment operation and maintenance, and expands the application scenarios and scope of application of operation and maintenance methods.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure IB2025051931_02102025_PF_FP_ABST
    Figure IB2025051931_02102025_PF_FP_ABST
Patent Text Reader

Abstract

Provided in the embodiments of the present disclosure are a device operation and maintenance method, a device and a computer program product. The method comprises: acquiring operating state data of a device to be subjected to operation and maintenance; when said device can undergo automatic operation and maintenance, on the basis of the operating state data, determining an operation and maintenance type and a target operation and maintenance tool which correspond to said device; and, on the basis of the operating state data, the operation and maintenance type and the target operation and maintenance tool, performing automatic operation and maintenance on said device. In the described solution, the operation and maintenance type and the target operation and maintenance tool which correspond to said device are determined on the basis of the operating state data, such that the operation and maintenance type and the target operation and maintenance tool corresponding to said device can be automatically determined without the need of a user performing analysis and processing on said device on the basis of experience, and automatic operation and maintenance can be automatically performed on said device on the basis of the operating state data, the operation and maintenance type and the target operation and maintenance tool, thereby improving the efficiency and quality of device operation and maintenance.
Need to check novelty before this filing date? Find Prior Art

Description

[0001]This disclosure claims priority to Chinese patent application number 202410354892.9, filed with the China Patent Office on March 26, 2024, entitled "Device Operation and Maintenance Method, Device, and Computer Program Product," the entire contents of which are incorporated herein by reference. Technical Field This disclosure relates to the field of computer technology, and more particularly to a device operation and maintenance method, device, and computer program product. Background: In the cloud-native era, operations and maintenance personnel can quickly detect service anomalies using observability technologies. When a service anomaly is detected, an anomaly alert is issued to the operations and maintenance personnel. Based on the anomaly alert, the operations and maintenance personnel can identify the anomalous device and perform manual operations and maintenance on the anomalous device, promptly responding to the anomalous service and ensuring normal service operation. However, this device operation and maintenance solution requires the operations and maintenance personnel to manually perform operations and maintenance on the anomalous device, which consumes a large amount of manpower and results in low operation and maintenance efficiency. SUMMARY OF THE INVENTION Embodiments of the present disclosure provide a device operation and maintenance method, device, and computer program product that can implement automated operation and maintenance operations for devices, thereby improving device operation and maintenance efficiency. In a first aspect, embodiments of the present disclosure provide a device operation and maintenance method, comprising: obtaining operating status data of a device to be operated and maintained; if the device to be operated and maintained is capable of performing automatic operation and maintenance operations, determining an operation and maintenance operation type and a target operation and maintenance tool corresponding to the device to be operated and maintained based on the operating status data; and performing an automatic operation and maintenance operation on the device to be operated and maintained based on the operating status data, the operation and maintenance operation type, and the target operation and maintenance tool. In a second aspect, embodiments of the present disclosure provide a device operation and maintenance apparatus, comprising: an acquisition module for obtaining operating status data of the device to be operated and maintained; a determination module for determining, if the device to be operated and maintained is capable of performing automatic operation and maintenance operations, the operation and maintenance operation type and the target operation and maintenance tool corresponding to the device to be operated and maintained based on the operating status data; and an operation and maintenance module for performing an automatic operation and maintenance operation on the device to be operated and maintained based on the operating status data, the operation and maintenance operation type, and the target operation and maintenance tool. In a third aspect, embodiments of the present disclosure provide an electronic device, comprising: a memory and a processor; wherein the memory is configured to store one or more computer instructions, wherein the one or more computer instructions, when executed by the processor, implement the device operation and maintenance method described in the first aspect. In a fourth aspect, embodiments of the present disclosure provide a computer storage medium configured to store a computer program, wherein the computer program, when executed by a computer, implements the device operation and maintenance method described in the first aspect.In a fifth aspect, embodiments of the present disclosure provide a computer program product comprising: a computer-readable storage medium storing computer instructions, wherein when the computer instructions are executed by one or more processors, the one or more processors are caused to perform the steps of the device operation and maintenance method described in the first aspect. In the device operation and maintenance solution provided in embodiments of the present disclosure, when performing automatic operation and maintenance on a device, a determination can be made as to whether the device to be operated and maintained is capable of automatic operation and maintenance. If it is determined that the device to be operated and maintained is capable of automatic operation and maintenance, the operation and maintenance type and target operation and maintenance tool corresponding to the device to be operated and maintained are determined based on the operating status data of the device to be operated and maintained. Based on the operation and maintenance type and the target operation and maintenance tool, an automatic operation and maintenance operation is performed on the device to be operated and maintained. Specifically, the operating status data of the device to be operated and maintained is first obtained. If the device to be operated and maintained is capable of performing automatic operation and maintenance operations, the operation and maintenance operation type corresponding to the device to be operated and maintained and the target operation and maintenance tool corresponding to the operation and maintenance operation type can be directly determined based on the operating status data. In this way, the operation and maintenance operation type of the device to be operated and maintained and the target operation and maintenance tool for performing automatic operation and maintenance operations on the device to be operated and maintained can be automatically determined without the user having to analyze and process the operating status data of the device to be operated and maintained based on work experience. Based on the operating status data, the operation and maintenance operation type, and the target operation and maintenance tool, the automatic operation and maintenance operations are performed on the device to be operated and maintained. This realizes automatic operation and maintenance of the device to be operated and maintained, reduces manual operation and maintenance operations by users, improves the efficiency of device operation and maintenance operations, and simultaneously avoids human operational errors during the operation and maintenance of the device to be operated and maintained, thereby improving the quality of device operation and maintenance operations, thereby effectively expanding the application scenarios and scope of applicability of the method. BRIEF DESCRIPTION OF THE DRAWINGS To more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present disclosure. For those of ordinary skill in the art, other drawings can be derived from these drawings without inventive effort.Figure 1 is a schematic diagram of a scenario of a device operation and maintenance method provided in an embodiment of the present disclosure; Figure 2 is a schematic flow chart of a device operation and maintenance method provided in an embodiment of the present disclosure; Figure 3 is a schematic diagram of a scenario of another device operation and maintenance method provided in an embodiment of the present disclosure; Figure 4 is a schematic flow chart of a method for determining whether a device to be operated and maintained is capable of automatic operation and maintenance, provided in an embodiment of the present disclosure; Figure 5 is a flow chart of another device operation and maintenance method provided in an embodiment of the present disclosure; Figure 6 is a schematic flow chart of another device operation and maintenance method provided in an embodiment of the present disclosure; Figure 7 is a schematic diagram of the principles of a device operation and maintenance apparatus provided in an application embodiment of the present disclosure; Figure 8 is a flow chart of a device operation and maintenance apparatus performing device operation and maintenance operations, provided in an application embodiment of the present disclosure; Figure 9 is a schematic diagram of the structure of a device operation and maintenance apparatus provided in an embodiment of the present disclosure; and Figure 10 is a schematic diagram of the structure of an electronic device corresponding to the device operation and maintenance apparatus provided in the embodiment of Figure 9. To further clarify the objectives, technical solutions, and advantages of the embodiments of the present disclosure, the technical solutions of the embodiments of the present disclosure will be described clearly and completely below in conjunction with the accompanying drawings. Obviously, the described embodiments represent only a portion of the embodiments of the present disclosure, but not all of them. All other embodiments derived by persons of ordinary skill in the art based on the embodiments of this disclosure without inventive effort are within the scope of protection of this disclosure. The terms used in the embodiments of this disclosure are intended solely to describe specific embodiments and are not intended to limit this disclosure. The singular forms "a," "an," and "the" used in the embodiments of this disclosure and the appended claims are intended to include the plural forms, unless the context clearly indicates otherwise. "Multiple" generally includes at least two, but does not exclude the inclusion of at least one. It should be understood that the term "and / or" as used herein is merely a description of an association between associated devices, indicating that three possible relationships exist. For example, "A and / or B" can mean: A exists alone, A and B exist simultaneously, or B exists alone. Furthermore, the character " / " as used herein generally indicates an "or" relationship between the associated devices. Depending on the context, the terms "if" and "if" as used herein can be interpreted as "when," "when," "in response to a determination," or "in response to a detection."Similarly, depending on the context, the phrase "if determined" or "if (the stated condition or event) is detected" can be interpreted as "when determined" or "in response to determining" or "when (the stated condition or event) is detected" or "in response to detecting (the stated condition or event)." It should also be noted that the terms "comprise," "include," or any other variations thereof are intended to encompass a non-exclusive inclusion, such that a product or system comprising a series of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such product or system. In the absence of further limitations, elements defined by the phrase "comprising a..." do not preclude the presence of additional identical elements in the product or system comprising the elements. Furthermore, the sequence of steps in the following method embodiments is merely an example and not a strict limitation. To facilitate understanding of the specific implementation process and effects of the device operation and maintenance method, device, and computer program product in this embodiment, the following briefly describes the relevant technologies: Operation and maintenance is an essential component of the application system lifecycle, promoting the continuous optimization of the application system architecture, controlling all aspects of the service process, and ensuring stable operation of the application system. In the cloud-native era, users can quickly detect service anomalies and issue service anomaly alerts through observability technologies. After receiving an anomaly alert, users must manually perform operation and maintenance on the anomaly. Based on the alert information, users then use their experience to perform operation and maintenance operations on the target device. This traditional operation and maintenance solution is repetitive and inefficient. Even with the help of operation and maintenance tools, the efficiency is very low and requires repeated manpower input, which is particularly inconvenient at night. Furthermore, as the scale of application systems continues to expand, relying solely on manual operation and maintenance cannot meet the requirements for application system stability. Furthermore, manual maintenance is costly and difficult. Therefore, automatic operation and maintenance came into being. For example, cloud-native applications are usually deployed on the application software Kubernetes (abbreviated as K8s) platform. The Kubernetes platform has some built-in automatic operation and maintenance capabilities. For example, when the liveness probe fails, it will automatically kill the container and automatically restart the container instance according to the restart policy.Alternatively, in Kubernetes, the Horizontal Pod Autoscaler (HPA) allows users to automatically scale the number of pods based on a set of metrics (such as CPU utilization or other custom indicators). When these metrics exceed or fall below preset thresholds, the HPA increases or decreases the number of pod replicas to ensure that the application can cope with load fluctuations. However, these automated operations are only triggered in two scenarios: application anomalies and high system pressure. Their application scenarios are relatively limited, and these automated operations are implemented through hard-coded methods, making them not a universal automated operation method. Furthermore, Liveness Probe and the HPA can only detect changes in individual containers, directly triggering automated operations when detected. They cannot automatically perform operations based on the overall operating status of the current application system, lacking the ability to predict and prevent risks. Consequently, if all containers providing external services experience an outage, application services will be interrupted, seriously impacting normal use. To address the above technical issues, embodiments of the present disclosure provide a new device operation and maintenance solution. When automatically operating and maintaining a device, a determination can be made as to whether the device to be operated and maintained is capable of automated operation and maintenance. If it is determined that the device to be operated and maintained is capable of automated operation and maintenance, the operation and maintenance type and target operation and maintenance tool corresponding to the device to be operated and maintained are determined based on the operating status data of the device to be operated and maintained. Based on the operation and maintenance type and the target operation and maintenance tool, automated operation and maintenance operations are performed on the device to be operated and maintained. This eliminates the need for a user to analyze and process the operating status data of the device to be operated and maintained based on work experience. The operation and maintenance type and the target operation and maintenance tool for the device to be operated and maintained can be automatically determined. Based on the operating status data, the operation and maintenance type, and the target operation and maintenance tool, automated operation and maintenance operations are performed on the device to be operated and maintained. This achieves automated operation and maintenance of the device to be operated and maintained, reduces manual operation and maintenance operations by users, improves the efficiency of device operation and maintenance operations, and effectively avoids human errors during the operation and maintenance of the device to be operated and maintained, thereby improving the quality of device operation and maintenance operations. This effectively expands the application scenarios and scope of the device operation and maintenance method. The following details the device operation and maintenance solution provided by the embodiments of the present disclosure, which can be executed by the device operation and maintenance apparatus. The device operation and maintenance solution provided by the embodiments of the present disclosure will be illustrated using the application scenario shown in Figure 1 as an example.As shown in FIG1 , the device operation and maintenance method can be executed by a device operation and maintenance apparatus. It should be noted that the device operation and maintenance apparatus can be implemented as a local server, a cloud server, or a pre-set module. In this case, if the device operation and maintenance apparatus is implemented as a cloud server, the device operation and maintenance method can be executed in the cloud. Several computing nodes (cloud servers) can be deployed in the cloud, each of which has processing resources such as computing and storage. In the cloud, multiple computing nodes can be organized to provide a service, or a single computing node can provide one or more services. The cloud can provide this service by providing an external service interface, which users can call to access the corresponding service. Service interfaces include software development kits (SDKs) and application programming interfaces (APIs). The device operation and maintenance apparatus is communicatively connected to a device to be operated and maintained, which can be a container instance, a regular server, a cloud server, or other device requiring operation and maintenance management. A device operation and maintenance apparatus is a device that can provide device operation and maintenance operations in a network virtual environment. In physical implementation, the device operation and maintenance apparatus can be any device capable of providing computing services and automatically operating and maintaining the device to be operated and maintained. For example, it can be a cluster server, a conventional server, a cloud server, a cloud host, a virtual center, etc. The device operation and maintenance apparatus primarily comprises a processor, a hard disk, memory, a system bus, etc., similar to a general computer architecture. In the above-described embodiment, the device to be operated and maintained is connected to the device operation and maintenance apparatus via a network connection, which can be a wireless or wired network connection. If the device to be operated and maintained can be connected to the device operation and maintenance apparatus via a communication connection, the mobile network standard can be any one of 2G (GSM), 2.5G (GPRS), 3G (WCDMA), TD-SCDMA, CDMA2000, UTMS, 4G (LTE), 4G+ (LTE+), WiMax, 5G, 6G, etc. In the disclosed embodiment, the device operation and maintenance apparatus is used to obtain operating status data of the device to be operated and maintained. The running status data may be at least one of the following: indicator data, log data, own event data, and third-party event data, etc.After obtaining the operating status data of the device to be operated and maintained, the device determines whether it is capable of automatic operation and maintenance based on the operating status data. If the device is capable of automatic operation and maintenance, the operating status data determines the type of operation corresponding to the device to be operated and maintained, as well as the target operation and maintenance tool corresponding to the operation and maintenance type. Finally, based on the operating status data, the operation and maintenance type, and the target operation and maintenance tool, the device to be operated and maintained is automatically operated and maintained. It should be noted that the device operation and maintenance apparatus can not only passively perform the corresponding device operation and maintenance operation based on the operation and maintenance operation request, but can also actively perform the device operation and maintenance operation. For example, in response to the operation and maintenance operation request, the apparatus can obtain at least one piece of operating status data for the device to be operated and maintained; or actively obtain at least one piece of operating status data for the device to be operated and maintained at a predetermined detection period; or actively obtain at least one piece of operating status data for the device to be operated and maintained in real time. In this embodiment, by acquiring the operating status data of the device to be operated and maintained, if the device to be operated and maintained is capable of automatic operation and maintenance, the operation and maintenance type corresponding to the device to be operated and maintained and the target operation and maintenance tool corresponding to the operation and maintenance type can be directly determined based on the operating status data. This eliminates the need for the user to analyze and process the operating status data of the device to be operated and maintained based on their work experience. The operation and maintenance type of the device to be operated and maintained and the target operation and maintenance tool for performing automatic operation and maintenance operations on the device to be operated and maintained can be automatically determined. Based on the operating status data, the operation and maintenance type, and the target operation and maintenance tool, the device to be operated and maintained can then be automatically operated and maintained. This achieves automatic operation and maintenance of the device to be operated and maintained, reduces manual operation and maintenance operations by the user, improves the efficiency of device operation and maintenance operations, and also avoids human errors during the operation and maintenance of the device to be operated and maintained, improving the quality of device operation and maintenance operations, thereby effectively expanding the application scenarios and scope of this method. The following detailed description of some embodiments of the present disclosure is provided in conjunction with the accompanying drawings. Unless there is a conflict between the embodiments, the following embodiments and features of the embodiments may be combined with each other. In addition, the step sequence in the following method embodiments is only an example and not a strict limitation.Figure 2 is a flow chart illustrating a device operation and maintenance method provided by an embodiment of the present disclosure. Referring to Figure 2 , this embodiment provides a device operation and maintenance method, the method being performed by a device operation and maintenance device. Specifically, the device operation and maintenance device can be implemented as software or a combination of software and hardware. When implemented as hardware, it can be various electronic devices capable of device operation and maintenance operations, including but not limited to personal computers, servers, databases, and the like. When implemented as software, the device operation and maintenance device can be installed in the electronic devices listed above. The device operation and maintenance method may include the following: Step S201: Obtaining operating status data of a device to be operated and maintained. Step S202: If the device to be operated and maintained is capable of automatic operation and maintenance operations, determining the operation and maintenance operation type and target operation and maintenance tool corresponding to the device to be operated and maintained based on the operating status data. Step S203: Performing an automatic operation and maintenance operation on the device to be operated and maintained based on the operating status data, the operation and maintenance operation type, and the target operation and maintenance tool. In practical applications, when a device anomaly is detected, a timely response can be made and automatic maintenance operations can be performed on the device to be operated and maintained, thereby improving the efficiency and quality of device operation and maintenance. The specific implementation process and results of each of the above steps are described in detail below: Step S201: Obtaining operational status data of the device to be operated and maintained. After an abnormality is detected in the device to be operated and maintained, operational status data of the device to be operated and maintained can be obtained. The device to be operated and maintained can be any device requiring maintenance, and the disclosed embodiments do not limit the type of device to be operated and maintained. Operational status data refers to data that can reflect operational anomalies of the device to be operated and maintained. Specifically, this operational status data can include indicator data, log data, local event data, third-party event data, etc. The indicator data, log data, local event data, and third-party event data can include one or more data used to characterize operational anomalies. For example, indicator data can include device indicators characterizing the device to be operated and maintained or system indicators characterizing the system to which the device to be operated and maintained belongs. Log data can include log files generated by the device to be operated and maintained. Local event data refers to event data generated by the device to be operated and maintained. Third-party event data refers to event data generated by devices other than the device being maintained, or by the system to which the device belongs. For example, event data generated by devices or systems managed by Kubernetes. In practice, at least one of the following types of data, including indicator data, log data, local event data, and third-party event data, can be obtained from the operating status data of the device being maintained.Furthermore, since there are many types of operating status data that can reflect abnormal operating conditions of the equipment to be operated and maintained, and different operating status data has varying degrees of importance in analyzing abnormal operating conditions of the equipment to be operated and maintained, to highlight the varying impacts of different operating status data on the analysis of abnormal operating conditions of the equipment to be operated and maintained, the at least one operating status data corresponding to the equipment to be operated and maintained can be configured to include core operating status data and general operating status data. The core operating status data refers to parameters that play a decisive role in analyzing the abnormal operating conditions of the equipment to be operated and maintained, while the general operating status data refers to parameters that play a supporting role in analyzing the abnormal operating conditions of the equipment to be operated and maintained. In specific implementations, to reduce data processing volume, the at least one operating status data corresponding to the equipment to be operated and maintained may also include only the core operating status data, which is not specifically limited in the embodiments of the present disclosure. Furthermore, the embodiments of the present disclosure do not limit the specific implementation method for obtaining the operating status data of the device to be operated and maintained. Persons skilled in the art may configure this method based on specific application requirements. For example, the operating status data of the device to be operated and maintained may be preconfigured and stored in a preset area. The device operation and maintenance device may obtain at least one type of operating status data of the device to be operated and maintained by accessing the preset area. Alternatively, the device operation and maintenance device may directly communicate with the device to be operated and maintain, and obtain at least one type of operating status data of the device to be operated and maintained by collecting the operating status data of the device to be operated and maintained in real time. Of course, persons skilled in the art may also adopt other methods to obtain the operating status data of the device to be operated and maintained, as long as the accuracy and reliability of the acquisition of the operating status data of the device to be operated and maintained can be guaranteed. These methods will not be described in detail here. Step S202: If the device to be operated and maintained is capable of performing automatic operation and maintenance operations, the operation and maintenance operation type and target operation and maintenance tool corresponding to the device to be operated and maintained are determined based on the operation status data. Before performing an automatic operation and maintenance operation on the device to be operated and maintained, a determination may be made as to whether the device to be operated and maintained is capable of automatic operation and maintenance operations. For a device currently undergoing maintenance, it may be unable to perform automatic maintenance operations. If automatic maintenance operations are performed on the device, the operation of the device will be affected, thus hindering the operation of the entire application system and preventing the normal operation of the application service. Therefore, in the embodiments of the present disclosure, before performing automatic maintenance operations on the device, it is first determined whether the device is capable of automatic maintenance operations.Specifically, after obtaining the operating status data of the device to be operated and maintained, preset automatic operation and maintenance rules can be obtained. The operating status data of the device to be operated and maintained can then be analyzed and processed according to the preset automatic operation and maintenance rules to determine whether the device to be operated and maintained can perform automatic operation and maintenance operations. In specific implementations, corresponding automatic operation and maintenance rules can be set based on specific application scenarios. For example, the preset automatic operation and maintenance rules may include multiple operation and maintenance scenarios and conclusions on whether each operation and maintenance scenario can perform automatic operation and maintenance. After obtaining the operating status data of the device to be operated and maintained, the target operation and maintenance scenario corresponding to the device to be operated and maintained is determined based on the operating status data. Based on the target operation and maintenance scenario, a matching search is performed among the multiple operation and maintenance scenarios in the automatic operation and maintenance rules to determine whether the device to be operated and maintained can perform automatic operation and maintenance operations. In some embodiments, whether the device to be operated and maintained can perform automatic operation and maintenance operations can also be determined based on a preset operation and maintenance library. Specifically, a preset operation and maintenance library is obtained, which includes the correspondences between operation and maintenance scenarios, operation and maintenance types, and operation and maintenance tools. Based on the operating status data and the preset operation and maintenance library, it is determined whether the device to be operated and maintained can perform automatic operation and maintenance operations. The preset operation and maintenance library primarily stores the correspondences between operation and maintenance scenarios, operation and maintenance types, and operation and maintenance tools. Specifically, the operation and maintenance scenarios in these correspondences are operable scenarios. However, in actual applications, many unoperable or unknown scenarios may exist. When an unoperable scenario occurs, the device to be operated and maintained cannot perform automatic operation and maintenance operations. When an unknown scenario occurs, manual intervention can be performed to further determine whether the device to be operated and maintained can perform automatic operation and maintenance operations in the unknown scenario. Therefore, in specific implementations, if a maintainable scenario matching the operating status data is found in the preset operation and maintenance library, it can be determined that the device to be maintained is capable of automatic operation and maintenance. If a non-maintainable scenario matching the operating status data is found in the preset operation and maintenance library, it can be determined that the device to be maintained is incapable of automatic operation and maintenance. If no operation and maintenance scenario matching the operating status data is found in the preset operation and maintenance library, it is determined that the device to be maintained is incapable of automatic operation and maintenance, and the scenario corresponding to the device to be maintained is unknown. Furthermore, in practical applications, the preset operation and maintenance library can be dynamically updated. For example, if a new abnormal operation and maintenance scenario is discovered during the automatic operation and maintenance of multiple devices to be maintained, this abnormal operation and maintenance scenario can be added to the preset operation and maintenance library as a newly known scenario. If the device to be maintained is capable of automatic operation and maintenance, the operation and maintenance operation type corresponding to the device to be maintained and the target operation and maintenance tool corresponding to this operation and maintenance operation type are determined based on the operating status data.The operation and maintenance operation types may include device restart, device rebuild, log cleanup, capacity expansion, capacity reduction, etc. The operation and maintenance tool may provide automatic operation and maintenance operations via an API. Specifically, in some embodiments, upon determining that the device to be operated and maintained is capable of automatic operation and maintenance operations, a target operation and maintenance scenario corresponding to the operating state may be determined. Based on the target operation and maintenance scenario and the correspondence between operation and maintenance scenarios, operation and maintenance operation types, and operation and maintenance tools in a preset operation and maintenance library, the operation and maintenance operation type corresponding to the device to be operated and maintenance, as well as the target operation and maintenance tool corresponding to the operation and maintenance operation type, may be determined. As can be seen from the above description, when it is determined that the device to be operated and maintained is capable of automatic operation and maintenance, the device operation and maintenance apparatus can directly determine the operation and maintenance type corresponding to the device to be operated and maintained, as well as the target operation and maintenance tool for performing the automatic operation and maintenance operation on the device to be operated and maintained, based on the operating status data. This eliminates the need for the user to analyze and process the operating status data of the device to be operated and maintained based on their work experience. The operation and maintenance type of the device to be operated and maintained, as well as the target operation and maintenance tool for performing the automatic operation and maintenance operation on the device to be operated and maintained, can be automatically determined. Furthermore, the user can manually select the operation and maintenance type and target operation and maintenance tool corresponding to the device to be operated and maintained in the operation and maintenance operation interface. This reduces manual user operation and maintenance operations, improves the efficiency of device operation and maintenance operations, and also avoids human errors during the operation and maintenance of the device to be operated and maintained, thereby improving the quality of device operation and maintenance operations and effectively expanding the application scenarios and scope of this method. Step S203: Performing automatic operation and maintenance operations on the device to be operated and maintained based on the operating status data, the operation and maintenance type, and the target operation and maintenance tool. After determining the operation type and target operation tool corresponding to the device to be operated and maintained, the operation can be automatically performed on the device based on the operating status data, the operation type, and the target operation tool. This eliminates the need for manual operation by the user, achieving automatic operation and maintenance, thereby significantly improving device operation and maintenance efficiency. In practical applications, the target operation tool is often unable to directly process the operating status data to determine the corresponding automatic operation. Therefore, before using the target operation tool to automatically perform the operation on the device to be operated and maintained, the operating status data can be converted into target operation parameters required by the target operation tool. Specifically, in some embodiments, the process of automatically performing the operation on the device to be operated based on the operating status data, the operation type, and the target operation tool may include: determining target operation parameters required by the target operation tool based on the operating status data; and performing the automatic operation on the device to be operated based on the target operation parameters, the target operation tool, and the operation type.The device operation and maintenance method provided in this embodiment obtains operating status data of the device to be operated and maintained. If the device to be operated and maintained is capable of automatic operation and maintenance, the operation and maintenance type corresponding to the device to be operated and maintained and the target operation and maintenance tool corresponding to the operation and maintenance type can be directly determined based on the operating status data. This eliminates the need for users to analyze and process the operating status data of the device to be operated and maintained based on their work experience. The operation and maintenance type of the device to be operated and maintained and the target operation and maintenance tool for performing automatic operation and maintenance operations on the device to be operated and maintained can be automatically determined. Based on the operating status data, the operation and maintenance type, and the target operation and maintenance tool, the device to be operated and maintained can then be automatically operated and maintained. This achieves automatic operation and maintenance of the device to be operated and maintained, reduces manual operation and maintenance operations by users, improves the efficiency of device operation and maintenance operations, and thereby reduces device operation and maintenance costs. It also avoids human errors during the operation and maintenance of the device to be operated and maintained, improving the quality of device operation and maintenance operations, thereby effectively expanding the application scenarios and scope of the method. It should be noted that the above-described device operation and maintenance method is applicable not only to cloud-native scenarios but also to a wide range of application scenarios. For ease of understanding, an exemplary device operation and maintenance method in a cloud-native scenario is described with reference to FIG3 . Referring to FIG3 , this embodiment provides a device operation and maintenance method that can improve device operation and maintenance efficiency and quality. Specifically, the device operation and maintenance method is executed by a device operation and maintenance device. The device operation and maintenance device can communicate with the container to be operated and maintain, promptly respond to abnormalities in the container to be operated and maintain, and promptly perform automatic operation and maintenance operations on the container to be operated and maintain. Specifically, the method includes the following: Step 1: Obtaining operating status data of the container to be operated and maintain. The operating status data includes at least one of the following: indicator data, log data, event data of the container to be operated and maintain, and third-party event data of other containers in the same system as the container to be operated and maintain, and / or system. Step 2: Determining whether the container to be operated and maintain is capable of automatic operation and maintenance operations. In some embodiments, a preset operation and maintenance library can be obtained and, based on the operating status data of the container to be operated and maintained and the preset operation and maintenance library, the preset operation and maintenance library includes correspondences between operation and maintenance scenarios, operation and maintenance operation types, and operation and maintenance tools. After obtaining the preset operation and maintenance library, a search and match can be performed within the preset operation and maintenance library based on the operating status data to determine whether the container to be operated and maintained can perform automatic operation and maintenance operations. Step 3: If the container to be operated and maintained can perform automatic operation and maintenance operations, a target operation and maintenance tool corresponding to the operation and maintenance operation type corresponding to the container to be operated and maintained is determined based on the operating status data.Step 4: Automatically perform an operation and maintenance operation on the container to be operated and maintained based on the operating status data, the operation and maintenance operation type, and the target operation and maintenance tool. The above embodiments describe how, after obtaining the operating status data of the device to be operated and maintained, the operation and maintenance operation is determined based on the operating status data of the container to be operated and maintained and the preset operation and maintenance library to determine whether the device to be operated and maintained is capable of automatic operation and maintenance. If the device to be operated and maintained is capable of automatic operation and maintenance, the specific implementation process of automatically performing the operation and maintenance operation on the device to be operated and maintained is described below with reference to FIG4 to facilitate understanding of the specific implementation process of determining whether the device to be operated and maintained is capable of automatic operation and maintenance. FIG4 is a flow chart illustrating a method for determining whether a device undergoing maintenance is capable of automatic maintenance operations, according to an embodiment of the present disclosure. Based on the above embodiment, and with reference to FIG4 , this embodiment provides a method for determining whether a device undergoing maintenance is capable of automatic maintenance operations based on operating status data and a preset operation and maintenance library. Specifically, determining whether a device undergoing maintenance is capable of automatic maintenance operations based on operating status data and a preset operation and maintenance library in this embodiment may include: Step S401: Searching and matching the preset operation and maintenance library based on the operating status data to obtain a search and match result. Step S402: Determining whether the device undergoing maintenance is capable of automatic maintenance operations based on the search and match result. The preset operation and maintenance library stores the correspondence between operation and maintenance scenarios, operation and maintenance operation types, and operation and maintenance tools. A search and match can be performed in the preset operation and maintenance library based on the operating status data to obtain a search and match result. Furthermore, different operating status data may correspond to different data formats. To facilitate data processing, operating status data in different formats may first be converted to a unified format, and then analyzed and determined. Specifically, the data type corresponding to the operating status data is determined, and the operating status data is formatted according to the data type to obtain target status data in a preset format. A search and match is performed based on the target status data in a preset operation and maintenance library to obtain a search and match result. In specific implementations, the data format corresponding to the converted operating status data can be customized; the data format is not unique. For example, the preset format corresponding to the converted operating status data can be set to a data format supported by the decision engine in the equipment operation and maintenance device. Next, based on the search and match result, a determination is made as to whether the equipment to be operated and maintained is capable of automatic operation and maintenance.To more quickly and accurately determine the search and match results corresponding to the operating status data, existing known scenarios can be divided into operable scenarios and non-operable scenarios. These known scenarios can then be stored in a preset operation and maintenance library. If a match is found in the preset operation and maintenance library that matches the operating status data and an operable scenario is found, it can be determined that the device to be operated and maintained is capable of automatic operation and maintenance. If a match is found in the preset operation and maintenance library that matches the operating status data and a non-operable scenario is found, it can be determined that the device to be operated and maintained is not capable of automatic operation and maintenance. However, in actual applications, the scenario corresponding to the device to be operated and maintained may be an unknown scenario not stored in the preset operation and maintenance library. To more accurately and comprehensively address various operation and maintenance situations, if no operation and maintenance scenario matching the operating status data is found in the preset operation and maintenance library, the operation and maintenance scenario not included in the preset operation and maintenance library can be determined as an unknown scenario, and the device to be operated and maintained is determined to be non-automatic operation and maintenance. Specifically, in some embodiments, based on the search and matching results, the implementation process of determining whether the device to be operated and maintained is capable of performing automatic operation and maintenance operations may be as follows: when the search and matching result is that there is no operation and maintenance scenario matching the operating status data in the preset operation and maintenance library, determining that the device to be operated and maintained cannot perform automatic operation and maintenance operations, and the scenario corresponding to the device to be operated and maintained is an unknown scenario; or, when the search and matching result is that there is a non-operable scenario matching the operating status data in the preset operation and maintenance library, determining that the device to be operated and maintained cannot perform automatic operation and maintenance operations, and the scenario corresponding to the device to be operated and maintained is a known scenario; or, when the search and matching result is that there is a maintainable scenario matching the operating status data in the preset operation and maintenance library, determining that the device to be operated and maintained is capable of performing automatic operation and maintenance operations. In addition, in order to improve the efficiency of equipment operation and maintenance, after determining that the equipment to be operated and maintained cannot perform automatic operation and maintenance operations and the scenario corresponding to the equipment to be operated and maintained is an unknown scenario, the unknown scenario corresponding to the equipment to be operated and maintained can be adjusted to a newly added known scenario, and an automatic operation and maintenance rule corresponding to the newly added known scenario is generated. In this way, when the newly added known scenario appears again in the future, the equipment operation and maintenance device can directly determine whether the equipment to be operated and maintained corresponding to the operating status data matching the newly added known scenario can perform automatic operation and maintenance operations based on the automatic operation and maintenance rule corresponding to the newly added known scenario in the preset operation and maintenance library.In the disclosed embodiments, by searching and matching against a preset operation and maintenance library based on operational status data to obtain search and matching results, and based on the search and matching results, determining whether the device under maintenance is capable of automatic operation and maintenance, this can accurately determine whether the device under maintenance is capable of automatic operation and maintenance, thereby ensuring the stability of the application services provided by the device under maintenance and the system to which it belongs, and improving the user experience. The above embodiments describe the specific implementation process for performing automatic operation and maintenance on the device under maintenance when the device under maintenance is capable of automatic operation and maintenance. However, in actual applications, situations may arise where the device under maintenance is unable to perform automatic operation and maintenance. In this case, if the device under maintenance is unable to perform automatic operation and maintenance and the scenario corresponding to the device under maintenance is known, automatic operation and maintenance is stopped for the device under maintenance. If the device under maintenance is unable to perform automatic operation and maintenance and the scenario corresponding to the device under maintenance is unknown, further analysis and processing of the operational status data corresponding to the device under maintenance can be performed manually. FIG5 is a flowchart of another device operation and maintenance method provided by an embodiment of the present disclosure. Based on any of the above embodiments, and with continued reference to FIG5 , to expand the applicability of the device operation and maintenance method, after determining that the device to be operated and maintained cannot perform automatic operation and maintenance operations and that the scenario corresponding to the device to be operated and maintained is an unknown scenario, this embodiment further provides an implementation scheme for further analyzing and processing the unknown scenario when a search and matching result indicates that the scenario corresponding to the device to be operated and maintained is an unknown scenario. Specifically, the method may further include: Step S501: Displaying an operation and maintenance interface. Step S502: In response to a rule configuration operation input by a user on the operation and maintenance interface, adjusting the unknown scenario corresponding to the device to be operated and maintained to a newly added known scenario, and generating an automatic operation and maintenance rule corresponding to the newly added known scenario. Step S503: Updating the newly added known scenario and the automatic operation and maintenance rule into a preset operation and maintenance library. When the device to be maintained cannot perform automatic maintenance operations and the scenario corresponding to the device to be maintained is an unknown scenario, manual intervention can be performed to adjust the unknown scenario corresponding to the device to be maintained to a newly added known scenario, and the newly added known scenario is updated to the preset operation and maintenance library.Specifically, when the device to be maintained cannot perform automatic maintenance operations and the scenario corresponding to the device to be maintained is an unknown scenario, an operation and maintenance interface is displayed. This operation and maintenance interface includes a rule configuration operation area. The user can enter rule configuration operations in the rule configuration operation area of ​​the operation and maintenance interface. In response to the rule configuration operations entered by the user in the operation and maintenance interface, the unknown scenario corresponding to the device to be maintained is adjusted to a newly added known scenario, and automatic operation and maintenance rules corresponding to the newly added known scenario are generated. Finally, the newly added known scenario and the automatic operation and maintenance rules are updated to the preset operation and maintenance library. The automatic operation and maintenance rules can be correspondences between newly added known scenarios, operation and maintenance operation types, and operation and maintenance tools, or can be other operation and maintenance rules, which are not limited in the embodiments of the present disclosure. The newly added known scenarios can be either operable or unoperable. For unoperable scenarios, the automatic operation and maintenance operation is directly terminated. For operable scenarios, automatic operation and maintenance rules corresponding to the newly added known scenarios can be generated. If the newly added known scenario is determined to be an operable scenario, the newly added known scenario may be further analyzed and processed to generate an automatic operation and maintenance rule corresponding to the newly added known scenario. Specifically, in some embodiments, before generating the automatic operation and maintenance rule corresponding to the newly added known scenario, the method may further include: determining whether the newly added known scenario is capable of automatic operation and maintenance based on a preset operation and maintenance library; if the newly added known scenario is capable of automatic operation and maintenance, allowing the generation of the automatic operation and maintenance rule corresponding to the newly added known scenario; and if the newly added known scenario is not capable of automatic operation and maintenance, prohibiting the generation of the automatic operation and maintenance rule corresponding to the newly added known scenario. After the automatic operation and maintenance rules corresponding to the newly added known scenarios are generated, the automatic operation and maintenance rules corresponding to the newly added known scenarios can be updated to the preset operation and maintenance library, and a new judgment is made on whether the equipment to be operated and maintained can be automatically operated and maintained to determine whether the equipment to be operated and maintained can be automatically operated and maintained. The operation and maintenance operation type and target operation and maintenance tool corresponding to the equipment to be operated and maintained are determined based on the operating status data, and the automatic operation and maintenance operation is performed on the equipment to be operated and maintained based on the operating status data, the operation and maintenance operation type, and the target operation and maintenance tool.In this disclosed embodiment, in response to a rule configuration operation input by a user on the operation and maintenance interface, the unknown scenario corresponding to the device under maintenance is adjusted to a newly known scenario, and automatic operation and maintenance rules corresponding to the newly known scenario are generated. These new known scenarios and automatic operation and maintenance rules are then updated to a preset operation and maintenance library. The next time the scenario corresponding to the operating status data is determined to be a newly known scenario, automatic operation and maintenance operations can be performed on the device under maintenance based directly on the automatic operation and maintenance rules corresponding to the newly known scenario in the preset operation and maintenance library. This eliminates the need for user intervention, reducing manual operations and improving device operation and maintenance efficiency and quality. Furthermore, in actual applications, in microservices scenarios, multiple devices under maintenance often jointly provide an application service to a client. Therefore, when all devices under maintenance in a unified application system perform automatic operation and maintenance operations, the client may not be able to provide normal application services, severely impacting client usage. For example, if only one replica of a workload remains functioning properly, operation and maintenance operations such as restarting or rebuilding that replica cannot be performed. Therefore, to ensure that the entire application system can normally provide external services, when performing automatic operation and maintenance on a device to be operated and maintained in the application system, the risk of performing automatic operation and maintenance on the device to be operated and maintained can be assessed based on the operating status of the application system. Based on the risk assessment, a determination is then made as to whether to perform automatic operation and maintenance on the device to be operated and maintained. Figure 6 is a flow diagram of another device operation and maintenance method provided by the present disclosure. Based on any of the above embodiments and with continued reference to Figure 6, to ensure stable operation of the system to which the device to be operated and maintained belongs, this embodiment further provides a solution for assessing and preventing the risk of performing automatic operation and maintenance on the device to be operated and maintained based on target operation and maintenance parameters, target operation and maintenance tools, and operation and maintenance operation types. Specifically, the method may further include: Step S601: Obtaining a first operating status of the device to be operated and a second operating status of the system to which the device to be operated belongs. Step S602: Determining whether the operation and maintenance operation on the device to be operated and maintained poses a risk based on the first and second operating statuses. Step S603: If a risk exists, automatically performing an operation and maintenance operation on the device to be operated and maintained is stopped. Step S604: If no risk exists, automatically performing an operation and maintenance operation on the device to be operated and maintained is permitted based on the target operation and maintenance parameters, the target operation and maintenance tool, and the operation and maintenance operation type. When determining the operation and maintenance operation risk for the device to be operated and maintained, a first operating status of the device to be operated and maintained and a second operating status of the system to which the device to be operated and maintained belong can be obtained.After determining the operation type and target operation tool corresponding to the device to be operated, an operation request can be initiated to the system to which the device to be operated belongs based on the operation type and target operation tool. The operation request obtains the first operating status of the device to be operated and the second operating status of the system to which the device to be operated belongs. The first operating status of the device to be operated and the second operating status of the system to which the device to be operated belong are then combined to determine whether the operation to be performed on the device to be operated poses a risk. If so, automatic operation to the device to be operated is stopped. If not, automatic operation to the device to be operated is allowed based on the target operation parameters, target operation tool, and operation type. In other words, before performing automatic operation on the device to be operated, the first operating status of the device to be operated and the second operating status of the system to which the device to be operated belong are combined to determine whether the operation to be performed on the device to be operated poses a risk. Automatic operation to the device to be operated is then performed, thereby ensuring the stability of the system to which the device to be operated belongs. Furthermore, in some embodiments, determining whether an operation and maintenance operation on a device to be operated and maintained poses a risk based on the first and second operating states may be specifically implemented by: obtaining a preset risk rule for risk assessment; and analyzing and processing the first and second operating states based on the preset risk rule to determine whether the operation and maintenance operation on the device to be operated and maintained poses a risk. The preset risk rule may be a rule for ensuring uninterrupted service or a rule for ensuring that services achieve preset results. In some embodiments, during implementation, the first and second operating states may be analyzed and processed based on the preset risk rule to determine a target risk level for the operation and maintenance operation on the device to be operated and maintained. Based on the target risk level, a determination is made as to whether the operation and maintenance operation on the device to be operated and maintained poses a risk. The higher the target risk level, the higher the risk of the operation and maintenance operation on the device to be operated and maintained. Furthermore, a risk level threshold may be set. After determining the risk level for the operation and maintenance operation on the device to be operated and maintained, a determination is made as to whether the operation and maintenance operation on the device to be operated and maintained poses a risk based on the target risk level and the risk level threshold. In other embodiments, the first operating state and the second operating state may be analyzed and processed based on preset risk rules to determine a risk score for performing an operation and maintenance operation on the device to be operated and maintained. Based on the risk score, it may be determined whether the operation and maintenance operation on the device to be operated and maintained is risky. The higher the risk score, the higher the risk of performing the operation and maintenance operation on the device to be operated and maintained.After determining whether an operation performed on a device to be operated and maintained poses a risk, if so, the automatic operation of the device to be operated and maintained is stopped. If not, the automatic operation of the device to be operated and maintained is allowed based on the target operation parameters, target operation tool, and operation type. In other words, the device operation and maintenance apparatus in the disclosed embodiments can not only determine whether an operation performed on a device to be operated and maintained poses a risk, but can also block the automatic operation of the device to be operated and maintained if such operation is determined to pose a risk, thereby ensuring service stability or the intended service effect. In this disclosed embodiment, a first operating state of a device to be operated and a second operating state of the system to which the device belongs are obtained. Based on the first and second operating states, the system determines whether an operation risk exists for the device to be operated. If a risk exists, automatic operation risk is discontinued for the device to be operated. If no risk exists, automatic operation risk is allowed for the device to be operated based on target operation risk parameters, target operation risk tools, and operation risk type. This ensures stable operation of the system to which the device to be operated belongs and reduces the impact of automatic operation risk on the system caused by the device to be operated. In specific applications, this application embodiment provides a device operation and maintenance method. The method can be executed by a device operation and maintenance device. The device operation and maintenance device can implement timely and efficient automatic operation and maintenance management of the device to be operated. Examples of the device operation and maintenance device and the device operation and maintenance method are illustrated with reference to Figures 7 and 8. The device to be operated and maintained can be a device or system managed by Kubernetes. The device operation and maintenance apparatus may include a data collection module, a decision-making module, a data conversion module, a risk prevention module, and an operation and maintenance module. Users can perform operation and maintenance operations on the device to be operated and maintained through the operation and maintenance management platform. Specifically, each of the aforementioned modules is configured to perform the following steps: The data collection module is configured to obtain operating status data of the device to be operated and maintained. This operating status data may include at least one of the following: indicator data, log data, local event data, and third-party event data. In specific implementations, the Prometheus module can be used to collect indicator data of the device to be operated and maintained, the SLS module can be used to collect log data of the device to be operated and maintained, and the Kubernetes module can be used to collect local event data and third-party event data of the device to be operated and maintained. It should be noted that the Prometheus module, the SLS module, and the Kubernetes module can collect operating status data of the device to be operated and maintained either proactively or reactively.Furthermore, to facilitate direct analysis and processing of the operating status data by the decision-making module, after obtaining the operating status data of the device to be maintained, the data collection module can also be used to: determine the data type corresponding to the operating status data; and convert the operating status data according to the data type to obtain target status data in a preset format. The decision-making module is used to determine whether the device to be maintained is capable of automatic operation and maintenance. After obtaining the operating status data of the device to be maintained, a preset operation and maintenance library can be obtained, which contains the correspondence between operation and maintenance scenarios, operation types, and operation and maintenance tools. Based on the target operating status data and the preset operation and maintenance library, the decision-making module determines whether the device to be maintained is capable of automatic operation and maintenance. Specifically, a search and match is performed in a preset operation and maintenance library based on the target operation status data to obtain a search and match result. If the search and match result indicates that no operation and maintenance scenario matching the operation status data exists in the preset operation and maintenance library, the device to be operated and maintained is determined to be incapable of automatic operation and maintenance, and the scenario corresponding to the device to be operated and maintained is an unknown scenario. Alternatively, if the search and match result indicates that a non-operational scenario matching the operation status data exists in the preset operation and maintenance library, the device to be operated and maintained is determined to be incapable of automatic operation and maintenance, and the scenario corresponding to the device to be operated and maintained is a known scenario. Alternatively, if the search and match result indicates that a capable operation and maintenance scenario matching the operation status data exists in the preset operation and maintenance library, the device to be operated and maintained is determined to be capable of automatic operation and maintenance. The decision-making module can also be used to implement newly added known scenarios and generate automatic operation and maintenance rules corresponding to the newly added known scenarios. After determining that the device to be maintained cannot perform automatic maintenance operations and the scenario corresponding to the device to be maintained is an unknown scenario, an operation and maintenance interface is displayed. In response to a rule configuration operation input by the user on the operation and maintenance interface, the unknown scenario corresponding to the device to be maintained is adjusted to a newly added known scenario, and an automatic operation and maintenance rule corresponding to the newly added known scenario is generated. The newly added known scenario and the automatic operation and maintenance rule are updated to the preset operation and maintenance library. The newly added known scenario may be a non-operable scenario. In this case, the automatic operation and maintenance rule corresponding to the newly added known scenario may not be generated. Specifically, before generating the automatic operation and maintenance rule corresponding to the newly added known scenario, a determination is made based on the preset operation and maintenance library whether the newly added known scenario can perform automatic maintenance operations. If the newly added known scenario can perform automatic maintenance operations, generation of the automatic operation and maintenance rule corresponding to the newly added known scenario is permitted. If the newly added known scenario cannot perform automatic operation and maintenance operations, generation of the automatic operation and maintenance rule corresponding to the newly added known scenario is prohibited.In other words, the preset O&M library can include mappings between O&M scenarios, O&M operation types, and O&M tools, known scenarios, and automatic O&M rules. During implementation, the contents of the preset O&M library can be customized based on actual needs. Furthermore, the decision-making module can be used to determine the O&M operation type and target O&M tool corresponding to the device to be operated. If the device to be operated is capable of automatic O&M, the O&M operation type and target O&M tool corresponding to that operation type are determined based on the target operating status data. The O&M tool can provide a series of O&M operations through an API, including container restarts, container rebuilds, and log cleanup for diagnostic pods, node cordoning, node rotation, and workload-related scaling. Node cordoning directly places a node in an unavailable state. Once a node is unavailable, the device will no longer be connected to that node. If a device malfunctions due to a node anomaly, the node's status is invalidated, placing the node in an unavailable state. Node rotation involves taking a node offline and importing a new one. This operation is typically performed when a node is completely unavailable. The data conversion module converts operational status data into the operational parameters required by the target operation and maintenance tool. Based on the target operational status data, the module determines the target operational parameters required by the target operation and maintenance tool. The risk blocking module determines whether an operation or maintenance operation on a device to be operated or maintained poses a risk. After obtaining the target operational parameters, target operation and maintenance tool, and operation and maintenance operation type, the module obtains the first operational status of the device to be operated or maintained and the second operational status of the system to which the device belongs. Based on the first and second operational statuses, the module determines whether an operation or maintenance operation on the device to be operated or maintained poses a risk. If a risk is present, the module halts automatic operation or maintenance on the device to be operated or maintained. If not, the module allows the operation or maintenance module to automatically perform the operation or maintenance operation on the device to be operated or maintained based on the target operational parameters, target operation and maintenance tool, and operation and maintenance operation type. The operation and maintenance module also implements automatic operation or maintenance on the device to be operated or maintained. When it is determined that there is no risk in performing operation and maintenance operations on the equipment to be operated and maintained, the equipment to be operated and maintained is automatically operated and maintained based on the target operation and maintenance parameters, the target operation and maintenance tool, and the operation and maintenance operation type.The technical solution provided by this application embodiment uses a decision-making module to determine whether a device under maintenance is capable of automatic maintenance. If the device is capable of automatic maintenance, the operation type corresponding to the device and the target operation tool corresponding to the operation type can be directly determined based on the operating status data. This eliminates the need for users to analyze and process the operating status data of the device under maintenance based on their work experience; the operation type of the device under maintenance and the target operation tool for automatic maintenance can be automatically determined. This reduces manual maintenance operations, improves the efficiency of device maintenance operations, and thus reduces maintenance costs. It also prevents human errors during the maintenance process and improves the quality of maintenance operations. Furthermore, a risk blocking module can determine the risk of maintenance operations on the device under maintenance. When the risk is too high, the automatic maintenance operation of the device under maintenance is promptly stopped, ensuring the safety and stability of the maintenance operations. This effectively expands the application scenarios and scope of the method and further enhances its practicality. FIG9 is a schematic diagram of the structure of a device operation and maintenance apparatus provided in an embodiment of the present disclosure. Referring to FIG9 , this embodiment provides a device operation and maintenance apparatus for executing the device operation and maintenance method of FIG2 . Specifically, the device operation and maintenance apparatus may include: an acquisition module 11, a determination module 12, and an operation and maintenance module 13. The acquisition module 11 is configured to acquire operating status data of the device to be operated and maintained. The determination module 12 is configured to determine, based on the operating status data, the operation and maintenance type and target operation and maintenance tool corresponding to the device to be operated and maintained, if the device to be operated and maintained is capable of automatic operation and maintenance operations. The operation and maintenance module 13 is configured to perform automatic operation and maintenance operations on the device to be operated and maintained based on the operating status data, the operation and maintenance type, and the target operation and maintenance tool. In some instances, after obtaining the operating status data of the device to be operated and maintained, the determination module 12 is configured to: obtain a preset operation and maintenance library, wherein the preset operation and maintenance library includes correspondences between operation and maintenance scenarios, operation and maintenance operation types, and operation and maintenance tools; and determine whether the device to be operated and maintained is capable of automatic operation and maintenance based on the operating status data and the preset operation and maintenance library. In some embodiments, the determination module 12 is configured to: perform a search and match in the preset operation and maintenance library based on the operating status data to obtain a search and match result; and determine whether the device to be operated and maintained is capable of automatic operation and maintenance based on the search and match result.In some embodiments, the operating status data includes at least one of the following: indicator data, log data, local event data, and third-party event data; and the determination module 12 is configured to: determine a data type corresponding to the operating status data; perform format conversion processing on the operating status data according to the data type to obtain target status data in a preset format; and perform a search and match in the preset operation and maintenance library based on the target status data to obtain a search and match result. In some embodiments, the determination module 12 is configured to: if the search and match result indicates that no operation and maintenance scenario matching the operating status data exists in the preset operation and maintenance library, determine that the device to be operated and maintained cannot perform automatic operation and maintenance operations, and the scenario corresponding to the device to be operated and maintained is an unknown scenario; or if the search and match result indicates that a non-operable scenario matching the operating status data exists in the preset operation and maintenance library, determine that the device to be operated and maintained cannot perform automatic operation and maintenance operations, and the scenario corresponding to the device to be operated and maintained is a known scenario; or if the search and match result indicates that a capable scenario matching the operating status data exists in the preset operation and maintenance library, determine that the device to be operated and maintained can perform automatic operation and maintenance operations. In some embodiments, after determining that the device to be operated and maintained cannot perform automatic operation and maintenance operations and the scenario corresponding to the device to be operated and maintained is an unknown scenario, the determination module 12 is configured to: display an operation and maintenance operation interface; in response to a rule configuration operation input by a user on the operation and maintenance operation interface, adjust the unknown scenario corresponding to the device to be operated and maintained to a newly added known scenario, and generate an automatic operation and maintenance rule corresponding to the newly added known scenario; and update the newly added known scenario and the automatic operation and maintenance rule into the preset operation and maintenance library. In some instances, before generating the automatic operation and maintenance rule corresponding to the newly added known scenario, the determination module 12 is configured to: determine whether the newly added known scenario can perform automatic operation and maintenance operations based on the preset operation and maintenance library; if the newly added known scenario can perform automatic operation and maintenance operations, allow the generation of the automatic operation and maintenance rule corresponding to the newly added known scenario; if the newly added known scenario cannot perform automatic operation and maintenance operations, prohibit the generation of the automatic operation and maintenance rule corresponding to the newly added known scenario. In some instances, the operation and maintenance module 13 is configured to: determine target operation and maintenance parameters required by the target operation and maintenance tool based on the operating status data; and perform automatic operation and maintenance operations on the device to be operated and maintained based on the target operation and maintenance parameters, the target operation and maintenance tool, and the operation and maintenance operation type.In some examples, before performing an automatic operation and maintenance operation on the device to be operated and maintained based on the target operation and maintenance parameters, the target operation and maintenance tool, and the operation and maintenance operation type, the operation and maintenance module 13 is configured to: obtain a first operating state of the device to be operated and maintained and a second operating state of the system to which the device to be operated and maintained belongs; determine whether the operation and maintenance operation on the device to be operated and maintained poses a risk based on the first and second operating states; if a risk is present, halt the automatic operation and maintenance operation on the device to be operated and maintained; if no risk is present, allow the automatic operation and maintenance operation on the device to be operated and maintained based on the target operation and maintenance parameters, the target operation and maintenance tool, and the operation and maintenance operation type. In some examples, the operation and maintenance module 13 is configured to: obtain preset risk rules for risk assessment; and analyze and process the first and second operating states based on the preset risk rules to determine whether the operation and maintenance operation on the device to be operated and maintained poses a risk. The apparatus shown in FIG9 can execute the method of the embodiments shown in FIG1-FIG8. For portions not described in detail in this embodiment, reference can be made to the relevant descriptions of the embodiments shown in FIG1-FIG8. The implementation process and technical effects of this technical solution are described in the embodiments shown in Figures 1-8 and will not be repeated here. In one possible design, the structure of the equipment operation and maintenance apparatus shown in Figure 9 can be implemented as an electronic device, which can be a controller, a personal computer, a server, or other devices. As shown in Figure 10, the electronic device may include a first processor 21 and a first memory 22. The first memory 22 is used to store a program for executing the equipment operation and maintenance method provided in the embodiments shown in Figures 1-9 on the corresponding electronic device. The first processor 21 is configured to execute the program stored in the first memory 22. The program includes one or more computer instructions. When executed by the first processor 21, the one or more computer instructions can perform the following steps: obtaining operating status data of the device to be operated and maintained; if the device to be operated and maintained is capable of performing automatic operation and maintenance operations, determining the operation and maintenance operation type and target operation and maintenance tool corresponding to the device to be operated and maintained based on the operating status data; and performing automatic operation and maintenance operations on the device to be operated and maintained based on the operating status data, the operation and maintenance operation type, and the target operation and maintenance tool. Furthermore, the first processor 21 is further configured to execute all or part of the steps in the embodiments shown in FIG1 to FIG8 . The electronic device may further include a first communication interface 23 for communicating with other devices or a communication network.In addition, embodiments of the present disclosure provide a computer storage medium for storing computer software instructions for electronic devices, including a program for executing the device operation and maintenance methods described in the embodiments shown in Figures 1-8 . Furthermore, embodiments of the present disclosure provide a computer program product comprising: a computer-readable storage medium storing computer instructions, which, when executed by one or more processors, causes the one or more processors to execute the steps of the device operation and maintenance methods described in the embodiments shown in Figures 1-8 . It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, and displayed data, etc.) involved in this disclosure are all authorized by the user or fully authorized by all parties. The collection, use, and processing of relevant data must comply with relevant laws, regulations, and standards of relevant countries and regions, and corresponding operation portals are provided for users to choose to authorize or deny. The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, i.e., they may be located in one location or distributed across multiple network units. Some or all of the modules can be selected based on actual needs to achieve the objectives of the present embodiment. Persons of ordinary skill in the art can understand and implement the present embodiment without inventive effort. Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented using the necessary general-purpose hardware platform, or, of course, through a combination of hardware and software. Based on this understanding, the essence of the above technical solution, or the portion that contributes to the prior art, can be embodied in the form of a computer product. The present disclosure can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code. The present disclosure is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present disclosure. It should be understood that each process and / or block in the flowcharts and / or block diagrams, as well as combinations of processes and / or blocks in the flowcharts and / or block diagrams, can be implemented by computer program instructions.These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable device to produce a machine, such that the instructions, when executed by the processor of the computer or other programmable device, produce means for implementing the functions specified in one or more flows in the flowchart and / or one or more blocks in the block diagram. These computer program instructions can also be stored in a computer-readable memory capable of directing the computer or other programmable device to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means for implementing the functions specified in one or more flows in the flowchart and / or one or more blocks in the block diagram. These computer program instructions can also be loaded onto a computer or other programmable device, such that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, such that the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more flows in the flowchart and / or one or more blocks in the block diagram. In a typical configuration, a computing device includes one or more processors (CPUs), input / output interfaces, network interfaces, and memory. Memory may include non-permanent storage in computer-readable media, random access memory (RAM), and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media. Computer-readable media, including both permanent and non-permanent, removable and non-removable media, can be implemented using any method or technology for information storage. Information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase-change RAM (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transitory media such as modulated data signals and carrier waves.Finally, it should be noted that the above embodiments are merely illustrative of the technical solutions of the present disclosure and are not intended to limit the present disclosure. Although the present disclosure has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they may modify the technical solutions described in the aforementioned embodiments or replace some of the technical features therein with equivalents. However, such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present disclosure.

Claims

Claims 1. A device operation and maintenance method, wherein: include: Obtain the operating status data of the equipment to be maintained; In the case that the equipment to be operated and maintained is capable of performing automatic operation and maintenance operations, determining an operation and maintenance operation type and a target operation and maintenance tool corresponding to the equipment to be operated and maintained based on the operating status data; Based on the operating status data, the operation and maintenance operation type and the target operation and maintenance tool, an automatic operation and maintenance operation is performed on the device to be operated and maintained.

2. The method according to claim 1, wherein: After obtaining the operating status data of the device to be operated and maintained, the method further includes: obtaining a preset operation and maintenance library, wherein the preset operation and maintenance library includes correspondences between operation and maintenance scenarios, operation and maintenance operation types, and operation and maintenance tools; and determining whether the device to be operated and maintained can perform automatic operation and maintenance operations based on the operating status data and the preset operation and maintenance library.

3. The method according to claim 2, wherein: Determining, based on the operating status data and a preset operation and maintenance library, whether the device to be operated and maintained can perform automatic operation and maintenance operations, includes: performing a search and match in the preset operation and maintenance library according to the operating status data to obtain a search and match result; and determining, based on the search and match result, whether the device to be operated and maintained can perform automatic operation and maintenance operations.

4. The method according to claim 3, wherein: The operating status data includes at least one of the following: indicator data, log data, own event data and third-party event data; Searching and matching the preset operation and maintenance library according to the operation status data to obtain a search and matching result includes: determining a data type corresponding to the operation status data; performing format conversion processing on the operation status data according to the data type to obtain target status data in a preset format; and searching and matching the preset operation and maintenance library according to the target status data to obtain a search and matching result.

5. The method according to claim 3 or 4, wherein: Judging whether the device to be operated and maintained is capable of performing automatic operation and maintenance operations based on the search and matching results includes: when the search and matching result is that an operation and maintenance scenario matching the operating status data does not exist in the preset operation and maintenance library, determining that the device to be operated and maintained cannot perform automatic operation and maintenance operations, and the scenario corresponding to the device to be operated and maintained is an unknown scenario; or, when the search and matching result is that an unoperable scenario matching the operating status data exists in the preset operation and maintenance library, determining that the device to be operated and maintained cannot perform automatic operation and maintenance operations, and the scenario corresponding to the device to be operated and maintained is a known scenario; or, when the search and matching result is that an operable scenario matching the operating status data exists in the preset operation and maintenance library, determining that the device to be operated and maintained is capable of performing automatic operation and maintenance operations.

6. The method according to claim 5, wherein: After determining that the device to be operated and maintained cannot perform automatic operation and maintenance, and the scenario corresponding to the device to be operated and maintained is an unknown scenario, the method further includes: displaying an operation and maintenance operation interface; and in response to a rule configuration operation input by a user on the operation and maintenance operation interface, The unknown scenario is adjusted to a newly added known scenario, and an automatic operation and maintenance rule corresponding to the newly added known scenario is generated; the newly added known scenario and the automatic operation and maintenance rule are updated to the preset operation and maintenance library.

7. The method according to claim 6, wherein: Before generating the automatic operation and maintenance rules corresponding to the newly added known scenario, the method further includes: judging whether the newly added known scenario can be automatically operated and maintained based on the preset operation and maintenance library; when the newly added known scenario can be automatically operated and maintained, allowing the generation of automatic operation and maintenance rules corresponding to the newly added known scenario; and when the newly added known scenario cannot be automatically operated and maintained, prohibiting the generation of automatic operation and maintenance rules corresponding to the newly added known scenario.

8. The method according to any one of claims 1 to 7, wherein: The automatically performing the operation and maintenance operation on the device to be operated and maintained based on the operating status data, the operation and maintenance operation type and the target operation and maintenance tool includes: determining target operation and maintenance parameters required by the target operation and maintenance tool based on the operating status data; and automatically performing the operation and maintenance operation on the device to be operated and maintained based on the target operation and maintenance parameters, the target operation and maintenance tool and the operation and maintenance operation type.

9. The method according to claim 8, wherein: Before performing an automatic operation and maintenance operation on the device to be operated and maintained based on the target operation and maintenance parameters, the target operation and maintenance tool, and the operation and maintenance operation type, the method further includes: obtaining a first operating status of the device to be operated and maintained and a second operating status of a system to which the device to be operated and maintained belongs; determining whether there is a risk in performing the operation and maintenance operation on the device to be operated and maintained based on the first operating status and the second operating status; if there is a risk, stopping the automatic operation and maintenance operation on the device to be operated and maintained; if there is no risk, allowing the automatic operation and maintenance operation on the device to be operated and maintained based on the target operation and maintenance parameters, the target operation and maintenance tool, and the operation and maintenance operation type.

10. The method according to claim 9, wherein: Determining, based on the first operating state and the second operating state, whether an operation and maintenance operation performed on the device to be operated and maintained is risky includes: obtaining preset risk rules for implementing risk judgment; and analyzing and processing the first operating state and the second operating state based on the preset risk rules to determine whether the operation and maintenance operation performed on the device to be operated and maintained is risky.

11. An electronic device, wherein: include: A memory and a processor; wherein the memory is used to store one or more computer instructions, wherein the one or more computer instructions, when executed by the processor, implement the device operation and maintenance method of any one of claims 1 to 10 above.

12. A computer storage medium, wherein: The computer storage medium is used to store a computer program, wherein the computer program executes the device operation and maintenance method according to any one of claims 1 to 10 when running.

13. A computer program product, wherein: include: A computer program, when executed by a processor of an electronic device, causes the processor to execute the steps of the device operation and maintenance method according to any one of claims 1 to 10.

Citation Information

Patent Citations

  • Server fault repairing method, device and apparatus and storage medium

    CN112131033A

  • Abnormal operation environment restoration method and device, computer equipment and storage medium

    CN112235342A

  • Health real-time collecting and monitoring method and system based on medical equipment

    CN114356460A

  • Database maintenance method and device, computer equipment and storage medium

    CN117743002A

Cited By

  • Decision diagram generation model training method and device and electronic equipment

    CN122287967A