[go: up one dir, main page]

CN108932183B - Method and device for processing alarm - Google Patents

Method and device for processing alarm Download PDF

Info

Publication number
CN108932183B
CN108932183B CN201710372495.4A CN201710372495A CN108932183B CN 108932183 B CN108932183 B CN 108932183B CN 201710372495 A CN201710372495 A CN 201710372495A CN 108932183 B CN108932183 B CN 108932183B
Authority
CN
China
Prior art keywords
alarm
state
objects
management device
processing device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710372495.4A
Other languages
Chinese (zh)
Other versions
CN108932183A (en
Inventor
陈均华
张鹏
高勇
李臣波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201710372495.4A priority Critical patent/CN108932183B/en
Publication of CN108932183A publication Critical patent/CN108932183A/en
Application granted granted Critical
Publication of CN108932183B publication Critical patent/CN108932183B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3034Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a storage system, e.g. DASD based or network based
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3058Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0653Monitoring storage devices or systems
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/067Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Human Computer Interaction (AREA)
  • Quality & Reliability (AREA)
  • Mathematical Physics (AREA)
  • Alarm Systems (AREA)
  • Debugging And Monitoring (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本申请提供了一种处理告警的方法和装置,该方法包括:告警处理装置确定该告警处理装置管理的至少一个对象中每个对象的实际状态,以及确定该至少一个对象中每个对象在告警管理装置处呈现的状态;该告警处理装置将该至少一个对象中实际状态与在该告警管理装置处呈现的状态不一致的对象确定为目标对象;该告警处理装置向该告警管理装置上报该目标对象的实际状态。本申请提供的处理告警的方法和装置,能够提高主节点处对象呈现的状态的准确性,从而提高系统的整体性能,降低系统的维护成本。

Figure 201710372495

The present application provides a method and apparatus for processing an alarm. The method includes: the alarm processing apparatus determines the actual state of each object in at least one object managed by the alarm processing apparatus, and determines that each object in the at least one object is in alarm The state presented at the management device; the alarm processing device determines an object whose actual state in the at least one object is inconsistent with the state presented at the alarm management device as a target object; the alarm processing device reports the target object to the alarm management device actual status. The method and device for processing an alarm provided by the present application can improve the accuracy of the state presented by the object at the master node, thereby improving the overall performance of the system and reducing the maintenance cost of the system.

Figure 201710372495

Description

Method and device for processing alarm
Technical Field
The present application relates to the field of computers, and more particularly, to a method and apparatus for processing alarms in the field of computers.
Background
At present, hardware equipment of a large-scale cluster storage system is fewer than dozens of hardware equipment and more than hundreds of hardware equipment, a user cannot check the system equipment one by one, and the whole storage system is generally monitored in a unified monitoring mode. The current mainstream storage system supports the function of reporting the state of an object, the state of the object is an alarm state or a recovery state, and usually, multi-level cache reporting is adopted, that is, after receiving the state of the object sent by a reporter, a cluster node firstly performs first-level caching, then sends the states of the objects reported by all the reporters to a forwarding queue for second-level caching, and uniformly forwards the states to a cluster main node for third-level caching, and after processing the state of the object in the third-level caching, the cluster main node puts into fourth-level caching, and periodically writes a disk for persistence.
The existing multi-level caching method is adopted to report the state of the object, and the problem of object state loss exists in some scenes. For example, since the speed of writing the disk by the node is slow, the state of the object is not a synchronous disk in each level of cache, and the data cached in the memory is lost after the node is restarted, the reset of the node may cause the state of the object in the node to be lost. For another example, for the same object, when the node a reports the alarm of the object first and the node B reports the recovery of the object later, the reported recovery of the object may reach the master node before the alarm, because the master node cannot find the alarm of the object when receiving the reported recovery, the master node may discard the reported alarm recovery of the object, and when receiving the reported alarm subsequently, the master node finds that the object is in the recovery state again, so that the out-of-order alarm among the nodes may also cause the state of the object in the node to be lost.
The state of the object is lost, which causes the accuracy of the state of the object stored in the master node to be low, resulting in poor overall performance of the system.
Disclosure of Invention
The application provides a method and a device for processing alarm, which can improve the accuracy of the state presented by an object at a main node, thereby improving the overall performance of a system and reducing the maintenance cost of the system.
In a first aspect, the present application provides a method for processing an alarm, including:
the alarm processing device determines the actual state of each object in at least one object managed by the alarm processing device and determines the state of each object in the at least one object presented at the alarm management device of the master node;
the alarm processing device determines an object of the at least one object, the actual state of which is inconsistent with the state presented at the alarm management device, as a target object;
the alarm processing device reports the actual state of the target object to the alarm management device.
In the method for processing an alarm provided by the embodiment of the application, the actual state of each object in at least one object managed by the alarm processing device and the state of each object presented at the alarm management device are determined by the alarm processing device, the object whose actual state is inconsistent with the state presented at the alarm management device in the at least one object is determined as the target object, and the actual state of the target object is reported to the alarm management device, so that the accuracy of the state presented by the object at the master node can be improved, the overall performance of the system is improved, and the maintenance cost of the system is reduced.
It is to be understood that the actual state of each object in the at least one object managed by the alarm handling means may be understood as the actual state of each object determined at the current time, and the state of each object presented at the alarm management means of the master node may be understood as the actual state of each object determined at the historical time stored at the alarm management means of the master node. The historical time is earlier than the current time, and the historical time may be a storage time with the shortest interval time from the current time.
It is also to be understood that the alarm handling device determines as target objects of the at least one object whose actual state does not correspond to the state presented at the alarm management device, it being understood that the alarm handling device determines as target objects of the at least one object whose actual state does not correspond to the state presented at the alarm management device when determining the actual state of each of the at least one object.
Optionally, the alarm processing device and the alarm management device in this embodiment may be located in the same node, that is, the alarm processing device is also located in the master node, or the alarm processing device and the alarm management device may be located in different nodes, that is, the alarm management device is located in the master node, and the alarm processing device is located in a child node of the master node, which is not limited in this embodiment.
In one possible implementation, the method for determining a status of each object of the at least one object presented at the alarm management device includes: the alarm processing device receives first indication information sent by an alarm distribution device, wherein the first indication information is used for indicating M objects which are reported by the alarm processing device and are in an alarm state at the alarm management device, and M is an integer greater than 0.
Optionally, the first indication information may include an identification of each of the M objects.
In another possible implementation manner, the determining, by the alert processing apparatus, an object of the at least one object whose actual state is inconsistent with the state presented at the alert management apparatus as a target object includes: if the actual state of a first object in the at least one object is a recovery state, but the state of the first object presented at the alarm management device is an alarm state, the alarm processing device determines the first object as the target object.
It should be understood that the actual state of the object may be an alarm state, a normal state, or a recovery state.
If the actual state of the first object is the recovery state, but the state of the first object presented at the alarm management device is the alarm state, the master node always prompts the alarm of the first object, and when a maintenance person maintains the first object, the first object is actually in the recovery state, which results in the waste of maintenance cost.
In yet another possible implementation, the determining, by the alert processing apparatus, an object of the at least one object whose actual state is inconsistent with the state presented at the alert management apparatus as a target object includes: if the actual state of a second object in the at least one object is an alarm state, but the state of the second object presented at the alarm management device is not an alarm state, the alarm processing device determines the second object as the target object.
It should be understood that the state that the second object assumes at the alarm management device is not an alarm state may be understood as the state that the second object assumes at the alarm management device is either a normal state or a recovery state.
If the actual state of the second object is an alarm state, but the state of the second object presented at the alarm management device is a recovery state or a normal state, the maintenance personnel may consider that the second object does not need to be maintained, but the second object is actually an alarm, which affects the performance of the system operation.
In yet another possible implementation, the determining, by the alert processing apparatus, an actual state of each object of at least one object managed by the alert processing apparatus includes: the alarm processing device acquires the working state of each object in the at least one object; the alarm processing device determines the actual state of each object according to a preset rule and the working state of each object, wherein the preset rule comprises the condition that the working state of each object is in an alarm state and the condition that the working state of each object is in a recovery state.
It should be understood that in the embodiment of the present application, the operating state of the object may be understood as an operating state value of the object, for example, the object is a disk temperature, the operating state value of the disk temperature is 80 degrees, and for example, the object is a fan speed, and the operating state value of the fan speed is 500 rpm.
It should also be understood that the preset rule includes an alarm condition that the operating state value of the object reaches the alarm state and a recovery condition that the operating state value of the object reaches the recovery state, that is, if the operating state value of the object satisfies the alarm condition, the actual state of the object is the alarm state, and if the operating state value of the object satisfies the recovery condition, the actual state of the object is the recovery state.
In the embodiment of the application, the actual state of the object is divided into an alarm state, a normal state or a recovery state, so that the jitter of the actual state of the object caused by slight fluctuation of the working state of the object can be prevented.
In a second aspect, the present application provides a method for processing an alarm, including:
the alarm management device determines N objects which are presented in an alarm state at the alarm management device, wherein N is an integer greater than 0;
the alarm management device sends second indication information to the alarm distribution device, wherein the second indication information is used for indicating the N objects.
In a possible implementation manner, the method for processing an alarm further includes: the alarm management device receives the actual state of the target object reported by the alarm distribution device according to the second indication information, wherein the target object is an object of which the actual state is inconsistent with the state presented at the alarm management device in at least one object managed by the alarm distribution device.
The method for processing the alarm provided by the embodiment of the application can improve the accuracy of the state presented by the object at the main node, thereby improving the overall performance of the system and reducing the maintenance cost of the system.
In another possible implementation, the method for determining the N objects presented as the alarm state at the alarm management device includes: the alarm management device determines the N objects based on the priorities of all objects that are presented as alarm states at the alarm management device.
Optionally, the alarm management device may use all the objects that are presented in the alarm state at the alarm management device as the N objects, or the alarm management device may use the first N objects with the highest priority among all the objects that are presented in the alarm state at the alarm management device as the N objects, which is not limited in this embodiment of the present application.
In yet another possible implementation manner, the sending, by the alarm management apparatus, second indication information to the alarm distribution apparatus managed by the alarm management apparatus includes: the alarm management device broadcasts the second indication information.
According to the method for processing the alarm, the alarm management device broadcasts the second indication information, so that the message overhead can be reduced, and the processing efficiency of the system can be improved.
In a third aspect, the present application provides a method for processing an alarm, including:
the alarm distribution device receives second indication information sent by an alarm management device of the master node, wherein the second indication information is used for indicating N objects in an alarm state at the alarm management device, and N is an integer greater than 0;
the alarm distribution device determines M objects which are reported by a first alarm processing device in at least one alarm processing device managed by the alarm distribution device and present as an alarm state at the alarm management device according to the N objects, wherein M is an integer larger than 0 and is smaller than or equal to N;
the alarm distribution device sends first indication information to the first alarm processing device, wherein the first indication information is used for indicating the M objects.
In one possible implementation, the method further includes: the alarm distribution device receives the actual state of the target object reported by the first alarm processing device according to the first indication information, wherein the target object is an object of which the actual state is inconsistent with the state presented at the alarm management device in at least one object managed by the first alarm processing device.
The method for processing the alarm provided by the embodiment of the application can improve the accuracy of the state presented by the object at the main node, thereby improving the overall performance of the system and reducing the maintenance cost of the system.
In another possible implementation manner, the determining, by the alarm distribution device, M objects that are reported by a first alarm processing device of at least one alarm processing device managed by the alarm distribution device and are in an alarm state at the alarm management device according to the N objects by the alarm distribution device includes: the alarm distribution device determines the M objects according to a preset mapping relation and the N objects, wherein the mapping relation comprises a corresponding relation between the N objects and an alarm processing device for managing each object in the N objects.
In a fourth aspect, the present application provides an apparatus for processing an alert, configured to perform the method in the first aspect or any possible implementation manner of the first aspect.
In a fifth aspect, the present application provides an apparatus for processing an alert, configured to perform the method of the second aspect or any possible implementation manner of the second aspect.
In a sixth aspect, the present application provides an apparatus for processing an alert, configured to perform the method in the third aspect or any possible implementation manner of the third aspect.
In a seventh aspect, the present application provides an apparatus for processing an alert, the apparatus comprising: memory, processor, transceiver and computer program stored on the memory and executable on the processor, characterized in that the processor executes the computer program to perform the method of the first aspect or any possible implementation manner of the first aspect.
In an eighth aspect, the present application provides an apparatus for processing an alert, the apparatus comprising: memory, processor, transceiver and computer program stored on the memory and executable on the processor, characterized in that the processor executes the computer program to perform the method of the second aspect or any possible implementation of the second aspect.
In a ninth aspect, the present application provides an apparatus for processing an alert, the apparatus comprising: memory, processor, transceiver and computer program stored on the memory and executable on the processor, characterized in that the processor, when executing the computer program, performs the method of the third aspect or any possible implementation manner of the third aspect.
In a tenth aspect, the present application provides a computer program product comprising instructions which, when run on a computer, cause the computer to perform the method of the first aspect or any possible implementation manner of the first aspect.
In an eleventh aspect, the present application provides a computer program product comprising instructions which, when run on a computer, cause the computer to perform the method of the second aspect or any possible implementation of the second aspect.
In a twelfth aspect, the present application provides a computer program product comprising instructions that, when run on a computer, cause the computer to perform the method of the third aspect or any possible implementation of the third aspect.
In a thirteenth aspect, the present application provides a computer-readable medium for storing a computer program comprising instructions for performing the method of the first aspect or any possible implementation manner of the first aspect.
In a fourteenth aspect, the present application provides a computer readable medium for storing a computer program comprising instructions for performing the method of the second aspect or any possible implementation of the second aspect.
In a fifteenth aspect, the present application provides a computer readable medium for storing a computer program comprising instructions for carrying out the method of the third aspect or any possible implementation form of the third aspect.
Drawings
Fig. 1 is a schematic structural diagram of an alarm processing system according to an embodiment of the present application;
FIG. 2 is a schematic flow chart diagram of a method for processing an alarm provided by an embodiment of the present application;
FIG. 3 is a schematic flow chart diagram of another method for processing alarms provided by an embodiment of the present application;
FIG. 4 is a schematic block diagram of an apparatus for processing alarms provided by an embodiment of the present application;
FIG. 5 is a schematic block diagram of another apparatus for processing alarms provided by an embodiment of the present application;
FIG. 6 is a schematic block diagram of another apparatus for processing alarms provided by an embodiment of the present application;
FIG. 7 is a schematic block diagram of another apparatus for processing alarms provided by an embodiment of the present application;
FIG. 8 is a schematic block diagram of yet another apparatus for processing alarms provided by an embodiment of the present application;
FIG. 9 is a schematic block diagram of another apparatus for processing an alert provided by an embodiment of the present application.
Detailed Description
The technical solution in the present application will be described below with reference to the accompanying drawings.
Fig. 1 shows an architecture diagram of an alarm processing system provided in an embodiment of the present application. The alarm processing system comprises
At least one node (e.g., node 111 shown in fig. 1), each of the at least one node comprising an alarm distribution apparatus and at least one alarm processing apparatus (e.g., node 111 shown in fig. 1 comprises alarm distribution apparatus 131 and alarm processing apparatus 141).
It should be understood that any node of the at least one node may act as a master node of the at least one node, and as a master node, may further comprise an alarm management means for counting and managing alarms in the at least one node (including the master node).
Alternatively, the alarm distribution device and the alarm management device located in the same node may be two independent devices or may be integrated into one device, which is not limited in this embodiment of the present application.
Optionally, if the at least one node is a plurality of nodes, nodes other than the master node in the plurality of nodes may be child nodes of the master node.
For example, as shown in fig. 1, the node 111 includes an alarm management apparatus 121, an alarm distribution apparatus 131, and an alarm processing apparatus 141, and the node 111 may serve as a master node in the at least one node. The node 112 comprises the alarm distribution means 142 and the alarm processing means 152, and the node 112 may be a child node in the at least one node.
Optionally, the alarm distribution device may be a software service running on the node, or a functional module on the node, or a device integrated in the node and having an independent processing function, which is not limited in this embodiment of the present application.
Optionally, the alarm processing apparatus may be a software service running on the node, or a functional module on the node, or an apparatus with an independent processing function integrated in the node, which is not limited in this embodiment of the present application.
The alarm distribution device is used for receiving N objects which are sent by the alarm management device in the main node and present in an alarm state at the main node, and distributing the N objects to at least one alarm processing device managed by the alarm distribution device.
Optionally, the alarm distribution device may distribute the N objects to the at least one alarm processing device according to a preset mapping relationship between the N objects and the preset mapping relationship, where the mapping relationship is used to indicate a correspondence between each object in the N objects and the alarm processing device that reports an alarm of the object.
Optionally, each alarm processing device is responsible for monitoring an operating state of each object in at least one object managed by each alarm processing device, and reporting an alarm of each object when the operating state of each object satisfies an alarm condition and/or reporting an alarm recovery of each object when the operating state of each object satisfies a recovery condition, where an object may be understood as an object where an alarm occurs, for example, a disk temperature, a disk humidity, and a fan rotation speed, at least one object that each alarm processing device is responsible for managing may be an object of the same type, for example, the alarm processing device 1 may be responsible for managing a disk 0 temperature and a disk 1 temperature, and the alarm processing device 2 may be responsible for managing a fan 0 rotation speed and a fan 1 rotation speed, and the embodiments of the present application are not limited thereto.
For example, as shown in fig. 1, the alarm processing device 141 of the master node 111 is responsible for managing the object 151, and the alarm processing device 142 of the child node 112 is responsible for managing the object 152, alternatively, the object 151 may be a common object of two nodes, and may be managed by the alarm processing device 141 or the alarm processing device 151, which is not limited in this embodiment of the present application.
Optionally, each alarm processing device may be further responsible for determining objects of which the actual states of at least one object managed by each alarm processing device are inconsistent with the states of each object presented at the alarm management device of the master node, and reporting the actual states of the inconsistent objects to the alarm management device.
It is to be understood that the actual state of each object in the at least one object managed by the alarm handling means may be understood as the actual state of each object determined at the current time, and the state of each object presented at the alarm management means of the master node may be understood as the actual state of each object determined at the historical time stored at the alarm management means of the master node. The historical time is earlier than the current time, and the historical time may be a storage time with the shortest interval time from the current time.
It is also to be understood that the alarm handling device determines as target objects of the at least one object whose actual state does not correspond to the state presented at the alarm management device, it being understood that the alarm handling device determines as target objects of the at least one object whose actual state does not correspond to the state presented at the alarm management device when determining the actual state of each of the at least one object.
In the method for processing an alarm provided by the embodiment of the application, an alarm processing device determines an actual state of each object in at least one object managed by the alarm processing device, and determines a state of each object in the at least one object presented at the alarm management device; the alarm processing device determines an object of the at least one object, the actual state of which is inconsistent with the state presented at the alarm management device, as a target object; the alarm processing device reports the actual state of the target object to the alarm management device, so that the performance of the system can be improved, and the maintenance cost is saved.
Fig. 2 shows a schematic flow chart of a method 200 for processing an alarm provided by the embodiment of the present application. The method 200 may be applied to an alarm processing system as described in fig. 1.
S210, the alarm management device determines N objects which are presented in an alarm state at the alarm management device, wherein N is an integer greater than 0.
It is to be understood that the alarm management means of the master node is responsible for managing the alarm distribution means of each of the at least one node (including the master node), the distribution means is responsible for managing the at least one alarm handling means of the node where the distribution means is located, and the alarm handling means is responsible for managing at least one object of the same type in the node.
Alternatively, in S210, the alarm management device may determine the N objects according to the states of the objects included in each of all the nodes, which are presented at the alarm management device.
As an alternative embodiment, the alarm management device may select the N objects that are presented as alarm states at the alarm management device from the objects included in each of the all nodes.
As another alternative embodiment, the alarm management device may also select the N objects with the highest priority among all the objects presented as the alarm state at the alarm management device according to the priorities of all the objects presented as the alarm state at the alarm management device.
S220, the alarm management device sends first indication information to the alarm distribution device, wherein the first indication information is used for indicating the N objects. Correspondingly, the alarm distribution device receives the first indication information and determines the N objects according to the first indication information.
It should be understood that the alarm management device may manage at least one alarm distribution device, the alarm distribution device may be located at the same node as the alarm management device, for example, the alarm distribution device and the alarm management device are both located at the master node, or the alarm distribution device may be located at a different node from the alarm management device, for example, the alarm distribution device is located at a child node and the alarm management device is located at the master node, which is not limited in this embodiment of the present application.
Optionally, in S220, the alarm management apparatus may send the first indication information to at least one alarm distribution apparatus managed by the alarm management apparatus in a broadcast, multicast or unicast manner, which is not limited in this embodiment of the present application.
Optionally, the first indication information may include indication information of each object in the N objects, and the indication information of each object may be, for example, an identifier of each object, which is not limited in this embodiment of the application.
Alternatively, the alarm management device may periodically send the first indication information to at least one alarm distribution device managed by the alarm management device, or may trigger sending of the first indication information to the at least one alarm distribution device. For example, the alarm management device may send the first indication information according to a sending period pre-configured with the at least one alarm distribution device, or the alarm management device may send the first indication information according to a triggering event, where the triggering event may be, for example, receiving an alarm processing request message, which is not limited in this embodiment of the present application.
And S230, the alarm distribution device determines M objects which are reported by a first alarm processing device in at least one alarm processing device managed by the alarm distribution device and present as an alarm state at the alarm management device according to the N objects, wherein M is an integer greater than 0 and is less than or equal to N.
Optionally, the alarm distribution device may determine the M objects according to the N objects and a preset mapping relationship, where the mapping relationship includes a correspondence relationship between the N objects and an alarm processing device that manages each object of the N objects.
Optionally, the mapping relationship may be in the form of a graph, a table, an index, and the like, which is not limited in this embodiment of the application.
S240, the alarm distributing device sends second indication information to the first alarm processing device, wherein the second indication information is used for indicating the M objects. Accordingly, the first alarm processing device determines that the state that the M objects in the at least one object managed by the first alarm processing device present at the alarm management device is an alarm state.
Optionally, the second indication information may include indication information of each object in the M objects, and the indication information of each object may be, for example, an identifier of each object, which is not limited in this embodiment of the application.
Optionally, the first alarm processing device may determine the M objects according to the second indication information sent by the alarm distribution device, or the first alarm processing device may determine all objects in an alarm state reported by the first alarm processing device within a preset time period as the M objects, which is not limited in this embodiment of the present application.
It should be understood that the first alarm processing device manages at least one object, and the first alarm processing device may determine, according to the second indication information sent by the alarm distribution device, that the states of the M objects in the at least one object presented at the alarm management device are alarm states, and thus may determine that the states of the objects other than the M objects in the at least one object presented at the alarm management device are not alarm states.
S250, the first alarm processing device determines the actual state of each object in at least one object managed by the first alarm processing device.
It is to be understood that the actual state of each object in the at least one object managed by the alarm handling means may be understood as the actual state of each object determined at the current time, and the state of each object presented at the alarm management means of the master node may be understood as the actual state of each object determined at the historical time stored at the alarm management means of the master node. The historical time is earlier than the current time, and the historical time may be a storage time with the shortest interval time from the current time.
It is also to be understood that the alarm handling device determines as target objects of the at least one object whose actual state does not correspond to the state presented at the alarm management device, it being understood that the alarm handling device determines as target objects of the at least one object whose actual state does not correspond to the state presented at the alarm management device when determining the actual state of each of the at least one object.
Optionally, the first alarm processing apparatus may obtain a working state of each object in the at least one object, and determine an actual state of each object according to a preset rule and the working state of each object, where the preset rule includes a condition that the working state of each object is in an alarm state and a condition that the working state of each object is in a recovery state.
It should be understood that in the embodiment of the present application, the operating state of the object may be understood as an operating state value of the object, for example, the object is a disk temperature, the operating state value of the disk temperature is 80 degrees, and for example, the object is a fan speed, and the operating state value of the fan speed is 500 rpm.
It should also be understood that the preset rule includes an alarm condition that the operating state value of the object reaches the alarm state and a recovery condition that the operating state value of the object reaches the recovery state, that is, if the operating state value of the object satisfies the alarm condition, the actual state of the object is the alarm state, and if the operating state value of the object satisfies the recovery condition, the actual state of the object is the recovery state.
As an alternative embodiment, the actual state of the object may be an alarm state or a recovery state.
For example, the at least one object managed by the first alarm processing device is a disc 1 temperature, a disc 2 temperature, and a disc 3 temperature, and the operating state of each object in the at least one object is a disc 1 temperature of 45 degrees, a disc 2 temperature of 14 degrees, and a disc 3 temperature of 70 degrees. If the preset rule is that the disk temperature is greater than 60 degrees, an alarm is reported, the disk temperature is less than 20 degrees, and recovery is reported, the first alarm processing device may determine that the actual state of the disk 2 is the recovery state, and the actual state of the disk 3 is the alarm state.
As another alternative embodiment, the actual state of the object may be an alarm state, a normal state, or a recovery state.
For example, in the above example, the first warning processing means may determine that the actual state of the disc 1 is the normal state.
In the embodiment of the application, the actual state of the object is divided into an alarm state, a normal state or a recovery state, so that the actual state of the object can be prevented from shaking due to slight fluctuation of the working state of the object.
S260, the first alarm processing device determines an object of the at least one object whose actual state is inconsistent with the state presented at the alarm management device as a target object.
S270, the first alarm processing device reports the actual state of the target object to the alarm management device.
As an alternative embodiment, if the actual state of a first object of the at least one object is the recovery state, but the state of the first object presented at the alarm management device is the alarm state, the first alarm processing device determines the first object as the target object.
For example, if the preset rule is that the temperature of the disk is greater than 60 ℃, an alarm is reported; and reporting recovery when the temperature of the disk is less than 20 ℃. If the state that the temperature of the disc 1 assumes at the alarm management means is an alarm state, i.e., the temperature of the disc 1 is greater than 60 degrees, the first alarm processing means may determine the temperature of the disc 1 as the target object when the first alarm processing means determines that the actual state of the temperature of the disc 1 is a recovery state, i.e., the operating state of the temperature of the disc 1 is less than 20 degrees.
In addition, the first alarm processing apparatus may report the temperature recovery of the disk 1 to the alarm management apparatus.
As another alternative embodiment, if the actual state of a second object of the at least one object is an alarm state, but the state that the second object presents at the alarm management device is not an alarm state, the first alarm processing device determines the second object as the target object.
For example, if the preset rule is that the temperature of the disk is greater than 60 ℃, an alarm is reported; and reporting recovery when the temperature of the disk is less than 20 ℃. If the state that the temperature of the disk 2 assumes at the alarm management means is not an alarm state (i.e., is a recovery state or a normal state), i.e., the temperature of the disk 2 is less than or equal to 60 degrees, when the first alarm processing means determines that the actual state of the temperature of the disk 2 is an alarm state, i.e., the operating state of the temperature of the disk 2 is greater than 60 degrees, the first alarm processing means determines the temperature of the disk 2 as a target object.
In addition, the first alarm processing device may report a disc 2 temperature alarm to the alarm management device.
Optionally, the first alarm processing device may report the actual state of the target object according to an existing multi-level cache manner, that is, report the actual state of the target object to the alarm management device through the alarm distribution device, or the first alarm processing device may directly report the actual state of the target object to the alarm management device, which is not limited in this embodiment of the present application.
According to the method for processing the alarm provided by the embodiment of the application, the alarm processing device can report the object with the actual state inconsistent with the state presented at the alarm management device in the at least one object managed by the alarm processing device to the alarm management device, the state of the object at the alarm management device can be updated in time, the accuracy of the actual state of the object at the main node is improved, the overall performance of the system is improved, and the maintenance cost of the system is reduced.
Fig. 3 shows a schematic flow chart of a method 300 for processing an alarm provided by the embodiment of the present application, and the method 300 can be applied to an alarm processing system shown in fig. 1.
S310, the alarm management device generates a first alarm list, wherein the first alarm list is used for indicating N objects which are in an alarm state at the alarm management device, and N is an integer larger than 0.
Optionally, the alarm management apparatus may obtain an alarm state table stored in a master node where the alarm management apparatus is located, where the alarm state table is used to indicate states of all objects presented at the alarm management apparatus, and generate the first alarm list according to the alarm state table.
For example, the alarm state table may be as shown in table 1 below:
TABLE 1
Figure BDA0001303119680000091
Here, the ID 001 target is the disc 1 temperature, the ID 002 target is the disc 2 temperature, the ID 003 target is the disc 1 humidity, the ID 004 target is the disc 3 temperature, the ID 005 target is the disc 2 humidity, and the ID 006 target is the disc 3 humidity, status 1 is the alarm state, status 2 is the normal state, and status 3 is the recovery state.
The alarm management device can obtain a first alarm list as shown in the following table 2 according to the alarm state table shown in the table 1:
TABLE 2
Figure BDA0001303119680000092
Optionally, table 2 may not have a status information column, that is, the object IDs in the first alarm list all default to alarm statuses.
S320, the alarm management device sends the first alarm list to the first alarm distribution device. Accordingly, the first alarm distribution device receives the first alarm list.
Optionally, the first alarm distribution device may be located in the same node as the alarm management device, that is, the first alarm distribution device is located in a master node, or the first alarm distribution device may be located in a different node from the alarm management device, that is, the first alarm distribution device is located in a child node, which is not limited in this embodiment of the present application.
Optionally, the alarm management device may broadcast the first alarm list, and the steps executed by other alarm distribution devices managed by the alarm management device after receiving the first alarm list are similar to those executed by the first alarm distribution device, and are not described herein again to avoid repetition.
Alternatively, the alarm management device may periodically transmit the first alarm list to at least one alarm distribution device managed by the alarm management device, or may trigger transmission of the first alarm list to the at least one alarm distribution device. For example, the alarm management device may transmit the first alarm list according to a transmission cycle pre-configured with the at least one alarm distribution device, or the alarm management device may transmit the first alarm list according to a trigger event, where the trigger event may be, for example, an alarm list request message transmitted by a certain alarm distribution device or a certain alarm processing device, which is not limited in this embodiment.
S330, the first alarm distribution device generates a second alarm list according to the first alarm list and a pre-configured mapping table, the second alarm list is used for indicating M objects which are reported by a first alarm processing device in at least one alarm processing device managed by the first alarm distribution device and present in an alarm state at the alarm management device, the mapping table is used for representing the corresponding relation between the N objects and the alarm processing device reporting each object of the N objects, M is an integer greater than 0, and M is less than or equal to N.
For example, the mapping table preconfigured by the first alarm distributing means may be as shown in table 3 below:
TABLE 3
Object identification ID Alarm processing device ID
001 1
002 1
003 2
004 1
005 2
006 2
The ID 001 target is the disc 1 temperature, the ID 002 target is the disc 2 temperature, the ID 003 target is the disc 1 humidity, the ID 004 target is the disc 3 temperature, the ID 005 target is the disc 2 humidity, and the ID 006 target is the disc 3 humidity, the ID 1 alarm processing device is the disc temperature processing device, and the ID 2 alarm processing device is the disc humidity alarm processing device.
Assuming that the first alarm processing apparatus is a disk temperature alarm processing apparatus, the first alarm distribution apparatus may obtain a second alarm list as shown in table 4 below, according to the mapping table shown in table 3 and the first alarm list shown in table 2:
TABLE 3
Figure BDA0001303119680000101
Optionally, table 2 may not have a status information column, that is, the object IDs in the first alarm list all default to alarm statuses.
S340, the first alarm distributing apparatus sends the second alarm list to the first alarm processing apparatus. Accordingly, the first alarm processing device receives the second alarm list.
S350, the first alarm processing device determines the actual state of each object in the at least one object according to the working state of each object in the at least one object managed by the alarm processing device and a preset rule, wherein the preset rule comprises a condition that the working state of each object is in an alarm state and a condition that the working state of each object is in a recovery state.
For example, the warning processing device is a disk temperature warning processing device that manages 4 objects, that is, the disk 1 temperature, the disk 2 temperature, the disk 3 temperature, and the disk 4 temperature, and the disk temperature warning processing device can detect the operating states of the 4 objects by an inspection module such as a sensor, a thermometer, or the like, for example, the disk 1 temperature is 14 degrees, the disk 2 temperature is 45 degrees, the disk 3 temperature is 70 degrees, and the disk 4 temperature is 65 degrees.
For another example, if the preset rule is that the temperature of the disk is more than 60 ℃, an alarm is reported; and reporting recovery when the temperature of the disk is less than 20 ℃.
The disc temperature alarm processing means may determine that the actual state of the temperature of the disc 1 is the recovery state, the temperature of the disc 2 is the normal state, the temperature of the disc 3 is the alarm state, and the temperature of the disc 4 is the alarm state.
S360, the first alarm processing device determines the object with the inconsistent actual state and the state presented at the alarm management device in the at least one object as the target object.
For example, if the state of the disc 1 temperature at the alarm management device is an alarm state and its actual state is a recovery state, the disc temperature alarm processing device may set the disc 1 temperature as a target object; the state of the disc 2 temperature at the alarm management device is not an alarm state, and the actual state thereof is not an alarm state, the disc temperature alarm processing device does not set the disc 2 temperature as a target object; the state of the disc 3 temperature at the alarm management means is not the alarm state, and its actual state is the alarm state, the disc temperature alarm processing means may set the disc 3 temperature as the target object; the state that the temperature of the disk 4 is present at the warning management means is not the warning state, and its actual state is the warning state, the disk temperature warning processing means may take the temperature of the disk 4 as the target object.
S370, the first alarm processing device reports the actual state of the target object to the alarm management device.
For example, the disk temperature warning processing means may report the disk 1 temperature recovery, the disk 3 temperature warning, and the disk 3 temperature warning to the warning management means.
Optionally, after receiving the actual state of the target object reported by the first alarm processing device, the alarm management device may update the state table stored in the master node where the alarm management device is located.
According to the method for processing the alarm provided by the embodiment of the application, the alarm processing device can report the object with the actual state inconsistent with the state presented at the alarm management device in the at least one object managed by the alarm processing device to the alarm management device, the state of the object at the alarm management device can be updated in time, the accuracy of the actual state of the object at the main node is improved, the overall performance of the system is improved, and the maintenance cost of the system is reduced.
Fig. 4 is a schematic block diagram of an apparatus 400 for processing an alert according to an embodiment of the present application, where the apparatus 400 includes:
a determining unit 410 for determining an actual status of each of at least one object managed by the device and determining a status presented by each of the at least one object at the alarm management device of the master node; determining an object of the at least one object whose actual state is inconsistent with the state presented at the alarm management device as a target object;
a sending unit 420, configured to report the actual state of the target object determined by the determining unit 410 to the alarm management apparatus.
Optionally, the determining unit is specifically configured to: receiving first indication information sent by an alarm distribution device, where the first indication information is used to indicate M objects that are reported by the device and present as an alarm state at the alarm management device, where M is an integer greater than 0.
Optionally, the determining unit is specifically configured to: and if the actual state of a first object in the at least one object is a recovery state, but the state of the first object presented at the alarm management device is an alarm state, determining the first object as the target object.
Optionally, the determining unit is specifically configured to: and if the actual state of a second object in the at least one object is an alarm state, but the state of the second object presented at the alarm management device is not an alarm state, determining the second object as the target object.
Optionally, the determining unit is specifically configured to: acquiring the working state of each object in the at least one object; and determining the actual state of each object according to a preset rule and the working state of each object, wherein the preset rule comprises the condition that the working state of each object is in an alarm state and the condition that the working state of each object is in a recovery state.
In an optional example, it may be understood by those skilled in the art that the apparatus 500 may be specifically an alarm processing apparatus in the foregoing method embodiment, and the apparatus 500 may be configured to execute each procedure and/or step corresponding to the alarm processing apparatus in the foregoing method embodiment, and for avoiding repetition, details are not described here again.
It should be appreciated that the apparatus 500 herein may be embodied in the form of a functional unit. The term "unit" herein may refer to an Application Specific Integrated Circuit (ASIC), an electronic circuit, a processor (e.g., a shared, dedicated, or group processor) and memory that execute one or more software or firmware programs, a combinational logic circuit, and/or other suitable components that support the described functionality.
Fig. 5 is a schematic block diagram of another apparatus 500 for processing an alert according to an embodiment of the present application, where the apparatus 500 includes:
a determining unit 510 for determining N objects that are present as alarm states at the apparatus, N being an integer greater than 0;
a sending unit 520, configured to send second indication information to the alarm distribution apparatus, where the second indication information is used to indicate the N objects determined by the determining unit 510.
Optionally, the determining unit is specifically configured to: the N objects are determined based on the priorities of all objects present as alarm states at the device handling the alarms.
Optionally, the sending unit is specifically configured to broadcast the second indication information.
In an optional example, it may be understood by those skilled in the art that the apparatus 500 may be specifically an alarm management apparatus in the foregoing method embodiment, and the apparatus 500 may be configured to execute each procedure and/or step corresponding to the alarm management apparatus in the foregoing method embodiment, and for avoiding repetition, details are not described here again.
It should be appreciated that the apparatus 500 herein may be embodied in the form of a functional unit. The term "unit" herein may refer to an ASIC, an electronic circuit, a processor (e.g., a shared, dedicated, or group processor) and memory that execute one or more software or firmware programs, a combinational logic circuit, and/or other suitable components that support the described functionality.
Fig. 6 is a schematic block diagram of another apparatus 600 for processing an alert according to an embodiment of the present application, where the apparatus 600 includes:
a receiving unit 610, configured to receive second indication information sent by an alarm management apparatus of a master node, where the second indication information is used to indicate N objects that are in an alarm state at the alarm management apparatus, where N is an integer greater than 0;
a determining unit 620, configured to determine, according to the N objects received by the receiving unit 610, M objects that are reported by a first alarm processing device of at least one alarm processing device managed by the device and are in an alarm state at the alarm management device, where M is an integer greater than 0 and is less than or equal to N;
a sending unit 630, configured to send first indication information to the first alarm processing apparatus, where the first indication information is used to indicate the M objects determined by the determining unit 620.
Optionally, the determining unit is specifically configured to: and determining the M objects according to a preset mapping relation and the N objects, wherein the mapping relation comprises a corresponding relation between the N objects and an alarm processing device for managing each object in the N objects.
In an optional example, as can be understood by those skilled in the art, the apparatus 600 may be specifically an alarm distribution apparatus in the foregoing method embodiment, and the apparatus 600 may be configured to execute each procedure and/or step corresponding to the alarm distribution apparatus in the foregoing method embodiment, and for avoiding repetition, details are not described here again.
It is to be understood that the apparatus 600 herein may be embodied in the form of a functional unit. The term "unit" herein may refer to an ASIC, an electronic circuit, a processor (e.g., a shared, dedicated, or group processor) and memory that execute one or more software or firmware programs, a combinational logic circuit, and/or other suitable components that support the described functionality.
Fig. 7 provides a schematic block diagram of yet another apparatus 700 for processing alarms provided by an embodiment of the present application. The apparatus 700 includes a processor 710, a transceiver 720, and a memory 730. The processor 710, the transceiver 720 and the memory 730 are in communication with each other through an internal connection path, the memory 730 is used for storing instructions, and the processor 710 is used for executing the instructions stored in the memory 730 to control the transceiver 720 to transmit and/or receive signals.
The processor 710 is specifically configured to: determining an actual status of each of at least one object managed by the device and determining a status that each of the at least one object is present at an alarm management device of the master node; determining an object of the at least one object whose actual state is inconsistent with the state presented at the alarm management device as a target object; controls the transceiver 720 to report the actual state of the target object determined by the processor 710 to the alarm management device.
It should be understood that the apparatus 700 may be embodied as an alarm processing apparatus in the above-described embodiment, and may be used to execute each step and/or flow corresponding to the alarm processing apparatus in the above-described method. Alternatively, the memory 720 may include both read-only memory and random-access memory, and provides instructions and data to the processor. The portion of memory may also include non-volatile random access memory. For example, the memory may also store device type information. The processor 710 may be configured to execute instructions stored in the memory, and when the processor 710 executes the instructions stored in the memory, the processor 710 is configured to perform various steps and/or processes corresponding to the alarm processing device in the above-described embodiments.
It should be understood that in the embodiments of the present application, the processor of the above apparatus may be a Central Processing Unit (CPU), and the processor may also be other general processors, Digital Signal Processors (DSPs), ASICs, field-programmable gate arrays (FPGAs) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
Fig. 8 is a schematic block diagram illustrating a further apparatus 800 for processing an alert provided by an embodiment of the present application. The apparatus 800 includes a processor 810, a transceiver 820, and a memory 830. Wherein the processor 810, the transceiver 820 and the memory 830 are in communication with each other via an internal connection path, the memory 830 is configured to store instructions, and the processor 810 is configured to execute the instructions stored in the memory 830 to control the transceiver 820 to transmit and/or receive signals.
Processor 810 is specifically configured to: determining N objects that are present at the device as an alarm state, N being an integer greater than 0; the transceiver 820 is controlled to transmit second indication information indicating the N objects determined by the processor 810 to the alarm distribution apparatus.
It should be understood that the apparatus 800 may be embodied as an alarm management apparatus in the above embodiments, and may be used to execute each step and/or flow corresponding to the alarm management apparatus in the above method. Alternatively, the memory 830 may include both read-only memory and random access memory and provides instructions and data to the processor. The portion of memory may also include non-volatile random access memory. For example, the memory may also store device type information. The processor 810 may be configured to execute instructions stored in the memory, and when the processor 810 executes the instructions stored in the memory, the processor 810 is configured to perform various steps and/or processes corresponding to the alarm management device in the above-described embodiments.
It should be understood that in the embodiments of the present application, the processor may be a CPU, and the processor may also be other general purpose processors, DSPs, ASICs, FPGAs, or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
Fig. 9 is a schematic block diagram illustrating a further apparatus 900 for processing an alert provided by an embodiment of the present application. The apparatus 900 includes a processor 910, a transceiver 920, and a memory 930. Wherein, the processor 910, the transceiver 920 and the memory 930 are in communication with each other through an internal connection path, the memory 930 is used for storing instructions, and the processor 910 is used for executing the instructions stored in the memory 930 to control the transceiver 920 to transmit and/or receive signals.
Optionally, the processor and the memory included in the apparatus may also be implemented by a chip.
Processor 910 is specifically configured to: controlling the transceiver 920 to receive second indication information sent by an alarm management device of the master node, where the second indication information is used to indicate N objects that are in an alarm state at the alarm management device, where N is an integer greater than 0; determining M objects which are reported by a first alarm processing device in at least one alarm processing device managed by the device and present in an alarm state at the alarm management device according to the N objects, wherein M is an integer larger than 0 and is smaller than or equal to N; controlling the transceiver 920 to send first indication information to the first alarm processing device, wherein the first indication information is used for indicating the M objects determined by the processor 910.
It should be understood that the communication device 900 may be embodied as the alarm distribution device in the above embodiments, and may be configured to execute each step and/or flow corresponding to the alarm distribution device in the above method. Alternatively, the memory 930 may include a read-only memory and a random access memory, and provides instructions and data to the processor. The portion of memory may also include non-volatile random access memory. For example, the memory may also store device type information. The processor 910 may be configured to execute instructions stored in the memory, and when the processor 910 executes the instructions stored in the memory, the processor 910 is configured to execute various steps and/or processes corresponding to the alarm distribution device in the above-described embodiments.
It should be understood that in the embodiments of the present application, the processor may be a CPU, and the processor may also be other general purpose processors, DSPs, ASICs, FPGAs, or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the system, the communication apparatus and the unit described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, communication device and method may be implemented in other manners. For example, the above-described communication apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical functional division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of communication devices or units through some interfaces, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (16)

1. A method of processing an alert, comprising:
the alarm processing device determines the actual state of each object in at least one object managed by the alarm processing device and determines the state of each object in the at least one object presented at the alarm management device of the master node;
the alarm processing device determines an object of which the actual state is inconsistent with the state presented at the alarm management device in the at least one object as a target object;
the alarm processing device reports the actual state of the target object to the alarm management device;
the alert processing apparatus determining a status of each of the at least one object presented at the alert management apparatus, including: the alarm processing device receives first indication information sent by an alarm distribution device, wherein the first indication information is used for indicating M objects which are reported by the alarm processing device and present in an alarm state at the alarm management device, and M is an integer greater than 0.
2. The method of claim 1, wherein the alert processing apparatus determining as the target object an object of the at least one object whose actual state is inconsistent with the state presented at the alert management apparatus, comprises:
and if the actual state of a first object in the at least one object is a recovery state, but the state of the first object presented at the alarm management device is an alarm state, the alarm processing device determines the first object as the target object.
3. The method according to claim 1 or 2, wherein the alarm processing device determines an object of the at least one object whose actual state is inconsistent with the state presented at the alarm management device as a target object, comprising:
and if the actual state of a second object in the at least one object is an alarm state, but the state of the second object presented at the alarm management device is not the alarm state, determining the second object as the target object by the alarm processing device.
4. The method of claim 1, wherein determining the actual state of each of the at least one object managed by the alarm handling device comprises:
the alarm processing device acquires the working state of each object in the at least one object;
the alarm processing device determines the actual state of each object according to a preset rule and the working state of each object, wherein the preset rule comprises the condition that the working state of each object is in an alarm state and the condition that the working state of each object is in a recovery state.
5. A method of processing an alert, comprising:
the method comprises the steps that an alarm distribution device receives second indication information sent by an alarm management device of a main node, wherein the second indication information is used for indicating N objects in an alarm state at the alarm management device, and N is an integer larger than 0;
the alarm distribution device determines M objects which are reported by a first alarm processing device in at least one alarm processing device managed by the alarm distribution device and present as an alarm state at the alarm management device according to the N objects, wherein M is an integer larger than 0 and is smaller than or equal to N;
and the alarm distribution device sends first indication information to the first alarm processing device, wherein the first indication information is used for indicating the M objects.
6. The method of claim 5, wherein the determining, by the alarm distribution device, the M objects that are reported by a first alarm processing device of the at least one alarm processing device managed by the alarm distribution device and are present in the alarm state at the alarm management device according to the N objects comprises:
the alarm distribution device determines the M objects according to a preset mapping relation and the N objects, wherein the mapping relation comprises a corresponding relation between the N objects and an alarm processing device for managing each object in the N objects.
7. An apparatus for processing an alert, comprising:
a determination unit for determining an actual state of each of at least one object managed by the alarm management device and determining a state that each of the at least one object is present at the alarm management device of the master node; determining an object of the at least one object whose actual state is inconsistent with the state presented at the alarm management device as a target object;
a sending unit, configured to report the actual state of the target object determined by the determining unit to the alarm management device;
the determining unit is further configured to receive first indication information sent by an alarm distribution device, where the first indication information is used to indicate M objects that are reported by an alarm processing device and appear in an alarm state at the alarm management device, and M is an integer greater than 0.
8. The apparatus according to claim 7, wherein the determining unit is specifically configured to:
and if the actual state of a first object in the at least one object is a recovery state, but the state of the first object presented at the alarm management device is an alarm state, determining the first object as the target object.
9. The apparatus according to claim 7, wherein the determining unit is specifically configured to:
and if the actual state of a second object in the at least one object is an alarm state, but the state of the second object presented at the alarm management device is not the alarm state, determining the second object as the target object.
10. The apparatus according to any one of claims 7 to 9, wherein the determining unit is specifically configured to:
acquiring the working state of each object in the at least one object;
and determining the actual state of each object according to a preset rule and the working state of each object, wherein the preset rule comprises the condition that the working state of each object is in an alarm state and the condition that the working state of each object is in a recovery state.
11. An apparatus for processing an alert, comprising:
the receiving unit is used for receiving second indication information sent by an alarm management device of a main node, wherein the second indication information is used for indicating N objects which are in an alarm state at the alarm management device, and N is an integer larger than 0;
a determining unit, configured to determine, according to the N objects received by the receiving unit, M objects that are reported by a first alarm processing device in at least one alarm processing device managed by the alarm distribution device and that are in an alarm state at the alarm management device, where M is an integer greater than 0 and is less than or equal to N;
a sending unit, configured to send first indication information to the first alarm processing apparatus, where the first indication information is used to indicate the M objects determined by the determining unit.
12. The apparatus according to claim 11, wherein the determining unit is specifically configured to:
and determining the M objects according to a preset mapping relation and the N objects, wherein the mapping relation comprises a corresponding relation between the N objects and an alarm processing device for managing each object in the N objects.
13. A computer-readable storage medium comprising instructions that, when executed on a computer, cause the computer to perform the method of any of claims 1-4.
14. A computer-readable storage medium comprising instructions that, when executed on a computer, cause the computer to perform the method of claim 5 or 6.
15. An apparatus for processing an alert, comprising: a memory for storing instructions and a processor for executing the instructions stored by the memory to perform the method of any one of claims 1 to 4 when the instructions are executed.
16. An apparatus for processing an alert, comprising: a memory for storing instructions and a processor for executing the instructions stored by the memory to perform the method of claim 5 or 6 when executing the instructions.
CN201710372495.4A 2017-05-24 2017-05-24 Method and device for processing alarm Active CN108932183B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710372495.4A CN108932183B (en) 2017-05-24 2017-05-24 Method and device for processing alarm

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710372495.4A CN108932183B (en) 2017-05-24 2017-05-24 Method and device for processing alarm

Publications (2)

Publication Number Publication Date
CN108932183A CN108932183A (en) 2018-12-04
CN108932183B true CN108932183B (en) 2021-06-04

Family

ID=64449769

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710372495.4A Active CN108932183B (en) 2017-05-24 2017-05-24 Method and device for processing alarm

Country Status (1)

Country Link
CN (1) CN108932183B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114359217A (en) * 2021-12-31 2022-04-15 北京市商汤科技开发有限公司 Alarm event information processing method, device, equipment and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100525203C (en) * 2005-01-28 2009-08-05 华为技术有限公司 Method of inter master-slave nodal state synchronization
CN101187885A (en) * 2007-10-10 2008-05-28 中兴通讯股份有限公司 Warning treatment method and device
WO2015116026A1 (en) * 2014-01-28 2015-08-06 Hewlett-Packard Development Company, L.P. Group alert in server systems

Also Published As

Publication number Publication date
CN108932183A (en) 2018-12-04

Similar Documents

Publication Publication Date Title
CN108270618B (en) Method, device and alarm system for alarm determination
CN110213068B (en) Message middleware monitoring method and related equipment
US9584617B2 (en) Allocating cache request in distributed cache system based upon cache object and marker identifying mission critical data
US11175974B2 (en) Management of a fault condition in a computing system
CN106961352B (en) Monitoring system and monitoring method
US20180262407A1 (en) Telemetry Architecture for Integrated Circuits and Cloud Infrastructure
US10282245B1 (en) Root cause detection and monitoring for storage systems
CN106027289B (en) User Status statistical system and method
US9027025B2 (en) Real-time database exception monitoring tool using instance eviction data
US11283638B1 (en) Determining the status of a node based on a distributed system
US8554906B2 (en) System management method in computer system and management system
CN110784355A (en) A kind of fault identification method and device
US20180241623A1 (en) Distributed processing system, data processing method, and control node device
US10223189B1 (en) Root cause detection and monitoring for storage systems
CN110673973A (en) Application programming interface API (application programming interface) abnormity determining method and device
CN108280007B (en) A method and apparatus for evaluating equipment resource utilization
CN110971485A (en) Service index monitoring system and method
US20100251244A1 (en) Status notification system, status notification device, status monitoring device, status detector, method for status notification, and storage medium including status notification program
CN105549508A (en) Alarm method based on information combination and apparatus thereof
US20240205127A1 (en) Efficiently storing raw metric data in a volatile memory and aggregated metrics in a non-volatile time-series database for monitoring network elements of a software-defined network
CN114553747A (en) Method, device, terminal and storage medium for detecting abnormality of redis cluster
CN108932183B (en) Method and device for processing alarm
US11880266B2 (en) Malfunction monitor for computing devices
CN114041122B (en) Method and device for displaying object characterization indicators
US12007738B2 (en) Dynamic monitoring

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant