An alarm management method, an electronic device, and a storage medium
By establishing a correspondence between alarm information between operational equipment and service equipment, the problem of low troubleshooting efficiency caused by separate management of operational equipment and data center service equipment is solved, achieving rapid fault location and saving human resources.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- CHINA UNITED NETWORK COMM GRP CO LTD
- Filing Date
- 2023-06-06
- Publication Date
- 2026-04-21
AI Technical Summary
The separate management and maintenance of the operator's operational equipment and data center service equipment leads to low troubleshooting efficiency and wasted human resources.
By establishing a target correspondence between alarm information from operational and service equipment, alarm information in the same data center can be managed in a unified manner, allowing technicians to quickly locate the cause of the fault and save human resources.
It improves troubleshooting efficiency, reduces waste of human resources, and quickly identifies whether the cause of operational equipment failure is related to service equipment.
Smart Images

Figure CN116669081B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of alarm management, and more particularly to an alarm management method, electronic device, and storage medium. Background Technology
[0002] With the development of mobile networks, various operators are increasing the number of base stations and other operational equipment to improve the user experience. These base stations need to be installed in specific locations, such as equipment rooms. To reduce costs, operators typically lease equipment rooms from third-party companies to install base stations and other operational equipment. The third-party companies provide power supplies, air conditioning, batteries, fire protection equipment, and other utilities for the equipment. Generally, the operators manage and maintain their own operational equipment, while the third-party companies provide monitoring and maintenance services for the power supply, air conditioning, batteries, fire protection equipment, and other service equipment in the leased equipment rooms.
[0003] In traditional technology, the operator's operational equipment and the service equipment in the data center are managed and maintained separately. If the service equipment has a problem and the problem is not resolved in a timely manner, it will eventually lead to a problem with the operational equipment. At this time, the operator's technical personnel need to spend a lot of manpower to troubleshoot the cause of the operational equipment failure and whether it is related to the service equipment, which wastes human resources and reduces troubleshooting efficiency.
[0004] Therefore, we urgently need to propose an alarm management method. Summary of the Invention
[0005] This application provides an alarm management method, electronic device, and storage medium that can save human resources and improve alarm troubleshooting efficiency.
[0006] To achieve the above technical objectives, this application adopts the following technical solution:
[0007] In a first aspect, embodiments of this application provide an alarm management method, which is applied to an electronic device. The method includes: receiving a first alarm message and a second alarm message; wherein the first alarm message is an alarm message reported by a first operating device; the second alarm message is an alarm message reported by a first service device; when the first operating device and the first service device are located in the same data center, establishing a target correspondence between the first alarm message and the second alarm message; and outputting the target correspondence.
[0008] Understandably, the target correspondence in this method includes alarm information from operating equipment and alarm information from service equipment. After receiving the target correspondence, technicians can quickly determine whether the cause of the alarm in the operating equipment is related to the service equipment, thus saving manpower and improving troubleshooting efficiency.
[0009] In one possible implementation, the first alarm information includes the identifier of the first operating device, and the second alarm information includes the identifier of the data center where the first service device is located and the identifier of the first service device. When the data centers where the first operating device and the first service device are located are the same, a target correspondence between the first alarm information and the second alarm information is established, including: based on the identifier of the first operating device, finding the identifier of the data center where the first operating device is located from the correspondence between the identifier of the operating device and the identifier of the data center; when the identifier of the data center where the first operating device is located is the same as the identifier of the data center where the first service device is located, a target correspondence between the first alarm information and the second alarm information is established.
[0010] Understandably, based on the identification of the data center, it is possible to quickly determine whether the data centers where the first alarm message and the second alarm message are located are the same data center, which can improve the efficiency of judgment.
[0011] In another possible implementation, the target mapping relationship is output, including submitting the target mapping relationship to the work order system; the work order system is a system used to record alarm information reported by the first operating equipment.
[0012] Understandably, since the work order system is used to record alarm information reported by the first operating equipment, submitting the target correspondence to the work order system can dispatch work orders in the work order system to technicians to resolve alarm issues.
[0013] In another possible implementation, the method further includes: selecting alarm information of a target type from the first alarm information based on the type of each alarm information in the first alarm information; wherein the alarm information of the target type is alarm information related to the first service device. When it is determined that the second alarm information does not include alarm information associated with the alarm information of the target type, a missed alarm event is recorded; wherein the missed alarm event is used to indicate that the first service device has missed alarm information associated with the alarm information of the target type.
[0014] Understandably, this method, based on a preset type, confirms whether the second alarm information includes alarm information related to the target type. This method can quickly check whether the second alarm information has missed any alarms, thus aiding in subsequent alarm-based fault detection.
[0015] In another possible implementation, the method further includes: when the first operating equipment and the first service equipment are not located in the same data center, establishing a target correspondence between the first alarm information and the default value; and recording missed alarm events.
[0016] Understandably, when the first operating device and the first service device are located in different data centers, it indicates that there is no corresponding alarm information for the first alarm message. This suggests that the service device, located in the same data center as the first operating device, has not reported any alarm information, resulting in a missed alarm event. Therefore, establishing a target correspondence between the first alarm message and the default value helps electronic devices quickly determine if the service device has missed an alarm and record the missed alarm event.
[0017] In another possible implementation, the first service device is a device provided by a third-party company to provide services for the first operating device.
[0018] Secondly, embodiments of this application provide an electronic device, wherein the electronic device is applied to various modules of the alarm management method of the first aspect or any possible implementation of the first aspect.
[0019] Thirdly, embodiments of this application provide an electronic device including a memory and a processor. The memory and the processor are coupled; the memory stores computer program code, which includes computer instructions. When the processor executes the computer instructions, the electronic device performs an alarm management method as described in the first aspect and any possible implementation thereof.
[0020] Fourthly, this application provides a computer-readable storage medium including computer instructions. When the computer instructions are executed on an electronic device, they cause the electronic device to perform an alarm management method as described in the first aspect and any possible implementation thereof.
[0021] Fifthly, this application provides a computer program product comprising computer instructions. When the computer instructions are executed on an electronic device, they cause the electronic device to perform an alarm management method as described in the first aspect and any possible implementation thereof.
[0022] For a detailed description of the second to fifth aspects and their various implementations in this application, please refer to the detailed description in the first aspect and its various implementations; and for a detailed analysis of the beneficial effects of the second to fifth aspects and their various implementations in the first aspect and its various implementations, please refer to the beneficial effect analysis in the first aspect and its various implementations, which will not be repeated here.
[0023] These or other aspects of this application will become more readily apparent in the following description. Attached Figure Description
[0024] Figure 1 This is a schematic diagram of an implementation environment involved in the alarm management method proposed in the embodiments of this application;
[0025] Figure 2A flowchart illustrating an alarm management method provided in this application embodiment;
[0026] Figure 3 A schematic diagram of a work order system provided in an embodiment of this application;
[0027] Figure 4 This is a schematic diagram of another work order system provided in an embodiment of this application;
[0028] Figure 5 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application;
[0029] Figure 6 This is a schematic diagram of the structure of another electronic device provided in an embodiment of this application. Detailed Implementation
[0030] Hereinafter, the terms "first," "second," and "third," etc., are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Therefore, a feature defined with "first," "second," or "third," etc., may explicitly or implicitly include one or more of that feature.
[0031] Telecom operators need to install their base stations in specific locations, such as equipment rooms. To reduce costs, operators typically lease equipment rooms from third-party companies to install base stations and other operational equipment. The third-party companies provide power, air conditioning, batteries, fire protection equipment, and other utilities for this equipment. Generally, the operator manages and maintains its own operational equipment, while the third-party company provides monitoring and maintenance services for the leased equipment room's power supply, air conditioning, batteries, fire protection equipment, and other service equipment. In traditional technology, the operator's operational equipment and the equipment room's service equipment are managed and maintained separately. If the service equipment malfunctions and the problem isn't resolved promptly, it can eventually lead to problems with the operational equipment. In this case, the operator's technicians need to spend considerable manpower troubleshooting to determine the cause of the operational equipment failure and whether it's related to the service equipment, wasting human resources and reducing troubleshooting efficiency.
[0032] Based on this, we propose an alarm management method. In this method, electronic devices uniformly manage alarm information from operational equipment and service equipment. A target-to-target correspondence is established between the alarm information of operational equipment and the alarm information of service equipment within the same data center, and then output. It is understood that the target-to-target correspondence in this method includes both operational and service equipment alarm information. After receiving this correspondence, technicians can quickly determine whether the cause of an alarm on the operational equipment is related to the service equipment, saving manpower and improving fault diagnosis efficiency.
[0033] The embodiments of this application will now be described in detail with reference to the accompanying drawings.
[0034] Please refer to Figure 1 This diagram illustrates an implementation environment for the alarm management method provided in this application. Figure 1 As shown, the implementation environment may include: a first electronic device 110, a second electronic device 120 (optional), an operating device 130, and a service device 140.
[0035] In this system, the first electronic device 110 is equipment belonging to the operating company, the second electronic device 120 is equipment belonging to a third-party company, and the operating device 130 and service device 140 are installed in the third-party company's data center. The implementation environment includes one or more data centers, each containing the operating device 130 and service device 140.
[0036] The first electronic device 110 is used to receive first alarm information reported by the operating device 130 and second alarm information reported by the second electronic device 120 from the service device 140.
[0037] In one possible implementation, the first electronic device 110 includes an alarm system, a work order system, a rental system, and a missed detection system.
[0038] Alarm system: Used to receive first alarm information and second alarm information.
[0039] Work order system: Used to record the first alarm information and / or the second alarm information and the corresponding relationship of the target through work orders.
[0040] Missed Alarm Detection System: Used to detect whether the second alarm information in the work order recorded by the work order system has been missed. If so, the missed alarm event is recorded in the work order.
[0041] Rental system: Used to record the correspondence between the identification of operating equipment and the identification of the computer room.
[0042] The second electronic device 120 is used to manage service devices 140 in multiple computer rooms and to receive second alarm information reported by the service devices 140. If the third party does not provide the second electronic device 120, the service devices 140 can directly report the second alarm information to the first electronic device 110.
[0043] For example, the first electronic device 110 and the second electronic device 120 may be computing devices such as servers, tablets, desktops, laptops, and netbooks.
[0044] Operational equipment 130 refers to equipment installed in a data center by an operating company (such as a telecom operator), which may include equipment such as servers, switches, and base stations.
[0045] Service equipment 140 is provided by a third-party company (such as a tower company) and is used to provide services (such as power supply and environmental protection) for operating equipment 130, such as uninterruptible power supply (UPS), air conditioning, batteries, fire protection equipment, etc.
[0046] This application embodiment does not limit the number of operating equipment 130 and service equipment 140.
[0047] The alarm management method provided in the embodiments of this application is described below:
[0048] The alarm management method provided in this application embodiment can be applied to a first electronic device 110. The executing entity of the alarm management method provided in this application embodiment can also be the central processing unit (CPU) in the electronic device, or the control module in the electronic device used to execute the alarm management method. The following description uses the method provided in this application embodiment as an example of an electronic device.
[0049] Please refer to Figure 2 This is a flowchart of an alarm management method provided in an embodiment of this application, which is applied to the first electronic device 110 described above. Figure 2 As shown, the method may include S101-S106.
[0050] S101: The first electronic device receives the first alarm information and the second alarm information.
[0051] The first alarm information is the alarm information reported by the first operating device; the second alarm information is the alarm information reported by the first service device.
[0052] The first alarm message and the second alarm message each include one or more alarm messages.
[0053] The first alarm message is used to alert for various problems that occur in the first operating equipment, such as power outages, overheating, or water damage.
[0054] The second alarm information is used to alert for various problems that occur in the first service device or the environment in which the first device is located, such as: the first service device losing power, power interruption, or excessive air humidity.
[0055] In one possible implementation, when the first operating device generates the first alarm information, the first alarm information is reported to the first electronic device at preset time intervals. The first operating device does not report the alarm information immediately upon its generation; therefore, the first alarm information may include multiple alarm information within the preset time interval.
[0056] In another possible implementation, the first operating device immediately reports the alarm information to the first electronic device after generating the alarm information. In this case, the first alarm information may only contain one alarm message.
[0057] Similarly, the second alarm information may also include one or more alarm information from the first service device.
[0058] Optionally, the first alarm information includes the identifier of the first operating device; the second alarm information includes the identifier of the computer room where the first service device is located and the identifier of the first service device.
[0059] In one example, the first operating device includes server 1, and the alarm content reported by the first operating device includes temperature exceeding the threshold. Then the first alarm information includes: Server 1 - Temperature exceeds the threshold.
[0060] In one example, the computer room where the first service device is located is identified as computer room 1. The first service device includes air conditioner 1. The alarm content reported by the first service device includes power failure. Then the second alarm information includes: computer room 1 - air conditioner 1 - power failure.
[0061] Optionally, the first service device reports an alarm message containing its identifier to the second electronic device. Based on the identifier of the first service device contained in the alarm message reported by the first service device, the second electronic device retrieves the identifier of the data center where the first service device is located from the mapping between service device identifiers and data center identifiers. It then establishes a mapping between the alarm message reported by the first service device and the identifier of the data center where the first service device is located, obtaining a second alarm message containing both the identifier of the data center where the first service device is located and the identifier of the first service device. The second electronic device then reports the second alarm message to the first electronic device.
[0062] Optionally, the correspondence between the identifiers of the aforementioned service devices and the identifiers of the computer rooms is pre-stored in a second electronic device. This correspondence includes the correspondence between the identifiers of multiple service devices and the identifiers of multiple computer rooms.
[0063] In one example, as shown in Table 1, Table 1 illustrates the correspondence between the identifiers of service devices and the identifiers of data centers. Table 1 includes "Identifiers of Service Devices" and "Identifiers of Data Centers".
[0064] Table 1
[0065]
[0066]
[0067] Since most of the alarm information in the third-party company's data center is managed by the third-party company, the alarm information generated by the service equipment in each data center is first uniformly reported to the third-party company's second electronic device, and then sent by the second electronic device to the first electronic device.
[0068] In one possible implementation, the first electronic device... Figure 1 The alarm system shown receives the first alarm information and the second alarm information.
[0069] S102: The first electronic device determines whether the computer rooms where the first operating equipment and the first service equipment are located are the same computer room.
[0070] If so, then execute S103;
[0071] If not, then execute S104.
[0072] Specifically, the first electronic device, based on the identifier of the first operating device, searches for the identifier of the data center where the first operating device is located from the correspondence between the identifiers of the operating devices and the identifiers of the data centers. When the identifier of the data center where the first operating device is located is the same as the identifier of the data center where the first service device is located, it is determined that the data centers where the first operating device and the first service device are located are the same data center.
[0073] In one possible implementation, the mapping between the identifiers of operating equipment and the identifiers of the computer room is stored in a format such as... Figure 1 The rental system shown in the diagram. The rental system for the first electronic device, based on the identifier of the first operating device, retrieves the identifier of the data center where the first operating device is located from the correspondence between the identifiers of the operating devices and the identifiers of the data centers. This correspondence includes the identifiers of multiple operating devices and the identifiers of multiple data centers.
[0074] In one example, as shown in Table 2, Table 2 illustrates the correspondence between the identifiers of operating equipment and the identifiers of data centers. Table 2 includes "Identifiers of Operating Equipment" and "Identifiers of Data Centers".
[0075] Table 2
[0076] Identification of operating equipment Computer room signage Server 1 Computer Room 1 Server 2 Computer Room 2 Server 3 Computer Room 3 Base Station 1 Computer Room 1 Base Station 2 Computer Room 2 Base Station 3 Computer Room 3 Switch 1 Computer Room 1 Switch 2 Computer Room 2 Switch 3 Computer Room 3 … …
[0077] Each of the above-mentioned operating devices has a unique corresponding data center identifier. Therefore, the first electronic device can find the identifier of the data center where the first operating device is located, which is included in the first alarm information, based on the above correspondence.
[0078] Since service equipment provides services to operational equipment, it is typically installed in the same data center as the operational equipment. When an operational device issues an alarm, it may indicate a problem with the service equipment within the same data center. Therefore, it's necessary to check whether the received alarm information originated from either the operational or service equipment within the same data center. This can be determined by identifying the data centers where the first operational device and the first service equipment reside.
[0079] S103: The first electronic device establishes a target correspondence between the first alarm information and the second alarm information.
[0080] The above establishes a target correspondence between the first alarm information and the second alarm information, that is, to associate the first alarm information and the second alarm information together.
[0081] In one example, the first alarm message includes: Server 1 - Temperature exceeds threshold, and the second alarm message includes: Air Conditioner 1 - Room 1 - Power outage. After establishing the target correspondence between the first alarm message and the second alarm message, the target correspondence includes: Server 1 - Temperature exceeds threshold, Air Conditioner 1 - Room 1 - Power outage.
[0082] Since the first alarm message may be generated by the first operating equipment due to the failure of the first service equipment that generated the second alarm message, a target correspondence relationship is established between the first alarm message and the second alarm message. That is, the first alarm message and the second alarm message are bound or associated, so that the subsequent operation and maintenance personnel can carry out fault analysis based on the target correspondence relationship.
[0083] After S103 is completed, S105 will be executed.
[0084] S104: The first electronic device establishes a target correspondence between the first alarm information and the default value.
[0085] The default value indicates that the first alarm message has no corresponding alarm message in the same data center. The default value is a predefined content, which can be a symbol with special meaning or a sentence. For example, "#", when "#" appears, it indicates that the first alarm message has no corresponding alarm message for the service device; or, the default value can be directly set to "no alarm message for the corresponding service device".
[0086] In one example, the first alarm message includes: Server 1 - Temperature exceeds threshold, the default value includes: alarm message with no corresponding service device, and the target correspondence includes: alarm message with Server 1 - Temperature exceeds threshold - no corresponding service device.
[0087] S105: The correspondence between the output targets of the first electronic device.
[0088] Optionally, the first electronic device submits the target correspondence to the work order system, and the work order system outputs the target correspondence.
[0089] The work order system is a system used to record alarm information reported by the first operating equipment and / or the first service equipment.
[0090] In step S103, the first electronic device associates the alarm information reported by service devices in each data center with the alarm information reported by operational devices in each data center. Therefore, the target mapping in each work order in the work order system includes both alarm information reported by operational devices and alarm information reported by service devices. Compared to traditional work orders that only include alarm information from operational devices, technicians can quickly identify the possible causes of problems with operational devices and perform targeted fault checks on both operational and service devices. For example, if the target mapping includes: Server 1 - Temperature exceeds threshold, Air Conditioner 1 - Data Center 1 - Power outage, technicians can check whether the temperature exceeding the threshold of Server 1 in Data Center 1 is caused by a power outage of Air Conditioner 1 in Data Center 1, without needing to check all service devices in Data Center 1. Therefore, this method saves manpower and improves fault diagnosis efficiency.
[0091] S106: The first electronic device checks whether the first service device has missed reporting alarm information based on the target correspondence.
[0092] The above target correspondence includes two cases: Case 1, the target correspondence between the first alarm information and the second alarm information, or Case 2, the target correspondence between the first alarm information and the default value.
[0093] In scenario 1, the first electronic device checks whether the first service device has missed reporting alarm information.
[0094] In one example, the first alarm message includes: Server 1 - temperature exceeds threshold; Server 1 - insufficient hard disk capacity; Switch 1 - network latency.
[0095] As can be seen from the above example, the devices that generate each alarm message in the first alarm message and the types of each alarm message are different. Some types of alarm messages are related to the service device, while some types of alarm messages are not related to the service device. Therefore, the first electronic device needs to determine whether it is related to the service device based on the type of each alarm message in the first alarm message, and determine the alarm message of the service device corresponding to each type of alarm message.
[0096] The second alarm information reported by the first service device includes at least one alarm message. However, during the reporting process, there may be instances where alarm messages are missed. Therefore, the first electronic device needs to check whether the first service device has missed any alarm messages. The specific checking steps include S106a-S106b:
[0097] S106a: Based on the type of each alarm message in the first alarm message, the first electronic device selects the alarm message of the target type from the first alarm message.
[0098] The target type of alarm information is the alarm information related to the first service device.
[0099] The target type of alarm information is the type of alarm information that is preset in the first electronic device.
[0100] In one example, target-type alarm information includes, but is not limited to, power outage shutdown, temperature exceeding a threshold, and equipment failure due to water contact.
[0101] S106b: The first electronic device determines whether the second alarm information includes alarm information associated with the target type of alarm information.
[0102] If so, it is assumed that the first service device did not miss reporting alarm information;
[0103] If not, it is assumed that the first service device has missed reporting alarm information, and the missed reporting event is recorded.
[0104] The missed alarm event is used to characterize the fact that the first service device missed reporting alarm information associated with the target type of alarm information.
[0105] The first electronic device has pre-set alarm information associated with the target type of alarm information.
[0106] In one example, the target type of alarm information is power outage shutdown, and the alarm information associated with this target type includes power interruption alarms such as power failure of the switch or power failure of the computer room.
[0107] The target type of alarm information is that the temperature exceeds the threshold, causing the device to shut down or restart. Alarm information associated with this target type includes temperature-related alarms such as excessively high data center temperature or air conditioning failure.
[0108] The alarm information for the target type is equipment failure caused by water contact. Alarm information associated with this target type includes water immersion alarms such as excessive humidity or water leakage.
[0109] In one possible implementation, the first electronic device determines the type of each alarm message in the first alarm message. If there is an alarm message of the target type, it checks whether each alarm message in the second alarm message is an alarm message associated with the alarm message of the target type in the first alarm message.
[0110] In S106a-S106b above, the first electronic device presets multiple types of alarm information, as well as alarm information of service devices related to each type of alarm information. When the first electronic device determines that for each target type of alarm information in the first alarm information, the second alarm information includes alarm information associated with that target type, it is considered that the second alarm information has no missed alarm information. When any target type of alarm information does not have a corresponding associated alarm information in the second alarm information, it is considered that the second alarm information has missed alarm information. This method requires determining that each target type of alarm information has associated alarm information in the second alarm information before considering that the second alarm information has no missed alarm information. This method is simple to implement and helps the first electronic device quickly determine and record missed alarm events.
[0111] In scenario 2, the first electronic device records the missed event.
[0112] As can be seen from scenario 1 above, the first service device missed reporting some alarm information, while in scenario 2, the first service device did not report any alarm information. The first electronic device can use the above method to promptly obtain information on either of these scenarios—the first service device missing some alarm information or failing to report alarm information—so as to record the missed events in a timely manner.
[0113] In one possible implementation, the missed alarm detection system of the first electronic device checks whether the first service device has missed alarm information based on the target correspondence in the work order system. The missed alarm event in situation 1 or situation 2 above can be recorded in the work order system in S105.
[0114] At this time, the first electronic device can also output possible alarm content from the alarm information that the first service device failed to report in the work order system.
[0115] In one example, such as Figure 3 As shown, Figure 3 This diagram illustrates the work order system for scenario 1. Figure 3 The target correspondence includes: the first alarm information includes two alarms: Server 1 - Temperature exceeds threshold, Switch 1 - Power outage and shutdown; the second alarm information includes one alarm: Air Conditioner 1 - Room 1 - Power outage. Specifically, the alarm "Server 1 - Temperature exceeds threshold" in the first alarm information is associated with the alarm "Air Conditioner 1 - Room 1 - Power outage" in the second alarm information, while the alarm "Switch 1 - Power outage and shutdown" in the first alarm information has no associated second alarm information. Figure 3The target correspondence in scenario 1 shows that there are missed events.
[0116] In another example, such as Figure 4 As shown, Figure 4 This diagram illustrates the work order system for scenario 2. Figure 4 The target correspondence includes: First alarm information: Server 1 - temperature exceeds threshold, Switch 1 - power failure and shutdown; Second alarm information: alarm information for no corresponding service device (default value). Figure 4 The display does not show the second alarm information, i.e., the target correspondence between the first alarm information and the default value. Figure 4 The target correspondence in scenario 2 shows that there are missed events.
[0117] The foregoing primarily describes the solutions provided by the embodiments of this application from a methodological perspective. To achieve the aforementioned functions, it includes corresponding hardware structures and / or software modules for executing each function. Those skilled in the art should readily recognize that, in conjunction with the units and algorithm steps of the various examples described in the embodiments disclosed herein, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed in hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0118] This application also provides an electronic device. As described above. Figure 2 The first electronic device in the system. For example... Figure 5 The diagram shown is a structural schematic of an electronic device 200 provided in an embodiment of this application.
[0119] The electronic device 200 includes: a receiving unit 201, used to receive a first alarm message and a second alarm message; wherein the first alarm message is an alarm message reported by a first operating device; and the second alarm message is an alarm message reported by a first service device; a processing unit 202, used to establish a target correspondence between the first alarm message and the second alarm message when the first operating device and the first service device are located in the same computer room; and an output unit 203, used to output the target correspondence.
[0120] Optionally, the first alarm information includes the identifier of the first operating device, and the second alarm information includes the identifier of the data center where the first service device is located and the identifier of the first service device; the processing unit 202 is specifically used to, based on the identifier of the first operating device, find the identifier of the data center where the first operating device is located from the correspondence between the identifier of the operating device and the identifier of the data center; when the identifier of the data center where the first operating device is located is the same as the identifier of the data center where the first service device is located, establish a target correspondence between the first alarm information and the second alarm information.
[0121] Optionally, the output unit 203 is specifically used to submit the target correspondence to the work order system; the work order system is a system used to record alarm information reported by the first operating equipment.
[0122] Optionally, the processing unit 202 is further configured to select alarm information of a target type from the first alarm information based on the type of each alarm information in the first alarm information; wherein the alarm information of the target type is alarm information related to the first service device. When it is determined that the second alarm information does not include alarm information associated with the alarm information of the target type, a missed alarm event is recorded; wherein the missed alarm event is used to indicate that the first service device has missed alarm information associated with the alarm information of the target type.
[0123] Optionally, the processing unit 202 is also used to establish a target correspondence between the first alarm information and the default value when the first operating equipment and the first service equipment are not located in the same computer room; and to record the missed alarm event.
[0124] Optionally, the first service equipment is equipment provided by a third-party company for providing services to the first operating equipment.
[0125] Of course, the electronic device 200 provided in this application embodiment includes, but is not limited to, the above-described modules.
[0126] Figure 6 This is a schematic diagram of the structure of the electronic device 300 provided in the embodiments of this application, as described above. Figure 2 The first electronic device in the system. For example... Figure 6 As shown, the electronic device 300 includes a processor 301, a memory 302, and a network interface 303.
[0127] The processor 301 includes one or more CPUs. The CPU can be a single-core CPU or a multi-core CPU.
[0128] The memory 302 includes, but is not limited to, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), flash memory, or optical memory.
[0129] Optionally, the processor 301 implements the alarm management method provided in this application embodiment by reading instructions stored in the memory 302, or the processor 301 implements the alarm management method provided in this application embodiment by internally stored instructions. When the processor 301 implements the method in the above embodiments by reading instructions stored in the memory 302, the memory 302 stores instructions for implementing the alarm management method provided in this application embodiment.
[0130] Network interface 303 is a type of device that includes a transmitter and a receiver for communicating with other devices or communication networks. It can be a wired interface (port), such as a fiber distributed data interface (FDDI) or a gigabit Ethernet interface (GE). Alternatively, network interface 303 can be a wireless interface. It should be understood that network interface 303 includes multiple physical ports and is used for communication, etc.
[0131] Optionally, the electronic device 300 also includes a bus 304, through which the processor 301, memory 302, and network interface 303 are typically interconnected or interconnected in other ways.
[0132] In actual implementation, the aforementioned receiving unit 201, processing unit 202, and output unit 203 can be implemented by the processor calling computer program code in memory. The specific execution process can be found in the description of the method section above, and will not be repeated here.
[0133] Another embodiment of this application provides an electronic device including a memory and a processor. The memory and the processor are coupled; the memory stores computer program code, which includes computer instructions. When the processor executes the computer instructions, the electronic device performs the steps of the alarm management method shown in the above-described method embodiments.
[0134] Another embodiment of this application provides a computer-readable storage medium storing computer instructions that, when executed on an electronic device, cause the electronic device to perform each step of the alarm management method flow shown in the above method embodiment.
[0135] Another embodiment of this application provides a chip system applied to an electronic device. The chip system includes one or more interface circuits and one or more processors. The interface circuits and processors are interconnected via lines. The interface circuits are used to receive signals from the electronic device's memory and send signals to the processor, the signals including computer instructions stored in the memory. When the electronic device's processor executes the computer instructions, the electronic device performs each step of the alarm management method flow shown in the above method embodiment.
[0136] In another embodiment of this application, a computer program product is also provided, which includes computer instructions that, when executed on an electronic device, cause the electronic device to perform each step of the alarm management method flow shown in the above method embodiment.
[0137] The above embodiments can be implemented, in whole or in part, by software, hardware, firmware, or any combination thereof. When implemented using software programs, the above embodiments can be implemented, in whole or in part, as a computer program product. This computer program product includes one or more computer instructions. When these computer instructions are loaded and executed on a computer, all or part of the flow or function according to the embodiments of this application is generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, a server, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, computer instructions can be transmitted from one website, computer, server, or data center to another via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium accessible to a computer or a data storage device containing one or more servers, data centers, etc., that can be integrated with the medium. The available media can be magnetic media (e.g., floppy disks, hard disks, magnetic tapes), optical media (e.g., DVDs), or semiconductor media (e.g., solid-state disks, SSDs).
[0138] The above description is merely a specific embodiment of this application. Any variations or substitutions conceived by those skilled in the art based on the specific embodiments provided in this application should be covered within the protection scope of this application.
Claims
1. An alarm management method, characterized in that, Applied to electronic devices, the method includes: Receive a first alarm message and a second alarm message; wherein the first alarm message is an alarm message reported by a first operating device; and the second alarm message is an alarm message reported by a first service device. When the first operating equipment and the first service equipment are located in the same computer room, a target correspondence relationship is established between the first alarm information and the second alarm information; Output the target correspondence; The method further includes: Based on the type of each alarm message in the first alarm message, alarm messages of a target type are selected from the first alarm message; wherein, the alarm messages of the target type are alarm messages related to the first service device; When it is determined that the second alarm information does not include alarm information associated with the target type, a missed alarm event is recorded; wherein, the missed alarm event is used to indicate that the first service device has missed alarm information associated with the target type.
2. The method according to claim 1, characterized in that, The first alarm information includes the identifier of the first operating device, and the second alarm information includes the identifier of the computer room where the first service device is located and the identifier of the first service device. When the first operating device and the first service device are located in the same data center, a target correspondence relationship is established between the first alarm information and the second alarm information, including: Based on the identifier of the first operating device, the identifier of the computer room where the first operating device is located is found from the correspondence between the identifier of the operating device and the identifier of the computer room; When the identifier of the computer room where the first operating equipment is located is the same as the identifier of the computer room where the first service equipment is located, a target correspondence relationship is established between the first alarm information and the second alarm information.
3. The method according to claim 1 or 2, characterized in that, The output of the target correspondence includes: The target correspondence is submitted to the work order system; the work order system is a system used to record alarm information reported by the first operating equipment.
4. The method according to claim 1 or 2, characterized in that, The method further includes: When the first operating equipment and the first service equipment are not located in the same data center, a target correspondence relationship is established between the first alarm information and the default value. Record missed events.
5. The method according to claim 1 or 2, characterized in that, The first service device is a device provided by a third-party company for providing services to the first operating device.
6. An electronic device, characterized in that, include: A receiving unit is configured to receive a first alarm message and a second alarm message; wherein the first alarm message is an alarm message reported by a first operating device; and the second alarm message is an alarm message reported by a first service device. The processing unit is configured to establish a target correspondence between the first alarm information and the second alarm information when the first operating equipment and the first service equipment are located in the same computer room; The output unit is used to output the target correspondence. The output unit is further configured to select alarm information of a target type from the first alarm information based on the type of each alarm information in the first alarm information; wherein the alarm information of the target type is alarm information related to the first service device; when it is determined that the second alarm information does not include alarm information associated with the alarm information of the target type, a missed alarm event is recorded; wherein the missed alarm event is used to indicate that the first service device has missed alarm information associated with the alarm information of the target type.
7. An electronic device, characterized in that, The device includes a memory and a processor; the memory and the processor are coupled; the memory is used to store computer program code, the computer program code including computer instructions; wherein, when the processor executes the computer instructions, the electronic device performs the alarm management method as described in any one of claims 1-5.
8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions; wherein, when the computer instructions are executed on the electronic device, the electronic device causes the electronic device to perform the alarm management method as described in any one of claims 1-5.
Citation Information
Patent Citations
Method for achieving alert correlation and network fault diagnosis based on alert data
CN106789347A
Alarm message processing method and device, storage medium and electronic equipment
CN111930587A