Fault service location method, system, device, data processor and related products

By obtaining the operating status of the power supply and distribution system and determining the fault status of the cabinet power switch, the fault service on the power supply and distribution link in the data center is automatically positioned, which solves the problem of inaccurate positioning of the fault service in the existing technology, and achieves fast and accurate fault positioning.

CN114498587BActive Publication Date: 2025-03-25INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210300085.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-25
Publication Date
2025-03-25
Estimated Expiration
2042-03-25

AI Technical Summary

Technical Problem

In data centers, failure of power supply and distribution systems leads to business interruption, and it is difficult for the prior art to locate the faulty services quickly and accurately.

Method used

By obtaining the operating status of the power supply and distribution switches and equipment in the power supply and distribution system, determine whether the cabinet power switch is in a fault state, and determine the corresponding power supply and distribution link based on its attribute information, and automatically position the services on the link as faulty services.

Benefits of technology

It realizes automatic and rapid positioning of fault services, saves human resources, reduces positioning time, improves accuracy, and avoids errors caused by manual participation in the investigation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114498587B_ABST
    Figure CN114498587B_ABST
Patent Text Reader

Abstract

The present application relates to a method, system, device, data processor and related products for locating faulty services. The method relates to the field of intelligent operation and maintenance and can be used in the field of Internet finance or other fields. The method includes: obtaining the operating status of the power supply and distribution switch and the operating status of the power supply and distribution equipment in the power supply and distribution system, and determining whether the cabinet power switch is in a faulty state through the operating status of the power supply and distribution switch and the operating status of the power supply and distribution equipment. If the cabinet power switch is in a faulty state, the power supply and distribution link corresponding to the cabinet power switch is determined according to the attribute information of the cabinet power switch, and the service on the power supply and distribution link is determined as a faulty service. The use of this method does not require manual participation in troubleshooting faulty services, and can automatically and quickly locate faulty services.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data center operation and maintenance technology, and in particular to a method, system, device, data processor and related products for locating faulty services. Background Art

[0002] With the rapid development of information technology, the massive server equipment in the data center computer room has become an important foundation for technical fields such as big data and cloud computing. Among them, the power supply and distribution system of the computer room will supply power to the server equipment to ensure the normal use of the server equipment.

[0003] In actual practice, if the power supply and distribution system fails, it will have a great impact on the server equipment and even cause a major accident of large-scale business interruption. Based on this, it is necessary to monitor the power supply and distribution system in real time to promptly discover and restore the fault problems in the power supply and distribution system. Determine the fault nodes in the power supply and distribution link. In related technologies, after monitoring the power supply and distribution system, determine the fault nodes in the power supply and distribution system of the computer room, and then rely on business personnel to check one by one to find out the impact on the business system, resulting in the inability to accurately and quickly locate the scope of the impact of the power supply and distribution system failure on the business system. Summary of the invention

[0004] Based on this, it is necessary to provide a method, system, device, data processor and related products for locating faulty services in response to the above technical problems.

[0005] In a first aspect, a method for locating a faulty service is provided, the method comprising:

[0006] Obtaining the operating status of the power supply and distribution switch and the operating status of the power supply and distribution equipment in the power supply and distribution system; the power supply and distribution switch includes the cabinet power switch;

[0007] Determine whether the cabinet power switch is in a fault state based on the operating state of the power supply and distribution switch and the operating state of the power supply and distribution equipment;

[0008] If the cabinet power switch is in a faulty state, a power supply and distribution link corresponding to the cabinet power switch is determined according to the attribute information of the cabinet power switch, and a service on the power supply and distribution link is determined as a faulty service.

[0009] In one embodiment, the attribute information includes a switch identifier of a cabinet power switch; and determining a power supply and distribution link corresponding to the cabinet power switch according to the attribute information of the cabinet power switch includes:

[0010] Based on the switch identifier of the cabinet power switch, the corresponding relationship between each node in the power supply and distribution link is searched from the preset information base; the nodes on the power supply and distribution link include the cabinet power switch, the cabinet corresponding to the cabinet power switch, the server in the cabinet, the communication address of the server and the service corresponding to the communication address;

[0011] A power supply and distribution link is generated according to the corresponding relationship between the nodes in the power supply and distribution link.

[0012] In one embodiment, the information base includes a cabinet information base, a server information base, a communication address information base, and a business information base; based on the switch identifier of the cabinet power switch, the corresponding relationship between each node in the power supply and distribution link is searched from the preset information base, including:

[0013] Determine the cabinet corresponding to the cabinet power switch based on the switch identifier of the cabinet power switch and the corresponding relationship between the switch identifier and the cabinet identifier stored in the cabinet information library;

[0014] Determine the server in the cabinet based on the cabinet identification of the cabinet and the correspondence between the cabinet identification and the server identification stored in the server information library;

[0015] Determine the communication address of the server based on the correspondence between the server identifier and the communication address stored in the server identifier and communication address information base;

[0016] Based on the communication address and the correspondence between the communication address and the service identifier stored in the service information database, the service corresponding to the communication address is determined.

[0017] In one embodiment, the method further comprises:

[0018] If different servers or different communication addresses in the power supply and distribution link correspond to the same service, the faulty service is determined as a full faulty service. A full faulty service means that there is only a single faulty service and no other faulty services in the final determined result.

[0019] In one embodiment, determining whether the cabinet power switch is in a fault state according to the operating state of the power supply and distribution switch and the operating state of the power supply and distribution equipment includes:

[0020] Performing logic operations based on the operating state of the power supply and distribution switch and the operating state of the power supply and distribution equipment, and determining the result of the logic operations;

[0021] If the result of the logic operation is true, it is determined that the cabinet power switch is in a normal state;

[0022] If the result of the logic operation is false, it is determined that the cabinet power switch is in a fault state.

[0023] In one embodiment, performing a logic operation based on the operating state of the power supply and distribution switch and the operating state of the power supply and distribution device, and determining the result of the logic operation includes:

[0024] According to the power supply and distribution switches and power supply and distribution equipment, a tree node structure diagram of the power supply and distribution system is constructed; the power supply and distribution tail node of each path in the tree node structure diagram is the cabinet power switch;

[0025] The power supply and distribution nodes in each path in the tree node structure diagram are determined as a set of power supply and distribution node sets; the power supply and distribution nodes are power supply and distribution switches or power supply and distribution equipment;

[0026] A logical operation is performed on the operating status of each power supply and distribution node in each power supply and distribution node set to determine the logical operation result of each power supply and distribution node set.

[0027] In one of the embodiments, if the power supply and distribution nodes in the power supply and distribution node set include power distribution cabinet switches, cabinet power switches, high-voltage busbars, high-voltage busbars, low-voltage busbars, low-voltage busbars, power distribution cabinet switches, uninterruptible power supply switches, and uninterruptible parallel systems;

[0028] A logical operation is performed based on the operating state of the power supply and distribution switch and the operating state of the power supply and distribution equipment to determine the logical operation result, including:

[0029] Perform logical operations on the operating status of the high-voltage bus, the operating status of the high-voltage bus coupler, the operating status of the low-voltage bus, the operating status of the low-voltage bus coupler, the operating status of the distribution cabinet switch, the operating status of the uninterruptible parallel system, the operating status of the uninterruptible power supply switch, and the operating status of the distribution cabinet switch;

[0030] If the operating status of the high-voltage bus, the operating status of the high-voltage bus coupler, the operating status of the low-voltage bus, the operating status of the low-voltage bus coupler, the operating status of the distribution cabinet switch, the operating status of the uninterruptible parallel system, the operating status of the uninterruptible power supply switch and the operating status of the distribution cabinet switch are all normal, then the logical operation result of the power supply and distribution node set is determined to be true; otherwise, the logical operation result of the power supply and distribution node set is determined to be false.

[0031] In one embodiment, the method further comprises:

[0032] Classify all faulty services and determine the number of faulty services of different types;

[0033] The order of restoring the faulty services is determined according to the number of faulty services of different types; the order of restoring the faulty services indicates the priority of restoring each type of faulty services.

[0034] In one embodiment, the method further comprises:

[0035] If the cabinet power switch is in normal state, a power supply and distribution system simulation diagram is constructed based on the power supply and distribution switch and power supply and distribution equipment in the power supply and distribution system;

[0036] Based on the power supply and distribution system simulation diagram, simulate the fault status of the power supply and distribution switch and the power supply and distribution equipment to obtain different simulated fault services;

[0037] Restore the failed services based on the simulated failed services.

[0038] In a second aspect, a fault service location system, the system comprising: a power supply and distribution system, an information collection device, and a data processor;

[0039] Power supply and distribution system, used to supply power to application equipment running various different services in the data center;

[0040] Information collection equipment, used to collect the operating status of the power supply and distribution switch and the operating status of the power supply and distribution equipment in the power supply and distribution system; the power supply and distribution switch includes the cabinet power switch;

[0041] A data processor is used to determine whether the cabinet power switch is in a faulty state based on the operating state of the power supply and distribution switch and the operating state of the power supply and distribution equipment; when the cabinet power switch is in a faulty state, determine the power supply and distribution link corresponding to the cabinet power switch according to the attribute information of the cabinet power switch, and determine the business on the power supply and distribution link as a faulty business.

[0042] In a third aspect, a fault service location device is provided, the device comprising:

[0043] An operating status acquisition module is used to acquire the operating status of a power supply and distribution switch and the operating status of a power supply and distribution device in a power supply and distribution system; the power supply and distribution switch includes a cabinet power switch;

[0044] A fault state determination module is used to determine whether the cabinet power switch is in a fault state according to the operating state of the power supply and distribution switch and the operating state of the power supply and distribution equipment;

[0045] The faulty service determination module is used to determine the power supply and distribution link corresponding to the cabinet power switch according to the attribute information of the cabinet power switch when the cabinet power switch is in a faulty state, and determine the service on the power supply and distribution link as a faulty service.

[0046] In a fourth aspect, a data processor includes a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of the method in any embodiment of the first aspect are implemented.

[0047] In a fifth aspect, the present application provides a readable storage medium having a computer program stored thereon, which implements the steps of the method in any embodiment of the first aspect when executed by a processor.

[0048] In a sixth aspect, the present application provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the steps of the method in any embodiment of the first aspect are implemented.

[0049] The above-mentioned faulty business locating method, system, device, data processor and related products, the method includes: obtaining the operating status of the power supply and distribution switch and the operating status of the power supply and distribution equipment in the power supply and distribution system, and determining whether the cabinet power switch is in a faulty state through the operating status of the power supply and distribution switch and the operating status of the power supply and distribution equipment. If the cabinet power switch is in a faulty state, the power supply and distribution link corresponding to the cabinet power switch is determined according to the attribute information of the cabinet power switch, and the business on the power supply and distribution link is determined as a faulty business; the above-mentioned method does not require manual participation in troubleshooting faulty business, and can automatically and quickly locate faulty business. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] Figure 1 A diagram of an application environment of a method for locating a faulty service in an embodiment;

[0051] Figure 2 A schematic diagram of a process of locating a faulty service in an embodiment;

[0052] Figure 3 It is a flowchart of a step of determining a power supply and distribution link corresponding to a cabinet power switch according to attribute information of the cabinet power switch in one embodiment;

[0053] Figure 4 A schematic flow chart of the steps of searching for the corresponding relationship of each node in the power supply and distribution link from a preset information base based on the switch identifier of the cabinet power switch in another embodiment;

[0054] Figure 5 A flowchart of a step of performing a logic operation based on the operating state of the power supply and distribution switch and the operating state of the power supply and distribution equipment to determine a result of the logic operation in another embodiment;

[0055] Figure 6 A tree node structure diagram constructed in another embodiment;

[0056] Figure 7 A flowchart of the steps of performing a logic operation based on the operating state of the power supply and distribution switch, the operating state of the uninterruptible power supply switch and the power supply and distribution equipment, and determining the result of the logic operation in another embodiment;

[0057] Figure 8 A flow chart of a method for classifying all fault services in another embodiment;

[0058] Fig. 9A flow chart of a method for simulating a faulty service and restoring the faulty service in another embodiment;

[0059] Fig.10 is a device block diagram of a fault service locating device in an embodiment;

[0060] Fig.11 FIG. 4 is a diagram of the internal devices of a data processor in one embodiment. DETAILED DESCRIPTION

[0061] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0062] The fault service location method provided in this application can be applied to Figure 1 The fault service location system shown in the figure includes: a power supply and distribution system, an information collection device and a data processor; the power supply and distribution system is used to supply and distribute power to the terminal service system. The terminal service system can be an application device or other power-consuming equipment. This embodiment will take the power supply and distribution system supplying and distributing power to the application device as an example to illustrate the fault service location method.

[0063] Optionally, the information collection device can be a camera, a camcorder, a scanner, or a sensor for collecting information; the data processor can be implemented as an independent server or a server cluster composed of multiple servers, and can also be but not limited to various personal computers, laptops, smart phones, tablet computers and portable wearable devices. Figure 1 The fault service location system is illustrated by taking a camera as an example of the information collection device. The power supply and distribution system and the information collection device can be connected in communication; the information collection device and the data processor can also be connected in communication; the above communication method can be Wi-Fi, mobile network or Bluetooth connection, etc.

[0064] In the process of the power supply and distribution system supplying and distributing power to the application equipment, the power supply and distribution system may fail, thereby causing the service running on the application equipment to fail. In order to restore the failed service to normal use as soon as possible, it is first necessary to locate the failed service. Therefore, in one embodiment, if Figure 2 As shown, a method for locating a faulty service is provided, and the method is applied to Figure 1 The data processor in is taken as an example to illustrate, which includes the following steps:

[0065] S100, obtaining the operating status of a power supply and distribution switch and the operating status of a power supply and distribution device in a power supply and distribution system; the power supply and distribution switch includes a cabinet power switch.

[0066] Specifically, the power supply and distribution switches in the power supply and distribution system correspond to the power supply and distribution equipment. Optionally, the power supply and distribution equipment in the power supply and distribution system can be high-voltage equipment and low-voltage equipment, or other equipment, etc. Among them, the high-voltage equipment can be a central cabinet, an inflatable cabinet, a ring network cabinet, etc.; the low-voltage equipment can be a control cabinet, a drawer cabinet, a reactive power compensation cabinet, etc. Correspondingly, the power supply and distribution switches in the power supply and distribution system can include high-voltage switches and low-voltage switches; the high-voltage switch can be a central cabinet switch, an inflatable cabinet switch, a ring network cabinet switch, etc.; the low-voltage switch can be a control cabinet switch, a drawer cabinet switch, a reactive power compensation cabinet switch, etc.

[0067] It should be noted that the operating state of the power supply and distribution switch can be understood as the on and off state of the power supply and distribution switch. Optionally, the operating state of the power supply and distribution switch can be represented by a logical value, but the operating state of different power supply and distribution switches will carry the identification of the power supply and distribution switch. The on state of the power supply and distribution switch can be represented by 1, and the off state of the power supply and distribution switch can be represented by 0.

[0068] Optionally, the operating state of the power supply and distribution equipment can be understood as the operating state of the power supply and distribution equipment, that is, the normal state and the fault state; the operating state of the power supply and distribution equipment can also be represented by a logical value, and the operating state of different power supply and distribution equipment will carry the identification of the power supply and distribution equipment. The above identification can be represented by characters such as data, letters and / or symbols, as long as different power supply and distribution switches and power supply and distribution equipment can be distinguished. Optionally, the normal state of the power supply and distribution equipment can be represented by 1, and the fault state of the power supply and distribution equipment can be represented by 0.

[0069] It is understandable that there may be at least one power supply and distribution switch in the power supply and distribution system; there may also be at least one power supply and distribution device in the power supply and distribution system. In this embodiment, the power supply and distribution switch at least includes a cabinet power switch. Optionally, the cabinet power switch can control the cabinet to be the power supply and distribution state of the application device.

[0070] S200: Determine whether the cabinet power switch is in a fault state based on the operating state of the power supply and distribution switch and the operating state of the power supply and distribution equipment.

[0071] Specifically, the data processor can perform arithmetic operations, analysis, status comparison, conversion, etc. based on the operating status of the power supply and distribution switch and the operating status of the power supply and distribution equipment, and determine whether the cabinet power switch is in a fault state based on the processing results.

