Operation and maintenance platform, troubleshooting method and related equipment

Through the automated troubleshooting and repair functions of the operation and maintenance platform, the problem of high maintenance costs of the Internet business platform is solved, efficient troubleshooting and repair are achieved, labor costs are reduced, and multi-cloud environments and branch judgment logic are supported.

CN118740595APending Publication Date: 2024-10-01BEIJING VOLCANO ENGINE TECH CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202410917155.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-09
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

As the deployment environment and business scale of Internet business platforms expand, manual maintenance costs increase significantly, and the lack of automated troubleshooting and repair solutions results in low maintenance efficiency.

Method used

An operation and maintenance platform is designed, including debugging interfaces, agent modules and multiple troubleshooting engines. By receiving operation and maintenance information, it determines the back-end cloud environment, generates troubleshooting reports, and automatically realizes problem discovery, analysis and repair.

Benefits of technology

It greatly reduces manual operations, improves troubleshooting efficiency, reduces labor costs, and supports multiple backend cloud environments and branch judgment logic, improving troubleshooting efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118740595A_ABST
    Figure CN118740595A_ABST
Patent Text Reader

Abstract

The invention provides an operation and maintenance platform and a troubleshooting method. The operation and maintenance platform comprises a debugging interface, an agent module and a plurality of troubleshooting engines; the debugging interface is used for receiving operation maintenance information which is submitted by a service management platform and aims at a certain maintenance object and returning a troubleshooting report generated by the troubleshooting engine to the service management platform; the agent module is used for determining a back-end cloud environment corresponding to the maintenance object based on environment information in the operation maintenance information, and submitting the operation maintenance information to a troubleshooting engine corresponding to the back-end cloud environment; and the troubleshooting engine is used for determining a troubleshooting link diagram corresponding to problem description information based on the problem description information in the operation maintenance information, and carrying out troubleshooting on the maintenance object based on the troubleshooting link diagram and the identifier of the maintenance object. And determining a fault root cause corresponding to the problem description, and generating the troubleshooting report.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, and in particular to an operation and maintenance platform, a troubleshooting method, and related equipment. Background Art

[0002] With the continuous development of Internet technology around the world, various Internet business platforms, including recommendation platforms, usually have multiple deployment environments around the world. At present, the operation and maintenance of business platforms are still mostly completed manually by management personnel. In this way, when the deployment environment of a business platform increases or the number of services it provides increases, the maintenance cost of the business platform, especially the labor cost, will also increase accordingly.

[0003] In order to reduce the maintenance cost of the business platform and improve the maintenance efficiency of the business platform, there is an urgent need for an operation and maintenance platform that can automatically realize problem discovery, problem analysis, problem repair and reporting during the operation of the business platform. Summary of the invention

[0004] In view of this, the embodiments of the present disclosure provide an operation and maintenance platform, a troubleshooting method and related equipment, which can automatically realize problem discovery, problem analysis, problem repair and reporting during the operation of the business platform.

[0005] The operation and maintenance platform described in the embodiment of the present disclosure may include: a debugging interface, an agent module, and multiple fault troubleshooting engines; wherein each of the multiple fault troubleshooting engines corresponds to a backend cloud environment;

[0006] The debugging interface is used to receive operation and maintenance information for a maintenance object submitted by the business management platform and return the troubleshooting report generated by the troubleshooting engine to the business management platform; wherein the operation and maintenance information includes: the identification of the maintenance object, problem description information and environment information;

[0007] The proxy module is used to receive the operation and maintenance information, determine the backend cloud environment corresponding to the maintenance object based on the environment information in the operation and maintenance information, submit the operation and maintenance information to the troubleshooting engine corresponding to the backend cloud environment, and return the troubleshooting report generated by the troubleshooting engine to the debugging interface;

[0008] The troubleshooting engine is used to determine a troubleshooting link diagram corresponding to the problem description information based on the problem description information in the operation and maintenance information, perform troubleshooting on the maintenance object based on the troubleshooting link diagram and the identifier of the maintenance object, determine the root cause of the fault corresponding to the problem description, generate the troubleshooting report, and return the troubleshooting report to the agent module.

[0009] In an embodiment of the present disclosure, the debugging interface is a presentation layer state conversion application program interface, which is used to receive operation and maintenance information for the maintenance object submitted by an alarm module, an inspection module or an administrator module in the business management platform.

[0010] In an embodiment of the present disclosure, the proxy module includes:

[0011] A mapping relationship storage module, used to store a first mapping relationship between preset environment information and a backend cloud environment;

[0012] An operation and maintenance information receiving module, used to receive operation and maintenance information from the debugging interface;

[0013] An environmental information extraction module, used to extract environmental information from the received operation and maintenance information;

[0014] a mapping module, configured to determine a target backend cloud environment corresponding to the maintenance object based on the first mapping relationship and the extracted environment information; and

[0015] The forwarding module is used to submit the received operation and maintenance information to the troubleshooting engine corresponding to the target backend cloud environment, and return the troubleshooting report from the troubleshooting engine to the debugging interface.

[0016] In an embodiment of the present disclosure, the troubleshooting engine includes:

[0017] A problem representation extraction module, used to extract problem description information from the operation and maintenance information;

[0018] A troubleshooting link diagram planning module, used to store at least one pre-set troubleshooting link diagram and a second mapping relationship between the problem description information and the troubleshooting link diagram, and determine a target troubleshooting link diagram corresponding to the problem description information based on the second mapping relationship;

[0019] An inspection and analysis module, configured to perform troubleshooting on the maintenance object based on the target troubleshooting link diagram, and determine a root cause of the fault corresponding to the problem description;

[0020] A problem repair module, used to generate a fault repair solution based on the root cause of the fault;

[0021] A reporting module is used to generate a troubleshooting report based on the target troubleshooting link diagram, the root cause of the fault and the fault repair plan, and return the troubleshooting report to the agent module.

[0022] In an embodiment of the present disclosure, the troubleshooting link diagram includes at least one branch sub-link, and each branch sub-link includes at least one node; wherein each branch sub-link corresponds to a type of fault cause; each node corresponds to a specific fault cause, and defines a troubleshooting method and attribution conditions.

[0023] In an embodiment of the present disclosure, the inspection and analysis module executes the troubleshooting method corresponding to each node for each node included in the troubleshooting link diagram, determines whether the maintenance object meets the attribution condition corresponding to the current node, until it is determined that the maintenance object meets the attribution condition corresponding to the current node, and uses the specific cause of the fault corresponding to the current node as the root cause of the fault corresponding to the problem description.

[0024] In an embodiment of the present disclosure, the fault troubleshooting link map planning module is further used to assign a priority to each branch sub-link; and

[0025] The inspection and analysis module determines a target branch sub-link from the at least one branch sub-link in the order of the priorities from high to low, and executes a fault troubleshooting method corresponding to the node for at least one node included in the target branch sub-link.

[0026] In an embodiment of the present disclosure, the inspection and analysis module selects a target node from at least one node included in the target branch sub-link by using a binary search method, and executes a fault troubleshooting method corresponding to the target node.

[0027] The troubleshooting method described in the embodiment of the present disclosure includes: receiving operation and maintenance information for a maintenance object submitted by a business management platform; wherein the operation and maintenance information includes: an identifier of the maintenance object, problem description information and environmental information; determining a backend cloud environment corresponding to the business management platform based on the environmental information in the operation and maintenance information; submitting the operation and maintenance information to a troubleshooting engine corresponding to the backend cloud environment; the troubleshooting engine determines a troubleshooting link diagram corresponding to the problem description information based on the problem description information in the operation and maintenance information, troubleshoots the maintenance object corresponding to the maintenance object information based on the troubleshooting link diagram, determines the root cause of the fault corresponding to the problem description, and generates and feeds back a troubleshooting report to the business management platform based on the root cause of the fault.

[0028] In an embodiment of the present disclosure, the above method further includes: pre-storing a first mapping relationship between environmental information and the back-end cloud environment; wherein, determining the back-end cloud environment corresponding to the business management platform based on the environmental information in the operation and maintenance information includes: determining the back-end cloud environment corresponding to the business management platform based on the first mapping relationship and the environmental information in the received operation and maintenance information.

[0029] In an embodiment of the present disclosure, the above method further includes: storing at least one pre-set troubleshooting link diagram, and a second mapping relationship between the problem description information and the troubleshooting link diagram; wherein, determining the troubleshooting link diagram corresponding to the problem description information based on the problem description information in the operation and maintenance information includes: extracting the problem description information from the operation and maintenance information; and based on the second mapping relationship, determining the target troubleshooting link diagram corresponding to the extracted problem description information.

[0030] In an embodiment of the present disclosure, the troubleshooting link diagram includes at least one branch sub-link, and each branch sub-link includes at least one node; wherein each branch sub-link corresponds to a type of fault cause; each node corresponds to a specific fault cause, and defines a troubleshooting method and attribution conditions.

[0031] In an embodiment of the present disclosure, troubleshooting is performed on the maintenance object corresponding to the maintenance object information based on the troubleshooting link diagram to determine the root cause of the fault corresponding to the problem description, including: for the nodes included in the troubleshooting link diagram, respectively executing the troubleshooting method corresponding to the node to determine whether the maintenance object meets the attribution condition corresponding to the current node, until it is determined that the maintenance object meets the attribution condition corresponding to the current node, and taking the specific cause of the fault corresponding to the current node as the root cause of the fault corresponding to the problem description.

[0032] In an embodiment of the present disclosure, the above method further includes: assigning a priority to each branch sub-link; wherein, for the nodes contained in the troubleshooting link diagram, respectively executing the troubleshooting method corresponding to the node includes: determining the target branch sub-link from the at least one branch sub-link in order from high to low priority; and for at least one node contained in the target branch sub-link, respectively executing the troubleshooting method corresponding to the node.

[0033] In an embodiment of the present disclosure, for at least one node included in the target branch sub-link, respectively performing fault troubleshooting corresponding to the node includes: selecting a target node from at least one node included in the target branch sub-link using a binary search method; and executing a fault troubleshooting method corresponding to the target node.

[0034] In addition, an embodiment of the present disclosure further provides an electronic device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned troubleshooting method when executing the program.

[0035] An embodiment of the present disclosure further provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the above-mentioned troubleshooting method.

[0036] An embodiment of the present disclosure further provides a computer program product, including computer program instructions. When the computer program instructions are executed on a computer, the computer executes the above-mentioned troubleshooting method.

[0037] The operation and maintenance platform, troubleshooting method and related equipment described in the embodiments of the present disclosure can not only support different background cloud environments, but also can quickly and automatically perform troubleshooting based on the problem manifestations found, greatly reducing manual operations, thereby greatly reducing the manpower costs required for operation and maintenance of the business platform.

[0038] Furthermore, the operation and maintenance platform described in the embodiment of the present disclosure supports branch judgment logic and supports configuring priorities for different branches, thereby further greatly improving the troubleshooting efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] In order to more clearly illustrate the technical solutions in the present disclosure or related technologies, the drawings required for use in the embodiments or related technical descriptions are briefly introduced below. Obviously, the drawings described below are only embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0040] Figure 1 The structure of the operation and maintenance platform described in some embodiments of the present disclosure is shown.

[0041] Figure 2 The internal structure of the proxy module described in some embodiments of the present disclosure is shown.

[0042] Figure 3 The internal structure of the troubleshooting engine described in some embodiments of the present disclosure is shown.

[0043] Figure 4 A schematic diagram of a troubleshooting link diagram according to some embodiments of the present disclosure is shown.

[0044] Figure 5 The implementation process of the troubleshooting method described in some embodiments of the present disclosure is shown.

[0045] Figure 6 A more specific schematic diagram of the hardware structure of an electronic device described in some embodiments of the present disclosure is shown. DETAILED DESCRIPTION

[0046] In order to make the objectives, technical solutions and advantages of the present disclosure more clearly understood, the present disclosure is further described in detail below in combination with specific embodiments and with reference to the accompanying drawings.

[0047] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the embodiments of the present disclosure should be understood by people with ordinary skills in the field to which the present disclosure belongs. The "first", "second" and similar words used in the embodiments of the present disclosure do not indicate any order, quantity or importance, but are only used to distinguish different components. "Including" or "comprising" and similar words mean that the elements or objects appearing before the word cover the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.

[0048] It is understandable that before using the technical solutions of each embodiment of the present disclosure, the type, scope of use, usage scenarios, etc. of the personal information involved will be informed to the user in an appropriate manner, and the user's authorization will be obtained.

[0049] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly remind the user that the operation requested to be performed will require obtaining and using the user's personal information. Thus, the user can independently choose whether to provide personal information to software or hardware such as an electronic device, application, server, or storage medium that performs the operation of the technical solution of the present disclosure according to the prompt message.

[0050] As an optional but non-limiting implementation, in response to receiving the user's active request, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. In addition, the pop-up window may also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.

[0051] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that meet relevant laws and regulations may also be applied to the implementation of the present disclosure.

[0052] As mentioned above, when the deployment environment of the business platform increases or the services it provides increase, the maintenance cost of the business platform, especially the labor cost, will also increase accordingly. In order to reduce the maintenance cost of the business platform and improve the maintenance efficiency of the business platform, there is an urgent need for an operation and maintenance platform that can automatically realize problem discovery, problem analysis, problem repair and reporting during the operation of the business platform.

[0053] In order to solve the above problems, an embodiment of the present disclosure provides an operation and maintenance platform. Figure 1 The structure of the operation and maintenance platform described in some embodiments of the present disclosure is shown. Figure 1 As shown, the operation and maintenance platform 100 described in the embodiment of the present disclosure may include: a debugging interface 110 , an agent module 120 and multiple troubleshooting engines 130 .

[0054] In the embodiment of the present disclosure, the debugging interface 110 is mainly used to receive operation and maintenance information for a maintenance object submitted by the service management platform 200. The debugging interface 110 is further used to return the troubleshooting report generated by the troubleshooting engine 130 to the service management platform 200.

[0055] In the embodiments of the present disclosure, the above-mentioned business management platform 200 may generally refer to a front-end application for business management, such as an application client or a browser, etc., and may generally include an alarm module 210, an inspection module 220 or an administrator module (On Call) 230, etc., which can actively or passively discover various types of problems in the operation of the business platform. Among them, the above-mentioned alarm module 210 and the inspection module 220 can passively discover problems in the operation of the business platform according to their configuration information, and submit operation and maintenance information related to the discovered problems to the operation and maintenance platform 100 when the problems are discovered. The above-mentioned administrator module 230 can usually be operated by an administrator on duty, and can actively discover problems in the operation of the business platform, and fill in a pre-set form when the problems are discovered to submit operation and maintenance information related to the discovered problems to the operation and maintenance platform 100. These forms define which specific operation and maintenance information needs to be reported when problems are discovered. For the operation and maintenance information that can be directly extracted by the business management platform 200, it can be automatically filled in the form and then submitted by the administrator.

[0056] In the embodiments of the present disclosure, the above maintenance objects generally refer to objects managed and maintained by the business management platform 200. For example, for a recommendation platform, the maintenance objects of the recommendation platform generally include: tasks, models, and strategies, and the like.

[0057] In the embodiment of the present disclosure, the above-mentioned operation and maintenance information may specifically include: identification of the maintenance object, problem description information, and environmental information, etc. Among them, the identification of the above-mentioned maintenance object may be the ID of the maintenance object, etc., which is used to inform the operation and maintenance platform 100 which maintenance object has a problem. Then, for the recommendation platform, the above-mentioned maintenance object information may include: task ID, model ID or strategy ID, etc. The above-mentioned problem description information usually refers to the problem phenomenon description information corresponding to the found problem. For example, for maintenance objects such as tasks, problems such as task failure or task delay may usually occur. For maintenance objects such as tasks, the problem description information may include: task failure or task delay, etc. For another example, for maintenance objects such as models, problems such as slow model training or inconsistent effects of model online reasoning and offline may usually occur. For maintenance objects such as models, the problem description information may include: slow training or inconsistent online and offline effects, etc. For another example, for maintenance objects such as strategies, problems such as strategy failure may usually occur. For maintenance objects such as strategies, the problem description information may include: strategy failure, etc. As mentioned above, with the continuous development of Internet technology around the world, various Internet business platforms, including recommendation platforms, usually have multiple deployment environments around the world. For different deployment environments, the specific methods of operation and maintenance may be different. Therefore, the above-mentioned environmental information refers to the information that can be inferred by the operation and maintenance platform about the back-end cloud environment corresponding to the above-mentioned maintenance object, such as the uniform resource identifier (URI) of the maintenance object, etc.

[0058] In some embodiments of the present disclosure, the above-mentioned debugging interface 110 may be specifically a presentation layer state conversion application program interface (Restful API). By using the Restful API as the above-mentioned debugging interface 110, the concerns between the client and the server can be separated, and the operation and maintenance platform can be associated with functions such as On Call / alarm / inspection report that users often use, thereby improving the decoupling and maintainability of the system and achieving compatibility with front ends in multiple cloud environments.

[0059] Among them, the Restful API can use the POST method, and its request body can specify specific debugging input parameters in json format. In addition, in order to avoid misuse by private customers after deployment in the backend cloud environment, basic authentication can also be performed by using a fixed API key to ensure business security.

[0060] In some embodiments of the present disclosure, the agent module 120 is mainly used to receive the operation and maintenance information from the debugging interface 110, determine the backend cloud environment corresponding to the maintenance object based on the environment information in the operation and maintenance information, and submit the operation and maintenance information to the troubleshooting engine 130 corresponding to the backend cloud environment. The agent module 120 can also be further used to receive the troubleshooting report generated by the troubleshooting engine 130 and feed it back to the debugging interface 110.

[0061] In some embodiments of the present disclosure, the internal structure of the proxy module 120 may be as follows: Figure 2 As shown, it includes the following modules:

[0062] The mapping relationship storage module 1210 is used to store a first mapping relationship between preset environment information and a backend cloud environment.

[0063] In an embodiment of the present disclosure, different backend cloud environments can be identified by a Domain Name System (DNS), and environment information can be identified by a URI of a maintenance object. Therefore, in an embodiment of the present disclosure, a first mapping relationship between the URI of a maintenance object and the DNS of a backend cloud environment can be established. For example, in some embodiments, the first mapping relationship can mean that the DNS of the corresponding backend cloud environment can be obtained by performing specific processing on the URI of the maintenance object.

[0064] The operation and maintenance information receiving module 1220 is used to receive the operation and maintenance information for the maintenance object from the debugging interface 110 .

[0065] The environment information extraction module 1230 is used to extract environment information from the received operation and maintenance information.

[0066] The mapping module 1240 is used to determine the target backend cloud environment corresponding to the maintenance object based on the first mapping relationship and the extracted environment information.

[0067] The forwarding module 1250 is used to submit the received operation and maintenance information to the troubleshooting engine corresponding to the above-mentioned target backend cloud environment, and return the troubleshooting report from the troubleshooting engine to the above-mentioned debugging interface 110.

[0068] The data communication link from the business management platform to the operation and maintenance platform can be established through the above-mentioned proxy module 120. Among them, the business management platform can currently transmit images, software configuration management (SCM), distributed transaction solution TCC configuration and upgrade instructions to each back-end cloud environment and receive upgrade feedback from the operation and maintenance platform. The troubleshooting engine 130 can be deployed separately in each back-end cloud environment, and then exposed to the outside through the proxy module 120 of the operation and maintenance platform.

[0069] In an embodiment of the present disclosure, each of the multiple troubleshooting engines 130 corresponds to a backend cloud environment, and multiple troubleshooting link diagrams corresponding to the problem description information are stored in the multiple troubleshooting engines 130. In an embodiment of the present disclosure, the troubleshooting link diagram is mainly used to define the execution logic of troubleshooting, which can also be called a troubleshooting posture.

[0070] In an embodiment of the present disclosure, each of the above-mentioned troubleshooting engines 130 is used to first determine a troubleshooting link diagram corresponding to the above-mentioned problem description information based on the problem description information in the above-mentioned operation and maintenance information, and then perform troubleshooting on the maintenance object corresponding to the above-mentioned maintenance object information based on the above-mentioned troubleshooting link diagram, determine the root cause of the fault corresponding to the above-mentioned problem description, and then generate a troubleshooting report, and return the generated troubleshooting report to the above-mentioned agent module 120.

[0071] Specifically, in the embodiment of the present disclosure, the internal structure of the troubleshooting engine 130 may be as follows: Figure 3 As shown, it mainly includes:

[0072] The problem representation extraction module 1310 is used to extract problem description information from the above operation and maintenance information.

[0073] The troubleshooting link diagram planning module 1320 is used to store at least one pre-set troubleshooting link diagram and a second mapping relationship between the problem description information and the above troubleshooting link diagram, and based on the above second mapping relationship, determine the target troubleshooting link diagram corresponding to the extracted problem description information.

[0074] The inspection and analysis module 1330 is used to perform troubleshooting on the maintenance object based on the target troubleshooting link diagram to determine the root cause of the fault corresponding to the extracted problem description.

[0075] The problem repair module 1340 is used to generate a fault repair solution based on the root cause of the fault.

[0076] The reporting module 1350 is used to generate a troubleshooting report based on the target troubleshooting link diagram, the root cause of the fault and the fault repair solution, and return the troubleshooting report to the agent module 120.

[0077] In the embodiment of the present disclosure, the above-mentioned troubleshooting link diagram can be as follows: Figure 4 A directed acyclic graph (DAG) including multiple nodes is shown. In some embodiments of the present disclosure, the above-mentioned troubleshooting link diagram may include at least one branch sub-link. Each branch sub-link corresponds to a type of fault cause. For example, there may be multiple reasons for the phenomenon of inducing task failure, including: for example, insufficient resource allocation, unreasonable task configuration, or problems with task logic, etc. In this way, in the troubleshooting link diagram corresponding to the description of the problem of task failure, it will include branch sub-links corresponding to the type of fault cause of insufficient resource allocation, it will also include branch sub-links corresponding to the type of fault cause of unreasonable task configuration, and it will also include branch sub-links corresponding to the type of fault cause of problem of task logic. Each of the above-mentioned branch sub-links will define a specific troubleshooting link for the corresponding type of fault cause.

[0078] The reason for setting at least one branch sub-link in the above-mentioned troubleshooting link diagram is that the services provided by current business platforms, such as recommendation platforms, are usually complex business links with front-to-back coupling relationships. When such a complex business link with front-to-back coupling relationships has a problem, it is also a complex problem to locate and troubleshoot its fault. Moreover, for the above-mentioned complex business link with front-to-back coupling relationships, there may be multiple reasons that induce a certain problem phenomenon, so its fault analysis and troubleshooting process may derive multiple bifurcation logics. Based on the above situation, the troubleshooting link diagram is defined by DAG, and by setting at least one branch sub-link in the predefined troubleshooting link diagram, and each branch sub-link corresponds to a type of fault cause, the bifurcation logic between the multiple fault causes that induce the problem phenomenon can be more clearly represented. In this way, each branch sub-link can be checked in turn in the process of troubleshooting the problems of the maintenance object according to the troubleshooting link diagram, so as to quickly find the root cause of the fault corresponding to the extracted problem description, thereby improving the troubleshooting efficiency. It can be seen that the troubleshooting link diagram set in this way can more clearly represent the bifurcation logic between the multiple causes that induce the task failure, thereby improving the troubleshooting efficiency.

