Method, device and computer equipment for processing alarm information in Internet of Things scenarios
By merging the alarm information in the IoT device collection in the IoT scenario, the problem of excessive alarm information when IoT devices are faulty on a large scale is solved, and the repair efficiency of managers is improved.
Patent Information
- Application Number
- CN202210554623.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-20
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2042-05-20
AI Technical Summary
In the IoT scenario, when unexpected errors occur in a large area of equipment, the cloud monitoring server will generate a large amount of alarm information, which will interfere with the management personnel's repair judgment and reduce the repair efficiency.
By obtaining the alarm information of the parent device and child devices in the IoT device collection and merging it into a single aggregated alarm information, it indicates that all child devices under the parent device are in an alarm state, thereby reducing the amount of alarm information faced by managers and improving repair efficiency.
It effectively reduces the amount of alarm information faced by managers, enables managers to quickly determine that all sub-devices under the parent device have errors, and improves the repair efficiency of IoT devices.
Smart Images

Figure CN114884795B
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing, and in particular to a method, device, and computer equipment for processing alarm information in an Internet of Things scenario. Background Art
[0002] With the rapid development of Internet of Things technology, the operating status of each device can be monitored through the Internet of Things in the Internet of Things scenario.
[0003] In the related art, when a network failure occurs in an IoT scenario, or an IoT device has an unexpected error in operation, the cloud monitoring server will generate corresponding alarm information based on the IoT device with the error in the IoT scenario, so that the management personnel can repair the IoT device in the IoT scenario according to the alarm information.
[0004] However, in the related technology, when unexpected errors occur on a large scale in devices in the IoT scenario, the cloud monitoring server will generate a large amount of alarm information for the IoT devices, which will interfere with the management personnel's repair judgment and reduce the management personnel's repair efficiency for the IoT devices. Summary of the invention
[0005] The embodiment of the present application provides a method, device, and computer equipment for processing alarm information in an Internet of Things scenario, which can reduce the interference of a large amount of alarm information on management personnel and improve the efficiency of management personnel in repairing Internet of Things devices. The technical solution is as follows:
[0006] On the one hand, a method for processing alarm information in an Internet of Things scenario is provided, the method comprising:
[0007] Acquire a first IoT device set; the first IoT device set includes a first parent device and a first child device corresponding to the first parent device;
[0008] Acquire an alarm information set corresponding to the first IoT device set; the alarm information set includes at least one alarm information; the alarm information is used to indicate a device in the first IoT device set that is in an alarm state;
[0009] In response to the alarm information set containing alarm information of all first child devices corresponding to the first parent device, aggregate alarm information corresponding to the first parent device is obtained; the aggregate alarm information is a single alarm information used to indicate that all child devices corresponding to the first parent device are in an alarm state.
[0010] On the other hand, a warning information processing device in an Internet of Things scenario is provided, the device comprising:
[0011] A device set acquisition module, used to acquire a first IoT device set; the first IoT device set includes a first parent device and a first child device corresponding to the first parent device;
[0012] An alarm information set acquisition module, used to acquire an alarm information set corresponding to the first IoT device set; the alarm information set includes at least one alarm information; the alarm information is used to indicate a device in the first IoT device set that is in an alarm state;
[0013] An aggregate alarm information acquisition module is used to obtain the aggregate alarm information corresponding to the first parent device in response to the alarm information set containing the alarm information of all the first child devices corresponding to the first parent device; the aggregate alarm information is a single alarm information used to indicate that all the child devices corresponding to the first parent device are in an alarm state.
[0014] In a possible implementation manner, the device further includes:
[0015] An Internet of Things device acquisition module, used to acquire at least two Internet of Things devices in a first Internet of Things; the first Internet of Things is the Internet of Things corresponding to the first Internet of Things device set;
[0016] A topology acquisition module, configured to acquire a first tree topology structure based on the connection relationship between the at least two IoT devices; the first tree topology structure is used to indicate the hierarchical relationship between at least two IoT devices in the first IoT; the first tree topology structure includes two layers of device nodes; each device node corresponds to each IoT device in the first IoT;
[0017] A parent device determination module, configured to determine an Internet of Things device corresponding to a high-level device node in the first tree topology structure as a first parent device;
[0018] The child device determination module is used to determine the Internet of Things devices corresponding to the bottom-level device nodes connected to the respective high-level device nodes as first child devices corresponding to the respective first parent devices.
[0019] In a possible implementation, the aggregate alarm information acquisition module is used to:
[0020] In response to the alarm information set containing the alarm information of all the first child devices corresponding to the first parent device, the alarm information of all the first child devices corresponding to the first parent device is merged into the aggregated alarm information corresponding to the first parent device.
[0021] In a possible implementation manner, the device further includes:
[0022] An alarm information splitting module is used to split the aggregated alarm information corresponding to the first parent device into alarm information of some sub-devices corresponding to the first parent device in response to obtaining alarm recovery information of at least one first sub-device corresponding to the first parent device; the some sub-devices are the first sub-devices among all the first sub-devices corresponding to the first parent device, except the first sub-device corresponding to the alarm recovery information.
[0023] In a possible implementation, the alarm information acquisition module includes:
[0024] A first alarm information receiving unit, configured to obtain alarm information uploaded by at least one IoT device in the first IoT;
[0025] The first information set acquisition unit is used to acquire the alarm information set corresponding to the first Internet of Things device set based on the alarm information uploaded by the at least one Internet of Things device.
[0026] In a possible implementation, the alarm information acquisition module includes:
[0027] A second alarm information receiving unit, configured to obtain alarm information corresponding to the at least one Internet of Things device when the at least one Internet of Things device in the first Internet of Things is in a network disconnected state;
[0028] The second information set acquisition unit is used to acquire the alarm information set corresponding to the first Internet of Things device set based on the alarm information corresponding to the at least one Internet of Things device.
[0029] In a possible implementation, the alarm information acquisition module further includes:
[0030] A real-time data acquisition unit, used to acquire real-time data corresponding to each IoT device in the first IoT;
[0031] A disconnection state determination unit is used to determine that the first Internet of Things device is in a network disconnection state in response to the real-time data corresponding to the first Internet of Things device not being refreshed within a specified time; the first Internet of Things device is any one of the Internet of Things devices in the first Internet of Things.
[0032] On the other hand, a computer device is provided, which includes a processor and a memory, wherein the memory stores at least one computer instruction, and the at least one computer instruction is loaded and executed by the processor to implement the above-mentioned alarm information processing method in the Internet of Things scenario.
[0033] On the other hand, a computer-readable storage medium is provided, wherein at least one computer instruction is stored in the storage medium, and the at least one computer instruction is loaded and executed by a processor to implement the alarm information processing method in the above-mentioned Internet of Things scenario.
[0034] In another aspect, a computer program product or a computer program is provided, the computer program product or the computer program comprising computer instructions, the computer instructions being stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the alarm information processing method in the above-mentioned Internet of Things scenario.
[0035] The technical solution provided by this application may have the following beneficial effects:
[0036] By obtaining an IoT device set having a first parent device and a first child device corresponding to the first parent device, when the alarm information of all child devices corresponding to the first parent device is obtained, a single piece of aggregated alarm information corresponding to the first parent device can be obtained based on the alarm information of all child devices. Through the above scheme, when all child devices of the first parent device are in an alarm state, the alarm aggregate information corresponding to the first parent device can be obtained, so that the management personnel in the IoT scenario can directly determine that all child devices under the first parent device have errors based on the alarm aggregate information, thereby reducing the interference of a large amount of alarm information on the management personnel and improving the management personnel's efficiency in repairing IoT devices.
[0037] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0039] Figure 1 is a structural diagram of an alarm information processing system in an Internet of Things scenario according to an exemplary embodiment;
[0040] Figure 2 It is a flowchart of a method for processing alarm information in an Internet of Things scenario according to an exemplary embodiment;
[0041] Figure 3 is a method flow chart of a method for processing alarm information in an Internet of Things scenario according to an exemplary embodiment;
[0042] Figure 4A schematic diagram of a tree sub-topology in a mesh topology diagram involved in an embodiment of the present application is shown;
[0043] Figure 5 A schematic diagram of a photovoltaic device tree topology structure involved in an embodiment of the present application is shown;
[0044] Figure 6 A schematic diagram of alarm information aggregation involved in an embodiment of the present application is shown;
[0045] Figure 7 A schematic diagram of alarm information aggregation involved in an embodiment of the present application is shown;
[0046] Figure 8 A schematic diagram of alarm information recovery involved in an embodiment of the present application is shown;
[0047] Fig. 9 It is a framework diagram of a connectionless alarm and connectionless recovery process according to an exemplary embodiment;
[0048] Fig.10 is a structural block diagram of an alarm information processing device in an Internet of Things scenario according to an exemplary embodiment;
[0049] Fig.11 The diagram is a schematic structural diagram of a computer device according to an exemplary embodiment. DETAILED DESCRIPTION
[0050] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0051] Before describing the various embodiments shown in this application, several concepts involved in this application are first introduced:
[0052] The Internet of Things (IOT) refers to the use of various information sensors, radio frequency identification technology, global positioning system, infrared sensors, laser scanners and other devices and technologies to collect any objects or processes that need to be monitored, connected, and interacted in real time, collect their sound, light, heat, electricity, mechanics, chemistry, biology, location and other required information, and achieve ubiquitous connection between objects and objects, objects and people through various possible network access, and realize intelligent perception, identification and management of objects and processes. The Internet of Things is an information carrier based on the Internet, traditional telecommunications networks, etc. It allows all ordinary physical objects that can be independently addressed to form an interconnected network.
[0053] Figure 1 The structure diagram of an alarm information processing system in an Internet of Things scenario is shown according to an exemplary embodiment. The system includes: an Internet of Things device 120 and an alarm information processing device 140.
[0054] The IoT device 120 may include a first data storage module (not shown in the figure), and various information generated during the operation of the IoT device may be stored in the first data storage module; for example, the first data storage module may store the working data generated during the operation of the IoT device, or the first data storage module may store the alarm information generated when the IoT device operates abnormally. The data storage device may also be connected to a sensor, which may be one sensor or several sensors. The sensor generates corresponding data by receiving changes in the external environment and stores it in the first data storage module to achieve the normal operation of the IoT device.
[0055] Among them, the alarm information processing device 140 may include a second data storage module (not shown in the figure). When the Internet of Things device is running, the data generated by the operation can be uploaded to the alarm information processing device 140 and saved in the second data storage module; or the second data storage module can save the alarm information corresponding to the Internet of Things device.
[0056] Optionally, the alarm information processing device 140 can be a server, which can be one server, or include several servers, or a distributed computer cluster composed of several servers, or a virtualization platform, or a cloud computing service center, etc., and this application does not impose any restrictions.
[0057] The Internet of Things device 120 is connected to the alarm information processing device 140 via a communication network. Optionally, the communication network is a wired network or a wireless network.
[0058] Optionally, the above-mentioned wireless network or wired network uses standard communication technology and / or protocol. The network is usually the Internet, but it can also be any network, including but not limited to any combination of local area network (LAN), metropolitan area network (MAN), wide area network (WAN), mobile, wired or wireless network, private network or virtual private network. In some embodiments, the data exchanged through the network is represented by technology and / or format including Hyper Text Mark-up Language (HTML), Extensible Markup Language (XML), etc. In addition, conventional encryption technologies such as Secure Socket Layer (SSL), Transport Layer Security (TLS), Virtual Private Network (VPN), Internet Protocol Security (IPsec) can also be used to encrypt all or some links. In other embodiments, customized and / or dedicated data communication technology can also be used to replace or supplement the above-mentioned data communication technology.
[0059] Please refer to Figure 2 , which is a flowchart of a method for processing alarm information in an Internet of Things scenario according to an exemplary embodiment. The method can be executed by a computer device, which can be Figure 1 The alarm information processing device 140 in the illustrated embodiment. Figure 2 As shown, the process of the alarm information processing method in the Internet of Things scenario may include the following steps:
[0060] Step 21, obtain a first IoT device set; the first IoT device set includes a first parent device and a first child device corresponding to the first parent device.
[0061] In a possible implementation, the first IoT device set is used to indicate IoT devices under the same IoT, wherein a connection relationship exists between the IoT devices under the same IoT.
[0062] In a possible implementation, the IoT structure also includes a management device for monitoring each IoT device in the IoT, and the management device is used to obtain the operating status and / or operating data of each IoT device.
[0063] Step 22, obtaining an alarm information set corresponding to the first IoT device set; the alarm information set includes at least one alarm information; the alarm information is used to indicate a device in the first IoT device set that is in an alarm state.
[0064] In one possible implementation, the alarm information set corresponding to the first IoT device set is obtained by a management device in the IoT. When the management device determines that there are IoT devices with abnormal operation in the IoT structure based on the operating status and / or operating data of each IoT device in the IoT structure, the management device obtains the alarm information corresponding to the IoT device to indicate to the management personnel that an error has occurred in the IoT device.
[0065] Step 23, in response to the alarm information set containing the alarm information of all first child devices corresponding to the first parent device, obtain the aggregate alarm information corresponding to the first parent device; the aggregate alarm information is a single alarm information used to indicate that all child devices corresponding to the first parent device are in an alarm state.
[0066] In a possible implementation, the computer device may use aggregated alarm information to replace at least one alarm information included in the alarm information set, and output the aggregated alarm information as alarm information corresponding to the first IoT device set.
[0067] Among them, the aggregate alarm information is obtained based on the alarm information of all the first child devices corresponding to the first parent device. Therefore, the acquired aggregate alarm information can indicate that all the child devices corresponding to the first parent device are in an alarm state. After the alarm information of multiple child devices corresponding to the first parent device is acquired as the aggregate alarm information corresponding to the first parent device, the management personnel can intuitively know from the aggregate alarm information that all the first child devices corresponding to the first parent device are abnormal, thereby improving the management personnel's judgment efficiency on equipment alarm problems in the Internet of Things scenario.
[0068] In summary, in the scheme shown in the embodiment of the present application, by obtaining an IoT device set having a first parent device and a first child device corresponding to the first parent device, when the alarm information of all child devices corresponding to the first parent device is obtained, a single piece of aggregated alarm information corresponding to the first parent device can be obtained based on the alarm information of all child devices. Through the above scheme, when all child devices of the first parent device are in an alarm state, the alarm aggregation information corresponding to the first parent device can be obtained, so that the management personnel in the IoT scenario can directly determine that all child devices under the first parent device have errors based on the alarm aggregation information, reduce the interference of a large amount of alarm information on management personnel, and improve the management personnel's efficiency in repairing IoT devices.
[0069] Please refer to Figure 3, which is a method flow chart of a method for processing alarm information in an Internet of Things scenario according to an exemplary embodiment. The method can be executed by a computer device, which can be Figure 1 The alarm information processing device 140 in the illustrated embodiment. Figure 3 As shown, the process of the alarm information processing method in the Internet of Things scenario may include the following steps:
[0070] Step 301: Obtain at least two IoT devices in a first IoT.
[0071] The first Internet of Things is the Internet of Things corresponding to the first Internet of Things device set, that is, the at least two Internet of Things devices are devices in the device set in the first Internet of Things.
[0072] In a possible implementation, each IoT device in the first IoT establishes a communication connection with a management device in the first IoT through a wired network or a wireless network.
[0073] The management device in the first Internet of Things is used to obtain the operating status and / or operating data of each Internet of Things device in the first Internet of Things.
[0074] In one possible implementation, when there is an IoT device with abnormal operation in the first IoT, the management device can determine that the IoT device is in an abnormal state based on the abnormal information corresponding to the IoT device with abnormal operation, and generate alarm information corresponding to the abnormal IoT device.
[0075] Step 302: Acquire a first tree topology structure based on the connection relationship between the at least two IoT devices.
[0076] Among them, the first tree topology structure is used to indicate the hierarchical relationship between at least two Internet of Things devices in the first Internet of Things; the first tree topology structure contains two layers of device nodes; each of the device nodes corresponds to each Internet of Things device in the first Internet of Things.
[0077] In a possible implementation, each IoT device in the first IoT can establish a communication connection through a wired network or a wireless network so that the various IoT devices form a cascade form, thereby managing multiple IoT devices through one IoT device.
[0078] In a possible implementation, a topology structure diagram corresponding to the first Internet of Things can be obtained based on each Internet of Things device in the first Internet of Things, and the topology structure diagram is used to indicate the connection relationship between each Internet of Things device in the first Internet of Things.
[0079] In a possible implementation, the first tree topology is a tree topology generated by the connection relationship between at least two of the various IoT devices, that is, the first tree topology is a sub-topology in the topology diagram corresponding to the first IoT. The topology diagram corresponding to the first IoT may be a tree topology diagram, a mesh topology diagram, or other diagrams that may contain the first tree topology.
[0080] Please refer to Figure 4 , which shows a schematic diagram of a tree sub-topology in a mesh topology diagram involved in an embodiment of the present application. Figure 4 As shown, in Figure 4 In the mesh topology diagram shown, there is a tree-shaped sub-topology diagram 401, and the tree-shaped sub-topology diagram 401 includes a first parent device 402 in the tree-shaped sub-topology diagram, and at least two first sub-devices 403 corresponding to the first parent device.
[0081] Step 303: determine the Internet of Things device corresponding to the high-level device node in the first tree topology structure as the first parent device.
[0082] In a possible implementation manner of the embodiment of the present application, the first tree topology structure is a tree topology structure with two layers of nodes.
[0083] After obtaining the connection relationship between at least two IoT devices in the first IoT, a topology diagram between the first IoT devices can be generated based on the connection relationship of the IoT devices. The topology diagram contains at least one tree topology structure, each of which contains two layers of device nodes. For the first tree topology structure in the topology diagram, each of the high-level device nodes in the first tree topology structure has at least one low-level device node connected to it, so the IoT device corresponding to the high-level device node can be determined as the first parent device, and the first parent device is simultaneously connected to the device corresponding to at least one low-level device node.
[0084] Step 304: The Internet of Things devices corresponding to the bottom-level device nodes connected to the respective high-level device nodes are respectively determined as first child devices corresponding to the respective first parent devices.
[0085] For the first tree topology in the tree topology diagram, the device node at the lower level in the first tree topology corresponds to a device node at a higher level, and the device node at the higher level may have multiple lower-level device nodes corresponding to the device node. The IoT device corresponding to the higher-level device node may be determined as the first parent device, and each IoT device indicated by each lower-level device node corresponding to the higher-level device node is the first child device corresponding to the first parent device.
[0086] Step 305: Acquire a first IoT device set; the first IoT device set includes a first parent device and a first child device corresponding to the first parent device.
[0087] In a possible implementation, the first IoT device set is a set consisting of at least one first parent device and a first child device corresponding to the first parent device. The first IoT device set may include a first parent device and all first child devices corresponding to the first parent device; or the first IoT device set may include multiple first parent devices and all first child devices corresponding to the multiple first parent devices.
[0088] In a possible implementation of the embodiment of the present application, the first Internet of Things is applied to a photovoltaic power generation scenario, and the first Internet of Things device set is a photovoltaic device set in the photovoltaic power generation scenario.
[0089] Please refer to Figure 5 , which shows a schematic diagram of a photovoltaic device tree topology structure involved in an embodiment of the present application. Figure 5 As shown, the photovoltaic equipment topology is a four-layer tree topology consisting of a station, a box transformer, a centralized inverter, and a DC transformer box. The station is a first-layer device node (the highest-layer device node), the box transformer is a second-layer device node, the centralized inverter is a third-layer device node, and the DC transformer box is a fourth-layer device node. The photovoltaic equipment tree topology may include a first tree topology 501 consisting of a DC transformer box and a centralized inverter, and may also include a second tree topology 502 consisting of a centralized inverter and a box transformer. The solution shown in the embodiment of the present application is applied to the following: Figure 5 Two layers of tree topology in the multi-layer topology shown.
[0090] Step 306, obtaining an alarm information set corresponding to the first IoT device set; the alarm information set includes at least one alarm information; the alarm information is used to indicate a device in the first IoT device set that is in an alarm state.
[0091] In one possible implementation, the alarm information is used to indicate abnormal operation of an IoT device; alarm information uploaded by at least one IoT device in the first IoT is obtained; and based on the alarm information uploaded by the at least one IoT device, an alarm information set corresponding to the first IoT device set is obtained.
[0092] Among them, the alarm information may be that when the Internet of Things device operates abnormally, the Internet of Things device detects that it is in an abnormal working state, generates corresponding alarm information, and reports it to the management device corresponding to the first Internet of Things device.
[0093] In a possible implementation, the alarm information also includes an error identifier of the IoT device, where the error identifier is used to indicate the type of error that occurs in the IoT device.
[0094] After detecting that an abnormality has occurred in itself, the IoT device can determine the type of its own abnormality based on the circumstances in which the abnormality occurred, and generate an alarm message containing an error identifier based on the type, and upload it to the management device in the first IoT.
[0095] In a possible implementation, the alarm information may be a disconnection alarm information, which is used to indicate that the IoT device is disconnected from other IoT devices (i.e., disconnected). For example, for a first tree topology, when an error occurs in the first parent device in the first IoT topology, all first child devices corresponding to the first parent device may be disconnected from the first parent device, and at this time, all first child devices corresponding to the first parent device may generate a disconnection alarm information.
[0096] In one possible implementation, when at least one IoT device in the first IoT is in a network disconnected state, alarm information corresponding to the at least one IoT device is obtained; based on the alarm information corresponding to the at least one IoT device, an alarm information set corresponding to the first IoT device set is obtained.
[0097] Among them, when at least one IoT device in the first IoT is in a network disconnected state, the IoT device cannot communicate with the first IoT through the network. At this time, the management device detects that the IoT device is in a network disconnected state, and the management device generates alarm information for the IoT device in the network disconnected state. At this time, the alarm information is used to indicate that the IoT device is in a network disconnected state.
[0098] In a possible implementation, in response to real-time data corresponding to a first Internet of Things device not being refreshed within a specified time, the first Internet of Things device is determined to be in a network disconnected state; the first Internet of Things device is any one of the Internet of Things devices in the first Internet of Things.
[0099] Each IoT device in the first IoT will upload the real-time data of each IoT device to the management device of the first IoT according to the state of the IoT device during operation, and the real-time data is used to indicate the operation state and / or operation data of each IoT device. When the management device detects that the real-time data corresponding to the first IoT device has not been refreshed within a specified time, it can be determined that the first IoT device has not uploaded the corresponding real-time data to the IoT device. At this time, the first IoT device can be determined to be in a network disconnected state and generate corresponding alarm information.
[0100] Step 307: In response to the alarm information set including the alarm information of all first child devices corresponding to the first parent device, the alarm information of all first child devices corresponding to the first parent device is merged into the aggregated alarm information corresponding to the first parent device.
[0101] When the alarm information set includes the alarm information of all the first child devices corresponding to the first parent device, the alarm information of all the first child devices corresponding to the first parent device can be merged to obtain the alarm information corresponding to the first parent device. At this time, the alarm information set only includes the aggregated alarm information corresponding to the first parent device to indicate that all the child devices under the first parent device are in an alarm state.
[0102] Please refer to Figure 6 , which shows a schematic diagram of alarm information aggregation involved in an embodiment of the present application. Figure 6 As shown, Figure 6 In part 601, for the first parent device being inverter A, all first child devices corresponding to inverter A are concentrator 1, concentrator 2, and concentrator 3. When concentrator 1, concentrator 2, and concentrator 3 corresponding to inverter A all have alarm information, the alarm information can be aggregated as follows: Figure 6 In part 602, the alarm information of combiner 1, combiner 2 and combiner 3 are all shielded, and the aggregated alarm information corresponding to inverter A is displayed.
[0103] In one possible implementation, when the alarm information set includes the alarm information corresponding to the first parent device and the alarm information of all first child devices corresponding to the first parent device, the alarm information of all first child devices corresponding to the first parent device is merged into the aggregated alarm information corresponding to the first parent device.
[0104] In a possible implementation, for a tree topology diagram including multiple layers of device nodes, a high-level node in one tree topology structure may be a low-level node in another tree topology structure.
[0105] Please refer to Figure 7 , which shows a schematic diagram of alarm information aggregation involved in an embodiment of the present application. Figure 7 As shown, taking the tree topology diagram in the photovoltaic power generation scenario as an example, the DC combiner box 701, the DC combiner box 702 and the centralized inverter 703 can constitute a first tree topology structure. When the DC combiner box 701 and the DC combiner box 702 both generate alarm information, they can be merged into the aggregated alarm information corresponding to the centralized inverter 703; when the centralized inverter 703 and the centralized inverter 704 both have aggregated alarm information or alarm information, the centralized inverter 703 and the centralized inverter 704 can aggregate the alarm information into the alarm information of the box transformer 705.
[0106] Step 308: In response to obtaining alarm recovery information of at least one first child device corresponding to the first parent device, split the aggregate alarm information corresponding to the first parent device into alarm information of some child devices corresponding to the first parent device.
[0107] The part of the sub-devices is the first sub-devices among all the first sub-devices corresponding to the first parent device, except the first sub-device corresponding to the alarm recovery information.
[0108] When the alarm information of all first child devices corresponding to the first parent device is merged into the aggregated alarm information of the first parent device, the management device only displays the aggregated alarm information corresponding to the first parent device to the management personnel, and does not display the alarm information corresponding to each first child device, so as to reduce the interference of a large amount of alarm information to the management personnel. When at least one child device among all first child devices corresponding to the first parent device recovers from the alarm state, it is inaccurate to indicate the alarm state through the aggregated alarm information at this time. The first parent device can obtain the alarm recovery information of the first child device that recovers from the alarm state, and split it according to the alarm recovery information to obtain the alarm information corresponding to the child device in the alarm state corresponding to the first parent device, so as to indicate the device in the alarm state among the child devices corresponding to the first parent device.
[0109] Please refer to Figure 8 , which shows a schematic diagram of alarm information recovery involved in an embodiment of the present application. Figure 8 As shown, Figure 8 In section 801, for the first parent device being inverter A, all first child devices corresponding to the inverter A are concentrator 1, concentrator 2, and concentrator 3. When concentrator 1, concentrator 2, and concentrator 3 corresponding to the inverter A all have shielded alarm information, and the management device receives the alarm recovery information of any concentrator corresponding to the inverter A, the alarm aggregation information is split into the following: Figure 8 As shown in part 802, the aggregated alarm information corresponding to the inverter A is split into alarm information except for the concentrator corresponding to the alarm recovery information.
[0110] In summary, by obtaining an IoT device set having a first parent device and a first child device corresponding to the first parent device, when the alarm information of all child devices corresponding to the first parent device is obtained, a single piece of aggregated alarm information corresponding to the first parent device can be obtained based on the alarm information of all child devices. Through the above scheme, when all child devices of the first parent device are in an alarm state, the alarm aggregation information corresponding to the first parent device can be obtained, so that the management personnel in the IoT scenario can directly determine that all child devices under the first parent device have errors based on the alarm aggregation information, thereby reducing the interference of a large amount of alarm information on management personnel and improving the management personnel's efficiency in repairing IoT devices.
[0111] Please refer to Fig. 9 , which is a framework diagram of a disconnection warning and disconnection recovery process according to an exemplary embodiment. Fig. 9 The process of disconnection warning and disconnection recovery is as follows:
[0112] S901, when the management device in the Internet of Things determines whether the Internet of Things device is in a disconnected state according to the reported data of any device in the Internet of Things. S902, when the management device in the Internet of Things determines that any device in the Internet of Things is in a disconnected state, the management device saves the disconnected information of the Internet of Things device (i.e., alarm information). S903, after determining the alarm status of each Internet of Things device in the Internet of Things, the management device in the Internet of Things determines the alarm status of each device in the Internet of Things respectively. When it is determined that the first Internet of Things device has an identifier with a flag of 1 (i.e., alarm aggregation information already exists), it means that the first Internet of Things device has been aggregated, i.e., the alarm information corresponding to the first Internet of Things device has executed the shielding logic, and the alarm information continues to be shielded at this time. S904, when it is determined that the first Internet of Things device does not have an identifier with a flag of 1 (i.e., there is no disconnected alarm information), it is determined whether all devices under the first tree topology structure corresponding to the first Internet of Things device are all disconnected. S905, when the existing devices under the first tree topology structure are not in a disconnected state, i.e., no disconnected alarm occurs, the process ends. S906, when all the IoT devices under the first tree-like topology structure are in a disconnected state (generating a disconnected alarm), a shielding operation is performed to shield the alarms of all IoT devices under the first tree-like topology structure, and the flag corresponding to the first tree-like topology structure is set to 1 (i.e., aggregate alarm information is generated), and the alarm information of all IoT devices under the first tree-like topology structure is cleared, so as to merge the alarm information of the IoT devices under the first tree-like topology structure into the aggregate alarm information.
[0113] S907. When the management device in the Internet of Things determines that any device in the Internet of Things (taking the first Internet of Things device as an example), after the first Internet of Things device recovers from a disconnected state, the management device determines that the first Internet of Things device has recovered from a disconnected state. S908. When the management device determines that the first Internet of Things device has recovered from a disconnected state, clears the disconnected information of the first Internet of Things device. S909. When the management device determines that the flag in the first tree topology structure of the first Internet of Things device is not 1, the operation is terminated directly. S910. When the management device determines that the flag in the first tree topology structure of the first Internet of Things device is 1, a recovery operation is performed to restore all shielded alarm information, and the flag is deleted to restore the alarm information of other Internet of Things devices except the first Internet of Things device in the first tree topology structure.
[0114] Fig.10 is a structural block diagram of an alarm information processing device in an Internet of Things scenario according to an exemplary embodiment. The alarm information processing device can implement Figure 2 or Figure 3 All or part of the steps in the method provided in the illustrated embodiment. The alarm information processing device in the Internet of Things scenario may include:
[0115] The device set acquisition module 1001 is used to acquire a first IoT device set; the first IoT device set includes a first parent device and a first child device corresponding to the first parent device;
[0116] The alarm information set acquisition module 1002 is used to acquire the alarm information set corresponding to the first IoT device set; the alarm information set includes at least one alarm information; the alarm information is used to indicate the device in the first IoT device set that is in an alarm state;
[0117] The aggregate alarm information acquisition module 1003 is used to obtain the aggregate alarm information corresponding to the first parent device in response to the alarm information set containing the alarm information of all the first child devices corresponding to the first parent device; the aggregate alarm information is a single alarm information indicating that all the child devices corresponding to the first parent device are in an alarm state.
[0118] In a possible implementation manner, the device further includes:
[0119] An Internet of Things device acquisition module, used to acquire at least two Internet of Things devices in a first Internet of Things; the first Internet of Things is the Internet of Things corresponding to the first Internet of Things device set;
[0120] A topology acquisition module, configured to acquire a first tree topology structure based on the connection relationship between the at least two IoT devices; the first tree topology structure is used to indicate the hierarchical relationship between at least two IoT devices in the first IoT; the first tree topology structure includes two layers of device nodes; each device node corresponds to each IoT device in the first IoT;
[0121] A parent device determination module, configured to determine an Internet of Things device corresponding to a high-level device node in the first tree topology structure as a first parent device;
[0122] The child device determination module is used to determine the Internet of Things devices corresponding to the bottom-level device nodes connected to the respective high-level device nodes as first child devices corresponding to the respective first parent devices.
[0123] In a possible implementation, the aggregate alarm information acquisition module 1003 is used to:
[0124] In response to the alarm information set containing the alarm information of all the first child devices corresponding to the first parent device, the alarm information of all the first child devices corresponding to the first parent device is merged into the aggregated alarm information corresponding to the first parent device.
[0125] In a possible implementation manner, the device further includes:
[0126] An alarm information splitting module is used to split the aggregated alarm information corresponding to the first parent device into alarm information of some sub-devices corresponding to the first parent device in response to obtaining alarm recovery information of at least one first sub-device corresponding to the first parent device; the some sub-devices are the first sub-devices among all the first sub-devices corresponding to the first parent device, except the first sub-device corresponding to the alarm recovery information.
[0127] In a possible implementation, the alarm information acquisition module includes:
[0128] A first alarm information receiving unit, configured to obtain alarm information uploaded by at least one IoT device in the first IoT;
[0129] The first information set acquisition unit is used to acquire the alarm information set corresponding to the first Internet of Things device set based on the alarm information uploaded by the at least one Internet of Things device.
[0130] In a possible implementation, the alarm information acquisition module includes:
[0131] A second alarm information receiving unit, configured to obtain alarm information corresponding to the at least one Internet of Things device when the at least one Internet of Things device in the first Internet of Things is in a network disconnected state;
[0132] The second information set acquisition unit is used to acquire the alarm information set corresponding to the first Internet of Things device set based on the alarm information corresponding to the at least one Internet of Things device.
[0133] In a possible implementation, the alarm information acquisition module further includes:
[0134] A real-time data acquisition unit, used to acquire real-time data corresponding to each IoT device in the first IoT;
[0135] A disconnection state determination unit is used to determine that the first Internet of Things device is in a network disconnection state in response to the real-time data corresponding to the first Internet of Things device not being refreshed within a specified time; the first Internet of Things device is any one of the Internet of Things devices in the first Internet of Things.
[0136] In a possible implementation manner, the device further includes:
[0137] The output module is used to use the aggregated alarm information to replace at least one alarm information included in the alarm information set, and output the aggregated alarm information as alarm information corresponding to the first Internet of Things device set.
[0138] In summary, in the scheme shown in the embodiment of the present application, by obtaining an IoT device set having a first parent device and a first child device corresponding to the first parent device, when the alarm information of all child devices corresponding to the first parent device is obtained, a single piece of aggregated alarm information corresponding to the first parent device can be obtained based on the alarm information of all child devices. Through the above scheme, when all child devices of the first parent device are in an alarm state, the alarm aggregation information corresponding to the first parent device can be obtained, so that the management personnel in the IoT scenario can directly determine that all child devices under the first parent device have errors based on the alarm aggregation information, reduce the interference of a large amount of alarm information on management personnel, and improve the management personnel's efficiency in repairing IoT devices.
[0139] Fig.111 is a schematic diagram of the structure of a computer device according to an exemplary embodiment. The computer device can be implemented as a model search device and / or an image segmentation device in each of the above-mentioned method embodiments. The computer device 1100 includes a central processing unit (CPU) 1101, a system memory 1104 including a random access memory (RAM) 1102 and a read-only memory (ROM) 1103, and a system bus 1105 connecting the system memory 1104 and the central processing unit 1101. The computer device 1100 also includes a basic input / output system 1106 that helps transmit information between various devices in the computer, and a large-capacity storage device 1107 for storing an operating system 1113, an application program 1114 and other program modules 1115.
[0140] The mass storage device 1107 is connected to the central processing unit 1101 through a mass storage controller (not shown) connected to the system bus 1105. The mass storage device 1107 and its associated computer readable medium provide non-volatile storage for the computer device 1100. That is, the mass storage device 1107 may include a computer readable medium (not shown) such as a hard disk or a Compact Disc Read-Only Memory (CD-ROM) drive.
[0141] Without loss of generality, the computer-readable medium may include computer storage media and communication media. Computer storage media include volatile and non-volatile, removable and non-removable media implemented by any method or technology for storing information such as computer-readable instructions, data structures, program modules or other data. Computer storage media include RAM, ROM, flash memory or other solid-state storage technologies, CD-ROM, or other optical storage, cassettes, magnetic tapes, disk storage or other magnetic storage devices. Of course, those skilled in the art will appreciate that the computer storage media is not limited to the above. The above-mentioned system memory 1104 and mass storage device 1107 can be collectively referred to as memory.
[0142] The computer device 1100 can be connected to the Internet or other network devices through a network interface unit 1111 connected to the system bus 1105 .
[0143] The memory also includes one or more programs, which are stored in the memory. The CPU 1101 implements the Figure 2 , Figure 3All or part of the steps of the method shown.
[0144] In an exemplary embodiment, a non-temporary computer-readable storage medium including instructions is also provided, such as a memory including a computer program (instructions), and the above program (instructions) can be executed by a processor of a computer device to complete the method shown in each embodiment of the present application, the method performed by a server or a user terminal. For example, the non-temporary computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device, etc.
[0145] In an exemplary embodiment, a computer program product or a computer program is also provided, the computer program product or the computer program includes computer instructions, the computer instructions are stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the methods shown in the above embodiments.
[0146] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the claims.
[0147] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.
Claims
1. A method for processing alarm information in an Internet of Things scenario, It is characterized in that The method comprises: Obtain a first IoT device set; the first IoT device set includes a first parent device and a first child device corresponding to the first parent device, the first IoT device set is used to indicate IoT devices under the same IoT, and there is a connection relationship between the IoT devices under the same IoT; Acquire an alarm information set corresponding to the first IoT device set; the alarm information set includes at least one alarm information; the alarm information is used to indicate a device in the first IoT device set that is in an alarm state, the alarm information is a disconnected alarm information, the alarm information is determined based on real-time data of the device in the alarm state, the real-time data is used to indicate the operating state and / or operating data of the device in the alarm state; the alarm information includes an error identifier of the device in the alarm state, and the error identifier is used to indicate the type of error that occurs in the device in the alarm state; In response to the alarm information set including the alarm information of all the first child devices corresponding to the first parent device, shielding the alarm information of all the first child devices corresponding to the first parent device, setting an aggregation identifier, and merging the alarm information of all the first child devices corresponding to the first parent device into the aggregated alarm information corresponding to the first parent device, wherein the aggregation identifier is used to indicate that the alarm information set includes the aggregated alarm information; the aggregated alarm information is a single piece of alarm information used to indicate that all the child devices corresponding to the first parent device are in an alarm state; In response to obtaining alarm recovery information of at least one first child device corresponding to the first parent device, the aggregated alarm information corresponding to the first parent device is split into alarm information of some child devices corresponding to the first parent device; the some child devices are other first child devices among all the first child devices corresponding to the first parent device, except the first child device corresponding to the alarm recovery information.
2. The method according to claim 1, It is characterized in that Before obtaining the first IoT device set, the method further includes: Acquire at least two Internet of Things devices in a first Internet of Things; the first Internet of Things is the Internet of Things corresponding to the first Internet of Things device set; Based on the connection relationship between the at least two Internet of Things devices, a first tree topology structure is obtained; the first tree topology structure is used to indicate the hierarchical relationship between at least two Internet of Things devices in the first Internet of Things; the first tree topology structure includes two layers of device nodes; each of the device nodes corresponds to each Internet of Things device in the first Internet of Things; Determine the Internet of Things device corresponding to the high-level device node in the first tree topology structure as the first parent device; The Internet of Things devices corresponding to the bottom-level device nodes connected to the respective high-level device nodes are respectively determined as first child devices corresponding to the respective first parent devices.
3. The method according to claim 2, It is characterized in that The obtaining of the alarm information set corresponding to the first IoT device set includes: Obtaining alarm information uploaded by at least one IoT device in the first IoT; Based on the alarm information uploaded by the at least one Internet of Things device, an alarm information set corresponding to the first Internet of Things device set is obtained.
4. The method according to claim 2, It is characterized in that The obtaining of the alarm information set corresponding to the first IoT device set includes: When at least one Internet of Things device in the first Internet of Things is in a network disconnected state, obtaining alarm information corresponding to the at least one Internet of Things device; Based on the alarm information corresponding to the at least one Internet of Things device, obtain an alarm information set corresponding to the first Internet of Things device set.
5. The method according to claim 4, It is characterized in that The method further comprises: Acquire real-time data corresponding to each IoT device in the first IoT; In response to real-time data corresponding to a first Internet of Things device not being refreshed within a specified time, the first Internet of Things device is determined to be in a network disconnected state; the first Internet of Things device is any one of the Internet of Things devices in the first Internet of Things.
6. An alarm information processing device in an Internet of Things scenario, It is characterized in that The device comprises: A device set acquisition module, used to acquire a first IoT device set; the first IoT device set includes a first parent device and a first child device corresponding to the first parent device, the first IoT device set is used to indicate IoT devices under the same IoT, and there is a connection relationship between the IoT devices under the same IoT; An alarm information set acquisition module is used to acquire an alarm information set corresponding to the first IoT device set; the alarm information set includes at least one alarm information; the alarm information is used to indicate a device in the first IoT device set that is in an alarm state, the alarm information is a disconnected alarm information, the alarm information is determined based on real-time data of the device in the alarm state, the real-time data is used to indicate the operating state and / or operating data of the device in the alarm state; the alarm information includes an error identifier of the device in the alarm state, and the error identifier is used to indicate the type of error that occurs in the device in the alarm state; an aggregate alarm information acquisition module, configured to, in response to the alarm information set including the alarm information of all the first child devices corresponding to the first parent device, shield the alarm information of all the first child devices corresponding to the first parent device, set an aggregation identifier, and merge the alarm information of all the first child devices corresponding to the first parent device into the aggregate alarm information corresponding to the first parent device, wherein the aggregation identifier is used to indicate that the alarm information set includes the aggregate alarm information; the aggregate alarm information is a single piece of alarm information used to indicate that all the child devices corresponding to the first parent device are in an alarm state; An alarm information splitting module is used to split the aggregated alarm information corresponding to the first parent device into alarm information of some sub-devices corresponding to the first parent device in response to obtaining alarm recovery information of at least one first sub-device corresponding to the first parent device; the some sub-devices are the first sub-devices among all the first sub-devices corresponding to the first parent device, except the first sub-device corresponding to the alarm recovery information.
7. A computer device, It is characterized in that The computer device includes a processor and a memory, wherein the memory stores at least one computer instruction, and the at least one computer instruction is loaded and executed by the processor to implement the alarm information processing method in the Internet of Things scenario as described in any one of claims 1 to 5.
8. A computer-readable storage medium, It is characterized in that The storage medium stores at least one computer instruction, and the at least one computer instruction is loaded and executed by the processor to implement the alarm information processing method in the Internet of Things scenario as described in any one of claims 1 to 5.
Citation Information
Patent Citations
Intelligent community device, and alarm event processing method and system
CN104778825A
Node information obtaining method and system in tree-shaped topological structure
CN105207793A
Alarm suppression method and system for the Internet of things
CN105530111A
Alarm management method and device, communication equipment and storage medium
CN111061616A
Method and device for constructing clouded network alarm root cause relationship tree model
CN112580678A