[0072] It should be noted that the arithmetic operation processing can be a process of operation processing such as addition, subtraction, multiplication, division, logarithm and / or exponentiation. The analysis processing can be understood as a process of comprehensively analyzing the operating state of the power supply and distribution switch and the operating state of the power supply and distribution equipment. The state comparison processing can be understood as a process of comparing the operating state of the power supply and distribution switch and the operating state of the power supply and distribution equipment corresponding to the fault state and the non-fault state of the cabinet power switch with the current operating state of the power supply and distribution switch and the current operating state of the power supply and distribution equipment, respectively. The conversion processing can be understood as a process of converting the fault state and the non-fault state through the operating state of the power supply and distribution switch and the operating state of the power supply and distribution equipment.

[0073] S300: If the cabinet power switch is in a fault state, determine the power supply and distribution link corresponding to the cabinet power switch according to the attribute information of the cabinet power switch, and determine the service on the power supply and distribution link as a faulty service.

[0074] Specifically, the attribute information of the cabinet power switch may be the specific name, operating status, closing time, etc. of the cabinet power switch. The power supply and distribution link may be a link between the cabinet power switch and different services running on the application device. In this embodiment, only the faulty service has a corresponding power supply and distribution link.

[0075] It should be noted that if it is determined that the cabinet power switch is in a faulty state, the data processor can analyze, compare and / or classify the specific name, operating status, closing time and other information of the cabinet power switch to obtain the power supply and distribution link corresponding to the cabinet power switch, and determine the business on the power supply and distribution link as a faulty business. The faulty business can be any business that can be run on the application device, such as a browser, a chat tool, a shopping app, an anti-virus software, etc.

[0076] In the above-mentioned faulty service locating method, the data processor can obtain the operating status of the power supply and distribution switch and the operating status of the power supply and distribution equipment in the power supply and distribution system, and determine whether the cabinet power switch is in a faulty state through the operating status of the power supply and distribution switch and the operating status of the power supply and distribution equipment. If the cabinet power switch is in a faulty state, the power supply and distribution link corresponding to the cabinet power switch is determined according to the attribute information of the cabinet power switch, and the service on the power supply and distribution link is determined as the faulty service; the above-mentioned method can determine the power supply and distribution link corresponding to the cabinet power switch when the power supply and distribution switch and the power supply and distribution equipment in the power supply and distribution system fail, and locate the faulty service according to the power supply and distribution link. The method can automatically and quickly locate the faulty service, and does not require manual participation in troubleshooting the faulty service, thereby saving human resources and reducing the time for locating the faulty service. In addition, without manual participation in troubleshooting the faulty service, the faulty service locating error can be reduced and the accuracy of faulty service locating can be improved.

[0077] In order to determine the faulty service affected by a fault in the power supply and distribution system, it is necessary to first determine the power supply and distribution link where the faulty service is located. Therefore, in one embodiment, the attribute information includes a switch identifier of the cabinet power switch; Figure 3 As shown, the step of determining the power supply and distribution link corresponding to the cabinet power switch according to the attribute information of the cabinet power switch in the above S300 can be implemented by the following steps:

[0078] S310: Based on the switch identifier of the cabinet power switch, the corresponding relationship of each node in the power supply and distribution link is searched from a preset information base. The nodes on the power supply and distribution link include the cabinet power switch, the cabinet corresponding to the cabinet power switch, the server in the cabinet, the communication address of the server, and the service corresponding to the communication address.

[0079] Specifically, the switch identification of the cabinet power switch can be represented by characters such as numbers, letters and / or symbols, so as to distinguish the power switches of different cabinets.

[0080] It should be noted that the above-mentioned preset information library can be an information library pre-stored in a local, cloud, network disk, etc. address. The information library can store the attribute information of the cabinet power switch, the attribute information of the cabinet corresponding to the cabinet power switch, the attribute information of the server in the cabinet, the communication address of the server and the attribute information of the service corresponding to the communication address, and can also store other information, and the information library has a corresponding relationship between these information. The attribute information of the cabinet power switch, the attribute information of the cabinet corresponding to the cabinet power switch, the attribute information of the server in the cabinet, the communication address of the server and the attribute information of the service corresponding to the communication address in the information library can be stored in the form of an information list, or in the form of a binary tree. Of course, it can also be stored in other forms, and there is no limitation on this.

[0081] Among them, the attribute information of the cabinet corresponding to the above-mentioned cabinet power switch can be the specific name, operating status, factory time, operating hours, start time and other information of the cabinet; the attribute information of the server in the above-mentioned cabinet can be the specific name, operating hours, function and other information of the server; the attribute information of the service corresponding to the communication address can be the specific name, function and other information of the service.

[0082] It can be understood that the data processor can search for the cabinet corresponding to the cabinet power switch, the server in the cabinet, the communication address of the server and the service corresponding to the communication address from a preset information database according to the switch identifier of the cabinet power switch, and then obtain the correspondence between the nodes in the power supply and distribution link based on the search results.

[0083] S320: Generate a power supply and distribution link according to the corresponding relationship between the nodes in the power supply and distribution link.

[0084] It should be noted that each power supply and distribution link includes a cabinet power switch, a cabinet corresponding to the cabinet power switch, a server in the cabinet, a communication address of the server, and a service corresponding to the communication address, and the cabinet power switch, the cabinet corresponding to the cabinet power switch, the server in the cabinet, the communication address of the server, and the service corresponding to the communication address on each power supply and distribution link are all different.

[0085] Optionally, one service may correspond to at least one communication address; multiple communication addresses may correspond to one server; multiple servers may correspond to one cabinet; multiple cabinet power switches may correspond to one cabinet.

[0086] The above-mentioned faulty business locating method can obtain the power supply and distribution link corresponding to the cabinet power switch, and further determine the faulty business based on the business on the power supply and distribution link; this method can automatically and quickly locate the faulty business, and does not require manual participation in troubleshooting the faulty business, thereby saving human resources and reducing the time for locating the faulty business. In addition, without manual participation in troubleshooting the faulty business, the faulty business locating error can be reduced and the accuracy of faulty business locating can be improved.

[0087] The following will introduce how to find the corresponding relationship between each node in the power supply and distribution link.

[0088] In one embodiment, the information base includes a cabinet information base, a server information base, a communication address information base, and a business information base; Figure 4 As shown, the step of searching the corresponding relationship of each node in the power supply and distribution link from a preset information base based on the switch identifier of the cabinet power switch in the above S310 can be implemented by the following steps:

[0089] S311: Determine a cabinet corresponding to the cabinet power switch based on the switch identifier of the cabinet power switch and the correspondence between the switch identifier and the cabinet identifier stored in the cabinet information library.

[0090] In this embodiment, the information library may include multiple sub-libraries, namely, a cabinet information library, a server information library, a communication address information library, and a business information library. Optionally, the cabinet information library may store the corresponding relationship between the attribute information of the cabinet power switch and the attribute information of the cabinet, but the cabinet information library at least stores the corresponding relationship between the switch identifier of the cabinet power switch and the cabinet identifier of the cabinet.

[0091] It should be noted that the correspondence between the switch identifier of the cabinet power switch and the cabinet identifier can be understood as the correspondence between the cabinet power switch and the cabinet. Optionally, the data processor can search for a cabinet identifier corresponding to the switch identifier of the cabinet power switch in the cabinet information library according to the switch identifier of the cabinet power switch to determine the cabinet corresponding to the cabinet power switch.

[0092] S312: Determine the server in the cabinet based on the cabinet identification of the cabinet and the correspondence between the cabinet identification and the server identification stored in the server information library.

[0093] In this embodiment, the server information library may store the correspondence between the attribute information of the cabinet and the attribute information of the server, but the server information library at least stores the correspondence between the cabinet identification of the cabinet and the server identification of the server.

[0094] It should be noted that the correspondence between the cabinet identification of the cabinet and the server identification can be understood as the correspondence between the cabinet and the server. Optionally, the data processor can continue to search for the server identification corresponding to the cabinet identification of the cabinet in the server information library based on the cabinet identification of the cabinet found in the cabinet information library to determine the server corresponding to the cabinet.

[0095] S313: Determine the communication address of the server based on the correspondence between the server identifier and the communication address stored in the server identifier and communication address information database.

[0096] In this embodiment, the communication address information database may store the correspondence between the attribute information of the server and the communication address of the server, but the communication address information database at least stores the correspondence between the server identification of the server and the communication address of the server.

[0097] It should be noted that the correspondence between the server identifier and the communication address of the server can be understood as the correspondence between the server and the communication address. Optionally, the data processor can continue to search for the communication address corresponding to the server identifier of the server in the communication address information library based on the server identifier of the server found in the server information library to determine the communication address corresponding to the server.