[0079] In addition, as mentioned above, the services currently provided by the business platform are usually a complex business link with a front-to-back coupling relationship. When troubleshooting such a business link, the corresponding troubleshooting link usually also has a front-to-back coupling relationship. Based on this, in an embodiment of the present disclosure, each of the above-mentioned branch sub-links will include at least one node. Usually, there is also a front-to-back coupling relationship between the above-mentioned at least one node. Among them, each of the above-mentioned at least one node will correspond to a specific cause of the fault, and at the same time, each node can define a specific troubleshooting method and attribution condition. When the troubleshooting method defined by a node is executed and it is determined that the attribution condition defined by it is met, the specific cause of the fault corresponding to the node can be considered to be the root cause of the fault corresponding to the problem description. For example, a branch sub-link corresponding to a fault cause such as insufficient resources may contain multiple nodes, and each node defines a specific troubleshooting method and attribution condition for determining whether a task failure is caused by a certain type of resource shortage. In the process of executing a troubleshooting method defined by a certain node, it is possible to check the resource allocation service to see how many resources the above-mentioned task applied for during operation and how many resources are actually required, etc., so as to determine whether the task failure is caused by insufficient resources; it is also possible to execute a troubleshooting method defined by a certain node by querying logs. The embodiments of the present disclosure do not limit the specific methods of the troubleshooting methods defined by each node. If after executing a troubleshooting method defined by a certain node, it is determined that the attribution conditions defined by it are met, then it can be determined that the root cause of the fault corresponding to the problem description is the specific cause of the fault corresponding to the node, for example, the task failure is caused by insufficient resources.

[0080] That is to say, in an embodiment of the present disclosure, the inspection and analysis module 1330 executes the troubleshooting method corresponding to each node for each node included in the troubleshooting link diagram, and determines whether the maintenance object meets the attribution condition corresponding to the current node, until it is determined that the maintenance object meets the attribution condition corresponding to a certain node, and uses the specific cause of the fault corresponding to the node as the root cause of the fault corresponding to the problem description.

[0081] In the embodiment of the present disclosure, in order to further improve the troubleshooting efficiency, a logical order for troubleshooting based on the troubleshooting link diagram will also be set. Specifically, the above-mentioned troubleshooting link diagram planning module 1320 can be further used to set a priority for each branch sub-link of the above-mentioned troubleshooting link diagram. Among them, the higher the priority, the greater the possibility that the specific cause of the fault corresponding to the node included in the branch sub-link is the root cause of the fault. In the embodiment of the present disclosure, the setting of the above-mentioned priority can usually be set according to the historical data analysis results of operation and maintenance, that is, based on statistical information, a higher priority is set for the branch sub-link corresponding to a type of fault cause that is more likely to be the root cause of the fault. Through statistics, it is found that for the same type of faults, about 80% of the faults are caused by 20% of the fault causes. Therefore, setting a higher priority for these 20% of the fault causes can greatly improve the efficiency of troubleshooting.

[0082] In the above situation, the above inspection and analysis module 1330 can first determine the target branch sub-link from at least one branch sub-link in the order of the set priority from high to low; then, for at least one node contained in the target branch sub-link, execute the troubleshooting method corresponding to each node respectively until the attribution condition of a certain node is met.

[0083] For branch sub-links with front-to-back coupling relationships between nodes, the binary search method can be used to select the target node from at least one node contained in the branch sub-link; then, the troubleshooting method corresponding to the target node is executed. The binary search method can quickly determine the node interval corresponding to the fault, so as to quickly find the node corresponding to the fault, and then determine the root cause of the fault corresponding to the problem description. To give a simple example, when a branch sub-link contains five nodes ABCDE with front-to-back coupling relationships, any problem with any of the nodes may cause problems in the entire branch sub-link. When troubleshooting the above-mentioned branch sub-link, the binary method can be used to determine that the target node is its intermediate node C, and the intermediate node C of the link is checked, and the troubleshooting method corresponding to node C is executed. If the attribution conditions are met, it can be determined that the problematic node may be A, B or C. Next, the binary method can be further used to determine that the target node is its intermediate node B, and the intermediate node B is continued to be checked; if the attribution conditions are not met, it can be determined that the problematic node may be D or E. Next, the binary method can be used to determine that the target node is its intermediate node D, and node D is further checked, ..., so as to find the node that causes the problem in the entire branch sub-link, and thus determine the root cause of the fault corresponding to the problem description.

[0084] In an embodiment of the present disclosure, the above-mentioned problem repair module 1340 can pre-set and store a fault repair plan corresponding to the root cause of the fault. It can be understood that after the root cause of the fault is located, its fault repair plan can basically be determined accordingly. For example, after determining that the root cause of the fault is insufficient allocation of a certain resource, which in turn induces the failure of the task, the allocation of this resource can be increased to perform fault repair. Based on the above settings, after determining the root cause of the fault corresponding to the problem description, the above-mentioned problem repair module 1340 can automatically generate a fault repair plan based on the fault repair plan corresponding to the root cause of the fault stored in itself and the root cause of the fault corresponding to the problem description.

[0085] In an embodiment of the present disclosure, the reporting module 1350 may generate a troubleshooting report based on the target troubleshooting link diagram, the root cause of the fault and the fault repair solution, and return the troubleshooting report to the agent module 120 .

[0086] In an embodiment of the present disclosure, the reporting module 1350 may also add the process details of troubleshooting based on the target troubleshooting link diagram to the troubleshooting report, thereby assisting the business management platform in reviewing.

[0087] In the embodiment of the present disclosure, the above fault repair scheme can be automatically executed once, thereby ensuring atomicity and providing the service management platform with the function of retry configuration or manual retry. In addition, an alarm notification is provided for the failure of the fault repair scheme to be executed.

[0088] It can be seen from the above scheme that the operation and maintenance platform described in the embodiment of the present disclosure can not only support different background cloud environments. Furthermore, the above operation and maintenance platform can support flexible configuration of DAG to define troubleshooting links, so that faults can be quickly and automatically troubleshooted for the discovered problem manifestations, greatly reducing manual operations, thereby greatly reducing the labor cost required for operation and maintenance of the business platform.

[0089] Furthermore, the operation and maintenance platform described in the embodiment of the present disclosure supports branch judgment logic and supports configuring priorities for different branches, thereby further greatly improving the troubleshooting efficiency.

[0090] Specifically, the current recommendation platform usually maintains more than a dozen backend cloud environments, each of which has dozens of services. From the perspective of the overall business of the recommendation platform, the debugging of complex links is the most time-consuming, and there are many critical complex links in the business links of the recommendation platform. It can be understood that the complex links existing in the recommendation platform usually include: positive links, candidate links, reverse links, online strategies, streaming samples, real-time features, model training, etc. Through the technical solution described in the embodiments of the present disclosure, the standardized troubleshooting postures on fixed complex links can be automated to quickly narrow the problem space and greatly reduce the cost of manpower troubleshooting.

[0091] Corresponding to the above operation and maintenance platform, an embodiment of the present disclosure also provides a troubleshooting method. Figure 5 The implementation process of the above troubleshooting method is shown. Figure 5 As shown, the above troubleshooting method may include:

[0092] In step 510, operation and maintenance information for a maintenance object submitted by the business management platform is received; wherein the operation and maintenance information includes: an identifier of the maintenance object, problem description information, and environment information;

[0093] In step 520, based on the environment information in the operation and maintenance information, a backend cloud environment corresponding to the business management platform is determined;

[0094] In step 530, the operation and maintenance information is submitted to a troubleshooting engine corresponding to the backend cloud environment;

[0095] In step 540, the troubleshooting engine determines a troubleshooting link diagram corresponding to the problem description information based on the problem description information in the operation and maintenance information;

[0096] In step 550, based on the troubleshooting link diagram and the identifier of the maintenance object, troubleshoot the maintenance object to determine the root cause of the fault corresponding to the problem description;

[0097] In step 560, a troubleshooting report is generated based on the root cause of the fault, and the troubleshooting report is fed back to the service management platform.

[0098] In some embodiments of the present disclosure, the troubleshooting method may further include: pre-storing a first mapping relationship between the environmental information and the backend cloud environment. In this case, determining the backend cloud environment corresponding to the business management platform based on the environmental information in the operation and maintenance information may include: determining the backend cloud environment corresponding to the business management platform based on the first mapping relationship and the environmental information in the received operation and maintenance information.

[0099] In some embodiments of the present disclosure, the above-mentioned troubleshooting method may further include: storing at least one pre-set troubleshooting link diagram, and establishing a second mapping relationship between the problem description information and the troubleshooting link diagram.

[0100] In this case, the above-mentioned troubleshooting engine determines the troubleshooting link diagram corresponding to the problem description information based on the problem description information in the operation and maintenance information, which may include: extracting the problem description information from the operation and maintenance information; and based on the second mapping relationship, determining the target troubleshooting link diagram corresponding to the extracted problem description information.

[0101] In some embodiments of the present disclosure, the above-mentioned troubleshooting link diagram includes at least one branch sub-link, and each branch sub-link includes at least one node; wherein each branch sub-link corresponds to a type of fault cause; each node corresponds to a specific fault cause, and defines a fault troubleshooting method and attribution conditions.

[0102] In some embodiments of the present disclosure, the above-mentioned troubleshooting is performed on the maintenance object corresponding to the maintenance object information based on the troubleshooting link diagram to determine the root cause of the fault corresponding to the problem description, including: for the nodes included in the troubleshooting link diagram, respectively executing the troubleshooting method corresponding to the node to determine whether the maintenance object meets the attribution condition corresponding to the current node, until it is determined that the maintenance object meets the attribution condition corresponding to the current node, and taking the specific cause of the fault corresponding to the current node as the root cause of the fault corresponding to the problem description.

[0103] In some embodiments of the present disclosure, the above method further includes: assigning a priority to each branch sub-link; wherein, for the nodes contained in the troubleshooting link diagram, respectively executing the troubleshooting method corresponding to the node includes: determining the target branch sub-link from the at least one branch sub-link in order from high to low priority; and for at least one node contained in the target branch sub-link, respectively executing the troubleshooting method corresponding to the node.

[0104] In some embodiments of the present disclosure, the above-mentioned performing corresponding troubleshooting on at least one node included in the target branch sub-link includes: selecting a target node from at least one node included in the target branch sub-link using a binary search method; and executing a troubleshooting method corresponding to the target node.

[0105] It can be seen from the above scheme that the troubleshooting method described in the embodiment of the present disclosure can not only support different background cloud environments, but also can quickly and automatically perform troubleshooting based on the problem manifestations found, greatly reducing manual operations, thereby greatly reducing the manpower cost required for operation and maintenance of the business platform.

[0106] Furthermore, the troubleshooting method described in the embodiment of the present disclosure supports branch judgment logic and supports configuring priorities for different branches, thereby further greatly improving the troubleshooting efficiency.

[0107] Based on the same inventive concept, corresponding to any of the above-mentioned embodiments, the present disclosure also provides an electronic device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the troubleshooting method described in any of the above embodiments when executing the program.

[0108] Figure 6 A more specific hardware structure diagram of an electronic device provided in this embodiment is shown, and the device may include: a processor 2010, a memory 2020, an input / output interface 2030, a communication interface 2040, and a bus 2050. The processor 2010, the memory 2020, the input / output interface 2030, and the communication interface 2040 are connected to each other in communication within the device through the bus 2050.

[0109] The processor 2010 can be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this specification.

[0110] The memory 2020 can be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 2020 can store an operating system and other application programs. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program codes are stored in the memory 2020 and are called and executed by the processor 2010.

[0111] The input / output interface 2030 is used to connect input / output devices to realize information input and output. The input / output devices can be configured in the device as components, or can be externally connected to the device to provide corresponding functions. The input devices can include microphones, various sensors, etc., and the output devices can include displays, speakers, vibrators, indicator lights, etc.

[0112] The communication interface 2040 is used to connect a communication module (not shown) to realize communication interaction between the device and other devices. The communication module can realize communication through a wired mode (such as USB, network cable, etc.) or a wireless mode (such as mobile network, WIFI, Bluetooth, etc.).

[0113] The bus 2050 includes a path that transmits information between the various components of the device (eg, the processor 2010, the memory 2020, the input / output interface 2030, and the communication interface 2040).

[0114] It should be noted that, although the above device only shows the processor 2010, the memory 2020, the input / output interface 2030, the communication interface 2040, and the bus 2050, in the specific implementation process, the device may also include other components necessary for normal operation. In addition, it can be understood by those skilled in the art that the above device may also only include the components necessary for implementing the embodiments of the present specification, and does not necessarily include all the components shown in the figure.

[0115] The electronic device of the above embodiment is used to implement the corresponding fault troubleshooting method in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be described in detail here.

[0116] Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, the present disclosure also provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the troubleshooting method described in any of the above embodiments.