[0098] S314: Determine the service corresponding to the communication address based on the communication address and the correspondence between the communication address and the service identifier stored in the service information database.

[0099] In this embodiment, the business information base may store the correspondence between the communication address and the attribute information of the business, but the business information base at least stores the correspondence between the communication address and the business identifier of the business.

[0100] It should be noted that the correspondence between the communication address and the business identifier of the business can be understood as the correspondence between the communication address and the business. Optionally, the data processor can continue to search the business corresponding to the communication address in the business information library based on the communication address found in the communication address information library to determine the business corresponding to the communication address.

[0101] Among them, according to the switch identifier of the cabinet power switch, in the process of searching the corresponding relationship between adjacent nodes in the power supply and distribution link layer by layer in the cabinet information library, server information library, communication address information library and business information library, the above method also includes: if different servers or different communication addresses in the power supply and distribution link correspond to the same business, the faulty business is determined as a full faulty business, and the full faulty business means that there is no other faulty business in the final determined result, only a single faulty business.

[0102] It is understandable that if all servers corresponding to the switch identifiers of the found cabinet power switches correspond to the same service, or if all communication addresses corresponding to the switch identifiers of the found cabinet power switches correspond to the same service, the service can be determined as a faulty service, and is called a full faulty service. That is, if the services corresponding to the power supply and distribution links where all cabinet power switches are located are the same service and there are no other services, the service can be determined as a full faulty service.

[0103] Furthermore, the data processor can recover all failed services without verifying whether there are other failed services.

[0104] The above-mentioned faulty business locating method can search for the correspondence between adjacent nodes in the power supply and distribution link layer by layer in the cabinet information library, server information library, communication address information library and business information library according to the switch identifier of the cabinet power switch, and further generate the power supply and distribution link according to the correspondence between adjacent nodes in the found power supply and distribution link, and determine the faulty business according to the business on the power supply and distribution link; this method can automatically and quickly locate the faulty business, and does not require manual participation in troubleshooting the faulty business, thereby saving human resources and reducing the time for locating the faulty business. In addition, without manual participation in troubleshooting the faulty business, the faulty business locating error can be reduced and the accuracy of faulty business locating can be improved.

[0105] In order to locate the faulty service of the application device, it is possible to first determine whether the power switch of the last node cabinet in the power supply and distribution system is in a faulty state, and further locate the faulty service according to whether the cabinet power switch is in a faulty state. Therefore, in one embodiment, the step of determining whether the cabinet power switch is in a faulty state according to the operating state of the power supply and distribution switch and the operating state of the power supply and distribution device in S200 above can be implemented by the following steps:

[0106] A logical operation is performed based on the operating status of the power supply and distribution switch and the operating status of the power supply and distribution equipment to determine the result of the logical operation; if the result of the logical operation is true, the cabinet power switch is determined to be in a normal state; if the result of the logical operation is false, the cabinet power switch is determined to be in a fault state.

[0107] Specifically, the power supply and distribution system can be a system of three levels, C, B, and A, corresponding from low to high. This embodiment takes a power supply and distribution system that meets the national standard A level as an example to illustrate the fault service location method. Optionally, the power supply and distribution system can be a variety of topological structures such as a star structure, a tree structure, and a bus structure. Among them, the A-level power supply and distribution system is a tree structure.

[0108] It should be noted that the data processor can perform logic operations on the operating states of multiple power supply and distribution switches and the operating states of multiple power supply and distribution devices in the power supply and distribution system to obtain a logic operation result. Optionally, the logic operation can be a combination of one or more operations of AND, OR, NOT, XOR. Optionally, the logic operation result can be represented by a logical value.

[0109] Wherein, the logical operation result equal to 1 can indicate that the logical operation result is true; the logical operation result equal to 0 can indicate that the logical operation result is false. Optionally, the logical operation result is true to determine that the operation state of the cabinet power switch is normal, that is, the normal state; the logical operation result is false to determine that the operation state of the cabinet power switch is abnormal, that is, the fault state.

[0110] Optionally, the cabinet power switch is in a normal state, indicating that all nodes on the path leading to the cabinet power switch in the power supply and distribution system are in a normal state. Otherwise, when at least one of all the nodes on the path leading to the cabinet power switch in the power supply and distribution system is in a faulty state, the cabinet power switch is in a faulty state.

[0111] The above-mentioned faulty business locating method can determine whether the cabinet power switch is in a faulty state through the operating status of the power supply and distribution switch in the power supply and distribution system and the operating status of the power supply and distribution equipment, and further locate the faulty business according to the determination result; the method can automatically and quickly locate the faulty business, and does not require manual participation in troubleshooting the faulty business, thereby saving human resources and reducing the time for locating the faulty business. In addition, without manual participation in troubleshooting the faulty business, the faulty business locating error can be reduced and the accuracy of faulty business locating can be improved.

[0112] As one example, Figure 5 As shown, the step of performing a logic operation based on the operating state of the power supply and distribution switch and the operating state of the power supply and distribution equipment in the above S100 to determine the result of the logic operation can be implemented by the following steps:

[0113] S110: construct a tree node structure diagram of the power supply and distribution system based on the power supply and distribution switches and the power supply and distribution equipment. The power supply and distribution tail node of each path in the tree node structure diagram is the cabinet power switch.

[0114] Specifically, according to the power supply and distribution switches and power supply and distribution equipment deployed in the actual power supply and distribution system, and the corresponding connection relationship, a tree node structure diagram of the power supply and distribution system is constructed. Optionally, the above tree node structure diagram can be a nonlinear structure and a linear structure. Optionally, the nonlinear structure can be an ordered tree and an unordered tree. In this embodiment, the tree node structure diagram of the power supply and distribution system can be constructed according to the structure of the ordered tree.

[0115] like Figure 6 The tree node structure diagram is shown based on the power supply and distribution switches and power supply and distribution equipment in the power supply and distribution system. The power supply and distribution system includes two power supply circuits, and each node in the power supply circuit supplies power to the cabinet power switch in the power supply and distribution system, and then the cabinet power switch distributes the acquired power to supply power to the application equipment.

[0116] S120: Determine the power supply and distribution nodes in each path in the tree node structure diagram as a set of power supply and distribution nodes. The power supply and distribution nodes are power supply and distribution switches or power supply and distribution equipment.

[0117] Specifically, in the power supply and distribution system, the high-voltage bus coupler is when one of the two high-voltage busbars fails, the one that is not at fault will shunt power to the one that is at fault; in the power supply and distribution system, the low-voltage bus coupler is when one of the two low-voltage busbars fails, the one that is not at fault will shunt power to the one that is at fault. Therefore, the power supply and distribution system may include multiple power supply circuits. Optionally, each path in the tree node structure diagram may be each power supply circuit in the power supply and distribution system.

[0118] Continue to see Figure 6 , the path in the tree node structure diagram can be path 1: mains 1--high voltage bus 1--low voltage bus 1--A-line automatic transfer switch--A-line uninterruptible power supply parallel system--A-line uninterruptible power supply switch--A-line distribution cabinet switch--A-line cabinet power switch, path 2: mains 2--high voltage bus 2--low voltage bus 2--B-line automatic transfer switch--B-line uninterruptible power supply parallel system--B-line distribution cabinet switch--B-line uninterruptible power supply switch--B-line cabinet power switch ; or, path 3: mains 1--high voltage bus 1--high voltage bus coupler--low voltage bus 2-B-way automatic transfer switch--B-way uninterruptible power supply parallel system--B-way uninterruptible power supply switch--B-way power distribution cabinet switch--B-way cabinet power switch, path 4: mains 2--high voltage bus 2--high voltage bus coupler--low voltage bus 1-A-way automatic transfer switch--A-way uninterruptible power supply parallel system--A-way uninterruptible power supply switch--A-way power distribution cabinet switch--A-way cabinet power switch. In actual applications, there are only two paths in the tree node structure diagram, path 1 and path 2, or path 3 and path 4. Figure 6 The figure also shows the power supply object of the cabinet power switch, that is, the application device. Figure 6The A-way UPS switch and the B-way UPS switch are not shown. In the actual power supply and distribution system, the A-way UPS switch is set in the A-way UPS parallel system, and the B-way UPS switch is set in the B-way UPS parallel system. Figure 6 The mains 1 and mains 2 are electric energies introduced from two different substations.