[0117] The computer-readable medium of this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase change memory (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 technology, read-only compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device.

[0118] The computer instructions stored in the storage medium of the above embodiments are used to enable the computer to execute the task processing method described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.

[0119] Those skilled in the art should understand that the discussion of any of the above embodiments is merely illustrative and is not intended to imply that the scope of the present disclosure (including the claims) is limited to these examples. Based on the concept of the present disclosure, the technical features in the above embodiments or different embodiments may be combined, the steps may be implemented in any order, and there are many other variations of the different aspects of the embodiments of the present disclosure as described above, which are not provided in detail for the sake of simplicity.

[0120] In addition, to simplify the description and discussion, and in order not to make the embodiments of the present disclosure difficult to understand, the known power / ground connections to the integrated circuit (IC) chips and other components may or may not be shown in the provided figures. In addition, the device can be shown in the form of a block diagram to avoid making the embodiments of the present disclosure difficult to understand, and this also takes into account the fact that the details of the implementation of these block diagram devices are highly dependent on the platform on which the embodiments of the present disclosure will be implemented (that is, these details should be fully within the scope of understanding of those skilled in the art). Where specific details (e.g., circuits) are set forth to describe exemplary embodiments of the present disclosure, it is apparent to those skilled in the art that the embodiments of the present disclosure can be implemented without these specific details or with changes in these specific details. Therefore, these descriptions should be considered illustrative rather than restrictive.

[0121] Although the present disclosure has been described in conjunction with specific embodiments of the present disclosure, many replacements, modifications and variations of these embodiments will be apparent to those skilled in the art from the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may use the embodiments discussed.

[0122] The embodiments of the present disclosure are intended to cover all such substitutions, modifications and variations that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present disclosure should be included in the scope of protection of the present disclosure.

Claims

1. An operation and maintenance platform, comprising: A debugging interface, an agent module, and a plurality of troubleshooting engines; wherein each of the plurality of troubleshooting engines corresponds to a backend cloud environment; The debugging interface is used to receive operation and maintenance information for a maintenance object submitted by the business management platform and return the troubleshooting report generated by the troubleshooting engine to the business management platform; wherein the operation and maintenance information includes: the identification of the maintenance object, problem description information and environment information; The proxy module is used to receive the operation and maintenance information, determine the backend cloud environment corresponding to the maintenance object based on the environment information in the operation and maintenance information, submit the operation and maintenance information to the troubleshooting engine corresponding to the backend cloud environment, and return the troubleshooting report generated by the troubleshooting engine to the debugging interface; and The troubleshooting engine is used to determine a troubleshooting link diagram corresponding to the problem description information based on the problem description information in the operation and maintenance information, perform troubleshooting on the maintenance object based on the troubleshooting link diagram and the identifier of the maintenance object, determine the root cause of the fault corresponding to the problem description, generate the troubleshooting report, and return the troubleshooting report to the agent module.

2. The operation and maintenance platform according to claim 1, wherein: The debugging interface is a presentation layer state conversion application program interface, which is used to receive operation and maintenance information for the maintenance object submitted by the alarm module, inspection module or administrator module in the business management platform.

3. The operation and maintenance platform according to claim 1, wherein: The proxy module includes: A mapping relationship storage module, used to store a first mapping relationship between preset environment information and a backend cloud environment; An operation and maintenance information receiving module, used to receive operation and maintenance information from the debugging interface; An environmental information extraction module, used to extract environmental information from the received operation and maintenance information; a mapping module, configured to determine a target backend cloud environment corresponding to the maintenance object based on the first mapping relationship and the extracted environment information; and The forwarding module is used to submit the received operation and maintenance information to the troubleshooting engine corresponding to the target backend cloud environment, and return the troubleshooting report from the troubleshooting engine to the debugging interface.

4. The operation and maintenance platform according to claim 1, wherein: The troubleshooting engine includes: A problem representation extraction module, used to extract problem description information from the operation and maintenance information; A troubleshooting link diagram planning module, used to store at least one pre-set troubleshooting link diagram and a second mapping relationship between the problem description information and the troubleshooting link diagram, and determine a target troubleshooting link diagram corresponding to the problem description information based on the second mapping relationship; An inspection and analysis module, configured to perform troubleshooting on the maintenance object based on the target troubleshooting link diagram, and determine a root cause of the fault corresponding to the problem description; A problem repair module, used to generate a fault repair solution based on the root cause of the fault; and A reporting module is used to generate a troubleshooting report based on the target troubleshooting link diagram, the root cause of the fault and the fault repair plan, and return the troubleshooting report to the agent module.

5. The operation and maintenance platform according to claim 4, wherein: The fault troubleshooting link diagram includes at least one branch sub-link; each branch sub-link corresponds to a type of fault cause; wherein each branch sub-link includes at least one node, each node corresponds to a specific fault cause, and defines a fault troubleshooting method and attribution conditions.

6. The operation and maintenance platform according to claim 5, wherein: The inspection and analysis module executes the troubleshooting method corresponding to each node for each node included in the troubleshooting link diagram, determines whether the maintenance object meets the attribution condition corresponding to the current node, until it is determined that the maintenance object meets the attribution condition corresponding to the current node, and uses the specific cause of the fault corresponding to the current node as the root cause of the fault corresponding to the problem description.

7. The operation and maintenance platform according to claim 6, wherein: The fault troubleshooting link diagram planning module is further used to assign a priority to each branch sub-link; as well as The inspection and analysis module determines a target branch sub-link from the at least one branch sub-link in the order of the priorities from high to low, and executes a fault troubleshooting method corresponding to the node for at least one node included in the target branch sub-link.

8. The operation and maintenance platform according to claim 7, wherein: The inspection and analysis module selects a target node from at least one node included in the target branch sub-link by using a binary search method, and executes a fault troubleshooting method corresponding to the target node.

9. A troubleshooting method, comprising: Receive operation and maintenance information for a maintenance object submitted by a business management platform; wherein the operation and maintenance information includes: an identifier of the maintenance object, problem description information, and environment information; Determine the backend cloud environment corresponding to the business management platform based on the environment information in the operation and maintenance information; Submitting the operation and maintenance information to a troubleshooting engine corresponding to the backend cloud environment; The troubleshooting engine determines a troubleshooting link diagram corresponding to the problem description information based on the problem description information in the operation and maintenance information; Performing troubleshooting on the maintenance object corresponding to the maintenance object information based on the troubleshooting link diagram to determine the root cause of the fault corresponding to the problem description; and A troubleshooting report is generated based on the root cause of the fault and fed back to the service management platform.

10. The troubleshooting method according to claim 9, further comprising: A first mapping relationship between the environment information and the backend cloud environment is pre-stored; wherein, Determining the backend cloud environment corresponding to the business management platform based on the environmental information in the operation and maintenance information includes: determining the backend cloud environment corresponding to the business management platform based on the first mapping relationship and the environmental information in the received operation and maintenance information.

11. The troubleshooting method according to claim 9, further comprising: storing at least one pre-set troubleshooting link diagram and a second mapping relationship between the problem description information and the troubleshooting link diagram; wherein, Determining a troubleshooting link diagram corresponding to the problem description information based on the problem description information in the operation and maintenance information includes: extracting the problem description information from the operation and maintenance information; and determining a target troubleshooting link diagram corresponding to the extracted problem description information based on the second mapping relationship.

12. The troubleshooting method according to claim 11, wherein: The fault troubleshooting link diagram includes at least one branch sub-link; each branch sub-link corresponds to a type of fault cause; wherein each branch sub-link includes at least one node; each node corresponds to a specific fault cause, and defines a fault troubleshooting method and attribution conditions.

13. The troubleshooting method according to claim 12, wherein: Performing troubleshooting on the maintenance object corresponding to the maintenance object information based on the troubleshooting link diagram to determine the root cause of the fault corresponding to the problem description includes: for the nodes included in the troubleshooting link diagram, respectively executing the troubleshooting method corresponding to the node to determine whether the maintenance object meets the attribution condition corresponding to the current node, until it is determined that the maintenance object meets the attribution condition corresponding to the current node, and taking the specific cause of the fault corresponding to the current node as the root cause of the fault corresponding to the problem description.

14. The troubleshooting method according to claim 13, further comprising: Assign a priority to each branch sub-link; wherein, For the nodes included in the troubleshooting link diagram, respectively executing the troubleshooting methods corresponding to the nodes includes: determining the target branch sub-link from the at least one branch sub-link in order of the priority from high to low; and for at least one node included in the target branch sub-link, respectively executing the troubleshooting methods corresponding to the nodes.

15. The troubleshooting method according to claim 14, wherein: For at least one node included in the target branch sub-link, respectively performing fault troubleshooting corresponding to the node includes: selecting a target node from the at least one node included in the target branch sub-link using a binary search method; and performing a fault troubleshooting method corresponding to the target node.

16. An electronic device, comprising: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the troubleshooting method according to any one of claims 9 to 15 is implemented.

17. A non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to enable a computer to execute the troubleshooting method according to any one of claims 9 to 15.

18. A computer program product, comprising computer program instructions, which, when executed on a computer, enable the computer to execute the troubleshooting method according to any one of claims 9 to 15.

Citation Information

Patent Citations

  • Operation and maintenance fault handling method and device, storage medium and processor

    CN114153646A

  • System-linked comprehensive operation and maintenance system and method in cloud mode

    CN114500250A

  • Fault alarm method and device for ring network redundant switch

    CN114584456A

  • Fault diagnosis system and method for rail transit and storage medium

    CN115903720A

  • Intelligent fault diagnosis method and device, electronic equipment and readable storage medium

    CN116800594A