[0119] Among them, Figure 6 As shown, the high-voltage bus 1, high-voltage bus tie and high-voltage bus 2 in the power supply and distribution system can be called a high-voltage subsystem, and the high-voltage subsystem has a single bus segment and a bus tie switch structure. The low-voltage bus 1, low-voltage bus tie and low-voltage bus 2 in the power supply and distribution system can be called a low-voltage subsystem, and the low-voltage subsystem has a double-bus redundant structure with a bus tie dual-circuit mains and an automatic transfer switch. The uninterruptible power supply parallel system has a parallel double-bus redundant structure.

[0120] Optionally, the uninterruptible power supply parallel system may include multiple uninterruptible power supplies in parallel. In addition, when the two high-voltage busbars and the two low-voltage busbars are in normal state, the high-voltage busbars and the low-voltage busbars are not working, and the corresponding A-way cabinet power switch and B-way cabinet power switch are directly powered through path 1 and path 2 respectively.

[0121] It should be noted that the data processor can determine all the power supply and distribution nodes in each path as a set of power supply and distribution node sets based on the power supply and distribution nodes in each path in the tree node structure diagram. Optionally, the above tree node structure diagram has two sets of power supply and distribution node sets, and the total number of power supply and distribution node sets is equal to the total number of paths in the tree node structure diagram.

[0122] S130, performing logic operations on the operating status of each power supply and distribution node in each power supply and distribution node set, and determining the logic operation result of each power supply and distribution node set.

[0123] Specifically, the data processor may perform logic operations on the operating states of all power supply and distribution nodes in each power supply and distribution node set to obtain the logic operation result of each power supply and distribution node set. Optionally, the logic operation may be AND, OR, NOT, XOR, etc.

[0124] It should be noted that as long as one of the uninterruptible power supplies in the uninterruptible power supply parallel system is in a normal state, it can be determined that the uninterruptible power supply parallel system is in a normal state.

[0125] In practical applications, if the power supply and distribution nodes in the power supply and distribution node set include distribution cabinet switches, cabinet power switches, high-voltage busbars, high-voltage busbars, low-voltage busbars, low-voltage busbars, distribution cabinet switches, uninterruptible power supply switches and uninterruptible parallel systems; then Figure 7As shown, the step of performing a logical operation based on the operating state of the power supply and distribution switch, the operating state of the uninterruptible power supply switch and the power supply and distribution equipment in the above S100 to determine the logical operation result can be implemented by the following steps:

[0126] S140, performing logical operations on the operating status of the high-voltage bus, the operating status of the high-voltage bus coupler, the operating status of the low-voltage bus, the operating status of the low-voltage bus coupler, the operating status of the distribution cabinet switch, the operating status of the uninterruptible parallel system, the operating status of the uninterruptible power supply switch, and the operating status of the distribution cabinet switch.

[0127] Specifically, the data processor can perform operations such as AND, OR, NOT, XOR, etc. on the operating status of the high-voltage bus, the operating status of the high-voltage bus coupler, the operating status of the low-voltage bus, the operating status of the low-voltage bus coupler, the operating status of the distribution cabinet switch, the operating status of the uninterruptible parallel system, the operating status of the uninterruptible power supply switch, and the operating status of the distribution cabinet switch.

[0128] It should be noted that Figure 6 The tree node structure diagram of the A-level power supply and distribution system is shown, in which the operating states of the high-voltage bus 1 and the high-voltage bus 2 are represented as B1 and B2 respectively; the operating state of the high-voltage bus coupler is represented as P; the operating states of the low-voltage bus 1 and the low-voltage bus 2 are represented as C1 and C2 respectively; the operating state of the low-voltage bus coupler is represented as Q, and the operating states of each uninterruptible power supply in the A-way and B-way uninterruptible parallel system are represented as D1, D2...Dm (m>1), in which m can be divided into two parts, namely 1, 2,..., n, n+1, n+2,..., m, and the operating states of the A-way distribution cabinet switches are represented as E1, E2,..., Ei respectively; the A-way distribution cabinet switches are respectively connected to the output terminals of the D1, D2,..., Dn uninterruptible power supplies in the A-way uninterruptible parallel system; Correspondingly, the operating states of the uninterruptible power supply switches corresponding to each uninterruptible power supply in the A-way uninterruptible parallel system are respectively expressed as d1, d2, ..., dn; the operating states of the switches in the B-way distribution cabinet are respectively expressed as Ei+1, Ei+2, ..., Ek; the switches in the B-way distribution cabinet are respectively connected to the output ends of the Dn+1, Dn+2, ..., Dm uninterruptible power supplies in the B-way uninterruptible parallel system; accordingly, the operating states of the uninterruptible power supply switches corresponding to each uninterruptible power supply in the B-way uninterruptible parallel system are respectively expressed as dn+1, dn+2, ..., dm; the operating states of the A-way cabinet power switches are respectively expressed as F11, F12, ..., F1j, and the operating states of the B-way cabinet power switches are respectively expressed as F21, F22, ..., F2j.

[0129] Optionally, when the operation status of each node in the tree node structure diagram is normal, the operation status of each node is assigned a value of 1, otherwise, it is assigned a value of 0, and N (N>0) paths are traversed from the power supply and distribution tail node to the power supply and distribution root node in the tree node structure diagram. If in each traversed path, there is F11∧E1∧D1∧d1∧Q∧(C1∨C2)∧P∧(B1∨B2)∧A1 equal to 1, it indicates that the power supply and distribution tail node is in a normal state; if F11∧E1∧D1∧d1∧Q∧(C1∨C2)∧P∧(B1∨B2)∧A1 equal to 0, it is also necessary to determine the operation status of the power switches of other cabinets in the A path. When the operation status of the power switches of other cabinets in the A path are also in a fault state, it indicates that the power supply and distribution tail node is in a fault state. Optionally, the above “∧” represents an AND logical operation, and the “∨” represents an OR logical operation.

[0130] In addition, if the power supply and distribution system is a Class C national standard structure, determining the operating state of the power supply and distribution tail node is similar, and no further description is given. In the Class C power supply and distribution system, only a single path is used to supply power from the mains to the power supply and distribution tail node.

[0131] S150. If the operating status of the high-voltage bus, the operating status of the high-voltage bus coupler, the operating status of the low-voltage bus, the operating status of the low-voltage bus coupler, the operating status of the distribution cabinet switch, the operating status of the uninterruptible parallel system, the operating status of the uninterruptible power supply switch and the operating status of the distribution cabinet switch are all normal, then the logical operation result of the power supply and distribution node set is determined to be true; otherwise, the logical operation result of the power supply and distribution node set is determined to be false.

[0132] Specifically, when the operating states of the high-voltage bus, high-voltage bus coupler, low-voltage bus, low-voltage bus coupler, distribution cabinet switch, uninterruptible parallel system, uninterruptible power supply switch and distribution cabinet switch in the power supply and distribution node set are all in normal states, it can be determined that the logical operation result of the power supply and distribution node set is true. At this time, it is determined that the operating state of the cabinet power switch in the power supply and distribution node set is normal; when at least one of the operating states of the high-voltage bus, high-voltage bus coupler, low-voltage bus, low-voltage bus coupler, distribution cabinet switch, uninterruptible parallel system, uninterruptible power supply switch and distribution cabinet switch in the power supply and distribution node set is in a fault state, it can be determined that the logical operation result of the power supply and distribution node set is false. At this time, it is determined that the operating state of the cabinet power switch in the power supply and distribution node set is in a fault state.

[0133] The above-mentioned faulty business locating method can perform logical operations based on the operating status of the power supply and distribution switch and the operating status of the power supply and distribution equipment, determine the logical operation result, further determine the operating status of the cabinet power switch according to the logical operation result, and then locate the faulty business according to the operating status of the cabinet power switch. This method can automatically and quickly locate the faulty business, and does not require manual participation in troubleshooting the faulty business, thereby saving human resources and reducing the time for locating the faulty business. In addition, without manual participation in troubleshooting the faulty business, the faulty business locating error can be reduced and the accuracy of faulty business locating can be improved.

[0134] In order to restore the faulty service as soon as possible and avoid normal use, it is necessary to restore the faulty service in time. Figure 8 As shown, the above fault service location method may also include the following steps:

[0135] S400: Classify all faulty services and determine the number of faulty services of different types.

[0136] Specifically, the data processor may use decision tree, Bayesian, artificial neural network, K-nearest neighbor, support vector machine and association rule-based classification methods to classify all located faulty services according to the fault type and determine the number of different types of faulty services.

[0137] S500. Determine a faulty service recovery order according to the number of different types of faulty services; the faulty service recovery order indicates the priority of recovering each type of faulty service.

[0138] Specifically, the data processor may sort the different types of faulty services according to the number of different types of faulty services in a preset order to determine the order in which the faulty services are restored. Optionally, the preset order may be from large to small, or from small to large. In this embodiment, the data processor may restore the faulty services with the largest number first, and finally restore the faulty services with the smallest number. In addition, the user may also manually restore the faulty services.

[0139] The above-mentioned faulty service locating method can classify all faulty services, determine the number of different types of faulty services, and determine the faulty service recovery order according to the number of different types of faulty services. Each type of faulty service can be further restored according to the faulty service recovery order, so that services with a larger number of users can be restored as soon as possible, and services with a smaller number of users can be restored later, thereby improving the service usage experience of most users and maximizing the service utilization rate.

[0140] In actual applications, the operating status of each node in the power supply and distribution system may be normal. However, in order to prevent node failure during the use of the power supply and distribution system, the faulty service can be directly located according to a predetermined method so that the faulty service can be restored as soon as possible. Based on this, in one embodiment, Fig. 9 As shown, the above fault service location method may also include the following steps:

[0141] S600: If the cabinet power switch is in a normal state, construct a power supply and distribution system simulation diagram based on the power supply and distribution switch and power supply and distribution equipment in the power supply and distribution system.

[0142] Specifically, if it is determined that the cabinet power switch is in a normal state, a power supply and distribution system simulation diagram can be constructed based on the power supply and distribution switches and power supply and distribution equipment in the power supply and distribution system. Optionally, the power supply and distribution switches in the power supply and distribution system may include a distribution cabinet switch, a high-voltage busbar, a low-voltage busbar, a cabinet power switch, a distribution cabinet switch, an uninterruptible power supply switch, and a cabinet power switch. The power supply and distribution equipment in the power supply and distribution system may be a high-voltage busbar, a low-voltage busbar, and an uninterruptible parallel system.

[0143] S700: Based on the power supply and distribution system simulation diagram, simulate the fault status of the power supply and distribution switch and the power supply and distribution equipment to obtain different simulated fault services.

[0144] Specifically, the data processor can simulate the fault state of the power supply and distribution switch and / or the power supply and distribution equipment according to the operating status of the power supply and distribution switch and the power supply and distribution equipment in the power supply and distribution system simulation diagram, determine the fault state of the cabinet power switch in the power supply and distribution system simulation diagram, and further determine different simulated fault services according to the fault state of the cabinet power switch.

[0145] During the simulation, the distribution cabinet switch, high-voltage bus tie, low-voltage bus tie, cabinet power switch, distribution cabinet switch, uninterruptible power supply switch, cabinet power switch, high-voltage bus, low-voltage bus and some nodes in the uninterruptible parallel system can be simulated as a fault state, and the remaining nodes can be simulated as a normal state.

[0146] S800. Restore the failed service according to each simulated failed service.

[0147] It should be noted that the data processor can use decision trees, Bayesian, artificial neural networks, K-nearest neighbors, support vector machines, and association rule-based classification methods to classify all simulated fault services according to the fault type, determine the number of different types of fault services, and then sort the different types of fault services according to the number of different types of fault services in a preset order to determine the order of fault service recovery. Further, in actual applications, if it is determined that the cabinet power switch is in a fault state, the fault service can be directly restored according to the fault service recovery order corresponding to each simulated fault service, which can save the time for restoring the fault service.

[0148] The above-mentioned fault service location method can construct a power supply and distribution system simulation diagram based on the power supply and distribution switch and power supply and distribution equipment in the power supply and distribution system when it is determined that the cabinet power switch is in a normal state. Based on the power supply and distribution system simulation diagram, the fault state of the power supply and distribution switch and the power supply and distribution equipment is simulated to obtain different simulated fault services. In actual applications, if it is determined that the cabinet power switch is in a faulty state, the faulty service and the order of faulty service recovery can be directly determined so that the faulty service can be restored as soon as possible, thereby reducing the recovery time of the faulty service and avoiding affecting the normal use of key services. It can also improve the utilization rate of the service to a certain extent; at the same time, the above-mentioned method can also make the service emergency response earlier than or equal to the actual fault occurrence time, providing valuable time for eliminating business impact and quickly restoring business; in addition, the above-mentioned method can simulate the fault state of each node in the power supply and distribution system online, thereby effectively avoiding the risk of business interruption caused by manual misoperation in the faulty service change link.

[0149] Continue to see Figure 1 As shown, another embodiment provides a specific structural diagram of a fault service location system; the fault service location system includes: a power supply and distribution system, an information collection device and a data processor;

[0150] Power supply and distribution system, used to supply power to application equipment running various different services in the data center;

[0151] Information collection equipment, used to collect the operating status of the power supply and distribution switch and the operating status of the power supply and distribution equipment in the power supply and distribution system; the power supply and distribution switch includes the cabinet power switch;

[0152] A data processor is used to determine whether the cabinet power switch is in a faulty state based on the operating state of the power supply and distribution switch and the operating state of the power supply and distribution equipment; when the cabinet power switch is in a faulty state, determine the power supply and distribution link corresponding to the cabinet power switch according to the attribute information of the cabinet power switch, and determine the business on the power supply and distribution link as a faulty business.

[0153] In this embodiment, the information collection device may be an intelligent switch status collection device, and each node in the power supply and distribution system is provided with an intelligent switch status collection device for collecting the respective operating statuses. Optionally, the intelligent switch status collection device may collect videos or images of the corresponding power supply and distribution switch or power supply and distribution device during use based on the SNMP protocol. Furthermore, the data processor may analyze the videos or images collected by the intelligent switch status collection device to obtain the operating status of the power supply and distribution switch or power supply and distribution device. Optionally, the intelligent switch status collection device may also collect videos or images of the corresponding power supply and distribution switch or power supply and distribution device during use based on other protocols.

[0154] It should be noted that the data processor can perform the above Figure 2-5 and Figure 7-9 The steps of the method in any of the corresponding embodiments. Optionally, the data processor may further include a display, through which the determined faulty services may be output. Optionally, the display may output all faulty services in the form of a link topology, and of course, may also output all faulty services in the form of a list. Optionally, the above-mentioned display may be a display screen, or may be an indicator light of different colors, and this structure is not limited.

[0155] The information warning system provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.

[0156] It should be understood that although Figure 2-5 and Figure 7-9 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 2-5 and Figure 7-9 At least part of the steps may include multiple steps or multiple stages. These steps or stages are not necessarily performed at the same time, but can be performed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed in turn or alternately with other steps or at least part of the steps or stages in other steps.

[0157] In one embodiment, Fig.10 As shown, a fault service location device is provided, comprising: an operation status acquisition module 11, a fault status determination module 12 and a fault service determination module 13, wherein:

[0158] The operating status acquisition module 11 is used to acquire the operating status of the power supply and distribution switch and the operating status of the power supply and distribution equipment in the power supply and distribution system; the power supply and distribution switch includes the cabinet power switch;

[0159] A fault state determination module 12 is used to determine whether the cabinet power switch is in a fault state according to the operating state of the power supply and distribution switch and the operating state of the power supply and distribution equipment;

[0160] The faulty service determination module 13 is used to determine the power supply and distribution link corresponding to the cabinet power switch according to the attribute information of the cabinet power switch when the cabinet power switch is in a faulty state, and determine the service on the power supply and distribution link as a faulty service.

[0161] The faulty service locating device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be described in detail here.

[0162] In one embodiment, the attribute information includes a switch identifier of a cabinet power switch; the fault service determination module 13 includes: a corresponding relationship search unit and a power supply and distribution link generation unit, wherein:

[0163] A corresponding relationship search unit is used to search for the corresponding relationship of each node in the power supply and distribution link from a preset information base according to the switch identifier of the cabinet power switch; the nodes on the power supply and distribution link include the cabinet power switch, the cabinet corresponding to the cabinet power switch, the server in the cabinet, the communication address of the server and the business corresponding to the communication address;

[0164] The power supply and distribution link generation unit is used to generate the power supply and distribution link according to the corresponding relationship between the nodes in the power supply and distribution link.

[0165] The faulty service locating device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be described in detail here.

[0166] In one embodiment, the information base includes a cabinet information base, a server information base, a communication address information base, and a business information base; the corresponding relationship search unit includes: a cabinet determination subunit, a server determination subunit, a communication address determination subunit, and a business determination subunit, wherein:

[0167] A cabinet determining subunit, used to determine the cabinet corresponding to the cabinet power switch according to the switch identifier of the cabinet power switch and the corresponding relationship between the switch identifier and the cabinet identifier stored in the cabinet information library;

[0168] A server determination subunit, used to determine a server in a cabinet according to a cabinet identification of the cabinet and a correspondence between the cabinet identification and the server identification stored in a server information library;

[0169] A communication address determination subunit, used to determine the communication address of the server according to the server identifier and the correspondence between the server identifier and the communication address stored in the communication address information base;

[0170] The service determination subunit is used to determine the service corresponding to the communication address according to the communication address and the corresponding relationship between the communication address and the service identifier stored in the service information database.

[0171] The faulty service locating device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be described in detail here.

[0172] In one embodiment, the correspondence relationship search unit further includes: a full fault service determination subunit, wherein:

[0173] The full faulty business determination subunit is used to determine the faulty business as the full faulty business when different servers or different communication addresses in the power supply and distribution link correspond to the same business. The full faulty business means that there is no other faulty business but only a single faulty business in the final determination result.

[0174] The faulty service locating device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be described in detail here.

[0175] In one embodiment, the fault state determination module 12 includes: a logic operation unit, a normal state determination unit and a fault state determination unit, wherein:

[0176] A logic operation unit, used to perform logic operations according to the operating state of the power supply and distribution switch and the operating state of the power supply and distribution equipment, and determine the logic operation result;

[0177] A normal state determination unit, used to determine that the cabinet power switch is in a normal state when the logic operation result is true;

[0178] The fault state determination unit is used to determine that the cabinet power switch is in a fault state when the logic operation result is false.

[0179] The faulty service locating device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be described in detail here.

[0180] In one embodiment, the logic operation unit includes: a structure graph construction subunit, a node set determination subunit and a logic operation subunit, wherein:

[0181] The structure diagram construction subunit is used to construct a tree node structure diagram of the power supply and distribution system according to the power supply and distribution switch and the power supply and distribution equipment; the power supply and distribution tail node of each path in the tree node structure diagram is the cabinet power switch;

[0182] The node set determination subunit is used to determine the power supply and distribution nodes in each path in the tree node structure diagram as a set of power supply and distribution node sets; the power supply and distribution nodes are power supply and distribution switches or power supply and distribution equipment;

[0183] The logic operation subunit is used to perform logic operations on the operating status of each power supply and distribution node in each power supply and distribution node set, and determine the logic operation result of each power supply and distribution node set.

[0184] The faulty service locating device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be described in detail here.

[0185] In one embodiment, if the power supply and distribution nodes in the power supply and distribution node set include a power distribution cabinet switch, a cabinet power switch, a high-voltage bus, a high-voltage bus coupler, a low-voltage bus, a low-voltage bus coupler, a power distribution cabinet switch, an uninterruptible power supply switch and an uninterruptible parallel system, the logic operation unit includes: a logic operation subunit and an operation result acquisition subunit, wherein:

[0186] A logic operation subunit, used for performing logic operations on the operating state of the high-voltage bus, the operating state of the high-voltage bus coupler, the operating state of the low-voltage bus, the operating state of the low-voltage bus coupler, the operating state of the distribution cabinet switch, the operating state of the uninterruptible power supply switch, the operating state of the uninterruptible parallel system and the operating state of the distribution cabinet switch;

[0187] The operation result acquisition subunit is used to determine that the logical operation result of the power supply and distribution node set is true when the operating status of the high-voltage bus, the operating status of the high-voltage bus coupler, the operating status of the low-voltage bus, the operating status of the low-voltage bus coupler, the operating status of the distribution cabinet switch, the operating status of the uninterruptible power supply switch, the operating status of the uninterruptible parallel system and the operating status of the distribution cabinet switch are all normal; otherwise, it is used to determine that the logical operation result of the power supply and distribution node set is false.

[0188] The faulty service locating device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be described in detail here.

[0189] In one embodiment, the fault service locating device further includes: a classification module and a recovery sequence determination module, wherein:

[0190] A classification module is used to classify all faulty services and determine the number of faulty services of different types;

[0191] The recovery order determination module is used to determine the order of recovery of faulty services according to the number of different types of faulty services; the order of recovery of faulty services indicates the priority of recovery of each type of faulty services.

[0192] The faulty service locating device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be described in detail here.

[0193] In one embodiment, the fault service location device further includes: a simulation diagram construction module, a fault state simulation module and a fault service recovery module, wherein:

[0194] A simulation diagram construction module, used to construct a power supply and distribution system simulation diagram based on the power supply and distribution switch and the power supply and distribution equipment in the power supply and distribution system when the cabinet power switch is in a normal state;

[0195] The fault state simulation module is used to simulate the fault state of the power supply and distribution switch and the power supply and distribution equipment according to the power supply and distribution system simulation diagram to obtain different simulated fault services;

[0196] The fault service recovery module is used to recover the fault service according to each simulated fault service.

[0197] The faulty service locating device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be described in detail here.

[0198] For the specific definition of the faulty service location device, please refer to the definition of the faulty service location method above, which will not be repeated here. Each module in the above-mentioned faulty service location device can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the data processor in the form of hardware, or can be stored in the memory in the data processor in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0199] In one embodiment, a data processor is provided. The data processor may be a server, and its internal structure diagram may be as follows: Fig.11 As shown. The data processor includes a processor, a memory and a network interface connected through a system bus. Among them, the processor of the data processor is used to provide computing and control capabilities. The memory of the data processor includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the data processor is used to store the operating status of the power supply and distribution switches and the power supply and distribution equipment in the power supply and distribution system. The network interface of the data processor is used to communicate with an external endpoint through a network connection. When the computer program is executed by the processor, a method for locating a fault service is implemented.

[0200] Those skilled in the art will understand that Fig.11 The device shown in the figure is only a block diagram of some devices related to the present application scheme, and does not constitute a limitation on the data processor to which the present application scheme is applied. The specific data processor may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.

[0201] In one embodiment, a data processor is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:

[0202] Obtaining the operating status of the power supply and distribution switch and the operating status of the power supply and distribution equipment in the power supply and distribution system; the power supply and distribution switch includes the cabinet power switch;

[0203] Determine whether the cabinet power switch is in a fault state based on the operating state of the power supply and distribution switch and the operating state of the power supply and distribution equipment;

[0204] If the cabinet power switch is in a faulty state, a power supply and distribution link corresponding to the cabinet power switch is determined according to the attribute information of the cabinet power switch, and a service on the power supply and distribution link is determined as a faulty service.

[0205] In one embodiment, a readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:

[0206] Obtaining the operating status of the power supply and distribution switch and the operating status of the power supply and distribution equipment in the power supply and distribution system; the power supply and distribution switch includes the cabinet power switch;

[0207] Determine whether the cabinet power switch is in a fault state based on the operating state of the power supply and distribution switch and the operating state of the power supply and distribution equipment;

[0208] If the cabinet power switch is in a faulty state, a power supply and distribution link corresponding to the cabinet power switch is determined according to the attribute information of the cabinet power switch, and a service on the power supply and distribution link is determined as a faulty service.

[0209] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:

[0210] Obtaining the operating status of the power supply and distribution switch and the operating status of the power supply and distribution equipment in the power supply and distribution system; the power supply and distribution switch includes the cabinet power switch;

[0211] Determine whether the cabinet power switch is in a fault state based on the operating state of the power supply and distribution switch and the operating state of the power supply and distribution equipment;

[0212] If the cabinet power switch is in a faulty state, a power supply and distribution link corresponding to the cabinet power switch is determined according to the attribute information of the cabinet power switch, and a service on the power supply and distribution link is determined as a faulty service.

[0213] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, etc. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).

[0214] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0215] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.

Claims

1. A method for locating a faulty service, characterized in that: The method comprises: Acquire the operating status of a power supply and distribution switch and the operating status of a power supply and distribution device in a power supply and distribution system; the power supply and distribution switch includes a cabinet power switch; Performing a logic operation based on the operating state of the power supply and distribution switch and the operating state of the power supply and distribution equipment to determine a logic operation result; If the result of the logic operation is true, it is determined that the cabinet power switch is in a normal state; if the result of the logic operation is false, it is determined that the cabinet power switch is in a fault state; If the cabinet power switch is in a faulty state, the power supply and distribution link corresponding to the cabinet power switch is determined according to the attribute information of the cabinet power switch, and the service on the power supply and distribution link is determined as a faulty service; if different servers or different communication addresses in the power supply and distribution link correspond to the same service, the faulty service is determined as a full faulty service, and the full faulty service means that there is no other faulty service but only a single faulty service in the final determined result; The performing of a logic operation based on the operating state of the power supply and distribution switch and the operating state of the power supply and distribution equipment to determine the result of the logic operation includes: A tree node structure diagram of the power supply and distribution system is constructed according to the power supply and distribution switch and the power supply and distribution equipment; the power supply and distribution tail node of each path in the tree node structure diagram is a cabinet power switch; Determine the power supply and distribution nodes in each path in the tree node structure diagram as a set of power supply and distribution nodes; the power supply and distribution nodes are power supply and distribution switches or power supply and distribution equipment; Performing logic operations on the operating status of each power supply and distribution node in each power supply and distribution node set respectively, and determining the logic operation result of each power supply and distribution node set.

2. The method according to claim 1, characterized in that The attribute information includes a switch identifier of the cabinet power switch; and determining the power supply and distribution link corresponding to the cabinet power switch according to the attribute information of the cabinet power switch includes: Based on the switch identifier of the cabinet power switch, the corresponding relationship between the nodes in the power supply and distribution link is searched from a preset information base; the nodes on the power supply and distribution link include the cabinet power switch, the cabinet corresponding to the cabinet power switch, the server in the cabinet, the communication address of the server and the service corresponding to the communication address; The power supply and distribution link is generated according to the corresponding relationship between the nodes in the power supply and distribution link.

3. The method according to claim 2, characterized in that The information base includes a cabinet information base, a server information base, a communication address information base, and a business information base; then the corresponding relationship between each node in the power supply and distribution link is searched from the preset information base based on the switch identifier of the cabinet power switch, including: Determine the cabinet corresponding to the cabinet power switch based on the switch identifier of the cabinet power switch and the correspondence between the switch identifier and the cabinet identifier stored in the cabinet information library; Determine the server in the cabinet based on the cabinet identification of the cabinet and the correspondence between the cabinet identification and the server identification stored in the server information library; Determine the communication address of the server based on the server identifier and the correspondence between the server identifier and the communication address stored in the communication address information base; Based on the communication address and the correspondence between the communication address and the service identifier stored in the service information database, the service corresponding to the communication address is determined.

4. The method according to any one of claims 1 to 3, characterized in that If the power supply and distribution nodes in the power supply and distribution node set include power distribution cabinet switches, cabinet power switches, high-voltage busbars, high-voltage busbars, low-voltage busbars, low-voltage busbars, power distribution cabinet switches, uninterruptible power supply switches and uninterruptible parallel systems; Then the performing of a logic operation based on the operating state of the power supply and distribution switch and the operating state of the power supply and distribution equipment to determine the result of the logic operation includes: Performing logical operations on the operating state of the high-voltage bus, the operating state of the high-voltage bus coupler, the operating state of the low-voltage bus, the operating state of the low-voltage bus coupler, the operating state of the distribution cabinet switch, the operating state of the uninterruptible parallel system, the operating state of the uninterruptible power supply switch, and the operating state of the distribution cabinet switch; If the operating status of the high-voltage bus, the operating status of the high-voltage bus coupler, the operating status of the low-voltage bus, the operating status of the low-voltage bus coupler, the operating status of the distribution cabinet switch, the operating status of the uninterruptible parallel system, the operating status of the uninterruptible power supply switch and the operating status of the distribution cabinet switch are all normal, then the logical operation result of the power supply and distribution node set is determined to be true; otherwise, the logical operation result of the power supply and distribution node set is determined to be false.

5. The method according to any one of claims 1 to 3, characterized in that: The method further comprises: Classify all faulty services and determine the number of faulty services of different types; The order of restoring the failed services is determined according to the number of failed services of different types; the order of restoring the failed services indicates the priority of restoring each type of failed services.

6. The method according to any one of claims 1 to 3, characterized in that The method further comprises: If the cabinet power switch is in a normal state, constructing a power supply and distribution system simulation diagram based on the power supply and distribution switch and power supply and distribution equipment in the power supply and distribution system; Based on the power supply and distribution system simulation diagram, simulating the fault states of the power supply and distribution switch and the power supply and distribution equipment to obtain different simulated fault services; The faulty services are restored according to the simulated faulty services.

7. A fault service location system, characterized in that: The system includes: a power supply and distribution system, information collection equipment and a data processor; The power supply and distribution system is used to supply and distribute power to application equipment running a variety of different services in the data center; The information collection device is used to collect the operating status of the power supply and distribution switch and the operating status of the power supply and distribution equipment in the power supply and distribution system; the power supply and distribution switch includes a cabinet power switch; The data processor is used to perform a logic operation based on the operating state of the power supply and distribution switch and the operating state of the power supply and distribution equipment to determine a result of the logic operation; if the result of the logic operation is true, it is determined that the cabinet power switch is in a normal state; if the result of the logic operation is false, it is determined that the cabinet power switch is in a fault state; when the cabinet power switch is in a fault state, the power supply and distribution link corresponding to the cabinet power switch is determined according to the attribute information of the cabinet power switch, and the service on the power supply and distribution link is determined as a fault service; The performing of a logic operation based on the operating state of the power supply and distribution switch and the operating state of the power supply and distribution equipment to determine the result of the logic operation includes: A tree node structure diagram of the power supply and distribution system is constructed according to the power supply and distribution switch and the power supply and distribution equipment; the power supply and distribution tail node of each path in the tree node structure diagram is a cabinet power switch; Determine the power supply and distribution nodes in each path in the tree node structure diagram as a set of power supply and distribution nodes; the power supply and distribution nodes are power supply and distribution switches or power supply and distribution equipment; Performing logic operations on the operating status of each power supply and distribution node in each power supply and distribution node set respectively, and determining the logic operation result of each power supply and distribution node set.

8. A fault service location device, characterized in that: The device comprises: An operating status acquisition module, used to acquire the operating status of a power supply and distribution switch and the operating status of a power supply and distribution device in a power supply and distribution system; the power supply and distribution switch includes a cabinet power switch; A fault state determination module, used to determine whether the cabinet power switch is in a fault state according to the operating state of the power supply and distribution switch and the operating state of the power supply and distribution equipment; A faulty service determination module is used to determine, when the cabinet power switch is in a faulty state, a power supply and distribution link corresponding to the cabinet power switch according to the attribute information of the cabinet power switch, and determine the service on the power supply and distribution link as a faulty service; if different servers or different communication addresses in the power supply and distribution link correspond to the same service, the faulty service is determined as a full faulty service, and the full faulty service indicates that there is no other faulty service in the final determination result but only a single faulty service; Wherein, the fault status determination module includes: A logic operation unit, used to perform a logic operation based on the operating state of the power supply and distribution switch and the operating state of the power supply and distribution equipment, and determine a logic operation result; A normal state determination unit, configured to determine that the cabinet power switch is in a normal state when the logic operation result is true; A fault state determination unit, configured to determine that the cabinet power switch is in a fault state when the result of the logic operation is false; The logic operation unit comprises: A structure diagram construction subunit is used to construct a tree node structure diagram of the power supply and distribution system according to the power supply and distribution switch and the power supply and distribution equipment; the power supply and distribution tail node of each path in the tree node structure diagram is a cabinet power switch; A node set determination subunit, used to determine the power supply and distribution nodes in each path in the tree node structure diagram as a set of power supply and distribution node sets; the power supply and distribution nodes are power supply and distribution switches or power supply and distribution equipment; The logic operation subunit is used to perform logic operations on the operating status of each power supply and distribution node in each power supply and distribution node set, and determine the logic operation result of each power supply and distribution node set.

9. A data processor, comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.

10. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

11. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Service system fault analysis method and device

    CN112269718A